Commit Graph

568 Commits

Author SHA1 Message Date
Nick Coghlan
7fc570a51e Close #14588: added a PEP 3115 compliant dynamic type creation mechanism 2012-05-20 02:34:13 +10:00
Ezio Melotti
510ff54324 Use Python 3 instead of 3.0. 2012-05-03 19:21:40 +03:00
Brett Cannon
1b5123aae5 Issue #14628: Document the fact that import always returns the module
as found in sys.modules and not as what the loader returns (even
though it is required to by PEP 302).
2012-04-20 15:57:46 -04:00
Georg Brandl
6aacc14e29 Merge with 3.2. 2012-03-10 09:27:30 +01:00
Georg Brandl
64a40949cf Closes #14186: add link to PEP 3107 (function annotations) to the function definition section. 2012-03-10 09:22:47 +01:00
Armin Ronacher
50364b4a5c Basic documentation for PEP 414 2012-03-04 12:33:51 +00:00
Benjamin Peterson
b43fde98b4 remove unapplicable statement 2012-02-21 18:03:26 -05:00
Benjamin Peterson
c9f54cf512 enable hash randomization by default 2012-02-21 16:08:05 -05:00
Benjamin Peterson
79d38788ee update unicode link 2012-02-20 22:35:25 -05:00
Georg Brandl
2fb477c0f0 Merge 3.2: Issue #13703 plus some related test suite fixes. 2012-02-21 00:33:36 +01:00
Georg Brandl
09a7c72cad Merge from 3.1: Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime)
in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated.

The environment variable PYTHONHASHSEED and the new command line flag -R control this
behavior.
2012-02-20 21:31:46 +01:00
Georg Brandl
2daf6ae249 Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime)
in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated.

The environment variable PYTHONHASHSEED and the new command line flag -R control this
behavior.
2012-02-20 19:54:16 +01:00
Terry Jan Reedy
93abdd1ab8 Merge with 3.2 closes 14023 2012-02-17 19:58:41 -05:00
Terry Jan Reedy
ead1de2f03 Issue 14023 Revert edit to 2.7 version. (I suspect edit is from when we thought
to to makes bytes mutable, before deciding to add bytearrays.)
2012-02-17 19:56:58 -05:00
Nick Coghlan
0ed8019c20 Add versionchanged notes for PEP 380 2012-01-14 14:43:24 +10:00
Benjamin Peterson
aee9dfba4a merge 2.6 with hash randomization fix 2012-02-20 21:44:56 -05:00
Barry Warsaw
1e13eb084f - Issue #13703: oCERT-2011-003: add -R command-line option and PYTHONHASHSEED
environment variable, to provide an opt-in way to protect against denial of
  service attacks due to hash collisions within the dict and set types.  Patch
  by David Malcolm, based on work by Victor Stinner.
2012-02-20 20:42:21 -05:00
Terry Jan Reedy
0bb1251e1a whitespace 2012-01-21 00:32:23 -05:00
Terry Jan Reedy
96a0a46353 Issue13820 as and with really became keywords in 2.6.
Original rewording by Jim Jewett
2012-01-21 00:24:25 -05:00
Georg Brandl
c86bb00ee5 Fix label names. 2012-01-14 17:06:53 +01:00
Sandro Tosi
a76bb03c55 None is not a keyword, link file.next() to functions.html#next 2012-01-14 16:43:14 +01:00
Sandro Tosi
98ed08f24e update to new C roles and directives 2012-01-14 16:42:02 +01:00
Benjamin Peterson
d204934ee3 exception support is correct now (closes #13705) 2012-01-03 16:30:37 -06:00
Sandro Tosi
b2794c842f Issue #13683: raise with no exception in scope throws a RuntimeError; fix by Ramchandra Apte 2012-01-01 12:17:15 +01:00
Sandro Tosi
3721fbc5de point IronPython to ironpython.net; thanks to Lazar Pancic from docs@ 2011-12-24 23:13:19 +01:00