]> granicus.if.org Git - python/log
python
11 years agoIn the _hashlib module, only initialize the static data for OpenSSL's
Gregory P. Smith [Sat, 2 Feb 2013 01:05:29 +0000 (17:05 -0800)]
In the _hashlib module, only initialize the static data for OpenSSL's
constructors once, to avoid memory leaks when finalizing and re-initializing
the Python interpreter.

11 years agoSilence a -Wformat-extra-argument warning when compiling.
Gregory P. Smith [Sat, 2 Feb 2013 00:14:00 +0000 (16:14 -0800)]
Silence a -Wformat-extra-argument warning when compiling.

11 years agoIssue #16256: OS X installer now sets correct permissions for doc directory.
Ned Deily [Fri, 1 Feb 2013 21:59:42 +0000 (13:59 -0800)]
Issue #16256: OS X installer now sets correct permissions for doc directory.

11 years agobetter corrected news entry
Gregory P. Smith [Fri, 1 Feb 2013 21:06:44 +0000 (13:06 -0800)]
better corrected news entry

11 years agoAdditional fix for Issue #12268: The io module file object writelines() methods no...
Gregory P. Smith [Fri, 1 Feb 2013 21:03:39 +0000 (13:03 -0800)]
Additional fix for Issue #12268: The io module file object writelines() methods no longer abort early when one of its write system calls is interrupted (EINTR).

11 years agoFixes Issue #6972: The zipfile module no longer overwrites files outside of
Gregory P. Smith [Fri, 1 Feb 2013 19:22:43 +0000 (11:22 -0800)]
Fixes Issue #6972: The zipfile module no longer overwrites files outside of
its destination path when extracting malicious zip files.

11 years agoIssue #1783: Remove declarations of nonexistent private variables.
Serhiy Storchaka [Fri, 1 Feb 2013 11:14:20 +0000 (13:14 +0200)]
Issue #1783: Remove declarations of nonexistent private variables.

11 years ago#16128: clarify that instances of user-defined classes compare equal with themselves.
Ezio Melotti [Fri, 1 Feb 2013 03:18:44 +0000 (05:18 +0200)]
#16128: clarify that instances of user-defined classes compare equal with themselves.

11 years agoIssue #17041: Fix doctesting when Python is configured with the
Serhiy Storchaka [Thu, 31 Jan 2013 14:11:04 +0000 (16:11 +0200)]
Issue #17041: Fix doctesting when Python is configured with the
--without-doc-strings.

11 years agoAdded test to ensure localized calendar methods return strings and not bytes.
Serhiy Storchaka [Thu, 31 Jan 2013 14:00:42 +0000 (16:00 +0200)]
Added test to ensure localized calendar methods return strings and not bytes.

11 years agoIssue #4844: ZipFile now raises BadZipFile when opens a ZIP file with an
Serhiy Storchaka [Thu, 31 Jan 2013 13:27:07 +0000 (15:27 +0200)]
Issue #4844: ZipFile now raises BadZipFile when opens a ZIP file with an
incomplete "End of Central Directory" record.  Original patch by Guilherme
Polo and Alan McIntyre.

11 years agoIssue #13590: OS X Xcode 4 - improve support for universal extension modules
Ned Deily [Thu, 31 Jan 2013 09:28:23 +0000 (01:28 -0800)]
Issue #13590: OS X Xcode 4 - improve support for universal extension modules
    In particular, fix extension module build failures when trying to use
    32-bit-only installer Pythons on systems with Xcode 4 (currently
    OS X 10.8, 10.7, and optionally 10.6).
    * Backport 3.3.0 fixes to 3.2 branch (for release in 3.2.4)
    * Since Xcode 4 removes ppc support, extension module builds now
      check for ppc compiler support and by default remove ppc and
      ppc64 archs when they are not available.
    * Extension module builds now revert to using system installed
      headers and libs (/usr and /System/Library) if the SDK used
      to build the interpreter is not installed or has moved.
    * Try to avoid building extension modules with deprecated
      and problematic Apple llvm-gcc compiler.  If original compiler
      is not available, use clang instead by default.

