pallets-eco / pallets-eco/wtforms

Replace UnboundField with the descriptor protocol

Open
#911 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

breaking change refactoring
Dominant language
Python
Stars
1.6k
Forks
409
PR merge metrics
No merged PRs in 30d

Description

Python descriptor protocol could more elegantly replace the wtforms UnboundField mechanism.

This would slightly help typing (no more UnboundField).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files or tests. Start by reading Python's descriptor protocol guide and locating wtforms' UnboundField mechanism, then identify the affected field entry points and typing expectations. Done means replacing UnboundField with descriptors without regressions, but the scope needs design agreement.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.