]> granicus.if.org Git - python/log
python
14 years agoIssue #11330: Updated tests for correct asctime handling.
Vinay Sajip [Sat, 26 Feb 2011 16:06:02 +0000 (16:06 +0000)]
Issue #11330: Updated tests for correct asctime handling.

14 years agoIssue #11330: Added regression test.
Vinay Sajip [Sat, 26 Feb 2011 16:00:04 +0000 (16:00 +0000)]
Issue #11330: Added regression test.

14 years agoIssue #9931: Fix hangs in GUI tests under Windows in certain conditions.
Antoine Pitrou [Sat, 26 Feb 2011 15:58:05 +0000 (15:58 +0000)]
Issue #9931: Fix hangs in GUI tests under Windows in certain conditions.
Patch by Hirokazu Yamamoto.

14 years agoReplace links to the old dev doc with links to the new devguide.
Éric Araujo [Sat, 26 Feb 2011 14:57:23 +0000 (14:57 +0000)]
Replace links to the old dev doc with links to the new devguide.

14 years agoIssue #11323: fix sendfile tests under 64-bit Solaris.
Antoine Pitrou [Sat, 26 Feb 2011 14:29:24 +0000 (14:29 +0000)]
Issue #11323: fix sendfile tests under 64-bit Solaris.

14 years agoRemoved typo.
Vinay Sajip [Sat, 26 Feb 2011 14:28:36 +0000 (14:28 +0000)]
Removed typo.

14 years agoIssue #11331: fixed documentation in logging cookbook.
Vinay Sajip [Sat, 26 Feb 2011 14:24:29 +0000 (14:24 +0000)]
Issue #11331: fixed documentation in logging cookbook.

14 years agoIssue #11330: asctime format bug fixed.
Vinay Sajip [Sat, 26 Feb 2011 14:15:48 +0000 (14:15 +0000)]
Issue #11330: asctime format bug fixed.

14 years agoCheck error return from _parse_off_t(), and remove cruft from the 2->3 transition.
Antoine Pitrou [Sat, 26 Feb 2011 13:38:35 +0000 (13:38 +0000)]
Check error return from _parse_off_t(), and remove cruft from the 2->3 transition.

14 years agoRevert r88639 (the optimization changes behaviour and breaks buildbots)
Antoine Pitrou [Sat, 26 Feb 2011 09:37:45 +0000 (09:37 +0000)]
Revert r88639 (the optimization changes behaviour and breaks buildbots)

14 years agoIssue #11258: Speed up ctypes.util.find_library() under Linux a lot. Patch
Antoine Pitrou [Sat, 26 Feb 2011 08:45:20 +0000 (08:45 +0000)]
Issue #11258: Speed up ctypes.util.find_library() under Linux a lot.  Patch
by Jonas H.

14 years agotest_logging: Changed TimedRotatingFileHandler tests to use UTC time rather than...
Vinay Sajip [Sat, 26 Feb 2011 07:18:22 +0000 (07:18 +0000)]
test_logging: Changed TimedRotatingFileHandler tests to use UTC time rather than local time.

14 years agoAdd __bool__ method. Add tests. Fix-up broken test.
Raymond Hettinger [Sat, 26 Feb 2011 06:53:58 +0000 (06:53 +0000)]
Add __bool__ method. Add tests. Fix-up broken test.

14 years agotest_logging: diagnostic code changes.
Vinay Sajip [Sat, 26 Feb 2011 06:37:04 +0000 (06:37 +0000)]
test_logging: diagnostic code changes.

14 years agoFix Issue10228 - Refleak run of test_dbm fails when several dbm modules are available...
Senthil Kumaran [Sat, 26 Feb 2011 03:44:03 +0000 (03:44 +0000)]
Fix Issue10228 - Refleak run of test_dbm fails when several dbm modules are available (Patch by Ray.Allen)

14 years agoMake Py3.x style "import builtins"
Raymond Hettinger [Sat, 26 Feb 2011 02:48:44 +0000 (02:48 +0000)]
Make Py3.x style "import builtins"