11 years agoCloses issue 15505. unittest.installHandler and non-callable signal handlers.
Michael Foord [Tue, 29 Jan 2013 23:07:57 +0000 (23:07 +0000)]
Closes issue 15505. unittest.installHandler and non-callable signal handlers.

11 years agoIssue #12004: Fix an internal error in PyZipFile when writing an invalid
Serhiy Storchaka [Tue, 29 Jan 2013 18:10:28 +0000 (20:10 +0200)]
Issue #12004: Fix an internal error in PyZipFile when writing an invalid
Python file.  Patch by Ben Morgan.

11 years agoMove NEWS entity from library to core section.
Serhiy Storchaka [Tue, 29 Jan 2013 10:05:46 +0000 (12:05 +0200)]
Move NEWS entity from library to core section.

11 years agoAdd tests for raw-unicode-escape codec.
Serhiy Storchaka [Tue, 29 Jan 2013 09:40:00 +0000 (11:40 +0200)]
Add tests for raw-unicode-escape codec.

11 years agoClean up escape-decode decoder tests.
Serhiy Storchaka [Tue, 29 Jan 2013 09:06:53 +0000 (11:06 +0200)]
Clean up escape-decode decoder tests.

11 years agoMerge heads
Serhiy Storchaka [Tue, 29 Jan 2013 08:40:04 +0000 (10:40 +0200)]
Merge heads

11 years agoIssue #16979: Fix error handling bugs in the unicode-escape-decode decoder.
Serhiy Storchaka [Tue, 29 Jan 2013 08:20:44 +0000 (10:20 +0200)]
Issue #16979: Fix error handling bugs in the unicode-escape-decode decoder.

11 years agoIssue #14018: Backport OS X installer updates from 3.3.
Ned Deily [Tue, 29 Jan 2013 08:08:32 +0000 (00:08 -0800)]
Issue #14018: Backport OS X installer updates from 3.3.

11 years agoFix skip conditions in some docstings tests.
Serhiy Storchaka [Mon, 28 Jan 2013 11:25:44 +0000 (13:25 +0200)]
Fix skip conditions in some docstings tests.

11 years agoIssue #17041: Fix testing when Python is configured with the
Serhiy Storchaka [Sun, 27 Jan 2013 17:47:45 +0000 (19:47 +0200)]
Issue #17041: Fix testing when Python is configured with the
--without-doc-strings.

11 years agoIssue #13886: Fix input() to not strip out supposedly-invalid input bytes.
Nadeem Vawda [Sun, 27 Jan 2013 13:01:42 +0000 (14:01 +0100)]
Issue #13886: Fix input() to not strip out supposedly-invalid input bytes.

Also fix sporadic failures in test_builtin due to dependence on whether the
readline module has previously been imported.

11 years agoIssue #14018: fix merge error
Ned Deily [Sun, 27 Jan 2013 02:09:12 +0000 (18:09 -0800)]
Issue #14018: fix merge error

11 years agoIssue #10156: In the interpreter's initialization phase, unicode globals
Serhiy Storchaka [Sat, 26 Jan 2013 10:14:02 +0000 (12:14 +0200)]
Issue #10156: In the interpreter's initialization phase, unicode globals
are now initialized dynamically as needed.

11 years agoOptimize the test for issue #13454.
Serhiy Storchaka [Sat, 26 Jan 2013 09:52:06 +0000 (11:52 +0200)]
Optimize the test for issue #13454.
Now it requires almost 4x less memory and is almost 2x faster.

11 years agoIssue #16975: Fix error handling bug in the escape-decode bytes decoder.
Serhiy Storchaka [Fri, 25 Jan 2013 21:31:43 +0000 (23:31 +0200)]
Issue #16975: Fix error handling bug in the escape-decode bytes decoder.

11 years agoIssue #1602133: 'environ' is not really available with shared libraries on OSX
Ronald Oussoren [Fri, 25 Jan 2013 16:57:13 +0000 (17:57 +0100)]
Issue #1602133: 'environ' is not really available with shared libraries on OSX

