Commit graph

12810 commits

Author SHA1 Message Date
Benjamin Peterson
79d38788ee update unicode link 2012-02-20 22:35:25 -05:00
Benjamin Peterson
fb36e66d2c adjust docs for unicode 6.1 2012-02-20 22:34:50 -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
Vinay Sajip
5743691b87 Merged upstream changes. 2012-02-20 18:50:33 +00:00
Antoine Pitrou
c229e6e8ff Issue #14040: Remove rarely used file name suffixes for C extensions (under POSIX mainly).
This will improve import performance a bit (especially under importlib).
2012-02-20 19:41:11 +01:00
Vinay Sajip
aa8a62dcc0 Merged documentation update from 3.2. 2012-02-20 18:36:12 +00:00
Vinay Sajip
fee358b0df logging: clarified documentation for Handler.handleError. 2012-02-20 18:35:26 +00:00
Antoine Pitrou
ea6b4d5f70 Issue #13641: Decoding functions in the base64 module now accept ASCII-only unicode strings.
Patch by Catalin Iacob.
2012-02-20 19:30:23 +01:00
Benjamin Peterson
43844351c3 write versionadded 2012-02-20 08:48:25 -05:00
Benjamin Peterson
8eb1269c34 add generic implementation of a __dict__ descriptor for C types 2012-02-19 19:59:10 -05:00
Antoine Pitrou
4a57846efe Merge 2012-02-20 01:52:17 +01:00
Éric Araujo
a7e594b9a5 Merge 3.2 2012-02-20 01:53:09 +01:00
Antoine Pitrou
c541f8ef40 Issue #14043: Speed up importlib's _FileFinder by at least 8x, and add a new importlib.invalidate_caches() function.
importlib is now often faster than imp.find_module() at finding modules.
2012-02-20 01:48:16 +01:00
Éric Araujo
c3ef037ee1 Add missing “::” markup.
Also wrap two looong lines.
2012-02-20 01:44:55 +01:00
Sandro Tosi
32ac92cd4a Issue #13605: merge with 3.2 2012-02-19 19:54:23 +01:00
Sandro Tosi
0467686e07 Issue #13605: use print() in argparse nargs example 2012-02-19 19:54:00 +01:00
Sandro Tosi
488a56d2fb merge with 3.2 2012-02-19 12:30:47 +01:00
Sandro Tosi
f06d444f5a don't split 'Hye-Shik Chang' name; thanks to Sergey from docs@ 2012-02-19 12:30:28 +01:00
Sandro Tosi
1ee86a1515 merge with 3.2 2012-02-19 12:28:18 +01:00
Sandro Tosi
76dea27421 Indent 'File' in memoryview example, so it is correctly highlighted 2012-02-19 12:28:01 +01:00
Sandro Tosi
b5d271073f merge with 3.2 2012-02-18 16:06:39 +01:00
Sandro Tosi
c33ae06cbf fix error in memoryview example; thanks to kan lianlian from docs@ 2012-02-18 16:05:34 +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
Ezio Melotti
c48cfe37d2 #14020: merge with 3.2. 2012-02-18 02:03:35 +02:00
Ezio Melotti
4279bc7aef #14020: improve HTMLParser documentation. 2012-02-18 02:01:36 +02:00
Petri Lehtinen
17f1be6368 Merge branch '3.2'
Closes #13995.
2012-02-16 21:44:26 +02:00
Petri Lehtinen
b3890226b3 sqlite3: Fix documentation errors concerning Cursor.rowcount
Closes #13995.
2012-02-16 21:39:03 +02:00
Sandro Tosi
cd77815e4c Issue #11836: document and expose multiprocessing.SimpleQueue 2012-02-15 23:27:00 +01:00
Sandro Tosi
5cb522cb32 Issue #11836: document multiprocessing.queues.SimpleQueue 2012-02-15 23:14:21 +01:00
Petri Lehtinen
be2cf338e9 Merge branch '3.2'
Issue #13491.
2012-02-15 22:22:34 +02:00
Petri Lehtinen
1ca93954e1 Issue #13491: Fix many errors in sqlite3 documentation
Initial patch by Johannes Vogel.
2012-02-15 22:21:01 +02:00
Éric Araujo
1d175f7768 Merge fixes for #1326113 and #12297 from 3.2 2012-02-15 17:13:26 +01:00
Éric Araujo
ccddc474c3 Improve doc for atexit.register and unregister (#12297) 2012-02-15 17:07:49 +01:00
Victor Stinner
0f7888d453 Time module doc: Fix reST syntax 2012-02-14 02:42:21 +01:00
Senthil Kumaran
1fd648212e shutil copy module reference doc fix. 2012-02-13 23:35:44 +08:00
Senthil Kumaran
7f728c1e1a shutil copy module reference doc fix. 2012-02-13 23:30:47 +08:00
Florent Xicluna
a72a98f24a Issue #13988: cElementTree is deprecated and the _elementtree accelerator is automatically used whenever available. 2012-02-13 11:03:30 +01:00
Gregory P. Smith
db66310e8f Issue #13930: Adds ability for 2to3 to write its output to a different
directory tree instead of overwriting the input files.  Adds three command
line options: -o/--output-dir, -W/--write-unchanged-files and --add-suffix.
2012-02-12 15:56:49 -08:00
Gregory P. Smith
58f23ffb21 Issue #13930: Adds ability for 2to3 to write its output to a different
directory tree instead of overwriting the input files.  Adds three command
line options: -o/--output-dir, -W/--write-unchanged-files and --add-suffix.

Feature backports into stable release branches for 2to3 are allowed by
a special exemption:
 http://mail.python.org/pipermail/python-dev/2011-December/115089.html
2012-02-12 15:50:21 -08:00
Éric Araujo
a9d2b64206 Merge fixes for #13193 and FAQ from 3.2 2012-02-12 04:58:46 +01:00
Éric Araujo
01a2215727 Update mention of Subversion in the FAQ.
If I grepped correctly, this was the last outdated place.
2012-02-12 04:49:45 +01:00
Antoine Pitrou
4f863433fd What's new typo 2012-02-12 02:12:47 +01:00
Nadeem Vawda
d7e5c6ed7f Add section on bz2 module to whatsnew/3.3. 2012-02-12 01:34:18 +02:00
Nadeem Vawda
7edbe30e70 Fix typo in whatsnew/3.3. 2012-02-12 00:30:54 +02:00
Nadeem Vawda
d1a107132c Merge: #13989: Document that GzipFile does not support text mode. 2012-02-11 23:54:51 +02:00
Nadeem Vawda
30d94b7aea Issue #13989: Document that GzipFile does not support text mode.
Also, give a more helpful error message when opened with an invalid mode string.
2012-02-11 23:45:10 +02:00
Eli Bendersky
44fb613816 fix Doc/extending/extending.rst typo 2012-02-11 10:27:31 +02:00