Metadata-Version: 2.4
Name: rejected-peps
Version: 0.9.10rc1
Summary: A Python package that implements some rejected, deferred or withdrawn PEPs.
Home-page: https://github.com/wyz23x2/rejected-peps/
Author: wyz23x2
Author-email: wyz23x2@163.com
Project-URL: Bug Tracker, https://github.com/wyz23x2/rejected-peps/issues
Project-URL: Changelog, https://github.com/wyz23x2/rejected-peps/blob/main/CHANGELOG.md
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Typing :: Typed
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license-file
Dynamic: project-url
Dynamic: requires-python
Dynamic: summary

[![Version](https://img.shields.io/pypi/v/rejected-peps.svg?logo=semver&color=success&label=stable)](
https://pypi.org/project/rejected-peps/)
[![Python: >=3.10](https://img.shields.io/static/v1?label=Python&message=>%3D%203.10&color=informational&logo=python&logoColor=gold)](
https://github.com/wyz23x2/rejected-peps/)
[![Activity](https://img.shields.io/github/last-commit/wyz23x2/rejected-peps.svg?logo=github&color=mediumturquoise&label=Latest%20commit)](
https://github.com/wyz23x2/rejected-peps/)
[![PyPI Downloads](https://img.shields.io/pypi/dm/rejected-peps.svg?logo=pypi&logoColor=skyblue&label=PyPI%20downloads)](
https://pypi.org/project/rejected-peps/)
[![License: MIT](https://img.shields.io/pypi/l/rejected-peps.svg?color=success&label=License)](
https://pypi.org/project/rejected-peps/)
<!-- [![Python versions: >=3.7](https://img.shields.io/pypi/pyversions/rejected-peps.svg?logo=python&logoColor=gold&label=Python)](
https://pypi.org/project/rejected-peps/) -->
### What is this?

[PEPs](https://peps.python.org/) (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.

This module does not contain AI-generated code.

### 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](https://peps.python.org/pep-0204/) — Range Literals
- [PEP 211](https://peps.python.org/pep-0211/) — Adding A New Outer Product Operator
- [PEP 212](https://peps.python.org/pep-0212/) — Loop Counter Iteration
- [PEP 259](https://peps.python.org/pep-0259/) — Omit printing newline after newline
- [PEP 265](https://peps.python.org/pep-0265/) — Sorting Dictionaries by Value
- [PEP 276](https://peps.python.org/pep-0276/) — Simple Iterator for `int`s
- [PEP 281](https://peps.python.org/pep-0281/)\* – Loop Counter Iteration with `range` ~~and `xrange`~~
- [PEP 294](https://peps.python.org/pep-0294/) — Type Names in the types Module
- [PEP 303](https://peps.python.org/pep-0303/) — Extend `divmod()` for Multiple Divisors
- [PEP 313](https://peps.python.org/pep-0313/)\* – Adding Roman Numeral ~~Literals~~ Functions to Python
- [PEP 326](https://peps.python.org/pep-0326/) — A Case for Top and Bottom Values
- [PEP 335](https://peps.python.org/pep-0335/)\* – Overloadable Boolean ~~Operators~~ Operator Functions
- [PEP 336](https://peps.python.org/pep-0336/) — Make `None` callable
- [PEP 349](https://peps.python.org/pep-0349/)\* – Allow `str()` to return ~~unicode strings~~ bytes
- [PEP 351](https://peps.python.org/pep-0351/) — The `freeze` protocol
- [PEP 416](https://peps.python.org/pep-0416/) — Add a `frozendict` builtin type
- [PEP 535](https://peps.python.org/pep-0535/) — Rich comparison chaining
- [PEP 559](https://peps.python.org/pep-0559/) — Built-in `noop()`
- [PEP 754](https://peps.python.org/pep-0754/) — IEEE 754 Floating Point Special Values
- [PEP 3140](https://peps.python.org/pep-3140/) – `str(container)` should call `str(item)`, not `repr(item)`

### How do I use it?
Wiki is coming soon!

Quick example:

```python
>>> 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})
>>>
```
