Éric Araujo
db95c7a60c
Make C code in one distutils test comply with ISO C ( #10359 ).
...
Patch by Hallvard B Furuseth.
2011-10-07 23:13:45 +02:00
Ned Deily
ed27df7aaa
Issue #7367 : Fix pkgutil.walk_paths to skip directories whose
...
contents cannot be read.
2011-10-06 14:19:08 -07:00
Ned Deily
caf5a22c5f
Issue #7367 : Add test case to test_pkgutil for walking path with
...
an unreadable directory.
2011-10-06 14:19:06 -07:00
Ned Deily
92a81a1eec
Issue #7425 : Refactor test_pydoc test case for '-k' behavior and add
...
new test cases for importing bad packages and unreadable packages dirs.
2011-10-06 14:19:03 -07:00
Antoine Pitrou
eeb7eea1f9
Issue #12911 : Fix memory consumption when calculating the repr() of huge tuples or lists.
...
This introduces a small private API for this common pattern.
The issue has been discovered thanks to Martin's huge-mem buildbot.
2011-10-06 18:57:27 +02:00
Éric Araujo
bb2095f1e2
Branch merge
2011-10-06 13:10:34 +02:00
Amaury Forgeot d'Arc
3e961a5fd1
Enable the only tests for sys.gettrace
2011-10-05 22:36:05 +02:00
Charles-François Natali
42c28cdd1d
Issue #13070 : Fix a crash when a TextIOWrapper caught in a reference cycle
...
would be finalized after the reference to its underlying BufferedRWPair's
writer got cleared by the GC.
2011-10-05 19:53:43 +02:00
Senthil Kumaran
1b7da519b0
Issue13104 - Fix urllib.request.thishost() utility function.
2011-10-06 00:32:02 +08:00
Senthil Kumaran
ad87fa6719
Issue #13073 - Address the review comments made by Ezio.
2011-10-05 23:26:49 +08:00
Éric Araujo
63ba97b586
Fix typo and case in a recently added test
2011-10-05 01:29:22 +02:00
Charles-François Natali
035018d078
os.geteuid() may not be available...
2011-10-04 23:35:47 +02:00
Charles-François Natali
79164c8c71
Issue #11956 : Always skip test_import.test_unwritable_directory when run as
...
root, since the semantics varies across Unix variants.
2011-10-04 20:40:58 +02:00
Charles-François Natali
a13b1faa78
Issue #11956 : Skip test_import.test_unwritable_directory on FreeBSD when run as
...
root (directory permissions are ignored).
2011-10-04 19:17:26 +02:00
Antoine Pitrou
1e44fecc52
Issue #13087 : BufferedReader.seek() now always raises UnsupportedOperation
...
if the underlying raw stream is unseekable, even if the seek could be
satisfied using the internal buffer. Patch by John O'Connor.
2011-10-04 12:26:20 +02:00
Antoine Pitrou
94190bb6e7
Start fixing test_bigmem:
...
- bigmemtest is replaced by precisionbigmemtest
- add a poor man's watchdog thread to print memory consumption
2011-10-04 10:22:36 +02:00
Antoine Pitrou
ffd41d9f10
Issue #7689 : Allow pickling of dynamically created classes when their
...
metaclass is registered with copyreg. Patch by Nicolas M. Thiéry and
Craig Citro.
2011-10-04 09:23:04 +02:00
Meador Inge
1efb33a682
Issue #12881 : ctypes: Fix segfault with large structure field names.
2011-10-03 21:44:22 -05:00
Antoine Pitrou
86aed0bbc6
Fix ResourceWarnings in the TIPC socket tests.
2011-10-02 23:33:19 +02:00
R David Murray
791744b070
#4147 : minidom's toprettyxml no longer adds whitespace to text nodes.
...
Patch by Dan Kenigsberg.
2011-10-01 16:19:51 -04:00
Antoine Pitrou
d8c347a8de
Issue #13034 : When decoding some SSL certificates, the subjectAltName extension could be unreported.
2011-10-01 19:20:25 +02:00
Victor Stinner
53ffdc53bf
Issue #7732 : Don't open a directory as a file anymore while importing a
...
module. Ignore the direcotry if its name matchs the module name (e.g.
"__init__.py") and raise a ImportError instead.
2011-09-23 18:54:40 +02:00
Victor Stinner
da6eb5305f
Issue #12931 : Add a test with Unicode URI to test_xmlrpc
2011-09-23 01:29:44 +02:00
Charles-François Natali
a49ed7650a
Fix a race condition in test_socket.ThreadableTest: the client is reported as
...
ready before having been set up.
2011-09-21 22:03:58 +02:00
Charles-François Natali
e51c8dad1a
Issue #12981 : test_multiprocessing: catch ImportError when importing
...
multiprocessing.reduction, which may not be available (e.g. if the OS doesn't
support FD passing over Unix domain sockets).
2011-09-21 18:48:21 +02:00
Jesus Cea
4507e6456e
Close #13022 : _multiprocessing.recvfd() doesn't check that file descriptor was actually received
2011-09-21 03:53:25 +02:00
Victor Stinner
d0b10a6435
test_multiprocessing removes temporary files
2011-09-21 01:10:29 +02:00
Victor Stinner
18d15cb665
test_httplib removes temporary files
2011-09-21 01:09:04 +02:00
Jesus Cea
bc566b00ad
Close #13007 : whichdb should recognize gdbm 1.9 magic numbers
2011-09-19 17:08:18 +02:00
Ned Deily
79746426c4
Issue #9871 : Prevent IDLE 3 crash when given byte stings
...
with invalid hex escape sequences, like b'\x0'.
(Original patch by Claudiu Popa.)
2011-09-14 14:49:14 -07:00
Senthil Kumaran
d71bbf9fd5
Fix issue12938 - Update the docstring of html.escape. Include the information on single quote.
2011-09-13 07:14:13 +08:00
Senthil Kumaran
305a68eb4a
Add the quote_plus call in the test.
2011-09-13 06:40:27 +08:00
Amaury Forgeot d'Arc
bbe46d63ee
Issue #12483 : ctypes: Fix a crash when the destruction of a callback
...
object triggers the garbage collector.
2011-09-12 21:03:36 +02:00
Éric Araujo
1d7deafeea
Branch merge
2011-09-12 17:15:26 +02:00
Éric Araujo
647ef8cd68
Wrap pydoc output under 80 characters
2011-09-11 00:43:20 +02:00
Éric Araujo
13e8c8e721
Fix determination of Metadata version ( #8933 ). Patch by Filip Gruszczyński.
2011-09-10 01:51:40 +02:00
Éric Araujo
fce67fcd84
Slight cleanup in distutils test_dist.
...
I have tests to add in this file and it’s always nice to start from a
clean base.
2011-09-10 01:34:44 +02:00
Jesus Cea
da752d80c8
Fix issue #12948 : multiprocessing test failures can hang the buildbots
2011-09-09 22:15:16 +02:00
Jesus Cea
94f964f810
Close issue #12948 : multiprocessing test failures can hang the buildbots
2011-09-09 20:26:57 +02:00
Victor Stinner
a1bea6e10c
Issue #9561 : distutils now reads and writes egg-info files using UTF-8
...
instead of the locale encoding.
2011-09-05 23:44:56 +02:00
Victor Stinner
a404b49321
Issue #12326 : Remove plat-linux3 directory
...
sys.platform is now always 'linux2' on Linux (even on Linux 3)
2011-09-05 21:38:42 +02:00
Éric Araujo
bcf99ac665
Branch merge
2011-09-05 17:44:07 +02:00
Lars Gustäbel
2e7ddd374b
Issue #12841 : Fix tarfile extraction of non-existent uids/gids.
...
tarfile unnecessarily checked the existence of numerical user and group ids on
extraction. If one of them did not exist the respective id of the current user
(i.e. root) was used for the file and ownership information was lost. (Patch
by Sebastien Luttringer)
2011-09-05 16:58:14 +02:00
Ezio Melotti
d9e0b068af
#12888 : Fix a bug in HTMLParser.unescape that prevented it to escape more than 128 entities. Patch by Peter Otten.
2011-09-05 17:11:06 +03:00
Éric Araujo
17b288cdab
Branch merge
2011-09-05 01:53:52 +02:00
Georg Brandl
3484a8771c
Merge with release clone.
2011-09-04 08:35:54 +02:00
Benjamin Peterson
f6f3a35447
add a __dict__ descr for IOBase ( closes #12878 )
2011-09-03 09:26:20 -04:00
Éric Araujo
cfbd630a27
Warn instead of crashing because of invalid path in MANIFEST.in ( #8286 ).
...
sdist used to crash with a full traceback dump instead of printing a
nice warning with the faulty line number.
2011-09-03 00:42:04 +02:00
Éric Araujo
32e2915da5
Enable catching WARN-level logging messages in distutils' test_sdist
2011-09-03 00:28:43 +02:00
Amaury Forgeot d'Arc
02dd539dbb
Issue #12764 : Fix a crash in ctypes when the name of a Structure field is not
...
a string.
2011-09-02 20:39:40 +02:00