Éric Araujo
bfc972974b
Fix a few typos
2011-11-14 18:18:15 +01:00
Éric Araujo
f8361623f0
Clean up byte-compilation code in packaging ( #11254 followup).
...
- Don't use keyword arguments for debug_override; I find it more
readable to have a comment explaining that True makes pyc and False
pyo than to write out the non-obvious (when you haven’t read the doc)
argument name
- Move duplicate code from build_py and install_lib into cmd
- Remove obsolete verbose argument of util.byte_compile
- Remove obsolete passing of -O/-OO to the Python process spawned by
util.byte_compile (I’ll remove the whole spawning later, after I write
more tests to check the contents of pyc and pyo files; now that
byte_compile does not depend on the value of __debug__ in the calling
Python, we can call py_compile or compileall directly)
2011-11-14 18:10:19 +01:00
Ezio Melotti
d5d4406c8e
#1745761 , #755670 , #13357 , #12629 , #1200313 : merge with 3.2.
2011-11-14 18:56:11 +02:00
Ezio Melotti
c2fe57762b
#1745761 , #755670 , #13357 , #12629 , #1200313 : improve attribute handling in HTMLParser.
2011-11-14 18:53:33 +02:00
Ezio Melotti
b245ed1cdf
Group tests about attributes in a separate class.
2011-11-14 18:13:22 +02:00
Antoine Pitrou
4339a7767d
Merge
2011-11-12 20:36:51 +01:00
Antoine Pitrou
7abe61f6b5
Restore smtpd.DEBUGSTREAM at the end of test_smtpd.
...
(backport of 6b9f547e92d8)
2011-11-12 20:36:29 +01:00
Antoine Pitrou
e0815e2db0
Restore smtpd.DEBUGSTREAM at the end of test_smtpd.
...
This fixes a subsequent refleak in test_smtplib.
2011-11-12 20:36:29 +01:00
Petri Lehtinen
516d80530b
Merge branch 3.2
2011-11-12 21:15:24 +02:00
Petri Lehtinen
c153cd3d5a
Update mailbox.Maildir tests
...
Remove a sleep to fix transient test failures. Use skewfactor of -3 to
make it work on systems that have 1 second precision for time.time().
Closes #11999
Refs #13254
2011-11-12 21:14:53 +02:00
Antoine Pitrou
61093c0ced
Issue #13193 : Fix distutils.filelist.FileList and
...
packaging.manifest.Manifest under Windows. The "recursive-include"
directive now recognizes both legal path separators.
2011-11-12 01:27:19 +01:00
Antoine Pitrou
8f0ffe587b
Issue #13193 : fix distutils.filelist.FileList under Windows
2011-11-12 01:20:45 +01:00
Florent Xicluna
04842a84c3
Remove unused or redundant imports in concurrent.futures and multiprocessing.
2011-11-11 20:05:50 +01:00
Florent Xicluna
e41f0de84d
Merge 3.2, fix typos.
2011-11-11 19:39:25 +01:00
Florent Xicluna
992d9e081f
Fix few typos.
2011-11-11 19:35:42 +01:00
Florent Xicluna
e54371e24c
Use unittest.skipUnless to skip the test related to the glibc bug, issue #13309 .
2011-11-11 18:59:30 +01:00
Brian Curtin
4ff29db243
Merge 3.2
2011-11-11 09:41:17 -06:00
Brian Curtin
675f6b87cd
Fix #13384 . Remove __future__ import in 3.x code.
2011-11-11 09:37:25 -06:00
Ezio Melotti
40dc919b0d
Fix range in test.
2011-11-11 17:00:46 +02:00
Antoine Pitrou
51f6648a31
Make test more inclusive
2011-11-11 13:35:44 +01:00
Antoine Pitrou
dffab19218
Enable commented out test
2011-11-11 13:31:59 +01:00
Antoine Pitrou
b0a1d628b8
Avoid a glibc bug in test_time (issue #13309 )
2011-11-11 03:04:35 +01:00
Antoine Pitrou
9768676f6f
Speed up IDNA for the common case
2011-11-10 22:49:20 +01:00
Charles-François Natali
240c55f721
Fix test_socket when built whithout threads.
2011-11-10 20:33:36 +01:00
Charles-François Natali
10b8cf4455
Issue #7777 : socket: Add Reliable Datagram Sockets (PF_RDS) support.
2011-11-10 19:21:37 +01:00
Charles-François Natali
0c929d9d39
Issue #13303 : Fix bytecode file default permission.
2011-11-10 19:12:29 +01:00
Antoine Pitrou
021572431b
Issue #13373 : multiprocessing.Queue.get() could sometimes block indefinitely
...
when called with a timeout. Patch by Arnaud Ysmal.
2011-11-10 00:38:25 +01:00
Antoine Pitrou
a365113679
Issue #13373 : multiprocessing.Queue.get() could sometimes block indefinitely
...
when called with a timeout. Patch by Arnaud Ysmal.
2011-11-10 00:37:09 +01:00
Victor Stinner
fd9cd24a05
Issue #13374 : Use Unicode filenames instead of bytes filenames
...
getcwdb() => getcwd()
2011-11-09 01:13:45 +01:00
Charles-François Natali
c12e093795
Back out changeset b6336ba796d4 until fix for #13303 .
2011-11-08 20:38:11 +01:00
Charles-François Natali
31846c4372
test_import: test_execute_bit_not_copied() was actually a no-op: enable it.
2011-11-08 19:43:09 +01:00
Charles-François Natali
69d44fdb90
test_import: test_execute_bit_not_copied() was actually a no-op: fix it.
2011-11-08 19:42:02 +01:00
Antoine Pitrou
682ca1e6e2
Fix BytesWarnings in fnmatch
2011-11-08 18:39:15 +01:00
Jesus Cea
bc91b46951
Partial patch for issue #11812 : Take care of test_telnetlib.py
2011-11-08 16:24:43 +01:00
Jesus Cea
c241df814f
Solved a potential deadlock in test_telnetlib.py. Related to issue #11812
2011-11-08 16:20:46 +01:00
Éric Araujo
23760e97ed
Don’t interpret backslashes in ASCII diagram in a docstring
2011-11-07 17:52:48 +01:00
Jesus Cea
6e533f040b
MERGE: Partial patch for issue #11812 : Take care of test_telnetlib.py
2011-11-08 16:39:26 +01:00
Jesus Cea
0fd66b8f30
MERGE: Solved a potential deadlock in test_telnetlib.py. Related to issue #11812
2011-11-08 16:34:22 +01:00
Florent Xicluna
be908405a5
Some win32 platforms raise NotADirectoryError, others FileNotFoundError. Issue #13366 .
2011-11-07 23:24:08 +01:00
Brian Curtin
7eb65847da
branch merge.
2011-11-07 16:09:54 -06:00
Brian Curtin
569b494320
Fix #13327 . utimensat now has the atime and mtime arguments set as optional,
...
defaulting to None like the other utimes family members. It now accepts
keyword arguments because, unlike other other functions in the family,
it has a `flags` value at the end of the argument list (which
retains its 0 default).
2011-11-07 16:09:20 -06:00
Florent Xicluna
e0912db24e
Closes #13366 : fix test_pep277 failure on Windows.
2011-11-07 21:56:17 +01:00
Brian Curtin
ca0fbc02e9
branch merge
2011-11-07 14:19:46 -06:00
Brian Curtin
c1b65d1831
Fix 13327. Remove explicit None arguments from futimes, futimens, futimesat,
...
and lutimes.
2011-11-07 14:18:54 -06:00
Florent Xicluna
ca6befb77f
More assertions in test_unicode_file, to chase issue #13348 .
2011-11-07 19:49:07 +01:00
Florent Xicluna
a011e2b2fa
fileinput: replace this last occurence of codecs.open with builtins.open.
2011-11-07 19:43:07 +01:00
Florent Xicluna
5252f9faee
logging: replace codecs.open with builtins.open, remove '_encoded' sort, add some tests.
2011-11-07 19:43:05 +01:00
Éric Araujo
1cdbf57c7c
Merge 3.2
2011-11-07 18:11:27 +01:00
Éric Araujo
b1c6f59d71
Branch merge
2011-11-07 18:11:12 +01:00
Vinay Sajip
e2618f34be
Closes #13361 : Merge fix from 3.2.
2011-11-07 10:15:55 +00:00