Commit graph

78877 commits

Author SHA1 Message Date
Ezio Melotti
1181a46e09 #11732: merge with 3.3. 2013-03-07 18:38:45 +02:00
Ezio Melotti
e846342f8a #11732: make suppress_crash_popup() work on Windows XP and Windows Server 2003. 2013-03-07 18:37:13 +02:00
Nick Coghlan
90c91afd2e Merge fix for #15465 from 3.3 2013-03-07 23:45:03 +10:00
Nick Coghlan
7d82c8621b Close #15465: Document C API version macros
Mostly moving the existing macro docs over from the standard
library docs to the C API docs where they belong.

Patch by Kushal Das.
2013-03-07 23:14:44 +10:00
Giampaolo Rodola'
3ff5e7578e Refactor ftplib by getting rid of 4 methods (retr*() and stor*()) which were duplicated in TLS_FTP class. 2013-03-07 14:03:27 +01:00
Giampaolo Rodola'
94c56a172c PEP8-ify ftplib.py: get rid of multiple statements on one line (if cond: ...) 2013-03-07 13:51:20 +01:00
Stefan Krah
e8d4d51f59 Merge 3.3. 2013-03-07 01:23:01 +01:00
Stefan Krah
4f1974496a Issue #17361: Use cc from sysconfig for testing flags. 2013-03-07 01:12:03 +01:00
Victor Stinner
fb84b5d48d (Merge 3.3) _PyUnicode_Writer() now also reuses Unicode singletons:
empty string and latin1 single character
2013-03-06 19:29:09 +01:00
Victor Stinner
2cb16aa3cb _PyUnicode_Writer() now also reuses Unicode singletons:
empty string and latin1 single character
2013-03-06 19:28:37 +01:00
Eli Bendersky
82078bcfc3 Fix doc grammar and line width 2013-03-06 06:53:39 -08:00
Eli Bendersky
be0c028eb5 Fix doc grammar and line width 2013-03-06 06:50:36 -08:00
Eli Bendersky
68dd8ba010 Fix doc grammar and line width 2013-03-06 06:49:22 -08:00
Eli Bendersky
f9164e13fc Fix doc grammar and line width 2013-03-06 06:48:57 -08:00
Eli Bendersky
ca83233216 Fix formatting changes that led to compilation errors 2013-03-06 06:30:23 -08:00
Eli Bendersky
3612da6b2b call_commethod was only used in samples/Windows, which no longer exists.
This method is dead code - not documented, not tested. As far as we know, it
can be horribly broken.
2013-03-06 06:21:46 -08:00
Eli Bendersky
d867bad0fc Fix some formatting 2013-03-06 05:45:57 -08:00
Ezio Melotti
ed63754ef6 #17364: merge with 3.3. 2013-03-06 03:23:52 +02:00
Ezio Melotti
20d19241e5 #17364: merge with 3.2. 2013-03-06 03:23:28 +02:00
Ezio Melotti
f5a9bc5fdd #17364: remove documentation for a function that does not exist. 2013-03-06 03:20:27 +02:00
Ezio Melotti
33e20d1954 #17364: remove documentation for a function that does not exist. 2013-03-06 03:20:27 +02:00
Ezio Melotti
648b5900d5 #17363: merge with 3.3. 2013-03-06 02:59:25 +02:00
Ezio Melotti
32b0f02034 #17363: fix arguments in PyState_AddModule and PyState_RemoveModule docs. 2013-03-06 02:57:25 +02:00
Victor Stinner
cf77da9fb5 Backed out changeset b9f7b1bf36aa 2013-03-06 01:09:24 +01:00
Victor Stinner
313cac88c5 Issue #17223: Fix PyUnicode_FromUnicode() on Windows (16-bit wchar_t type)
to reject invalid UTF-16 surrogate.
2013-03-06 00:41:50 +01:00
Victor Stinner
e5c0533b58 Issue #17223: Add another test to check that _PyUnicode_Ready() rejects
code points bigger than U+10ffff
2013-03-06 00:39:03 +01:00
Ezio Melotti
87a249c119 #11732: merge with 3.3. 2013-03-05 20:33:38 +02:00
Ezio Melotti
e1857d999d Fix indentation. 2013-03-05 20:31:34 +02:00
Ezio Melotti
25a404520d #11732: add a new suppress_crash_popup() context manager to test.support. 2013-03-05 20:26:17 +02:00
Senthil Kumaran
df1d3c5c4b Reverting the changeset b87792757ee8 made for Issue #12921 2013-03-05 02:28:18 -08:00
Senthil Kumaran
884f0585a4 Reverting the changeset 5d76a4746d9d made for Issue #12921 2013-03-05 02:26:50 -08:00
Senthil Kumaran
1e7551dc87 Reverting the changeset 5126e62c60af made for Issue #12921 2013-03-05 02:25:58 -08:00
Senthil Kumaran
6234cc0098 Reverting the changeset c31d700dea8b made for Issue #12921 2013-03-05 02:24:03 -08:00
Senthil Kumaran
24431f1802 Fix Issue #12921: BaseHTTPServer's send_error should send the correct error
response message when  send_error includes a message in addition to error
status. Patch contributed by Karl.
2013-03-05 01:26:33 -08:00
Senthil Kumaran
c37f835a43 Fix Issue #12921: BaseHTTPServer's send_error should send the correct error
response message when  send_error includes a message in addition to error
status. Patch contributed by Karl.
2013-03-05 01:23:44 -08:00
Senthil Kumaran
3fb066d286 Fix Issue #12921: BaseHTTPServer's send_error should send the correct error
response message when  send_error includes a message in addition to error
status. Patch contributed by Karl.
2013-03-05 01:22:57 -08:00
Senthil Kumaran
c74e764c21 Fix Issue #12921: BaseHTTPServer's send_error should send the correct error
response message when  send_error includes a message in addition to error
status. Patch contributed by Karl.
2013-03-05 01:21:13 -08:00
Raymond Hettinger
757408a2f3 merge 2013-03-05 02:16:45 -05:00
Raymond Hettinger
3e6aafe209 Issue #16098: Update heapq.nsmallest to use the same algorithm as nlargest.
This removes the dependency on bisect and it bring the pure Python code
in-sync with the C code.
2013-03-05 02:15:01 -05:00
Raymond Hettinger
f7f8972a59 merge 2013-03-05 02:11:37 -05:00
Raymond Hettinger
2e8d9a799d Fix typo 2013-03-05 02:11:10 -05:00
Raymond Hettinger
e516604f7c merge 2013-03-05 01:37:02 -05:00
Raymond Hettinger
f6b26676bc Issue #16098: Update heapq.nsmallest to use the same algorithm as nlargest.
This removes the dependency on bisect and it bring the pure Python code
in-sync with the C code.
2013-03-05 01:36:30 -05:00
Raymond Hettinger
975a8e8f76 Use LT in all comparisons 2013-03-05 01:17:57 -05:00
Ned Deily
eec152d217 Issue #16848: python-config now returns proper --ldflags values for OS X
framework builds.
2013-03-04 14:31:04 -08:00
Antoine Pitrou
221760a3aa Issue #17278: Fix a crash in heapq.heappush() and heapq.heappop() when the list is being resized concurrently. 2013-03-04 20:35:55 +01:00
Antoine Pitrou
31584e30ab Issue #17278: Fix a crash in heapq.heappush() and heapq.heappop() when the list is being resized concurrently. 2013-03-04 20:33:36 +01:00
Antoine Pitrou
44d5214927 Issue #17278: Fix a crash in heapq.heappush() and heapq.heappop() when the list is being resized concurrently. 2013-03-04 20:30:01 +01:00
Antoine Pitrou
49e4dfeec8 Issue #17278: Fix a crash in heapq.heappush() and heapq.heappop() when the list is being resized concurrently. 2013-03-04 20:30:01 +01:00
Benjamin Peterson
42f382facd merge 3.3 (#17328) 2013-03-04 09:48:30 -05:00