14 years agoPEP 7 conformance changes (whitespace only).
Alexander Belopolsky [Sat, 26 Feb 2011 01:02:56 +0000 (01:02 +0000)]
PEP 7 conformance changes (whitespace only).

14 years agoIssue #11297: Add collections.ChainMap()
Raymond Hettinger [Sat, 26 Feb 2011 01:02:51 +0000 (01:02 +0000)]
Issue #11297: Add collections.ChainMap()

14 years agoFix AttributeError.
Antoine Pitrou [Sat, 26 Feb 2011 00:22:25 +0000 (00:22 +0000)]
Fix AttributeError.

14 years agoFix compilation warning in Modules/posixmodule.c.
Antoine Pitrou [Sat, 26 Feb 2011 00:22:09 +0000 (00:22 +0000)]
Fix compilation warning in Modules/posixmodule.c.

14 years agoIssue #10755: Add the posix.fdlistdir() function. Patch by Ross Lagerwall.
Antoine Pitrou [Fri, 25 Feb 2011 23:41:16 +0000 (23:41 +0000)]
Issue #10755: Add the posix.fdlistdir() function.  Patch by Ross Lagerwall.

14 years agoIssue #4761: Add the *at() family of functions (openat(), etc.) to the posix
Antoine Pitrou [Fri, 25 Feb 2011 23:25:17 +0000 (23:25 +0000)]
Issue #4761: Add the *at() family of functions (openat(), etc.) to the posix
module.  Patch by Ross Lagerwall.

14 years agoIssue #7322: Trying to read from a socket's file-like object after a timeout
Antoine Pitrou [Fri, 25 Feb 2011 23:07:44 +0000 (23:07 +0000)]
Issue #7322: Trying to read from a socket's file-like object after a timeout
occurred now raises an error instead of silently losing data.
Patch by Ross Lagerwall.

14 years agotest_logging: Added more diagnostics for buildbot failures.
Vinay Sajip [Fri, 25 Feb 2011 22:45:25 +0000 (22:45 +0000)]
test_logging: Added more diagnostics for buildbot failures.

14 years agoIssue 11291: poplib suppresses errors on QUIT.
Giampaolo Rodolà [Fri, 25 Feb 2011 22:28:24 +0000 (22:28 +0000)]
Issue 11291: poplib suppresses errors on QUIT.

14 years agoIssue 11177: asyncore's create_socket() arguments can now be omitted.
Giampaolo Rodolà [Fri, 25 Feb 2011 22:21:22 +0000 (22:21 +0000)]
Issue 11177: asyncore's create_socket() arguments can now be omitted.

14 years agoIssue #6064: Add a `daemon` keyword argument to the threading.Thread
Antoine Pitrou [Fri, 25 Feb 2011 22:07:43 +0000 (22:07 +0000)]
Issue #6064: Add a `daemon` keyword argument to the threading.Thread
and multiprocessing.Process constructors in order to override the
default behaviour of inheriting the daemonic property from the current
thread/process.

14 years ago(issue 11323) - attempt to fix solaris buildbot failure for os.sendfile(). Also fixed...
Giampaolo Rodolà [Fri, 25 Feb 2011 21:46:01 +0000 (21:46 +0000)]
(issue 11323) - attempt to fix solaris buildbot failure for os.sendfile(). Also fixed an AttributeError in get/set priority tests.

14 years agoAdd missing read() in distutils doc.
Éric Araujo [Fri, 25 Feb 2011 21:40:34 +0000 (21:40 +0000)]
Add missing read() in distutils doc.

14 years agoIssue #10956: Buffered I/O classes retry reading or writing after a signal
Antoine Pitrou [Fri, 25 Feb 2011 21:24:11 +0000 (21:24 +0000)]
Issue #10956: Buffered I/O classes retry reading or writing after a signal
has arrived and the handler returned successfully.

