Commit Graph

5 Commits

Author SHA1 Message Date
Germán Méndez Bravo 376341a223
PEP 690: Lazy Imports (#2569)
* Added first draft for Lazy Imports PEP

* Suggested changes to lazy imports PEP.

* Add another example of forcing eager imports.

* Update pep-9999.rst

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>

* Update Carl's email

* Update pep-9999.rst

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>

* Update pep-9999.rst

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>

* Update pep-9999.rst

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>

* Update pep-9999.rst

Co-authored-by: Carl Meyer <carl@oddbird.net>

* Update and rename pep-9999.rst to pep-0690.rst

* Update .github/CODEOWNERS

Co-authored-by: Carl Meyer <carl@oddbird.net>

* Update pep-0690.rst

Co-authored-by: Carl Meyer <carl@oddbird.net>

* Update pep-0690.rst

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>

* Added myself to AUTHOR_OVERRIDES

* More updates to lazy imports

* Resolved comments

* More updates to lazy imports PEP.

* Update pep-0690.rst

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>

Co-authored-by: Carl Meyer <carl@oddbird.net>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2022-05-03 13:47:13 -05:00
Erik De Bonte 515eb419de
PEP 681: Add author override (#2517) 2022-04-11 18:30:38 -07:00
Ee Durbin 9b64c2f255
legally dropped the middle name and suffix. (#2398) 2022-03-09 15:22:42 -05:00
CAM Gerlach f91ab0d4ec
Fix missing quotes around python-dev in overrides causing display bug (#2254) 2022-01-20 06:45:05 +00:00
Adam Turner 749c2d9a37
Sphinx support: add PEP 0 generation extension (1932)
* Add PEP 0 parser

* Add PEP 0 writer

* Add PEP 0 generator and authors override

* Add/update build and run

* Simplify `create_index_file`

* Special status handling

* Add constants for PEP related magic strings

* Prefer checking on class

* Add PEP.hide_status, use constants

* Remove comment from 2008 (current method works fine)

* Clarify intent of for-else loop

* Hook in to Sphinx (oops, missed when splitting out this PR)

* Rename AUTHORS.csv for clarity

* Sort and strip spaces

* Prefer `authors_overrides` name

* Add pep_0_errors.py

* Move author_sort_by to writer

* PEP init misc

* Split out Author

* Drop pep_0 prefix

* Pass title length as an argument

* Add constants.py to hold global type / status values

* Capitalise constants

* Capitalise constants

* Update PEP classification algorithm

* Extract static methods to module level

* Add emit_text, emit_pep_row

* Use constants in writer.py

* Sort imports

* Sort constants

* Fix sorting in historical and dead PEPs

* Extract static methods to module level

* Extract static methods to module level (parser.py

* Make Author a NamedTuple

* Fix author duplication bug with NamedTuples

* Revert to old PEP classification algorithm

* Define PEP equality
2021-06-12 18:51:14 +01:00