Vinay Sajip
21b30827bc
Issue #16884 : Updated docs to use 'note' directives in a couple of places missed earlier.
2013-01-08 11:25:42 +00:00
Serhiy Storchaka
4ab23bfbeb
Issue #15845 : Fix comparison between bytes and string.
2013-01-08 11:32:58 +02:00
Vinay Sajip
e50f4d2220
Issue #16884 : updated logging documentation to include lastResort and use 'note' directives where appropriate.
2013-01-07 14:16:52 +00:00
R David Murray
a4e700c040
#16877 : Add mention that shell-style path expansions are not automatic.
2013-01-06 16:13:10 -05:00
Ezio Melotti
7449231eca
#16862 : remove outdated statements about Stackless.
2013-01-05 07:37:47 +02:00
Ezio Melotti
9beeefbb45
Cleanup a few minor things.
2013-01-05 07:36:54 +02:00
Ezio Melotti
19cdee891e
Fix example by making the exception inherit from Exception.
2013-01-05 06:53:27 +02:00
Ezio Melotti
cad8b0ff8e
#13094 : add Programming FAQ entry about the behavior of closures.
2013-01-05 00:50:46 +02: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
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
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
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
638fb9bbed
Issue #16828 : Fix error incorrectly raised by bz2.compress('').
...
Patch by Martin Packman.
2013-01-02 23:02:00 +01:00
Ezio Melotti
d581fff6f0
#16747 : fix link to file objects in the glossary.
2013-01-02 22:29:09 +02:00
Eli Bendersky
78f3ce577f
Fix method name in documentation (__setstate__ --> __getstate__)
2013-01-02 05:53:59 -08:00
Serhiy Storchaka
ba1edf2f58
Fix incorrect grammar in Misc/NEWS.
2013-01-02 11:57:22 +02:00
Serhiy Storchaka
e48741a619
Merge heads
2013-01-02 10:32:13 +02:00
Łukasz Langa
b83a86a210
Misc/NEWS updated to tell about #16820
2013-01-02 00:44:36 +01:00
Łukasz Langa
a2e7acd17d
configparser: preserve section order when using `__setitem__` (issue #16820 )
2013-01-01 23:45:33 +01: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
Serhiy Storchaka
8c126d7abd
Issue #16819 : IDLE method completion now correctly works for bytes literals.
2013-01-01 22:25:59 +02:00
Ned Deily
3108fb5b45
Update copyright dates in Mac plists.
2013-01-01 12:07:15 -08:00
Richard Oudkerk
9866231eab
Issue #9586 : Redefine SEM_FAILED on MacOSX to keep compiler happy.
2013-01-01 17:29:44 +00:00
Giampaolo Rodola'
5e844c8052
Fix issue 10527: make multiprocessing use poll() instead of select() if available.
2012-12-31 17:23:09 +01:00
Łukasz Langa
c7ce3f7be5
added Wolfgang Scherer to acknowledgements
2012-12-31 03:40:36 +01:00
Łukasz Langa
3a8479a583
Fixes `parser.clean()` reported in issue #16820 .
2012-12-31 03:38:39 +01:00
Łukasz Langa
3057469506
Fixes issue #15803 : incorrect `ConfigParser.items()` docstring
2012-12-31 02:18:20 +01:00
Serhiy Storchaka
88339c44f8
Issue #16645 : Fix hardlink extracting test for tarfile.
2012-12-30 20:16:30 +02:00
Andrew Svetlov
bac04e51ca
Fix docstring in curses ( #16782 )
2012-12-29 23:07:50 +02:00
Serhiy Storchaka
051722d554
Issue #16485 : Fix file descriptor not being closed if file header patching fails on closing of aifc file.
2012-12-29 22:30:56 +02:00
Antoine Pitrou
ddb87ab1b4
Forward port new test for SSLSocket.connect_ex()
2012-12-28 19:07:43 +01:00
Antoine Pitrou
40f12ab0c5
Backport Python 3.2 fix for issue #12065 , and add another test for SSLSocket.connect_ex().
2012-12-28 19:03:43 +01:00
Serhiy Storchaka
c4051aa8eb
Merge heads
2012-12-28 10:16:47 +02:00
Raymond Hettinger
c195b4e88c
Make the from_iterable() recipe more usable.
...
The code isn't exactly equivalent because a classmethod would
only make sense inside a chain class, and it would need "cls"
as a first argument, and it would need to return an instance
of "chain" rather than a generator.
The updated example drops the @classmethod decorator so that
it can be used standalone: list(from_iterable(['abc', 'def']))
This should be communicate what from_iterable does.
2012-12-28 00:03:30 -08:00
Serhiy Storchaka
0b386d5247
Issue #16761 : Raise TypeError when int() called with base argument only.
2012-12-28 09:42:11 +02:00
Serhiy Storchaka
cf095f8e0f
Issue #16761 : Raise TypeError when int() or long() called with base argument only.
2012-12-28 09:31:59 +02:00
Chris Jerdonek
1e4bd53a34
Issue #15324 : Fix regrtest parsing of --fromfile, --match, and --randomize.
2012-12-27 18:16:32 -08:00
Chris Jerdonek
3684c79e00
Issue #15324 : Fix regrtest parsing of --fromfile and --randomize options.
2012-12-27 18:14:01 -08:00
Ezio Melotti
52336f0b50
#16796 : fix typo. Patch by Michael Schurter.
2012-12-28 01:59:24 +02:00
Ezio Melotti
82ee30384c
#16796 : fix typo. Patch by Michael Schurter.
2012-12-28 01:59:24 +02:00
Serhiy Storchaka
c90be30b0d
Issue #16792 : Use assertIs() to test identity.
2012-12-28 00:44:20 +02:00
Serhiy Storchaka
8876145fab
Issue #16793 . Replace deprecated unittest asserts with modern counterparts.
2012-12-28 00:32:19 +02:00
Serhiy Storchaka
3b3170447f
Issue #16792 : Mark small ints test as CPython-only.
2012-12-27 23:57:00 +02:00
Serhiy Storchaka
270767b2ce
Issue #16792 : Mark small ints test as CPython-only.
2012-12-27 23:07:00 +02:00
Chris Jerdonek
6f70fe8046
Issue #16790 : add some of the recent issue #16045 int tests to test_long.
...
This patch also provides a simple way to share tests going forward
between test_int and test_long.
2012-12-27 12:53:29 -08:00
Brian Curtin
33e05e7905
Fix #16759 . Convert DWORD registry values using unsigned long.
...
When converting REG_DWORD registry values into Python, the conversion
needs to be made from an *unsigned* long (k instead of i) to match the
DWORD type.
2012-12-27 14:37:06 -06:00
Brian Curtin
9eac6b3848
Merge
2012-12-27 14:12:43 -06:00