14 years agoUpdate Misc/NEWS to include os.getpriority() and os.setpriority() addition.
Giampaolo Rodolà [Fri, 25 Feb 2011 21:00:10 +0000 (21:00 +0000)]
Update Misc/NEWS to include os.getpriority() and os.setpriority() addition.

14 years agoIssue 10784: adds os.getpriority() and os.setpriority() functions.
Giampaolo Rodolà [Fri, 25 Feb 2011 20:57:54 +0000 (20:57 +0000)]
Issue 10784: adds os.getpriority() and os.setpriority() functions.

14 years agoIssue #11114: Fix catastrophic performance of tell() on text files (up
Antoine Pitrou [Fri, 25 Feb 2011 20:27:33 +0000 (20:27 +0000)]
Issue #11114: Fix catastrophic performance of tell() on text files (up
to 1000x faster in some cases).  It is still one to two order of magnitudes
slower than binary tell().

14 years ago(issue 11214) - fix asyncore.strerror test failure on AIX
Giampaolo Rodolà [Fri, 25 Feb 2011 20:05:48 +0000 (20:05 +0000)]
(issue 11214) - fix asyncore.strerror test failure on AIX

14 years agoSkip os.sendfile() test if threading module is not available.
Giampaolo Rodolà [Fri, 25 Feb 2011 20:01:05 +0000 (20:01 +0000)]
Skip os.sendfile() test if threading module is not available.

14 years agoIssue #11303: Added shortcuts for utf8 and latin1 encodings.
Alexander Belopolsky [Fri, 25 Feb 2011 19:19:57 +0000 (19:19 +0000)]
Issue #11303: Added shortcuts for utf8 and latin1 encodings.
Documented the list of optimized encodings as CPython implementation
detail.

14 years agologging: enabled test which was intermittently failing on buildbots.
Vinay Sajip [Fri, 25 Feb 2011 17:02:43 +0000 (17:02 +0000)]
logging: enabled test which was intermittently failing on buildbots.

14 years agoDocumented QueueListener change.
Vinay Sajip [Fri, 25 Feb 2011 16:05:26 +0000 (16:05 +0000)]
Documented QueueListener change.

14 years agoImproved QueueListener implementation - queue sentinel addition made extensible.
Vinay Sajip [Fri, 25 Feb 2011 15:56:55 +0000 (15:56 +0000)]
Improved QueueListener implementation - queue sentinel addition made extensible.

14 years agoNormalize the encoding names for Latin-1 and UTF-8 to
Marc-André Lemburg [Fri, 25 Feb 2011 15:42:01 +0000 (15:42 +0000)]
Normalize the encoding names for Latin-1 and UTF-8 to
'latin-1' and 'utf-8'.

These are optimized in the Python Unicode implementation
to result in more direct processing, bypassing the codec
registry.

Also see issue11303.

14 years agoRename internal helper function and make it static.
Georg Brandl [Fri, 25 Feb 2011 15:23:18 +0000 (15:23 +0000)]
Rename internal helper function and make it static.

14 years agoRegenerate configure after r88580.
Georg Brandl [Fri, 25 Feb 2011 15:21:47 +0000 (15:21 +0000)]
Regenerate configure after r88580.

14 years ago(issue 11232) - fix asyncore documentation issue (patch by Sandro Tosi)
Giampaolo Rodolà [Fri, 25 Feb 2011 14:50:57 +0000 (14:50 +0000)]
(issue 11232) - fix asyncore documentation issue (patch by Sandro Tosi)

14 years agoIssue 10882: add os.sendfile(). (patch provided by Ross Lagerwall)
Giampaolo Rodolà [Fri, 25 Feb 2011 14:39:16 +0000 (14:39 +0000)]
Issue 10882: add os.sendfile(). (patch provided by Ross Lagerwall)

14 years agoFix .hgeol
Antoine Pitrou [Fri, 25 Feb 2011 14:32:24 +0000 (14:32 +0000)]
Fix .hgeol

14 years agoMore eol-style's
Antoine Pitrou [Fri, 25 Feb 2011 14:31:09 +0000 (14:31 +0000)]
More eol-style's

