Commit graph

9705 commits

Author SHA1 Message Date
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
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
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
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
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
Jason R. Coombs
aa204dbe9c Issue #13211: Add .reason attribute to HTTPError to implement parent class (URLError) interface. 2011-11-07 10:50:32 -05: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
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
Vinay Sajip
3bd5638736 Closes #13361: Raise correct exception type. 2011-11-07 10:15:08 +00:00
Vinay Sajip
39b53c50c4 Merged fix for #13361 from 3.2. 2011-11-07 08:53:58 +00:00
Vinay Sajip
61b787e6dd Closes #13661: Check added for type of logger name. 2011-11-07 08:53:03 +00:00
Brian Curtin
0277aa3b24 Oops. Update a placeholder comment with the issue number. 2011-11-06 13:50:15 -06:00
Brian Curtin
52fbea1d87 Fix #13327. Remove the need for an explicit None as the second argument to
os.utime in order to update to the current time. The second argument is now
optional.
2011-11-06 13:41:17 -06:00
Petri Lehtinen
9589ab1745 Revert "Accept None as start and stop parameters for list.index() and tuple.index()"
Issue #13340.
2011-11-06 21:06:10 +02:00
Petri Lehtinen
ebfaabd663 Revert "Accept None as start and stop parameters for list.index() and tuple.index()"
Issue #13340.
2011-11-06 21:02:39 +02:00
Éric Araujo
4e377f215d Make sure packaging tests that register custom commands also clear them 2011-11-06 07:01:18 +01:00
Antoine Pitrou
deb925fc14 Skip early if stdin and stdout are not ttys 2011-11-06 03:04:12 +01:00
Antoine Pitrou
1ce4b14c4d Skip early if stdin and stdout are not ttys 2011-11-06 03:03:18 +01:00
Antoine Pitrou
413d497247 Backport robustness fix for test_builtin 2011-11-06 02:51:25 +01:00
Antoine Pitrou
772add7e1a Try to make the tty input() tests more robust 2011-11-06 02:37:42 +01:00
Antoine Pitrou
5ee9d8a8a2 Issue #13342: input() used to ignore sys.stdin's and sys.stdout's unicode
error handler in interactive mode (when calling into PyOS_Readline()).
2011-11-06 00:38:45 +01:00
Antoine Pitrou
0d776b1ce8 Issue #13342: input() used to ignore sys.stdin's and sys.stdout's unicode
error handler in interactive mode (when calling into PyOS_Readline()).
2011-11-06 00:34:26 +01:00
Petri Lehtinen
8e9f6c4251 Accept None as start and stop parameters for list.index() and tuple.index().
Closes #13340.
2011-11-05 23:25:34 +02:00
Petri Lehtinen
c2f0a46111 Accept None as start and stop parameters for list.index() and tuple.index()
Closes #13340.
2011-11-05 23:24:31 +02:00
Raymond Hettinger
68fb89fdb7 Fix whitespace 2011-11-05 13:43:01 -07:00
Raymond Hettinger
f1182cd4db Merge 2011-11-05 13:39:57 -07:00
Raymond Hettinger
4e6bf41934 Improve Counter.__repr__() to not fail with unorderable values 2011-11-05 13:35:26 -07:00
Benjamin Peterson
878ce389a0 add introspection to range objects (closes #9896)
Patch by Daniel Urban.
2011-11-05 15:17:52 -04:00