Richard Oudkerk
7796b08664
Issue #10527 : Remove dead code
2013-01-15 13:13:35 +00:00
Richard Oudkerk
90b5d9288d
Issue #10527 : Use poll() instead of select() for multiprocessing pipes
2013-01-14 23:09:14 +00:00
Serhiy Storchaka
80a9fd77a0
Issue #9720 : zipfile now writes correct local headers for files larger than 4 GiB.
2013-01-15 00:29:51 +02:00
Serhiy Storchaka
3d4a02ab8c
Describe the default_namespace parameter of ElemetTree.write.
2013-01-13 21:57:14 +02:00
Charles-François Natali
8c9047149b
test_asyncore: wait explicitly for a thread termination (this dangling thread
...
could be the cause of a random failure).
2013-01-13 13:55:13 +01:00
Benjamin Peterson
40056de9f5
make deque_clear void, since it's infallible
2013-01-12 21:22:18 -05:00
Serhiy Storchaka
eebcb5f790
Issue #16829 : IDLE printing no longer fails if there are spaces or other
...
special characters in the file path.
2013-01-12 18:12:27 +02:00
Charles-François Natali
ef2bd67e23
Issue #16762 : Fix some test_subprocess failures on NetBSD and OpenBSD: kill()
...
returns ESRCH for a zombie process, which is not POSIX-compliant.
2013-01-12 16:52:20 +01:00
Ezio Melotti
dc157fcbd3
#16940 : fix indentation in example.
2013-01-12 10:39:45 +02:00
Raymond Hettinger
2cdb6435d6
Issue #16398 : Optimize deque.rotate()
2013-01-12 00:05:00 -08:00
Chris Jerdonek
92e2fc8360
Issue #16933 : Improve choices examples in argparse documentation.
2013-01-11 19:25:28 -08:00
Serhiy Storchaka
dfae912d80
Issue #15539 : Fix backup file creation in pindent.py on Windows
2013-01-11 22:16:15 +02:00
Georg Brandl
8b41c2e259
Closes #16936 : fix duplicate/ambiguous description of stat.S_IFMT in the docs.
2013-01-11 20:25:54 +01:00
Ezio Melotti
9e9cb2810e
Add a note about checking refleaks to patchcheck.
2013-01-11 14:07:47 +02:00
Serhiy Storchaka
4b263663fc
Merge heads
2013-01-11 12:27:43 +02:00
Serhiy Storchaka
8cd7f82024
Issue #15539 : Fix a number of bugs in Tools/scripts/pindent.py.
...
Now pindent.py works with a "with" statement. pindent.py no longer produces
improper indentation. pindent.py now works with continued lines broken after
"class" or "def" keywords and with continuations at the start of line. Added
regression tests for pindent.py. Modernized pindent.py.
2013-01-11 11:59:59 +02:00
Sandro Tosi
2534f9aa39
grammatical fix; thanks to Alex Rudnick from docs@
2013-01-11 10:48:34 +01:00
Ezio Melotti
14091a6bca
Merge heads.
2013-01-11 09:06:12 +02:00
Ezio Melotti
57dfb227a3
#16154 : fix some doctests in Doc/library. Patch by Ravi Sinha.
2013-01-11 08:53:10 +02:00
Chris Jerdonek
d3003cb0b2
Issue #16874 : fix formatting of setup.py upload options in documentation.
2013-01-10 22:50:40 -08:00
Ezio Melotti
5c4e32b131
#13899 : \A, \Z, and \B now correctly match the A, Z, and B literals when used inside character classes (e.g. [A]). Patch by Matthew Barnett.
2013-01-11 08:32:01 +02:00
R David Murray
32851d61f2
#15109 : revert '%'->'format' changes in 4b105d328fe7 to fix regression.
...
With '%', non-ascii worked because the '%' automatically got promoted to
unicode. With format that doesn't happen, which led to encoding errors. This
fix goes back to using %, and adds a test to make sure non-ascii string values
work in iterdump.
2013-01-10 21:10:40 -05:00
R David Murray
bcd9971b05
#13934 : document sqlite version strings.
2013-01-10 20:22:57 -05:00
Benjamin Peterson
9dccb01703
use PyInt_FromSsize_t instead of PyLong_FromSsize_t ( #10182 )
2013-01-10 10:37:47 -06:00
R David Murray
d618684d65
#15545 : sort iterdump via SQL instead of in python code
...
Although there is not a regression in Python2, we make the same update here to
keep the code bases in sync.
(The fix for issue 9750 introduced a regression in Python 3 by sorting the row
objects returned by fetchall. But if a row_factory such as sqlite3.Row is
used, the rows may not be sortable (in Python3), which leads to an exception.
The sorting is still a nice idea, so the patch moves the sort into the sql.)
Fix and test by Peter Otten.
2013-01-10 11:30:51 -05:00
Ned Deily
ec8f8f7959
Issue #15782 : Prevent compile errors of OS X Carbon modules _Fm, _Qd, and
...
_Qdoffs when compiling with an SDK of 10.7 or later. The OS X APIs they
wrap have long been deprecated and have now been removed with 10.7.
These modules were already empty for 64-bit builds and have been removed
in Python 3. (Original patch by Ronald Oussoren.)
2013-01-09 22:04:35 -08:00
Serhiy Storchaka
c4b82c037e
Issue #11461 : Fix the incremental UTF-16 decoder. Original patch by
...
Amaury Forgeot d'Arc. Added tests for partial decoding of non-BMP
characters.
2013-01-08 23:12:00 +02:00
Serhiy Storchaka
c9631a14d7
Fix out of bound read in UTF-32 decoder on "narrow Unicode" builds.
2013-01-08 22:43:18 +02:00
Charles-François Natali
be2b907ce2
Issue #16836 : Enable IPv6 support even if IPv6 is disabled on the build host.
2013-01-08 19:47:00 +01:00
Vinay Sajip
3a5fc4bcb8
Issue #16884 : Updated docs to use 'note' directives.
2013-01-08 11:18:42 +00:00
R David Murray
b847c7fcfe
#16877 : Add mention that shell-style path expansions are not automatic.
2013-01-06 16:14:57 -05:00
Ezio Melotti
9ae4711581
#16862 : remove outdated statements about Stackless.
2013-01-05 07:37:47 +02:00
Ezio Melotti
7be3e18901
Cleanup a few minor things.
2013-01-05 07:36:54 +02:00
Ezio Melotti
58abc5bcd7
#13094 : add Programming FAQ entry about the behavior of closures.
2013-01-05 00:49:48 +02:00
Chris Jerdonek
717e50e43a
Issue #16747 : Reflow iterable glossary entry to match 3.x change e19ed347523e.
2013-01-04 04:41:34 -08:00
Benjamin Peterson
830b4a8570
drop email ( closes #16857 )
2013-01-03 20:34:19 -08:00
Victor Stinner
23a32ba0e5
Issue #16367 : Fix FileIO.readall() on Windows for files larger than 2 GB
2013-01-03 03:33:21 +01:00
Giampaolo Rodola'
049a378cd7
issue 10527: fix missing import
2013-01-03 02:53:28 +01:00
Nadeem Vawda
895cc22b8b
Issue #16828 : Fix error incorrectly raised by bz2.compress('').
...
Patch by Martin Packman.
2013-01-02 22:59:51 +01:00
Benjamin Peterson
8f53ded1ee
untabify
2013-01-02 12:25:15 -06:00
Benjamin Peterson
b7ee47b4b7
add Tom Tromey to ACKS
2013-01-02 12:22:11 -06:00
Benjamin Peterson
a708adfcf6
call PyErr_Clear() when ignoring error from PyNumber_Int ( closes #15516 )
...
Patch from Tom Tromey.
2013-01-02 12:21:32 -06:00
Benjamin Peterson
140794d6e7
merge heads
2013-01-02 09:37:33 -06:00
Benjamin Peterson
6b3f8d375b
ensure the attribute name string is initalized before using it ( closes #16839 )
2013-01-02 09:36:23 -06:00
Eli Bendersky
f29abd3254
Fix method name in documentation (__setstate__ --> __getstate__)
2013-01-02 06:02:23 -08:00
Serhiy Storchaka
dbaac37a5f
Fix incorrect grammar in Misc/NEWS.
2013-01-02 11:56:58 +02:00
Benjamin Peterson
5ca88d2b18
get the core to compile --disable-unicode
2013-01-01 23:04:16 -06:00
Serhiy Storchaka
14224420d0
Issue #16819 : IDLE method completion now correctly works for unicode literals.
2013-01-01 22:27:45 +02:00
Ned Deily
93b0b25fe0
Update copyright dates in Mac plists.
2013-01-01 12:06:15 -08:00
Richard Oudkerk
7450a81970
Issue #9586 : Redefine SEM_FAILED on MacOSX to keep compiler happy.
2013-01-01 17:25:09 +00:00