Commit graph

68714 commits

Author SHA1 Message Date
R David Murray
e3de175a5e #15342: Add clarifying sentence to posixpath.join docstring.
This sentence appears as a clarifying note in the HTML docs, and seems
worth having in the docstring since it covers a very common use case
that isn't otherwise obvious.  Thanks to Yongzhi Pan for the suggestion.
2012-07-21 14:33:56 -04:00
Eli Bendersky
ef391ac982 Raise ImportError if pyexpat's version is incompatible 2012-07-21 20:28:46 +03:00
Georg Brandl
d33a9beb8d Fix typo introduced in 79d54fba49b3. 2012-07-21 16:48:16 +02:00
Florent Xicluna
6e571d699f Fix test_pprint random dict ordering. 2012-07-21 12:44:20 +02:00
Florent Xicluna
d6da90f93d Issues #10017 and #14998: Fix TypeError using pprint on dictionaries with unorderable key. 2012-07-21 11:17:38 +02:00
Raymond Hettinger
dee8af225b Fix whitespace 2012-07-20 17:47:59 -07:00
Antoine Pitrou
715a63b783 Issue #14579: Fix error handling bug in the utf-16 decoder.
Patch by Serhiy Storchaka.
2012-07-21 00:52:06 +02:00
Antoine Pitrou
b4bbee25b1 Issue #14579: Fix CVE-2012-2135: vulnerability in the utf-16 decoder after error handling.
Patch by Serhiy Storchaka.
2012-07-21 00:45:14 +02:00
Meador Inge
ca9652ea5d Issue #15406: Fix deprecation warning in ctypes test_bitfields.py
Patch by Flávio Ribeiro.
2012-07-20 12:48:34 -05:00
Andrew Svetlov
ddcb6206bf Issue #15404: Refleak in PyMethodObject repr. 2012-07-20 14:51:45 +03:00
Vinay Sajip
3be7a8bbcf Issue #15399: Added versionchanged for processName. 2012-07-20 09:50:18 +01:00
Vinay Sajip
bee739baa7 Issue #15399: Added versionchanged for processName. 2012-07-20 09:48:46 +01:00
Jesus Cea
62a5c3216d Closes #15395: memory leaks in selectmodule.c 2012-07-19 21:31:26 +02:00
Jesus Cea
ef86d12979 Closes #15396: memory leak in tkinter 2012-07-19 21:18:07 +02:00
Meador Inge
29e49d6394 Issue #15394: Fix ref leaks in PyModule_Create.
Patch by Julia Lawall.
2012-07-19 13:45:43 -05:00
Meador Inge
60c2266afe Issue #6493: Fix handling of c_uint32 bitfields with width of 32 on Windows. 2012-07-19 00:01:22 -05:00
Meador Inge
25be3f68e0 Issue #6493: Fix handling of c_uint32 bitfields with width of 32 on Windows. 2012-07-18 23:51:05 -05:00
R David Murray
59488d233b Closes #9254: backport __import__ docstring/doc mentions of importlib.
Patch by Éric Araujo.
2012-07-18 19:44:08 -04:00
Meador Inge
996ae04943 remove unused variable 2012-07-18 17:57:46 -05:00
Meador Inge
0e3755e58a remove unused variable 2012-07-18 17:48:34 -05:00
Meador Inge
f69e24e3c6 Issue #15368: fixing variable typo. 2012-07-18 16:41:03 -05:00
Meador Inge
b8a569065e Issue #15368: fixing variable typo. 2012-07-18 16:32:37 -05:00
Meador Inge
2ca6315d15 Issue #15368: make bytecode generation deterministic. 2012-07-18 14:20:11 -05:00
Meador Inge
6642d1f97d Issue #15368: make bytecode generation deterministic. 2012-07-18 14:09:04 -05:00
Hynek Schlawack
0b350c6b3e Use posixpath.join() explicitely in posixpath.join() test
Used os.path.join before which has different semantics on Windows.
2012-07-17 14:28:44 +02:00
Eli Bendersky
ceb23316c8 merge heads 2012-07-17 14:22:01 +03:00
Eli Bendersky
66099b0cdc ISsue #14988: restore Python 2's behavior of raising ImportError when unable to load pyexpat, instead of a SystemError/RuntimeError 2012-07-17 14:20:38 +03:00
Hynek Schlawack
c5a4566922 #15377: Make posixpath.join() more strict when checking for str/bytes mix
Based on a patch by Nick Coghlan.
2012-07-17 13:05:43 +02:00
Nick Coghlan
eb3e62f1c8 Issue #15230: Attempt to make the OS X buildbots happy by resolving the tmp dir symlink in the test suite 2012-07-17 20:42:39 +10:00
Hynek Schlawack
7cdc2bdd0d Fix context manager use in posixpath.join() tests
The asserts were useless (and buggy).
2012-07-17 10:48:19 +02:00
R David Murray
fc095202af #15375: remove duplicated word 'child' 2012-07-16 22:31:32 -04:00
Gregory P. Smith
954d46b2cc one more test fix for systems without select.poll. tested by deleting
select.poll before running.  works both ways (finally).  this should fix
the windows build.
2012-07-16 15:48:30 -07:00
Gregory P. Smith
ac14aa5187 Fix unchecked select.poll reference in setUp and tearDown for
platforms that don't have it.
2012-07-16 13:38:45 -07:00
Gregory P. Smith
e4220a5ec6 Fix the with_poll tests for platforms without poll. missing import. 2012-07-16 13:36:01 -07:00
Gregory P. Smith
5bcd005a0b Fix the with_poll tests for platforms without poll. missing import. 2012-07-16 13:34:50 -07:00
Raymond Hettinger
66dd94199c Issue 15337: help() shown as undocumented 2012-07-16 00:11:05 -07:00
Gregory P. Smith
dad5711677 Fixes Issue #14635: telnetlib will use poll() rather than select() when possible
to avoid failing due to the select() file descriptor limit.
2012-07-15 23:42:26 -07:00
Gregory P. Smith
e0c22206e4 Fixes Issue #14635: telnetlib will use poll() rather than select() when possible
to avoid failing due to the select() file descriptor limit.