There already was a workaround for this for framework builds on OSX,
this changeset enables the same workaround for shared libraries.

Closes #1602133

11 years ago- Issue #3754: fix typo in pthread AC_CACHE_VAL.
doko@python.org [Fri, 25 Jan 2013 14:33:25 +0000 (15:33 +0100)]
- Issue #3754: fix typo in pthread AC_CACHE_VAL.

11 years agoIssue #9290: In IDLE the sys.std* streams now implement io.TextIOBase
Serhiy Storchaka [Fri, 25 Jan 2013 13:30:58 +0000 (15:30 +0200)]
Issue #9290: In IDLE the sys.std* streams now implement io.TextIOBase
interface and support all mandatory methods and properties.

11 years ago- Issue #17029: Let h2py search the multiarch system include directory.
doko@python.org [Fri, 25 Jan 2013 12:12:29 +0000 (13:12 +0100)]
- Issue #17029: Let h2py search the multiarch system include directory.

11 years agoClean trailing whitespace in itertoolsmodule.c.
Serhiy Storchaka [Fri, 25 Jan 2013 11:37:39 +0000 (13:37 +0200)]
Clean trailing whitespace in itertoolsmodule.c.

11 years agoIssue #13454: Fix a crash when deleting an iterator created by itertools.tee()
Serhiy Storchaka [Fri, 25 Jan 2013 11:19:31 +0000 (13:19 +0200)]
Issue #13454: Fix a crash when deleting an iterator created by itertools.tee()
if all other iterators were very advanced before.

11 years agoIncrease the memory limit in the test for issue #16335.
Serhiy Storchaka [Fri, 25 Jan 2013 08:12:30 +0000 (10:12 +0200)]
Increase the memory limit in the test for issue #16335.

11 years agoClarify ET.iterparse documentation - this function is not supported by the
Eli Bendersky [Thu, 24 Jan 2013 15:23:34 +0000 (07:23 -0800)]
Clarify ET.iterparse documentation - this function is not supported by the
C implementation.

11 years agoFix generating of sre_constants.h on Python 3.
Serhiy Storchaka [Thu, 24 Jan 2013 11:43:02 +0000 (13:43 +0200)]
Fix generating of sre_constants.h on Python 3.

11 years agoIssue #12411: Fix to cgi.parse_multipart to correctly use bytes boundaries and
Senthil Kumaran [Wed, 23 Jan 2013 10:50:15 +0000 (02:50 -0800)]
Issue #12411: Fix to cgi.parse_multipart to correctly use bytes boundaries and
bytes data. Patch by Jonas Wagner.

11 years agoCorrected typo, added comment in cookbook recipe.
Vinay Sajip [Wed, 23 Jan 2013 09:31:19 +0000 (09:31 +0000)]
Corrected typo, added comment in cookbook recipe.

11 years ago#11379: rephrase minidom documentation to use the term "minimal" instead of "lightwei...
Ezio Melotti [Tue, 22 Jan 2013 20:47:57 +0000 (22:47 +0200)]
#11379: rephrase minidom documentation to use the term "minimal" instead of "lightweight".  Patch by Éric Araujo.

11 years agoAdded cookbook recipe for structured logging.
Vinay Sajip [Tue, 22 Jan 2013 15:57:39 +0000 (15:57 +0000)]
Added cookbook recipe for structured logging.

11 years agoIssue #1159051: GzipFile now raises EOFError when reading a corrupted file
Serhiy Storchaka [Tue, 22 Jan 2013 15:01:59 +0000 (17:01 +0200)]
Issue #1159051: GzipFile now raises EOFError when reading a corrupted file
with truncated header or footer.
Added tests for reading truncated gzip and bzip2 files.

11 years ago#15546: Fix GzipFile.peek()'s handling of pathological input data.
Serhiy Storchaka [Tue, 22 Jan 2013 13:54:48 +0000 (15:54 +0200)]
#15546: Fix GzipFile.peek()'s handling of pathological input data.
This is a backport of changeset 8c07ff7f882f.

