Victor Stinner
aee296ace8
PEP 509: don't require to always increase the version
...
Don't require to increase the dict version if the dictionary content does not
change. Leave this choice to the Python implementation.
2016-04-21 01:15:25 +02:00
Victor Stinner
b0f0a095d0
PEP 509: fix typo reported by Jim J. Jewett
2016-04-21 00:37:56 +02:00
Victor Stinner
37ca004dd3
PEP 509
...
* __setitem__() now always increases the version: remove the micro-optimization
dict[key] is new_value
* be more explict on version++: explain that the operation must be atomic, and
that dict methods are already atomic thanks to the GIL
* "Guard against changing dict during iteration": don't guess if the new dict
version can be used or not. Let's discuss that later.
* rephrase/complete some sections
* add links to new threads on python-dev
2016-04-19 10:43:02 +02:00
Victor Stinner
24ca07b6c9
PEP 509: fix typos reported by Brett
2016-04-14 18:43:28 +02:00
Victor Stinner
321eda6eb0
PEP 509: add link to Yury's patch
2016-04-14 17:19:09 +02:00
Victor Stinner
9bd8ffbfa4
PEP 509: dict version is now global
...
* Rename ma_version to ma_version_tag
* Add links to fatoptimizer and fat projects
2016-04-14 17:13:07 +02:00
Berker Peksag
f730565241
Fix typos and tweak the return value of dict_get_version(d)
2016-03-27 22:52:25 +03: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
ec95a9ac51
PEP 509: fix typos reported by Jim J. Jewett
2016-01-12 21:03:57 +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
a0e959b0b7
PEP 509: typo, PY_UINT64_T (unsigned), not PY_INT64_T (signed)
2016-01-11 18:32:22 +01:00
Victor Stinner
86af87adc3
PEP 509: minor edits
2016-01-11 17:18:06 +01:00
Victor Stinner
974dc6a0bc
PEP 509: reformat to 72 columns
2016-01-11 16:27:47 +01:00
Victor Stinner
1a0a05ed5a
PEP 509: make the version private
...
* reorganize sections
* add microbenchmarks numbers
* rationale to not expose the version at Python level
2016-01-11 16:16:46 +01:00
Victor Stinner
ded45b06f1
typo: semantic => semantics
2016-01-11 10:18:52 +01:00
Victor Stinner
402cb74efe
PEP 509
...
* point to PEP 510 for static optimizers
* remove link to issue 19332, dict.__version__ doesn't help
2016-01-11 00:28:46 +01:00
Victor Stinner
ee1a6bb292
PEP 509: document the type version tag
2016-01-11 00:15:41 +01:00
Victor Stinner
95ff7961ed
PEP 509: add alternatives
2016-01-10 00:30:32 +01:00
Victor Stinner
534db9e409
Add PEP 509 (dict.__version__) and 510 (func.specialize)
2016-01-09 23:28:43 +01:00