Commit graph

12841 commits

Author SHA1 Message Date
Vinay Sajip
ff4b7bfaef Merged cookbook improvement from 3.2. 2012-02-28 08:06:01 +00:00
Vinay Sajip
39b83ac772 Improved logging cookbook example. 2012-02-28 08:05:23 +00:00
Georg Brandl
86798d4ff9 Merge with 3.2. 2012-02-28 08:21:49 +01:00
Georg Brandl
e998386442 Fix markup errors. 2012-02-28 08:21:40 +01:00
Brett Cannon
b46a1793a7 Update importlib.invalidate_caches() to be more general. 2012-02-27 18:15:42 -05:00
Eli Bendersky
49ac6f4492 Some corrections for the Doc/extending documentation. Closes #14129 2012-02-27 19:18:35 +02:00
Benjamin Peterson
ad8586d075 typo 2012-02-27 10:59:10 -05:00
Vinay Sajip
bd2c199b2b Merged cookbook update for LogRecord customisation. 2012-02-27 11:57:25 +00:00
Vinay Sajip
982f534fab Updated cookbook with information on customising LogRecords. 2012-02-27 11:56:29 +00:00
Vinay Sajip
22fa0677d6 Merged cookbook update from 3.2. 2012-02-27 11:03:26 +00:00
Vinay Sajip
6b883a2c4d Updated logging cookbook with info on alternative format styles. 2012-02-27 11:02:45 +00:00
Georg Brandl
6181b397c4 Remove duplicate label. 2012-02-26 23:02:53 +01:00
Gregory P. Smith
c45a8a153b Issue #14123: Explicitly mention that old style % string formatting has caveats but is not going away any time soon. 2012-02-26 01:54:46 -08:00
Gregory P. Smith
3bbdc8e822 Issue #14123: Explicitly mention that old style % string formatting has caveats
but is not going away any time soon.
2012-02-26 01:54:07 -08:00
Nick Coghlan
ab7bf2143e Close issue #6210: Implement PEP 409 2012-02-26 17:49:52 +10:00
Ezio Melotti
cda6b6d60d #14081: The sep and maxsplit parameter to str.split, bytes.split, and bytearray.split may now be passed as keyword arguments. 2012-02-26 09:39:55 +02:00
Éric Araujo
408026c7e8 Merge 3.2 2012-02-26 04:07:37 +01:00
Éric Araujo
f527277b67 Branch merge 2012-02-26 04:00:43 +01:00
Éric Araujo
a6091998af Use const markup instead of a misleading string literal 2012-02-26 02:13:30 +01:00
Ezio Melotti
8c5c3c1e33 #14114: merge with 3.2. 2012-02-25 19:26:39 +02:00
Ezio Melotti
4342722f40 #14114: don't include copybutton.js in the htmlhelp output. 2012-02-25 19:24:24 +02:00
Stefan Krah
9a2d99e28a - Issue #10181: New memoryview implementation fixes multiple ownership
and lifetime issues of dynamically allocated Py_buffer members (#9990)
  as well as crashes (#8305, #7433). Many new features have been added
  (See whatsnew/3.3), and the documentation has been updated extensively.
  The ndarray test object from _testbuffer.c implements all aspects of
  PEP-3118, so further development towards the complete implementation
  of the PEP can proceed in a test-driven manner.

  Thanks to Nick Coghlan, Antoine Pitrou and Pauli Virtanen for review
  and many ideas.

- Issue #12834: Fix incorrect results of memoryview.tobytes() for
  non-contiguous arrays.

- Issue #5231: Introduce memoryview.cast() method that allows changing
  format and shape without making a copy of the underlying memory.
2012-02-25 12:24:21 +01:00
Victor Stinner
0a786221d9 Issue #13846: Enhance time.monotonic() documentation 2012-02-24 00:10:45 +01:00
Georg Brandl
e578021696 Add 3.2.3 to license. 2012-02-23 21:19:18 +01:00
Georg Brandl
335d628a66 merge with 3.2 2012-02-23 21:17:27 +01:00
Georg Brandl
eb25fb7af7 Fix markup errors. 2012-02-23 21:12:39 +01:00
Benjamin Peterson
b43fde98b4 remove unapplicable statement 2012-02-21 18:03:26 -05:00
Georg Brandl
42ae472798 merge with 3.2 2012-02-21 22:37:36 +01:00
Georg Brandl
7ef825fdab merge with 3.2 2012-02-21 22:36:37 +01:00
Georg Brandl
c9a42070a6 Remove reST markup from --help output. Also: O(n**2) is dict construction, not single insertion. 2012-02-21 22:36:27 +01: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
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