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.dev3.tar.gz
(26.2 kB
view hashes)
Built Distributions
Close
Hashes for rejected_peps-1.0.0.dev3-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43308a06a56c0e7041de51f3cc25800404d9059b902c9b4d77b8fd5d3e3bd9f6 |
|
MD5 | ff98488fc9748264eba77c11c31acb83 |
|
BLAKE2b-256 | dc2c82806dba49ac4c8fa218d45fb5ea5d1b7c4a3c71e9906248501fd5b7c66d |
Close
Hashes for rejected_peps-1.0.0.dev3-cp311-cp311-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42589158710f3ea2d3e21ea4137f236b19dc258c5452dd8e697fd86e44496d61 |
|
MD5 | d64af6e8a469c260ea736ca2e906326c |
|
BLAKE2b-256 | a089acdb1fedba993a075d133865534e401b6d6e3ce31ac6b2ff44e12470cde2 |
Close
Hashes for rejected_peps-1.0.0.dev3-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7a132e5ddb3a50e1372716dad6550af0c56a34ff42ec7218c8548b1044a32f8 |
|
MD5 | 01f120d403ed45b7aa4857ae3004b897 |
|
BLAKE2b-256 | 4cd0ea2d1b62ef59ad81bd5acdac8fdbcbe8f10ad8b98f235f118942f6df6f07 |
Close
Hashes for rejected_peps-1.0.0.dev3-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f80b8ddffe190265532f0f69ea0bbd8cfccc173ee6594a539ad418a0e8949fd |
|
MD5 | c5f11136e371ee3241ca107003f7831b |
|
BLAKE2b-256 | 3748e53238a5f75ba9d5383e10fae0c31b7411d45c734d540e6e9ae0bd6663b1 |
Close
Hashes for rejected_peps-1.0.0.dev3-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f925b809347e222cbe9fca2c9d99a6599f701aa29dfadd2a19757ee0db4ba00 |
|
MD5 | 8ed86a4c45cae15bda7cc74558d41a92 |
|
BLAKE2b-256 | 3c672329ee40815b26593a89fcceaf8e6417f17720fac8c1cb2de26d5ab8c31d |
Close
Hashes for rejected_peps-1.0.0.dev3-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3f00074edfbdda9f5c31b991ff4578959615051d7194f22e6a4b13edd8cd9e2 |
|
MD5 | 83ac1371e3c19a5b11f4df7d1b1279b6 |
|
BLAKE2b-256 | a9c7bcacf400ffdb023c20ca3f376b6334dd75fb07530bbeef19efd5d29fba76 |
Close
Hashes for rejected_peps-1.0.0.dev3-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e43e4e35428e0d4a7e31559211278f5fb04121474c038451ae75dc9a7e30a49f |
|
MD5 | a7db11e01b086a001e7d8ec2aab97b49 |
|
BLAKE2b-256 | 9b3ceb26cc536297fee3a6d414c9d2b3f0501e3f0dc4633e3df4234b024cb9e8 |
Close
Hashes for rejected_peps-1.0.0.dev3-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42c9e238b181cf6af0c8bf8575475532c34d3ff81386f58233a5f6063a54f1ed |
|
MD5 | fecfffee86f07e176df09ab90cfe44f3 |
|
BLAKE2b-256 | 480f35bee2bf99242b4a9f5d7801f7a00d514f9de37f8672cbf0eddd3b3646ea |