14 years agoMake svn:eol-style's more consistent
Antoine Pitrou [Fri, 25 Feb 2011 14:19:48 +0000 (14:19 +0000)]
Make svn:eol-style's more consistent

14 years agorewrite with assertIs
Benjamin Peterson [Fri, 25 Feb 2011 14:05:42 +0000 (14:05 +0000)]
rewrite with assertIs

14 years agorun autoconf
Benjamin Peterson [Fri, 25 Feb 2011 14:01:05 +0000 (14:01 +0000)]
run autoconf

14 years agoAdd 3.3 whatsnew to index.
Georg Brandl [Fri, 25 Feb 2011 11:28:22 +0000 (11:28 +0000)]
Add 3.3 whatsnew to index.

14 years agoRemove unused m4 define.
Georg Brandl [Fri, 25 Feb 2011 11:03:15 +0000 (11:03 +0000)]
Remove unused m4 define.

14 years agoRemoved fcmp and FUZZ from test.support, following the discussion on python-dev:
Eli Bendersky [Fri, 25 Feb 2011 10:14:17 +0000 (10:14 +0000)]
Removed fcmp and FUZZ from test.support, following the discussion on python-dev:
http://mail.python.org/pipermail/python-dev/2011-January/107735.html

14 years agoIssue #10516: adding list.clear() and list.copy() methods
Eli Bendersky [Fri, 25 Feb 2011 05:47:53 +0000 (05:47 +0000)]
Issue #10516: adding list.clear() and list.copy() methods

14 years agoAdds Python 3.3 what's new document.
Giampaolo Rodolà [Thu, 24 Feb 2011 20:59:48 +0000 (20:59 +0000)]
Adds Python 3.3 what's new document.

14 years agoIssue #11286: Raise a ValueError from calling PyMemoryView_FromBuffer with
Antoine Pitrou [Thu, 24 Feb 2011 20:50:49 +0000 (20:50 +0000)]
Issue #11286: Raise a ValueError from calling PyMemoryView_FromBuffer with
a buffer struct having a NULL data pointer.

14 years agoIssue #11286: Fixed unpickling of empty 2.x strings.
Alexander Belopolsky [Thu, 24 Feb 2011 19:40:09 +0000 (19:40 +0000)]
Issue #11286: Fixed unpickling of empty 2.x strings.