11 years agoUpdated logging HOWTO with a diagram.
Vinay Sajip [Tue, 22 Jan 2013 13:12:34 +0000 (13:12 +0000)]
Updated logging HOWTO with a diagram.

11 years agoIssue #17007: Made minor changes to documentation wording.
Vinay Sajip [Mon, 21 Jan 2013 21:57:10 +0000 (21:57 +0000)]
Issue #17007: Made minor changes to documentation wording.

11 years agoIssue #17007: Improved logging documentation based on suggestions in the issue.
Vinay Sajip [Mon, 21 Jan 2013 19:44:28 +0000 (19:44 +0000)]
Issue #17007: Improved logging documentation based on suggestions in the issue.

11 years agoAdd bigmemtest decorator to test of issue #16335.
Serhiy Storchaka [Mon, 21 Jan 2013 18:23:58 +0000 (20:23 +0200)]
Add bigmemtest decorator to test of issue #16335.

11 years agoFix memory error in test_ucn.
Serhiy Storchaka [Mon, 21 Jan 2013 10:59:13 +0000 (12:59 +0200)]
Fix memory error in test_ucn.
unicode-escape decoder requires memory for result corresponding to input size.
Fixes test for issue #16335.

11 years agoIssue #16335: Fix integer overflow in unicode-escape decoder.
Serhiy Storchaka [Mon, 21 Jan 2013 09:38:00 +0000 (11:38 +0200)]
Issue #16335: Fix integer overflow in unicode-escape decoder.

11 years ago#4153: update the Unicode howto.
Ezio Melotti [Sun, 20 Jan 2013 10:16:03 +0000 (12:16 +0200)]
#4153: update the Unicode howto.

11 years agoFix a few typos in Misc/NEWS.
Ezio Melotti [Sat, 19 Jan 2013 17:50:34 +0000 (19:50 +0200)]
Fix a few typos in Misc/NEWS.

11 years agoIssue #16953: Fix socket module compilation on platforms with HAVE_BROKEN_POLL.
Charles-François Natali [Sat, 19 Jan 2013 11:19:10 +0000 (12:19 +0100)]
Issue #16953: Fix socket module compilation on platforms with HAVE_BROKEN_POLL.
Patch by Jeffrey Armstrong.

11 years agoIssue #15989: Fix several occurrences of integer overflow
Serhiy Storchaka [Sat, 19 Jan 2013 10:26:26 +0000 (12:26 +0200)]
Issue #15989: Fix several occurrences of integer overflow
when result of PyLong_AsLong() narrowed to int without checks.

This is a backport of changesets 13e2e44db99d and 525407d89277.

11 years ago#16978: rephrase sentence and fix typo. Initial patch by Tshepang Lekhonkhobe.
Ezio Melotti [Fri, 18 Jan 2013 17:55:46 +0000 (19:55 +0200)]
#16978: rephrase sentence and fix typo.  Initial patch by Tshepang Lekhonkhobe.

11 years agomath.fsum docs did not show up because of a misplaced testsetup directive
Łukasz Langa [Fri, 18 Jan 2013 12:40:43 +0000 (13:40 +0100)]
math.fsum docs did not show up because of a misplaced testsetup directive

11 years agoRemove outdated statement
Antoine Pitrou [Thu, 17 Jan 2013 22:08:03 +0000 (23:08 +0100)]
Remove outdated statement

11 years agoClosed #16886: test_dictcomps no longer depends on dict order
Frank Wierzbicki [Wed, 16 Jan 2013 21:55:12 +0000 (13:55 -0800)]
Closed #16886: test_dictcomps no longer depends on dict order

11 years agoIssue #9501: Improved shutdown handling to deal with module attributes correctly.
Vinay Sajip [Tue, 15 Jan 2013 17:55:57 +0000 (17:55 +0000)]
Issue #9501: Improved shutdown handling to deal with module attributes correctly.