Contributed by Akintayo Holder and under the Google contributor agreement.
2012-07-15 22:16:06 -07:00
Hynek Schlawack
4774946c3b #15180: Clarify posixpath.join() error message when mixing str & bytes 2012-07-15 16:21:30 +02:00
Benjamin Peterson
7d8a2e41a0 allow any number to be returned from __length_hint__ (closes #15354) 2012-07-14 17:53:55 -07:00
Nick Coghlan
a3d1cac4b2 Issue #15230: Update runpy docs to clarify a couple of points that came up in this issue 2012-07-15 00:36:39 +10:00
Nick Coghlan
761bb11374 Close #15230: runpy.run_path now sets __package__ correctly. Also refactored the runpy tests to use a more systematic approach 2012-07-14 23:59:22 +10:00
Antoine Pitrou
f526297d13 Try other approach to fix issue #15334. 2012-07-13 22:46:41 +02:00
Antoine Pitrou
2bb3021837 Try other approach to fix issue #15334. 2012-07-13 22:46:41 +02:00
Ezio Melotti
e608e3141e #15345: fix SyntaxError in argparse tutorial example. Patch by Simon Hayward. 2012-07-13 21:40:25 +02:00
Antoine Pitrou
924ae1b040 Remove duplicate entry and fix order 2012-07-13 21:13:25 +02:00
Antoine Pitrou
d8412c84c7 Issue #15334: skip test_dynamic_key when run in non-interactive mode.
Patch by Jeremy Kloth.
2012-07-13 21:08:41 +02:00
Antoine Pitrou
f0b1baf362 Issue #15334: skip test_dynamic_key when run in non-interactive mode.
Patch by Jeremy Kloth.
2012-07-13 21:08:41 +02:00
Antoine Pitrou
1a689189d2 Issue #15338: skip test_UNC_path when the current user doesn't have enough permissions to access the path. 2012-07-13 20:54:42 +02:00
Antoine Pitrou
68f4247b65 Issue #15338: skip test_UNC_path when the current user doesn't have enough permissions to access the path. 2012-07-13 20:54:42 +02:00