Ezio Melotti
7d48669085
#13094 : merge with 3.2.
2013-01-05 00:51:20 +02:00
Ezio Melotti
cad8b0ff8e
#13094 : add Programming FAQ entry about the behavior of closures.
2013-01-05 00:50:46 +02:00
Serhiy Storchaka
6c83e739d7
Issue #16856 : Fix a segmentation fault from calling repr() on a dict with
...
a key whose repr raise an exception.
2013-01-04 12:39:34 +02:00
Benjamin Peterson
bf064b3911
merge 3.2
2013-01-03 20:34:49 -08:00
Benjamin Peterson
d73f369f4c
merge heads
2013-01-03 20:34:40 -08:00
Benjamin Peterson
0a2c4f55c4
drop email ( closes #16857 )
2013-01-03 20:34:19 -08:00
Christian Heimes
f402e922f3
Issue #16847 : Fixed improper use of _PyUnicode_CheckConsistency() in
...
non-pydebug builds. Several extension modules now compile cleanly when
assert()s are enabled in standard builds (-DDEBUG flag).
2013-01-03 09:21:55 +01:00
Victor Stinner
6f84659e5e
(Merge 3.2) Issue #16367 : Fix FileIO.readall() on Windows for files larger than 2 GB.
2013-01-03 03:37:47 +01:00
Victor Stinner
c44057dfbd
Issue #16367 : Fix FileIO.readall() on Windows for files larger than 2 GB
2013-01-03 03:33:21 +01:00
Giampaolo Rodola'
549d465fe2
issue 10527: fix missing import
2013-01-03 02:54:27 +01:00
Victor Stinner
269b3ce400
(Merge 3.2) Issue #16218 , #16414 , #16444 : Backport FS_NONASCII,
...
TESTFN_UNDECODABLE, TESTFN_NONASCII of test.support from Python 3.4. Backport
tests on non-ASCII paths.
2013-01-03 01:56:38 +01:00
Victor Stinner
0af71aae2d
Issue #16218 , #16414 , #16444 : Backport FS_NONASCII, TESTFN_UNDECODABLE,
...
TESTFN_NONASCII of test.support from Python 3.4. Backport tests on non-ASCII
paths.
2013-01-03 01:50:30 +01:00
Victor Stinner
7ae320d667
(Merge 3.2) Issue #16455 : On FreeBSD and Solaris, if the locale is C, the
...
ASCII/surrogateescape codec is now used, instead of the locale encoding, to
decode the command line arguments. This change fixes inconsistencies with
os.fsencode() and os.fsdecode() because these operating systems announces an
ASCII locale encoding, whereas the ISO-8859-1 encoding is used in practice.
2013-01-03 01:21:07 +01:00
Victor Stinner
20b654acb5
Issue #16455 : On FreeBSD and Solaris, if the locale is C, the
...
ASCII/surrogateescape codec is now used, instead of the locale encoding, to
decode the command line arguments. This change fixes inconsistencies with
os.fsencode() and os.fsdecode() because these operating systems announces an
ASCII locale encoding, whereas the ISO-8859-1 encoding is used in practice.
2013-01-03 01:08:58 +01:00
Nadeem Vawda
791e464f75
Correction: issue #16828 also affects BZ2Compressor.compress().
2013-01-02 23:10:47 +01:00
Nadeem Vawda
57cb81d161
Issue #16828 : Fix error incorrectly raised by bz2.compress('').
...
Initial patch by Martin Packman.
2013-01-02 23:05:56 +01:00
Nadeem Vawda
638fb9bbed
Issue #16828 : Fix error incorrectly raised by bz2.compress('').
...
Patch by Martin Packman.
2013-01-02 23:02:00 +01:00
Ezio Melotti
407c2ac4f7
#16747 : merge with 3.2.
2013-01-02 22:29:41 +02:00
Ezio Melotti
d581fff6f0
#16747 : fix link to file objects in the glossary.
2013-01-02 22:29:09 +02:00
Ezio Melotti
22ebb2d6ef
#16748 : test_heapq now works with unittest test discovery.
2013-01-02 21:19:37 +02:00
Benjamin Peterson
c527037207
add Tom Tromey to ACKS
2013-01-02 12:22:11 -06:00
Eli Bendersky
a6d0dd5dc3
Fix method name in documentation (__setstate__ --> __getstate__)
2013-01-02 05:54:36 -08:00
Eli Bendersky
78f3ce577f
Fix method name in documentation (__setstate__ --> __getstate__)
2013-01-02 05:53:59 -08:00
Serhiy Storchaka
75b936ec7f
Fix incorrect grammar in sched documentation.
2013-01-02 12:31:26 +02:00
Serhiy Storchaka
89faf4fe23
Fix incorrect grammar in Misc/NEWS.
2013-01-02 12:05:38 +02:00
Serhiy Storchaka
ba1edf2f58
Fix incorrect grammar in Misc/NEWS.
2013-01-02 11:57:22 +02:00
Serhiy Storchaka
cc6b514a72
Merge heads
2013-01-02 10:38:45 +02:00
Serhiy Storchaka
32e258d877
Merge heads
2013-01-02 10:37:54 +02:00
Serhiy Storchaka
e48741a619
Merge heads
2013-01-02 10:32:13 +02:00
Łukasz Langa
f52b98d7dc
Null-merged Misc/NEWS change
2013-01-02 01:02:17 +01:00
Łukasz Langa
b83a86a210
Misc/NEWS updated to tell about #16820
2013-01-02 00:44:36 +01:00
Łukasz Langa
844460d68c
Misc/NEWS updated to tell about #14590 and #16820
2013-01-02 00:39:59 +01:00
Łukasz Langa
ed16dd851b
Null-merged 3.2 section order preservation fix when using `__setitem__` (issue
...
#16820 )
2013-01-01 23:50:03 +01:00
Łukasz Langa
a2e7acd17d
configparser: preserve section order when using `__setitem__` (issue #16820 )
2013-01-01 23:45:33 +01:00
Victor Stinner
a25be07103
Issue #9644 : Add a test on os.statvfs() for the PEP 383
2013-01-01 23:11:21 +01:00
Serhiy Storchaka
3cfb2cd624
Issue #16541 : tk_setPalette() now works with keyword arguments.
...
Added a test for tk_setPalette().
2013-01-02 00:07:21 +02:00
Victor Stinner
e4110dc11f
Issue #9644 : Fix the encoding used by os.statvfs(): use the filesystem encoding
...
with the surrogateescape error handler, instead of UTF-8 in strict mode.
2013-01-01 23:05:55 +01:00
Serhiy Storchaka
4cf4f3a7c6
Issue #16541 : tk_setPalette() now works with keyword arguments.
...
Added a test for tk_setPalette().
2013-01-02 00:03:58 +02:00
Łukasz Langa
a821f82f66
configparser: preserve section order when using `__setitem__` (issue #16820 )
2013-01-01 22:33:19 +01:00
Serhiy Storchaka
eb6aa5c525
Issue #16819 : IDLE method completion now correctly works for bytes literals.
2013-01-01 22:32:42 +02:00
Serhiy Storchaka
8c126d7abd
Issue #16819 : IDLE method completion now correctly works for bytes literals.
2013-01-01 22:25:59 +02:00
Ned Deily
7a7a535e23
Update copyright dates in Mac plists.
2013-01-01 12:08:39 -08:00
Ned Deily
3108fb5b45
Update copyright dates in Mac plists.
2013-01-01 12:07:15 -08:00
Richard Oudkerk
9b4599322d
Issue #9586 : Merge
2013-01-01 17:36:53 +00:00
Richard Oudkerk
9866231eab
Issue #9586 : Redefine SEM_FAILED on MacOSX to keep compiler happy.
2013-01-01 17:29:44 +00:00
Eli Bendersky
b829dea0cd
Make indentation consistent
2013-01-01 07:41:51 -08:00
Benjamin Peterson
a63ecedfa0
update another year
2012-12-31 21:44:00 -06:00
Benjamin Peterson
198399d92c
bring Python into 2013
2012-12-31 21:37:21 -06:00
Eli Bendersky
03ab4d3581
Make indentation consistent and remove dead commented-out code.
2012-12-31 15:34:20 -08:00
Giampaolo Rodola'
5051ca887c
Fix issue 10527: make multiprocessing use poll() instead of select() if available.
2012-12-31 17:38:17 +01:00