Éric Araujo
4575afcb53
Fix parsing of packaging’s build_ext --libraries option ( #1326113 )
2012-02-15 17:25:25 +01:00
Éric Araujo
1d175f7768
Merge fixes for #1326113 and #12297 from 3.2
2012-02-15 17:13:26 +01:00
Éric Araujo
b2f5c0a4c4
Fix parsing of build_ext --libraries option ( #1326113 )
2012-02-15 16:44:37 +01:00
Antoine Pitrou
8b4d64f256
Move NEWS entry to correct section.
2012-02-15 02:54:54 +01:00
Antoine Pitrou
552be9b214
Issue #13020 : Fix a reference leak when allocating a structsequence object fails.
...
Patch by Suman Saha.
2012-02-15 02:54:33 +01:00
Antoine Pitrou
37784ba5c0
Issue #13020 : Fix a reference leak when allocating a structsequence object fails.
...
Patch by Suman Saha.
2012-02-15 02:51:43 +01:00
Antoine Pitrou
15af7b4a4f
Issue #13015 : Fix a possible reference leak in defaultdict.__repr__.
...
Patch by Suman Saha.
2012-02-15 02:43:47 +01:00
Antoine Pitrou
f5f1fe0cb5
Issue #13015 : Fix a possible reference leak in defaultdict.__repr__.
...
Patch by Suman Saha.
2012-02-15 02:42:46 +01:00
Antoine Pitrou
06b57ef958
Issue #10287 : nntplib now queries the server's CAPABILITIES first before sending MODE READER, and only sends it if not already in READER mode.
...
Patch by Hynek Schlawack.
2012-02-14 23:30:35 +01:00
Antoine Pitrou
71135624d8
Issue #10287 : nntplib now queries the server's CAPABILITIES first before sending MODE READER, and only sends it if not already in READER mode.
...
Patch by Hynek Schlawack.
2012-02-14 23:29:34 +01:00
Meador Inge
ffeee3518a
Issue #13979 : Fix ctypes.util.find_library ldconfig regex
2012-02-13 22:08:39 -06: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
Ezio Melotti
d1c7b1afe8
#13993 : merge with 3.2.
2012-02-13 11:42:29 +02:00
Ezio Melotti
5211ffe4df
#13993 : HTMLParser is now able to handle broken end tags when strict=False.
2012-02-13 11:24:50 +02: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
Petri Lehtinen
c7551a16c7
Merge branch '3.2'
...
Closes #9750
2012-02-12 21:06:57 +02:00
Petri Lehtinen
51d04d1ba8
Fix sqlite3.Connection.iterdump on tables/fields with reserved names or quotes
...
Closes #9750
2012-02-12 21:05:31 +02:00
Antoine Pitrou
425b8e85a9
Issue #10287 : nntplib now queries the server's CAPABILITIES again after authenticating (since the result may change, according to RFC 4643).
...
Patch by Hynek Schlawack.
2012-02-12 19:15:09 +01:00
Antoine Pitrou
54411c1784
Issue #10287 : nntplib now queries the server's CAPABILITIES again after authenticating (since the result may change, according to RFC 4643).
...
Patch by Hynek Schlawack.
2012-02-12 19:14:17 +01:00
Éric Araujo
b9df745ab5
Port the fix for #13193 to packaging
2012-02-12 05:01:42 +01:00
Éric Araujo
a9d2b64206
Merge fixes for #13193 and FAQ from 3.2
2012-02-12 04:58:46 +01:00
Éric Araujo
9ce366a5a6
Fix distutils.filelist.FileList under Windows ( #13193 ).
...
The code used to call os.path.join to build a regex but without escaping
the backslash, which lead to test failures on Windows. Antoine Pitrou
fixed it in 0a94e2f807c7 by enhancing the code to accept both / and \,
with proper escaping, but in my opinion this goes against the distutils
feature freeze, hence this change.
2012-02-12 04:52:21 +01: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
Ned Deily
7347df1504
Issue #13590 : merge
2012-02-10 13:08:44 +01:00
Ned Deily
9937748f0c
Issue #13590 : On OS X 10.7 and 10.6 with Xcode 4.2, building
...
Distutils-based packages with C extension modules may fail because
Apple has removed gcc-4.2, the version used to build python.org
64-bit/32-bit Pythons. If the user does not explicitly override
the default C compiler by setting the CC environment variable,
Distutils will now attempt to compile extension modules with clang
if gcc-4.2 is required but not found. Also as a convenience, if
the user does explicitly set CC, substitute its value as the default
compiler in the Distutils LDSHARED configuration variable for OS X.
(Note, the python.org 32-bit-only Pythons use gcc-4.0 and the 10.4u
SDK, neither of which are available in Xcode 4. This change does not
attempt to override settings to support their use with Xcode 4.)
2012-02-10 13:01:08 +01:00
Ezio Melotti
176630ec19
#13960 : merge with 3.2.
2012-02-10 10:50:49 +02:00
Ezio Melotti
fa3702dc28
#13960 : HTMLParser is now able to handle broken comments when strict=False.
2012-02-10 10:45:44 +02:00
Petri Lehtinen
bc35bebb45
Undocument and clean up sqlite3.OptimizedUnicode
...
Closes #13921 .
2012-02-09 21:09:03 +02:00
Senthil Kumaran
f0f9679d5c
merge from 3.2
...
Issue #9021 - Introduce copy module better in the docs.
2012-02-09 18:27:48 +08:00
Senthil Kumaran
5b14d732d8
Issue #9021 - Introduce copy module better. Doc changes suggested by Terry
...
Reedy.
2012-02-09 18:26:59 +08:00
Senthil Kumaran
0bfa963fbb
merged from 3.2
...
Issue #6005 : Examples in the socket library documentation use sendall, where
relevant, instead send method.
2012-02-09 17:55:56 +08:00
Senthil Kumaran
6e13f130a9
Fix Issue #6005 : Examples in the socket library documentation use sendall,
...
where relevant, instead send method.
2012-02-09 17:54:17 +08:00
Brett Cannon
32b66be879
Clarify a NEWS entry.
2012-02-08 18:53:46 -05:00
Brett Cannon
b4e63b3177
Use the cwd when the empty string is found in sys.path. This leads to
...
__file__ being an absolute path when the module is found in the
current directory.
2012-02-08 18:52:56 -05:00
Antoine Pitrou
bcf2b59fb5
Issue #13609 : Add two functions to query the terminal size:
...
os.get_terminal_size (low level) and shutil.get_terminal_size (high level).
Patch by Zbigniew Jędrzejewski-Szmek.
2012-02-08 23:28:36 +01:00
Victor Stinner
72476eae5f
Issue #13845 : Fix NEWS entry, the change is specific to Windows
2012-02-08 22:53:24 +01:00
Charles-François Natali
ed4a8fc095
Issue #8184 : multiprocessing: On Windows, don't set SO_REUSEADDR on Connection
...
sockets, and set FILE_FLAG_FIRST_PIPE_INSTANCE on named pipes, to make sure two
listeners can't bind to the same socket/pipe (or any existing socket/pipe).
2012-02-08 21:15:58 +01:00
Victor Stinner
09225b73c1
Issue #13845 : time.time() now uses GetSystemTimeAsFileTime() instead of ftime()
...
to have a resolution of 100 ns instead of 1 ms (the clock accuracy is between
0.5 ms and 15 ms).
2012-02-07 23:41:01 +01:00
Victor Stinner
8b30201f7d
Issue #13846 : Add time.monotonic(), monotonic clock.
2012-02-07 23:29:46 +01:00
Petri Lehtinen
96356d40b9
Merge branch '3.2'
2012-02-06 22:04:41 +02:00
Petri Lehtinen
4a84f58143
Issue #10811 : Fix recursive usage of cursors. Instead of crashing, raise a ProgrammingError now.
2012-02-06 22:04:18 +02:00
Charles-François Natali
7794090251
Following Nick's suggestion, rename posix.fdlistdir() to posix.flistdir(), to
...
be consistent with other functions accepting file descriptors (fdlistdir() was
added in 3.3, so hasn't been released yet).
2012-02-06 19:54:48 +01:00
Ned Deily
6b1aecfdbf
Issue #10881 : merge
2012-02-06 01:00:05 +01:00
Ned Deily
d531b295f2
Issue #10881 : Fix test_site failure with OS X framework builds.
2012-02-06 00:58:18 +01:00
Terry Jan Reedy
ea4afbb6bc
Merge with 3.2 #964437
2012-02-05 15:24:39 -05:00
Terry Jan Reedy
e91e7637bb
Issue 964437 Make IDLE help window non-modal.
...
Patch by Guilherme Polo and Roger Serwy.
2012-02-05 15:14:20 -05:00
Charles-François Natali
7372b06cd7
Issue #13734 : Add os.fwalk(), a directory walking function yielding file
...
descriptors.
2012-02-05 15:15:38 +01:00
Éric Araujo
cd0d951a70
Merge edits from 3.2 ( #13716 , #1040439 , #2945 , #13770 , #6715 )
2012-02-05 13:49:59 +01:00