Commit Graph

52091 Commits

Author SHA1 Message Date
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
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 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
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
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
Éric Araujo 23760e97ed Don’t interpret backslashes in ASCII diagram in a docstring 2011-11-07 17:52:48 +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
Éric Araujo 06c42a3fca Document that shutil.make_archive does not typecheck its logger argument 2011-11-07 17:31:07 +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
Éric Araujo 2a7cc5343d Remove unnecessary version check 2011-11-07 09:18:30 +01:00
Philip Jenvey 50add04836 quote the type name for improved readability 2011-11-06 16:37:52 -08: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
Amaury Forgeot d'Arc 864741b2c7 Issue #13350: Replace most usages of PyUnicode_Format by PyUnicode_FromFormat. 2011-11-06 15:10:48 +01:00
Éric Araujo 438f21a406 Use more standard name for one option of packaging’s install_distinfo 2011-11-06 11:52:30 +01:00
Éric Araujo ca9460324a Remove redundant __main__ blocks from packaging modules.
The one interface we commit to maintain is the run module
(a.k.a. the pysetup script).
2011-11-06 11:38:58 +01:00
Éric Araujo fad46e19b4 Clean up mocking of stdout and stdin in packaging tests.
Running with regrtest does not show spurious output or unrestored
sys.std* objects; sometimes running with make test is different, I’ll
watch the buildbots.

In addition, update the create module to use logging.
2011-11-06 11:32:47 +01:00
Éric Araujo 261ccdce48 Minor tweak to packaging tests.
When an option is changed on a command object, calling ensure_finalized
for a second time will not run finalize_options again, because
ensure_finalized is a no-op the second time.  By resetting the finalized
attribute, we can be sure that whatever computation takes place in
finalize_options will happen again.

(In test_command_clean, I removed two lines that were a no-op.)
2011-11-06 10:48:55 +01:00
Petri Lehtinen 08ad2fbc7f curses.tparm() is expecting a byte string, not curses.tigetstr()
Issue #10570
2011-11-06 09:26:52 +02:00
Petri Lehtinen fd6b582a71 curses.tparm() is expecting a byte string, not curses.tigetstr()
Issue #10570
2011-11-06 09:24:19 +02:00
Éric Araujo a963e0d917 Undo potentially confusing name change in packaging.
This method was named reinitialize_command in distutils and accompanied
by a comment suggesting to change it to get_reinitialized_command.
Following that, I did the change for distutils2, but it proved
confusing: The Distribution object has an internal cache of command
objects, to make sure only one instance is ever used, and the name
get_reinitialized_command could suggest that the object returned was
independent of that cache, which it was not.  I’m reverting the name
change to make code clearer.
2011-11-06 06:54:05 +01:00
Éric Araujo 4e377f215d Make sure packaging tests that register custom commands also clear them 2011-11-06 07:01:18 +01:00
Ned Deily 55f87578a1 Issue #13300: Fix IDLE Restart Shell command failure introduced by
3a5a0943b201.  Do not close listening socket on subprocess restart.
2011-11-05 22:36:44 -07:00
Éric Araujo 8e5d7cbca1 Remove obsolete/duplicate entries 2011-11-06 05:35:32 +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 0cbc686058 Null merge 2011-11-06 02:51:52 +01:00