A Python package that implements some rejected, deferred or withdrawn PEPs.
Project description
What is this?
PEPs (Python Enhancement Proposals) are a special part of the Python programming language. Some were accepted, and some were not. This package implements some PEPs that were rejected, deferred or withdrawn.
What PEPs are included?
A PEP included needs to match these points:
-
It's not a syntax or major API change, or has a simple and clear way to bypass it.
-
It's about code, not governance etc.
-
It can be implemented in pure Python code.
Parts related to the bytecode, C API etc. are not implemented.
Which PEPs are included now?
PEPs with an * are slightly modified.
Finished (20)
- PEP 204 — Range Literals
- PEP 211 — Adding A New Outer Product Operator
- PEP 212 — Loop Counter Iteration
- PEP 259 — Omit printing newline after newline
- PEP 265 — Sorting Dictionaries by Value
- PEP 276 — Simple Iterator for
int
s - PEP 281* – Loop Counter Iteration with
range
andxrange
- PEP 294 — Type Names in the types Module
- PEP 303 — Extend
divmod()
for Multiple Divisors - PEP 313* – Adding Roman Numeral
LiteralsFunctions to Python - PEP 326 — A Case for Top and Bottom Values
- PEP 335* – Overloadable Boolean
OperatorsOperator Functions - PEP 336 — Make
None
callable - PEP 349* – Allow
str()
to returnunicode stringsbytes - PEP 351 — The
freeze
protocol - PEP 416 — Add a
frozendict
builtin type - PEP 535 — Rich comparison chaining
- PEP 559 — Built-in
noop()
- PEP 754 — IEEE 754 Floating Point Special Values
- PEP 3140 –
str(container)
should callstr(item)
, notrepr(item)
How do I use it?
Wiki is coming really soon!
Quick example:
>>> import rejected_peps as rp
>>> rp.pep(559).noop() # Function call
>>> Min = rp.pep326.Min # Module
>>> Min < 3.14
True
>>> Min == -10, Min == Min
(False, True)
>>> rp.info(416)
pepinfo(number=416, title='Add a frozendict builtin type', status='Rejected', creation='2012-02-29', url='https://peps.python.org/pep-0416/')
>>> rp.SUPPORTED
frozenset({259, 265, ..., 351, 754})
>>>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rejected-peps-1.0.0.dev7.tar.gz
(26.2 kB
view hashes)
Built Distributions
Close
Hashes for rejected_peps-1.0.0.dev7-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a8bc2d4aa87284b8a96f9c3dd7020ecce9af23bb55995e2c53cae0617f61bb2 |
|
MD5 | ca29469f36398f2f02eeb64aca122408 |
|
BLAKE2b-256 | e687b453d86cb75860ff84a44d1801b061f07ee015808c08cc593657d384694d |
Close
Hashes for rejected_peps-1.0.0.dev7-cp311-cp311-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad118723a91b4d35b0ff6884216c769bd0d5ec09136cc9ff2a53e14052b15322 |
|
MD5 | 4ded50730b299592018fbb9242d9926d |
|
BLAKE2b-256 | bca4aeb8b3d3c0e026e51c09d54060113da4714b81565c735b755fb53019a0e5 |
Close
Hashes for rejected_peps-1.0.0.dev7-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d3683d63bfd2de3a24e3badb3fe0ac67bd184613b7a5a7b669abbf218a4d49a |
|
MD5 | 49d5750ccfcca515c1c89ab5a9aaee9d |
|
BLAKE2b-256 | 75483ec7b1fa4bd40e0ae322a506eb7102447cb3d647ee2204001c4a08b9c839 |
Close
Hashes for rejected_peps-1.0.0.dev7-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6ea7a97c7d4eb6aa68cb68718085be818f6e5216be7f40b4ef761a0f1216562 |
|
MD5 | b548360499c561643ec6e3bce17923bb |
|
BLAKE2b-256 | 273c9b3e98711e330aeae10da1c0d00f1d49b4d2e02af0c6303f5d1a919fcd8a |
Close
Hashes for rejected_peps-1.0.0.dev7-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a979fe6bf7861956a46dac8789c430182c2f67f2e743c116e5edea80bac8c9cc |
|
MD5 | fdb37b7c41a24f40f19e7110b0299fcf |
|
BLAKE2b-256 | 0b7e04fe63d60d29ac510f8c0b8269cae4a4fb84de97c1342fd1b068c3a821c7 |
Close
Hashes for rejected_peps-1.0.0.dev7-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9a81532262f810019f1b727043272679e8be21eeaf6a974e654f0616839d68b |
|
MD5 | 299c2244b7d47777a10ab7dca66d0082 |
|
BLAKE2b-256 | b135e80d2b9f4e8a0352b59e1d0f0ff25fccea4dd8dba14cf0272fa93c2c08b5 |
Close
Hashes for rejected_peps-1.0.0.dev7-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c74697d0c29ced72752ede494fae823fc8adcc92552e2fefd8713f22a72f689 |
|
MD5 | 5046771d5b72d88cd48e02e9ec59f37e |
|
BLAKE2b-256 | 67a7715b001db307323625764ff9b8bd845a1f2c7b92d4bb99a272072032a95f |
Close
Hashes for rejected_peps-1.0.0.dev7-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07b13539b0c8253b31bfd037284d46dda6eeab7f7afab41d0d9c3c9d562e9445 |
|
MD5 | 97584544330df3871ddc0561d8494a26 |
|
BLAKE2b-256 | 9b4945e1fd76244fe69c9cf5dadc54186409d878771172dc48ca3a3e51b8afad |