11 years agoIssue #15861: tkinter now correctly works with lists and tuples containing
Serhiy Storchaka [Tue, 15 Jan 2013 15:56:08 +0000 (17:56 +0200)]
Issue #15861: tkinter now correctly works with lists and tuples containing
strings with whitespaces, backslashes or unbalanced braces.

11 years agoMerge heads
Serhiy Storchaka [Tue, 15 Jan 2013 13:32:59 +0000 (15:32 +0200)]
Merge heads

11 years agoIssue #10527: Remove dead code
Richard Oudkerk [Tue, 15 Jan 2013 13:19:24 +0000 (13:19 +0000)]
Issue #10527: Remove dead code

11 years agoIssue #14850: Now a chamap decoder treates U+FFFE as "undefined mapping"
Serhiy Storchaka [Tue, 15 Jan 2013 12:43:21 +0000 (14:43 +0200)]
Issue #14850: Now a chamap decoder treates U+FFFE as "undefined mapping"
in any mapping, not only in an unicode string.

11 years agoIssue #10527: Use poll() instead of select() for multiprocessing pipes
Richard Oudkerk [Tue, 15 Jan 2013 01:01:01 +0000 (01:01 +0000)]
Issue #10527: Use poll() instead of select() for multiprocessing pipes

11 years agoIssue #9720: zipfile now writes correct local headers for files larger than 4 GiB.
Serhiy Storchaka [Mon, 14 Jan 2013 22:31:39 +0000 (00:31 +0200)]
Issue #9720: zipfile now writes correct local headers for files larger than 4 GiB.

11 years agoDescribe the default_namespace parameter of ElemetTree.write.
Serhiy Storchaka [Sun, 13 Jan 2013 19:58:04 +0000 (21:58 +0200)]
Describe the default_namespace parameter of ElemetTree.write.

11 years agoIssue #16922: fixed findtext() to return empty Unicode string instead of empty bytes...
Eli Bendersky [Sun, 13 Jan 2013 13:22:05 +0000 (05:22 -0800)]
Issue #16922: fixed findtext() to return empty Unicode string instead of empty bytes object when there's no text.

Patch by Serhiy Storchaka.