14 years agoAllow usage of SomeABC.register as a class decorator. Patch by Edoardo Spadolini...
Éric Araujo [Thu, 24 Feb 2011 18:03:10 +0000 (18:03 +0000)]
Allow usage of SomeABC.register as a class decorator.  Patch by Edoardo Spadolini (#10868).

14 years agorewrite
Benjamin Peterson [Thu, 24 Feb 2011 02:53:05 +0000 (02:53 +0000)]
rewrite

14 years agothis seems to be pointlessly nested
Benjamin Peterson [Thu, 24 Feb 2011 02:46:00 +0000 (02:46 +0000)]
this seems to be pointlessly nested

14 years agoMerged revisions 88535 via svnmerge from
Benjamin Peterson [Thu, 24 Feb 2011 01:41:46 +0000 (01:41 +0000)]
Merged revisions 88535 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r88535 | brett.cannon | 2011-02-23 13:46:46 -0600 (Wed, 23 Feb 2011) | 1 line

  Add lib2to3.__main__ for easy testing from the console.
........

14 years agoIssue #11304: Input/output tutorial - PI is rounded not truncated.
Raymond Hettinger [Thu, 24 Feb 2011 00:08:13 +0000 (00:08 +0000)]
Issue #11304: Input/output tutorial - PI is rounded not truncated.

14 years agoRevert r88503 as Benjamin's request.
Brett Cannon [Wed, 23 Feb 2011 18:48:52 +0000 (18:48 +0000)]
Revert r88503 as Benjamin's request.

14 years agoIssue #3080: Fix test_reprlib on Windows
Victor Stinner [Wed, 23 Feb 2011 14:14:48 +0000 (14:14 +0000)]
Issue #3080: Fix test_reprlib on Windows

Fix the test for last module changes (r88520).

14 years agoIssue #11272: Fix input() and sys.stdin for Windows newline
Victor Stinner [Wed, 23 Feb 2011 12:07:37 +0000 (12:07 +0000)]
Issue #11272: Fix input() and sys.stdin for Windows newline

On Windows, input() strips '\r' (and not only '\n'), and sys.stdin uses
universal newline (replace '\r\n' by '\n').

14 years agoIssue #11224: Improved sparse file read support (r85916) introduced a
Lars Gustäbel [Wed, 23 Feb 2011 11:42:22 +0000 (11:42 +0000)]
Issue #11224: Improved sparse file read support (r85916) introduced a
regression in _FileInFile which is used in file-like objects returned
by TarFile.extractfile(). The inefficient design of the
_FileInFile.read() method causes various dramatic side-effects and
errors:

  - The data segment of a file member is read completely into memory
    every(!) time a small block is accessed. This is not only slow
    but may cause unexpected MemoryErrors with very large files.
  - Reading members from compressed tar archives is even slower
    because of the excessive backwards seeking which is done when the
    same data segment is read over and over again.
  - As a backwards seek on a TarFile opened in stream mode is not
    possible, using extractfile() fails with a StreamError.

14 years agodynload_dl.c: replace tabs by spaces
Victor Stinner [Wed, 23 Feb 2011 11:29:28 +0000 (11:29 +0000)]
dynload_dl.c: replace tabs by spaces

14 years agoAdd tests for the _ChainMap helper class.
Raymond Hettinger [Wed, 23 Feb 2011 07:56:53 +0000 (07:56 +0000)]
Add tests for the _ChainMap helper class.

14 years agoIndent "versionadded" properly.
Georg Brandl [Wed, 23 Feb 2011 07:31:24 +0000 (07:31 +0000)]
Indent "versionadded" properly.

14 years agoAdd new subdirectory to LIBSUBDIRS.
Georg Brandl [Wed, 23 Feb 2011 07:30:12 +0000 (07:30 +0000)]
Add new subdirectory to LIBSUBDIRS.

14 years agoFix imports from collections.abc
Raymond Hettinger [Wed, 23 Feb 2011 00:46:28 +0000 (00:46 +0000)]
Fix imports from collections.abc

14 years agoIssue #3080: Add PyModule_GetNameObject()
Victor Stinner [Wed, 23 Feb 2011 00:21:43 +0000 (00:21 +0000)]
Issue #3080: Add PyModule_GetNameObject()

repr(module) uses %R to format module name and filenames, instead of '%s' and
'%U', so surrogates from undecodable bytes in a filename (PEP 383) are escaped.

14 years agoIssue #3080: Mark _PyImport_FindBuiltin() argument as constant
Victor Stinner [Wed, 23 Feb 2011 00:02:00 +0000 (00:02 +0000)]
Issue #3080: Mark _PyImport_FindBuiltin() argument as constant

And as a consequence, mark also name argument of
_PyImport_FindExtensionUnicode() constant too. But I plan to change this
argument type to PyObject* later.

14 years agoIssue #3080: document encoding used by import functions
Victor Stinner [Tue, 22 Feb 2011 23:38:34 +0000 (23:38 +0000)]
Issue #3080: document encoding used by import functions

14 years agoIssue #3080: Remove unused argument of _PyImport_GetDynLoadFunc()
Victor Stinner [Tue, 22 Feb 2011 23:16:19 +0000 (23:16 +0000)]
Issue #3080: Remove unused argument of _PyImport_GetDynLoadFunc()

The first argument, fqname, was not used.

14 years agoIssue #3080: Mark PyWin_FindRegisteredModule() as private
Victor Stinner [Tue, 22 Feb 2011 23:12:28 +0000 (23:12 +0000)]
Issue #3080: Mark PyWin_FindRegisteredModule() as private

This function was not declared in Python public API (in any .h file) and not
documented. Mark it as private to prepare a change of its API.

14 years agoA crypt algorithm may not be available by returning None.
Brett Cannon [Tue, 22 Feb 2011 21:55:51 +0000 (21:55 +0000)]
A crypt algorithm may not be available by returning None.

14 years agoMake Lib/crypt.py meet PEP 8 standards. This also led to a tweak in the new API
Brett Cannon [Tue, 22 Feb 2011 21:48:06 +0000 (21:48 +0000)]
Make Lib/crypt.py meet PEP 8 standards. This also led to a tweak in the new API
by making methods() into a module attribute as it is statically calculated.

14 years agoIssue #11277: finally fix Snow Leopard crash following r88460.
Antoine Pitrou [Tue, 22 Feb 2011 21:42:56 +0000 (21:42 +0000)]
Issue #11277: finally fix Snow Leopard crash following r88460.
(probably an OS-related issue with mmap)

14 years agoFix test.test_crypt.test_methods() to pass on OS X.
Brett Cannon [Tue, 22 Feb 2011 20:17:14 +0000 (20:17 +0000)]
Fix test.test_crypt.test_methods() to pass on OS X.

14 years agoIssue #8914: fix various warnings from the Clang static analyzer v254.
Brett Cannon [Tue, 22 Feb 2011 20:15:44 +0000 (20:15 +0000)]
Issue #8914: fix various warnings from the Clang static analyzer v254.

14 years agoIn FTP.close() method, make sure to also close the socket object, not only the file.
Giampaolo Rodolà [Tue, 22 Feb 2011 19:24:33 +0000 (19:24 +0000)]
In FTP.close() method, make sure to also close the socket object, not only the file.

14 years agoIn FTP.close() method, make sure to also close the socket object, not only the file.
Giampaolo Rodolà [Tue, 22 Feb 2011 19:24:33 +0000 (19:24 +0000)]
In FTP.close() method, make sure to also close the socket object, not only the file.

14 years agoAdd lib2to3.__main__ to make it easier for debugging purposes to run 2to3.
Brett Cannon [Tue, 22 Feb 2011 19:12:43 +0000 (19:12 +0000)]
Add lib2to3.__main__ to make it easier for debugging purposes to run 2to3.

14 years agosmtlib.py PEP8 normalization via pep8.py script.
Giampaolo Rodolà [Tue, 22 Feb 2011 15:56:20 +0000 (15:56 +0000)]
smtlib.py PEP8 normalization via pep8.py script.

14 years agoIssue #10924: Adding salt and Modular Crypt Format to crypt library.
Sean Reifscheider [Tue, 22 Feb 2011 10:55:44 +0000 (10:55 +0000)]
Issue #10924: Adding salt and Modular Crypt Format to crypt library.

14 years agoIssue #11074: Make 'tokenize' so it can be reloaded.
Brett Cannon [Tue, 22 Feb 2011 03:25:12 +0000 (03:25 +0000)]
Issue #11074: Make 'tokenize' so it can be reloaded.

The module stored away the 'open' object as found in the global namespace
(which fell through to the built-in namespace) since it defined its own 'open'.
Problem is that if you reloaded the module it then grabbed the 'open' defined
in the previous load, leading to code that infinite recursed. Switched to
simply call builtins.open directly.

14 years agoIssue #10512: close the log file in cgi when running tests.
Brett Cannon [Tue, 22 Feb 2011 03:14:12 +0000 (03:14 +0000)]
Issue #10512: close the log file in cgi when running tests.

Thanks to Nadeem Vawda for the find and an initial fix.

14 years agoIssue #10992: make tests pass when run under coverage.
Brett Cannon [Tue, 22 Feb 2011 03:04:06 +0000 (03:04 +0000)]
Issue #10992: make tests pass when run under coverage.

Various tests fail when run under coverage. A primary culprit is refcount tests
which fail as the counts are thrown off by the coverage code. A new decorator
-- test.support.refcount_test -- is used to decorate tests which test refcounts
and to skip them when running under coverage. Other tests simply fail because
of changes in the system (e.g., __local__ suddenly appearing).

Thanks to Kristian Vlaardingerbroek for helping to diagnose the test failures.

14 years agoIgnore __pycache__ in Lib/collections.
Brett Cannon [Tue, 22 Feb 2011 02:42:41 +0000 (02:42 +0000)]
Ignore __pycache__ in Lib/collections.

14 years agoFactor-out common code for helper classes.
Raymond Hettinger [Tue, 22 Feb 2011 01:55:36 +0000 (01:55 +0000)]
Factor-out common code for helper classes.

14 years agoHave the test filename match the module filename.
Raymond Hettinger [Tue, 22 Feb 2011 01:48:33 +0000 (01:48 +0000)]
Have the test filename match the module filename.

14 years agoIssue #11085: Moved collections abstract base classes into a separate module
Raymond Hettinger [Tue, 22 Feb 2011 00:41:50 +0000 (00:41 +0000)]
Issue #11085: Moved collections abstract base classes into a separate module
called collections.abc, following the pattern used by importlib.abc.  For
backwards compatibility, the names continue to also be imported into the
collections module.

14 years agoIssue #4681: Allow mmap() to work on file sizes and offsets larger than
Antoine Pitrou [Mon, 21 Feb 2011 23:41:12 +0000 (23:41 +0000)]
Issue #4681: Allow mmap() to work on file sizes and offsets larger than
4GB, even on 32-bit builds.  Initial patch by Ross Lagerwall, adapted for
32-bit Windows.

14 years agoIssue #10826: Prevent sporadic failure in test_subprocess on Solaris due
Antoine Pitrou [Mon, 21 Feb 2011 21:55:48 +0000 (21:55 +0000)]
Issue #10826: Prevent sporadic failure in test_subprocess on Solaris due
to open door files.

14 years agoFix PyUnicode_FromFormatV("%c") for non-BMP char
Victor Stinner [Mon, 21 Feb 2011 21:13:44 +0000 (21:13 +0000)]
Fix PyUnicode_FromFormatV("%c") for non-BMP char

Issue #10830: Fix PyUnicode_FromFormatV("%c") for non-BMP characters on
narrow build.

14 years agoRemove filename variable from ceval.c
Victor Stinner [Mon, 21 Feb 2011 21:05:50 +0000 (21:05 +0000)]
Remove filename variable from ceval.c

Issue #11168: Remove filename debug variable from PyEval_EvalFrameEx().
It encoded the Unicode filename to UTF-8, but the encoding fails on
undecodable filename (on surrogate characters) which raises an unexpected
UnicodeEncodeError on recursion limit.

14 years agocompileall uses repr() to format filenames/paths
Victor Stinner [Mon, 21 Feb 2011 20:58:02 +0000 (20:58 +0000)]
compileall uses repr() to format filenames/paths

Issue #11169: compileall module uses repr() to format filenames and paths to
escape surrogate characters and show spaces.

14 years agoRemove bootstrap code of PyUnicode_AsEncodedString()
Victor Stinner [Mon, 21 Feb 2011 20:51:28 +0000 (20:51 +0000)]
Remove bootstrap code of PyUnicode_AsEncodedString()

Issue #11187: Remove bootstrap code (use ASCII) of
PyUnicode_AsEncodedString(), it was replaced by a better fallback (use
the locale encoding) in PyUnicode_EncodeFSDefault().

Prepare also empty sections in NEWS.

14 years agoIssue #11268: Prevent Mac OS X Installer failure if Documentation
Ned Deily [Mon, 21 Feb 2011 20:44:27 +0000 (20:44 +0000)]
Issue #11268: Prevent Mac OS X Installer failure if Documentation
package had previously been installed.

14 years agoIssue 11263: Fix link to source code.
Raymond Hettinger [Mon, 21 Feb 2011 19:58:37 +0000 (19:58 +0000)]
Issue 11263: Fix link to source code.