Commit graph

52112 commits

Author SHA1 Message Date
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
Martin v. Löwis
1db7c13be1 Port encoders from Py_UNICODE API to unicode object API. 2011-11-10 18:24:32 +01:00
Ezio Melotti
df8077ecd3 #13379: merge with 3.2. 2011-11-10 09:37:43 +02:00
Ezio Melotti
98d2c0aba3 #13379: update Unicode version in unicodedata docstrings and comments. 2011-11-10 09:36:34 +02: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
6139c1bfa3 Issue #12442: nt._getdiskusage() is now using the Windows Unicode API 2011-11-09 22:14:14 +01:00
Victor Stinner
fd9cd24a05 Issue #13374: Use Unicode filenames instead of bytes filenames
getcwdb() => getcwd()
2011-11-09 01:13:45 +01:00
Victor Stinner
62aa4d086a Strip trailing spaces 2011-11-09 00:03:45 +01:00
Victor Stinner
0a045efb49 Fix a compiler warning: use unsiged for maxchar in unicode_widen() 2011-11-09 00:02:42 +01:00
Victor Stinner
596a6c4ffc Fix the code page decoder
* unicode_decode_call_errorhandler() now supports the PyUnicode_WCHAR_KIND
   kind
 * unicode_decode_call_errorhandler() calls copy_characters() instead of
   PyUnicode_CopyCharacters()
2011-11-09 00:02:18 +01:00
Ezio Melotti
257a14c2a5 Refactor functions signatures in the doc. 2011-11-09 00:25:47 +02:00
Brian Curtin
4b6fabdff1 Backed out changeset 60ae7979fec8 2011-11-08 14:54:02 -06:00
Brian Curtin
e751d6f2f1 Remove the old style [...] to denote optional args and show the defaults. 2011-11-08 14:30:02 -06: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
Antoine Pitrou
a8f63c02ef Fix missing goto 2011-11-08 18:37:16 +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
Nick Coghlan
32e4a58c06 Issue #13237: Fix formatting error - the legacy shell commands weren't meant to be under the Notes heading 2011-11-08 21:50:58 +10:00
Nick Coghlan
69ce0d8602 Issue #13237: Remove duplicate data value descriptions from the subprocess docs 2011-11-08 21:39:07 +10:00
Nick Coghlan
c29248f232 Issue #13237: Forward port subprocess module updates and explicitly document UTF-8 encoding assumption when universal_newlines=True 2011-11-08 20:49:23 +10:00
Éric Araujo
23760e97ed Don’t interpret backslashes in ASCII diagram in a docstring 2011-11-07 17:52:48 +01:00
Éric Araujo
06c42a3fca Document that shutil.make_archive does not typecheck its logger argument 2011-11-07 17:31:07 +01:00
Martin v. Löwis
d10759f6ed Make _PyUnicode_FromId return borrowed references.
http://mail.python.org/pipermail/python-dev/2011-November/114347.html
2011-11-07 13:00:05 +01:00
Martin v. Löwis
e9b11c1cd8 Change decoders to use Unicode API instead of Py_UNICODE. 2011-11-08 17:35:34 +01:00
Jesus Cea
d03a49150f Commit 59dca1e2363d for issue #13327 introduced a compilation warning 2011-11-08 17:28:04 +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
Nick Coghlan
217f05b3ed Issue #13237: Forward port from 3.2 of subprocess documentation updates. Needed quite a few adjustments to account for new features coming in 3.3 2011-11-08 22:11:21 +10:00
Brian Curtin
304a165426 News updates for #13327. 2011-11-07 16:30:01 -06: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
7ef53ef916 Forgot to apply the futimesat change. 2011-11-07 14:38:24 -06: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
Brian Curtin
b0d5b5d3b2 Adjust None handling to be a bit more clean. Thanks to Benjamin
for pointing it out.
2011-11-07 10:51:18 -06: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