Commit Graph

259 Commits

Author SHA1 Message Date
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
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
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
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
Sandro Tosi
75c71ccf2a fix Rather that/Rather than; thanks to Reuben Thomas from docs@ 2011-12-24 19:56:04 +01:00
Benjamin Peterson
57f97f400b parameter_list was meant here 2011-12-23 20:01:43 -06:00
Benjamin Peterson
ad17358a2f kill superfluous 'comprehension' case (closes #13658) 2011-12-23 20:00:56 -06:00
Benjamin Peterson
1fafc1a11f document __bytes__ special method (closes #13259) 2011-10-25 00:03:51 -04:00
Ezio Melotti
e130a52d8a Remove duplication. 2011-10-19 10:58:56 +03:00
Ezio Melotti
592563292c #12531: Fix spaces and markup. 2011-07-30 21:25:22 +03:00
Eli Bendersky
7bd081c117 Issue #12531: add index entries to documentation of * and ** in function calls 2011-07-30 07:05:16 +03:00
Ezio Melotti
fc3db8a91e #11669: rephrase footnote in the Compound Statements page. 2011-06-26 11:25:28 +03:00
Raymond Hettinger
2052978e9a Issue #10771: Clarify that descriptors get used in an *owner* class or one of its parents. 2011-03-22 16:27:31 -07:00
Raymond Hettinger
3b654be1a4 Issue #10771: Clarify that descriptors get used in an *owner* class or one of its parents. 2011-03-22 16:27:02 -07:00
Raymond Hettinger
f047164f64 Issue 10988: fix description of super's descriptor call. 2011-03-22 15:33:02 -07:00
Raymond Hettinger
b199b2262c Issue 10988: fix description of super's descriptor call. 2011-03-22 15:28:45 -07:00
Ezio Melotti
147f6088f0 #11446: merge with 3.1. 2011-03-11 20:53:24 +02:00
Ezio Melotti
7885833df0 #11446: fix incorrect PEP link. 2011-03-11 20:50:42 +02:00
Gregory P. Smith
f2b5673f73 Explicitly mention that people should not depend on immediate
finalization of objects.

HG Enter commit message.  Lines beginning with 'HG:' are removed.
2011-03-10 11:32:29 -08:00
Gregory P. Smith
c542547211 Reword the finalization note. 2011-03-10 11:28:50 -08:00
Gregory P. Smith
c60137b272 Explicitly mention that people should not depend on immediate
finalization of objects in the language reference.
2011-03-10 11:25:44 -08:00
Georg Brandl
891391bf68 Merge doc fixes. 2011-03-06 11:12:42 +01:00