Victor Stinner
3e7419f50e
PEP 511
...
Remove changes already merged into CPython:
* code.co_lnotab: support negative line number delta
https://bugs.python.org/issue26107
* enhance compiler to handle correctly tuple and frozenset constants
http://bugs.python.org/issue25843
* ast.Constant:
http://bugs.python.org/issue26146
* enhance marshal to use the empty frozenset singleton
http://bugs.python.org/issue26146
These changes were not directly related to this PEP, but more generally
enhancements to write AST code transformers (especially AST optimizers).
2016-01-27 12:19:37 +01:00
Victor Stinner
336ca41c7f
PEP 510: adjust API of functions removing specialized code
2016-01-27 11:55:10 +01:00
Victor Stinner
3910522c12
PEP 511
...
* Change code_transformer() API. The method now takes a code object as input
and must return a code object.
* Be more explicit: code_transformer() and ast_transformer() are methods taking
a self parameter.
2016-01-27 11:29:51 +01:00
Brett Cannon
d45c401bb2
Clarify why cherry-picking is preferred in PEP 512
2016-01-26 17:15:31 -08:00
Brett Cannon
3ecdb18687
Merge
2016-01-23 13:08:20 -08:00
Brett Cannon
aacaa80398
Updates from discussions
2016-01-23 13:07:48 -08:00
Guido van Rossum
70a63a4751
Moved ambv/typehinting repo to python/typing. Yeah!
2016-01-22 16:26:17 -08:00
Brett Cannon
18770242cf
Minor tweaks to PEP 512
2016-01-21 16:59:57 -08:00
Nick Coghlan
dd23c62742
PEP 513: mark as a distutils-sig PEP
2016-01-21 16:46:49 +10:00
Nick Coghlan
d161460a4b
PEP 513: Portable Built Linux Distributions
2016-01-21 16:23:03 +10:00
Nick Coghlan
571813608f
PEP 440: Fix PyPI reference
2016-01-21 16:21:55 +10:00
Nick Coghlan
a3519cb25f
PEP 440: Remove references to PEP 426
...
PEP 426 is still in draft, and is likely to stay that
way for quite some time. This update removes those
references, and instead includes the relevant details
directly in PEP 440.
2016-01-21 16:15:12 +10:00
Brett Cannon
7c2c1021ef
Update PEP 7 to strongly encourage curly braces with conditional
...
statements.
2016-01-20 19:19:42 -08:00
Brett Cannon
70cff256c5
Undo accidental part of a commit
2016-01-20 19:18:33 -08:00
Brett Cannon
b424590050
Update post-history for PEP 512
2016-01-19 16:22:10 -08:00
Brett Cannon
5a91baba5d
Minor clarification for PEP 512
2016-01-19 12:17:28 -08:00
Brett Cannon
ee38420e88
Various changes to PEP 512 based on feedback from core-workflow
2016-01-18 10:52:57 -08:00
Brett Cannon
982953cea7
Remove a bot name from PEP 512 that might be taken as sexist
2016-01-17 15:12:36 -08:00
Brett Cannon
f08042ea10
Add a Status section to PEP 512
2016-01-17 12:43:18 -08:00
Brett Cannon
7f86b12f64
Add PEP 502: Migrating from hg.python.org to GitHub
2016-01-17 12:28:17 -08:00
Victor Stinner
796880beeb
PEP 511: reorganize
2016-01-15 23:19:59 +01:00
Victor Stinner
78f8a7d3a9
PEP 511: reformat to send by email
2016-01-15 17:12:31 +01:00
Victor Stinner
77c59a0cdd
PEP 511
...
* bytecode => code
* more fun with bytecode
* enhance the Changes section
2016-01-15 16:18:00 +01:00
Victor Stinner
5af754e05f
PEP 511: add bytecode transformers
2016-01-15 12:54:09 +01:00
Nick Coghlan
51f79940e1
PEP 493: link to issue with the implementation
2016-01-15 17:46:40 +10:00
Victor Stinner
e969ebe7de
PEP 511:
...
* usage: obfuscator!
* impact on other python implementations
* disable peephole optimizer
* link to the old python-dev discussion
2016-01-15 02:39:03 +01:00
Victor Stinner
307af6e57e
PEP 511: add list of AST optimizer issues
2016-01-15 02:14:44 +01:00
Victor Stinner
ac6203d00f
PEP 511
...
* Fix the API: use sys.get/set_ast_transformers()
* elaborate changes on importlib, try to be more concrete
* add more examples of usage of AST transformers
2016-01-15 01:44:58 +01:00
Victor Stinner
0f15bdb06e
PEP 511: add usages to the rationale
2016-01-15 01:01:05 +01:00
Nick Coghlan
9b7a46a4f1
PEP 432 reference impl is up to date
2016-01-14 22:30:50 +10:00
Victor Stinner
4fbc954904
PEP 511: add link to issue #26107
2016-01-14 10:15:32 +01:00
Victor Stinner
6b3a0c2970
PEP 510: Add PyFunction_RemoveSpecialized() and PyFunction_RemoveAllSpecialized()
2016-01-14 09:50:22 +01:00
Victor Stinner
6ef0bf9566
PEP 510: pickle doesn't serialize code object, remove nonsense paragraph.
2016-01-14 09:44:15 +01:00
Chris Angelico
aa97c33427
Apply Oleg's edits to PEP 103, per request
2016-01-14 07:36:39 +11:00
Victor Stinner
90c260b907
PEP 510
...
* complete PyFunction_Specialize() description
* add link to the implementation
2016-01-13 15:16:46 +01:00
Benjamin Peterson
3981ab06d2
update 2.7 schedule ( closes #26087 )
2016-01-12 21:00:13 -08:00
Victor Stinner
8a8791f816
PEP 511: add the text of the PEP
2016-01-13 00:57:21 +01:00
Victor Stinner
cb2695ed1f
PEP 510: rephrase introduction on PyPy
...
suggestion of Yury Selivanov
2016-01-13 00:02:21 +01:00
Victor Stinner
62cad3ab0c
PEP 509: mention explicitly that PyDictObject is not part of the stable ABI
2016-01-12 22:46:56 +01:00
Victor Stinner
f916adc862
PEP 510: minor fixes
2016-01-12 22:46:36 +01:00
Victor Stinner
ec95a9ac51
PEP 509: fix typos reported by Jim J. Jewett
2016-01-12 21:03:57 +01:00
Victor Stinner
5d9f3b27d8
PEP 510: title
2016-01-12 15:32:35 +01:00
Victor Stinner
3e764abbb9
reserve PEP number 511 for the API of AST transformers
2016-01-12 14:57:02 +01:00
Victor Stinner
43bb3fb7ad
PEP 510
...
* convert Python functions to C functions
* replace "specialized functions" with "specialized codes" to avoid confusion
* guard functions now use 0 result as success to simplify the code
2016-01-12 12:11:53 +01:00
Victor Stinner
a19233d285
PEP 509: be more explicit on when the version is incremented or not
2016-01-12 00:19:28 +01:00
Victor Stinner
04b7e969a2
PEP 510
...
* make new methods private
* make Guard type private and rename it to PyFuncGuard
* elaborate potential changes on the Python semantics
* explain than other implementations of Python are free to not implement new
methods, or implement them as no-op
2016-01-11 23:55:32 +01:00
Guido van Rossum
238df5a182
Update PEP 484 with recommended Python 2 alternative.
2016-01-11 09:36:24 -08:00
Victor Stinner
a0e959b0b7
PEP 509: typo, PY_UINT64_T (unsigned), not PY_INT64_T (signed)
2016-01-11 18:32:22 +01:00
Victor Stinner
ecd1712cd9
PEP 510: abandonned => abandoned
...
Typo reported in issue #26080 .
2016-01-11 18:10:49 +01:00
Victor Stinner
89f64fa84b
PEP 510: rephrase the sentence about serialization
2016-01-11 17:49:07 +01:00