11 years agotest_asyncore: wait explicitly for a thread termination (this dangling thread
Charles-François Natali [Sun, 13 Jan 2013 12:56:52 +0000 (13:56 +0100)]
test_asyncore: wait explicitly for a thread termination (this dangling thread
could be the cause of a random failure).

11 years agoIssue #16829: IDLE printing no longer fails if there are spaces or other
Serhiy Storchaka [Sat, 12 Jan 2013 16:13:24 +0000 (18:13 +0200)]
Issue #16829: IDLE printing no longer fails if there are spaces or other
special characters in the file path.

11 years agoIssue #16762: Fix some test_subprocess failures on NetBSD and OpenBSD: kill()
Charles-François Natali [Sat, 12 Jan 2013 15:52:20 +0000 (16:52 +0100)]
Issue #16762: Fix some test_subprocess failures on NetBSD and OpenBSD: kill()
returns ESRCH for a zombie process, which is not POSIX-compliant.

12 years ago#16940: fix indentation in example.
Ezio Melotti [Sat, 12 Jan 2013 08:39:45 +0000 (10:39 +0200)]
#16940: fix indentation in example.

12 years agoIssue #16933 (2.7 forward-port): Improve choices examples in argparse docs.
Chris Jerdonek [Sat, 12 Jan 2013 03:26:44 +0000 (19:26 -0800)]
Issue #16933 (2.7 forward-port): Improve choices examples in argparse docs.

12 years agoIssue #15539: Fix a backup file creation in pindent.py on Windows.
Serhiy Storchaka [Fri, 11 Jan 2013 20:18:17 +0000 (22:18 +0200)]
Issue #15539: Fix a backup file creation in pindent.py on Windows.

12 years agoAdd a note about checking refleaks to patchcheck.
Ezio Melotti [Fri, 11 Jan 2013 12:07:47 +0000 (14:07 +0200)]
Add a note about checking refleaks to patchcheck.

12 years agoMerge heads
Serhiy Storchaka [Fri, 11 Jan 2013 10:28:53 +0000 (12:28 +0200)]
Merge heads

12 years agoIssue #15539: Fix a number of bugs in Tools/scripts/pindent.py.
Serhiy Storchaka [Fri, 11 Jan 2013 10:04:23 +0000 (12:04 +0200)]
Issue #15539: Fix a number of bugs in Tools/scripts/pindent.py.
Now pindent.py works with a "with" statement.  pindent.py no longer produces
improper indentation.  pindent.py now works with continued lines broken after
"class" or "def" keywords and with continuations at the start of line.  Added
regression tests for pindent.py.  Modernized pindent.py.

12 years agogrammatical fix; thanks to Alex Rudnick from docs@
Sandro Tosi [Fri, 11 Jan 2013 09:49:00 +0000 (10:49 +0100)]
grammatical fix; thanks to Alex Rudnick from docs@

12 years ago#16154: fix some doctests in Doc/library. Patch by Ravi Sinha.
Ezio Melotti [Fri, 11 Jan 2013 07:09:07 +0000 (09:09 +0200)]
#16154: fix some doctests in Doc/library.  Patch by Ravi Sinha.

12 years agoIssue #16874 (forward-port from 2.7): fix some documentation formatting.
Chris Jerdonek [Fri, 11 Jan 2013 07:01:27 +0000 (23:01 -0800)]
Issue #16874 (forward-port from 2.7): fix some documentation formatting.

12 years ago#13899: \A, \Z, and \B now correctly match the A, Z, and B literals when used inside...
Ezio Melotti [Fri, 11 Jan 2013 06:32:01 +0000 (08:32 +0200)]
#13899: \A, \Z, and \B now correctly match the A, Z, and B literals when used inside character classes (e.g. [A]).  Patch by Matthew Barnett.

12 years agoEnable a broken test and fix it.
Ezio Melotti [Fri, 11 Jan 2013 03:54:57 +0000 (05:54 +0200)]
Enable a broken test and fix it.

12 years ago#13934: document sqlite version strings, use correct one in test.
R David Murray [Fri, 11 Jan 2013 01:18:21 +0000 (20:18 -0500)]
#13934: document sqlite version strings, use correct one in test.

12 years ago#15545: fix sqlite3.iterdump regression on unsortable row_factory objects.
R David Murray [Thu, 10 Jan 2013 16:04:09 +0000 (11:04 -0500)]
#15545: fix sqlite3.iterdump regression on unsortable row_factory objects.

The fix for issue 9750 introduced a regression by sorting the row objects
returned by fetchall.  But if a row_factory such as sqlite3.Row is used, the
rows may not be sortable (in Python3), which leads to an exception.  The
sorting is still a nice idea, so the patch moves the sort into the sql.

Fix and test by Peter Otten.

12 years agoIssue #16491: IDLE now prints chained exception tracebacks.
Serhiy Storchaka [Wed, 9 Jan 2013 10:21:57 +0000 (12:21 +0200)]
Issue #16491: IDLE now prints chained exception tracebacks.

12 years agoIssue #11461: Fix the incremental UTF-16 decoder. Original patch by
Serhiy Storchaka [Tue, 8 Jan 2013 21:14:24 +0000 (23:14 +0200)]
Issue #11461: Fix the incremental UTF-16 decoder. Original patch by
Amaury Forgeot d'Arc. Added tests for partial decoding of non-BMP
characters.

12 years agoFix out of bound read in UTF-32 decoder on "narrow Unicode" builds.
Serhiy Storchaka [Tue, 8 Jan 2013 20:45:42 +0000 (22:45 +0200)]
Fix out of bound read in UTF-32 decoder on "narrow Unicode" builds.

12 years agoIssue #16836: Enable IPv6 support even if IPv6 is disabled on the build host.
Charles-François Natali [Tue, 8 Jan 2013 18:49:42 +0000 (19:49 +0100)]
Issue #16836: Enable IPv6 support even if IPv6 is disabled on the build host.

12 years agoIssue #16884: Updated docs to use 'note' directives in a couple of places missed...
Vinay Sajip [Tue, 8 Jan 2013 11:25:42 +0000 (11:25 +0000)]
Issue #16884: Updated docs to use 'note' directives in a couple of places missed earlier.

12 years agoIssue #15845: Fix comparison between bytes and string.
Serhiy Storchaka [Tue, 8 Jan 2013 09:32:58 +0000 (11:32 +0200)]
Issue #15845: Fix comparison between bytes and string.

12 years agoIssue #16884: updated logging documentation to include lastResort and use 'note'...
Vinay Sajip [Mon, 7 Jan 2013 14:16:52 +0000 (14:16 +0000)]
Issue #16884: updated logging documentation to include lastResort and use 'note' directives where appropriate.

12 years ago#16877: Add mention that shell-style path expansions are not automatic.
R David Murray [Sun, 6 Jan 2013 21:13:10 +0000 (16:13 -0500)]
#16877: Add mention that shell-style path expansions are not automatic.

12 years ago#16862: remove outdated statements about Stackless.
Ezio Melotti [Sat, 5 Jan 2013 05:37:47 +0000 (07:37 +0200)]
#16862: remove outdated statements about Stackless.

12 years agoCleanup a few minor things.
Ezio Melotti [Sat, 5 Jan 2013 05:36:54 +0000 (07:36 +0200)]
Cleanup a few minor things.

12 years agoFix example by making the exception inherit from Exception.
Ezio Melotti [Sat, 5 Jan 2013 04:53:27 +0000 (06:53 +0200)]
Fix example by making the exception inherit from Exception.

12 years ago#13094: add Programming FAQ entry about the behavior of closures.
Ezio Melotti [Fri, 4 Jan 2013 22:50:46 +0000 (00:50 +0200)]
#13094: add Programming FAQ entry about the behavior of closures.

12 years agomerge heads
Benjamin Peterson [Fri, 4 Jan 2013 04:34:40 +0000 (20:34 -0800)]
merge heads

12 years agodrop email (closes #16857)
Benjamin Peterson [Fri, 4 Jan 2013 04:34:19 +0000 (20:34 -0800)]
drop email (closes #16857)

12 years agoIssue #16367: Fix FileIO.readall() on Windows for files larger than 2 GB
Victor Stinner [Thu, 3 Jan 2013 02:33:21 +0000 (03:33 +0100)]
Issue #16367: Fix FileIO.readall() on Windows for files larger than 2 GB

12 years agoissue 10527: fix missing import
Giampaolo Rodola' [Thu, 3 Jan 2013 01:54:27 +0000 (02:54 +0100)]
issue 10527: fix missing import

12 years agoIssue #16218, #16414, #16444: Backport FS_NONASCII, TESTFN_UNDECODABLE,
Victor Stinner [Thu, 3 Jan 2013 00:50:30 +0000 (01:50 +0100)]
Issue #16218, #16414, #16444: Backport FS_NONASCII, TESTFN_UNDECODABLE,
TESTFN_NONASCII of test.support from Python 3.4. Backport tests on non-ASCII
paths.

12 years agoIssue #16455: On FreeBSD and Solaris, if the locale is C, the
Victor Stinner [Thu, 3 Jan 2013 00:08:58 +0000 (01:08 +0100)]
Issue #16455: On FreeBSD and Solaris, if the locale is C, the
ASCII/surrogateescape codec is now used, instead of the locale encoding, to
decode the command line arguments. This change fixes inconsistencies with
os.fsencode() and os.fsdecode() because these operating systems announces an
ASCII locale encoding, whereas the ISO-8859-1 encoding is used in practice.

12 years agoIssue #16828: Fix error incorrectly raised by bz2.compress('').
Nadeem Vawda [Wed, 2 Jan 2013 22:02:00 +0000 (23:02 +0100)]
Issue #16828: Fix error incorrectly raised by bz2.compress('').

Patch by Martin Packman.