Commit graph

57040 commits

Author SHA1 Message Date
Jesus Cea
ef86d12979 Closes #15396: memory leak in tkinter 2012-07-19 21:18:07 +02:00
Meador Inge
f4cc2161d5 Issue #15394: Fix ref leaks in PyModule_Create.
Patch by Julia Lawall.
2012-07-19 13:51:59 -05:00
Meador Inge
29e49d6394 Issue #15394: Fix ref leaks in PyModule_Create.
Patch by Julia Lawall.
2012-07-19 13:45:43 -05:00
Hynek Schlawack
77d3283370 #1492704: Make shutil.copyfile() raise a distinct SameFileError
Patch by Atsuo Ishimoto.
2012-07-19 20:23:49 +02:00
Meador Inge
7506dab2e8 Issue #6493: Fix handling of c_uint32 bitfields with width of 32 on Windows. 2012-07-19 00:14:35 -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
c958ca8f69 remove unused variable 2012-07-18 18:08:49 -05:00
Meador Inge
996ae04943 remove unused variable 2012-07-18 17:57:46 -05:00
Benjamin Peterson
51ab2830bb remove unused variable 2012-07-18 15:12:47 -07:00
Meador Inge
9544aa38d9 Issue #15368: fixing variable typo. 2012-07-18 16:49:07 -05:00
Meador Inge
f69e24e3c6 Issue #15368: fixing variable typo. 2012-07-18 16:41:03 -05:00
Meador Inge
1f336adc8f Issue #15368: make bytecode generation deterministic. 2012-07-18 14:28:55 -05:00
Meador Inge
2ca6315d15 Issue #15368: make bytecode generation deterministic. 2012-07-18 14:20:11 -05:00
Nick Coghlan
c5afd42df8 Fix importlib.machinery.all_suffixes docs 2012-07-18 23:59:08 +10:00
Nick Coghlan
76e077001d Close #15387: inspect.getmodulename() now uses a new importlib.machinery.all_suffixes() API rather than the deprecated inspect.getmoduleinfo() 2012-07-18 23:14:57 +10:00
Vinay Sajip
90db661b43 Closes #15307: symlinks now work on OS X with framework Python builds. Patch by Ronald Oussoren. 2012-07-17 17:33:46 +01:00
Hynek Schlawack
11718620ef Use posixpath.join() explicitely in posixpath.join() test
Used os.path.join before which has different semantics on Windows.
2012-07-17 14:29:33 +02: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
f90fc68db4 fix whitespace woes 2012-07-17 15:09:56 +03:00
Eli Bendersky
43cc5f29a8 Optimize tostringlist by taking the stream class outside the function. It's now 2x faster on short calls. Related to #1767933 2012-07-17 15:09:12 +03:00
Nick Coghlan
9455492142 Issue #15314: Tweak a pkgutil test to hopefully be more Windows friendly 2012-07-17 21:37:58 +10:00
Eli Bendersky
b48ff7fdda Merge for #14988 2012-07-17 14:25:14 +03: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
1815191f17 #15377: Make posixpath.join() more strict when checking for str/bytes mix
Based on a patch by Nick Coghlan.
2012-07-17 13:10:15 +02: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
9c3cf6b4a0 Merge Issue #15230 OS X buildbot fix from 3.2 2012-07-17 20:43:40 +10: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
1c4eb2c09a Fix context manager use in posixpath.join() tests
The asserts were useless (and buggy).
2012-07-17 10:50:30 +02: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
Eli Bendersky
426e248feb Preserve the invariant tostring(elem) == b''.join(tostringlist(elem)) and add a test to make sure it keeps working 2012-07-17 05:45:11 +03:00
Gregory P. Smith
daa4c6b2e6 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:49:19 -07: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
49be9ed976 Fix unchecked select.poll reference in setUp and tearDown for
platforms that don't have it.
2012-07-16 13:39:10 -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
2a86b25323 Fix the with_poll tests for platforms without poll. missing import. 2012-07-16 13:35:20 -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
Vinay Sajip
8cffdd9ca2 Closes #15367: Corrected computation of include locations for source builds on Windows. Thanks to Richard Oudkerk for the bug report and patch. 2012-07-16 18:30:03 +01:00
Vinay Sajip
048b063780 Closes #15366: Corrected computation of include location for source builds. Thanks to Richard Oudkerk for the bug report and patch. 2012-07-16 18:24:55 +01:00
Hynek Schlawack
c2d481fbcd #15238: Fix xattr related shutil.copystat tests
- Loosen up test as Fedora has implicit xattrs
- Actually test the destination for xattrs

Should make Fedora buildbot green again.
2012-07-16 17:11:10 +02:00
Raymond Hettinger
b22ba046ae Fix typo 2012-07-16 02:07:41 -07:00
Raymond Hettinger
b2269baca3 Clean-up example 2012-07-15 23:53:32 -07:00
Gregory P. Smith
4866266bf4 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:44:49 -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
Raymond Hettinger
2a61c451f2 cm.parents is property, not a method 2012-07-15 22:37:20 -07:00
Ned Deily
274717757d Issue #13590: Improve support for OS X Xcode 4:
- fix test_distutils and test_sysconfig test failures by
  aligning sysconfig and distutils.sysconfig tailoring of
  configure variables (as in 2.7)
2012-07-15 21:30:03 -07:00
Larry Hastings
950b76ab1a Doc fix: the text role is called "func", not "funk". 2012-07-15 17:32:36 -07:00
R David Murray
6159e0956c #4640: Add optparse tests for '-xxx' invalid when defining options.
Patch by Aaron (hac.man).
2012-07-15 20:12:24 -04:00
Larry Hastings
7aa2c8baae Issue #15202: Additional documentation fixes inadvertently omitted
from previous checkin.
2012-07-15 16:58:29 -07:00
Vinay Sajip
e554f8b858 Closes #15361: Corrected venv prompt in PowerShell activation script. 2012-07-15 21:58:13 +01:00