]> granicus.if.org Git - python/log
python
11 years agoIssue #19857: Make sure that test_imaplib reaps server threads even in face of
Charles-François Natali [Sat, 7 Dec 2013 19:30:17 +0000 (20:30 +0100)]
Issue #19857: Make sure that test_imaplib reaps server threads even in face of
error upon client disconnection.

11 years agodocument that compile() can take bytes (closes #19910)
Benjamin Peterson [Sat, 7 Dec 2013 01:12:39 +0000 (20:12 -0500)]
document that compile() can take bytes (closes #19910)

11 years agoIssue #19900: improve generalities at the start of the pickle module doc
Antoine Pitrou [Fri, 6 Dec 2013 23:56:59 +0000 (00:56 +0100)]
Issue #19900: improve generalities at the start of the pickle module doc

11 years agoAdded minor clarification in logging HOWTO.
Vinay Sajip [Fri, 6 Dec 2013 11:22:24 +0000 (11:22 +0000)]
Added minor clarification in logging HOWTO.

11 years agoIssue #18840: Introduce the json module in the tutorial, and deemphasize the pickle...
Antoine Pitrou [Thu, 5 Dec 2013 22:46:32 +0000 (23:46 +0100)]
Issue #18840: Introduce the json module in the tutorial, and deemphasize the pickle module.

11 years ago#19839: Fix lzma module's handling of non-lzma data at EOF.
Nadeem Vawda [Wed, 4 Dec 2013 22:03:49 +0000 (23:03 +0100)]
#19839: Fix lzma module's handling of non-lzma data at EOF.

11 years ago#19839: Fix regression in bz2 module's handling of non-bzip2 data at EOF.
Nadeem Vawda [Wed, 4 Dec 2013 22:01:15 +0000 (23:01 +0100)]
#19839: Fix regression in bz2 module's handling of non-bzip2 data at EOF.

11 years agoTweak the socket module doc layout
Antoine Pitrou [Wed, 4 Dec 2013 20:11:03 +0000 (21:11 +0100)]
Tweak the socket module doc layout

11 years agoIssue #19882: tweak docs for socket.close()
Antoine Pitrou [Wed, 4 Dec 2013 20:02:42 +0000 (21:02 +0100)]
Issue #19882: tweak docs for socket.close()

11 years agoncurses' winch and mvwinch return an unsigned long
Christian Heimes [Wed, 4 Dec 2013 07:50:22 +0000 (08:50 +0100)]
ncurses' winch and mvwinch return an unsigned long

11 years agoIssue #19138: doctest's IGNORE_EXCEPTION_DETAIL now allows no detail at all.
Tim Peters [Wed, 4 Dec 2013 03:02:05 +0000 (21:02 -0600)]
Issue #19138: doctest's IGNORE_EXCEPTION_DETAIL now allows no detail at all.
(grafted from c80083ad142db2939507800c755082293a87f2de)

11 years agoMake a couple of parameters constant.
Stefan Krah [Tue, 3 Dec 2013 13:33:46 +0000 (14:33 +0100)]
Make a couple of parameters constant.

11 years agoIssue #19665: Increased timeout for SMTPHandler test.
Vinay Sajip [Tue, 3 Dec 2013 11:28:55 +0000 (11:28 +0000)]
Issue #19665: Increased timeout for SMTPHandler test.

11 years agoAdd NEWS entry for issue #19834.
Walter Doerwald [Mon, 2 Dec 2013 16:19:00 +0000 (17:19 +0100)]
Add NEWS entry for issue #19834.

11 years agoIssue #19814: Clarify argparse's docs w.r.t prefix matching
Eli Bendersky [Mon, 2 Dec 2013 13:49:54 +0000 (05:49 -0800)]
Issue #19814: Clarify argparse's docs w.r.t prefix matching

11 years agoIssue #19728: Fix sys.getfilesystemencoding() documentation
Victor Stinner [Mon, 2 Dec 2013 11:16:46 +0000 (12:16 +0100)]
Issue #19728: Fix sys.getfilesystemencoding() documentation

11 years agoFix issue #19834: Support unpickling of exceptions pickled by Python 2.
Walter Doerwald [Mon, 2 Dec 2013 10:41:01 +0000 (11:41 +0100)]
Fix issue #19834: Support unpickling of exceptions pickled by Python 2.

11 years agoFixes issue #15798: subprocess.Popen() no longer fails if file
Gregory P. Smith [Mon, 2 Dec 2013 01:27:40 +0000 (17:27 -0800)]
Fixes issue #15798: subprocess.Popen() no longer fails if file
descriptor 0, 1 or 2 is closed.
The errpipe_write fd will always be >= 3.

11 years agoIssue #11480: Fixed copy.copy to work with classes with custom metaclasses.
Alexandre Vassalotti [Sun, 1 Dec 2013 21:25:26 +0000 (13:25 -0800)]
Issue #11480: Fixed copy.copy to work with classes with custom metaclasses.

Patch by Daniel Urban.

11 years agoUndo supposed fix for Issue #15798 until I understand why this is
Gregory P. Smith [Sun, 1 Dec 2013 08:12:24 +0000 (00:12 -0800)]
Undo supposed fix for Issue #15798 until I understand why this is
causing test_multiprocessing_forkserver and test_multiprocessing_spawn
failures on head (3.4).

11 years agoFixes Issue #15798 - subprocess.Popen() no longer fails if file
Gregory P. Smith [Sun, 1 Dec 2013 03:02:57 +0000 (19:02 -0800)]
Fixes Issue #15798 - subprocess.Popen() no longer fails if file
descriptor 0, 1 or 2 is closed.

11 years agoIssue #6477: Keep PyNotImplemented_Type and PyNone_Type private.
Alexandre Vassalotti [Sun, 1 Dec 2013 01:55:48 +0000 (17:55 -0800)]
Issue #6477: Keep PyNotImplemented_Type and PyNone_Type private.

11 years agoIssue #6477: Added support for pickling the types of built-in singletons.
Alexandre Vassalotti [Sun, 1 Dec 2013 00:06:39 +0000 (16:06 -0800)]
Issue #6477: Added support for pickling the types of built-in singletons.

11 years agoIssue #19845: Updated the Compiling Python on Windows docs.
Zachary Ware [Sat, 30 Nov 2013 22:59:33 +0000 (16:59 -0600)]
Issue #19845: Updated the Compiling Python on Windows docs.

11 years agoIssue #19789: Clarified documentation for logging.disable.
Vinay Sajip [Sat, 30 Nov 2013 22:45:29 +0000 (22:45 +0000)]
Issue #19789: Clarified documentation for logging.disable.

11 years agoFixed _pickle.Unpickler to handle empty persistent IDs correctly.
Alexandre Vassalotti [Sat, 30 Nov 2013 21:52:35 +0000 (13:52 -0800)]
Fixed _pickle.Unpickler to handle empty persistent IDs correctly.

11 years agoIssue #19088: Fix incorrect caching of the copyreg module.
Alexandre Vassalotti [Sat, 30 Nov 2013 08:53:09 +0000 (00:53 -0800)]
Issue #19088: Fix incorrect caching of the copyreg module.

This fix does not cause any degradation in performance.

11 years agoIssue #19595: Re-enable a long-disabled test in test_winsound
Zachary Ware [Thu, 28 Nov 2013 05:56:04 +0000 (23:56 -0600)]
Issue #19595: Re-enable a long-disabled test in test_winsound

11 years agoRevert unrelated changes introduced by changeset b2066bc8cab9 (issue #19795).
Serhiy Storchaka [Fri, 29 Nov 2013 21:40:35 +0000 (23:40 +0200)]
Revert unrelated changes introduced by changeset b2066bc8cab9  (issue #19795).

11 years agoIssue #19795: Improved markup of True/False constants.
Serhiy Storchaka [Fri, 29 Nov 2013 10:17:13 +0000 (12:17 +0200)]
Issue #19795: Improved markup of True/False constants.

11 years agoFix indentation from previous commit
Eli Bendersky [Thu, 28 Nov 2013 14:33:21 +0000 (06:33 -0800)]
Fix indentation from previous commit

11 years agoIssue #19815: Fix segfault when parsing empty namespace declaration.
Eli Bendersky [Thu, 28 Nov 2013 14:31:58 +0000 (06:31 -0800)]
Issue #19815: Fix segfault when parsing empty namespace declaration.

Based on patches by Christian Heimes and Vajrasky Kok

11 years agoSkip test_find_mac on Windows (issue #19804).
Serhiy Storchaka [Wed, 27 Nov 2013 06:57:51 +0000 (08:57 +0200)]
Skip test_find_mac on Windows (issue #19804).

This test requires the ifconfig executable on $PATH, /sbin/, or /usr/sbin.

11 years agorecommend OrderedDict for this FAQ (closes #19805)
Benjamin Peterson [Wed, 27 Nov 2013 05:05:25 +0000 (23:05 -0600)]
recommend OrderedDict for this FAQ (closes #19805)

11 years agofix format spec recursive expansion (closes #19729)
Benjamin Peterson [Wed, 27 Nov 2013 01:22:36 +0000 (19:22 -0600)]
fix format spec recursive expansion (closes #19729)

11 years agoIssue #19788: kill_python(_d).exe is now run as a PreBuildEvent on the
Zachary Ware [Tue, 26 Nov 2013 22:32:59 +0000 (16:32 -0600)]
Issue #19788: kill_python(_d).exe is now run as a PreBuildEvent on the
pythoncore sub-project.  This should prevent build errors due a previous
build's python(_d).exe still running.

11 years agoMerge heads
Zachary Ware [Tue, 26 Nov 2013 20:57:10 +0000 (14:57 -0600)]
Merge heads

11 years agoIssue #19588: Fixed tests in test_random that were silently skipped most
Zachary Ware [Tue, 26 Nov 2013 20:50:10 +0000 (14:50 -0600)]
Issue #19588: Fixed tests in test_random that were silently skipped most
of the time.  Patch by Julian Gindi.

11 years agoIssue #11508: Fixed uuid.getnode() and uuid.uuid1() on environment with
Serhiy Storchaka [Tue, 26 Nov 2013 20:47:16 +0000 (22:47 +0200)]
Issue #11508: Fixed uuid.getnode() and uuid.uuid1() on environment with
virtual interface.  Original patch by Kent Frazier.

11 years agoUse @bigmemtest more accurately.
Mark Dickinson [Tue, 26 Nov 2013 20:28:29 +0000 (20:28 +0000)]
Use @bigmemtest more accurately.

11 years agoIssue #11489: JSON decoder now accepts lone surrogates.
Serhiy Storchaka [Tue, 26 Nov 2013 19:25:28 +0000 (21:25 +0200)]
Issue #11489: JSON decoder now accepts lone surrogates.

11 years agoIssue #19638: Raise ValueError instead of crashing when converting billion character...
Mark Dickinson [Tue, 26 Nov 2013 16:19:13 +0000 (16:19 +0000)]
Issue #19638: Raise ValueError instead of crashing when converting billion character strings to float.

11 years agoIssue #19794: Improved markup for True/False constants.
Serhiy Storchaka [Tue, 26 Nov 2013 15:32:16 +0000 (17:32 +0200)]
Issue #19794: Improved markup for True/False constants.

11 years agoMarkup fix.
Georg Brandl [Tue, 26 Nov 2013 07:25:24 +0000 (08:25 +0100)]
Markup fix.

11 years agoIssue #19691: remove outdated mention about RuntimeError
Antoine Pitrou [Mon, 25 Nov 2013 18:08:32 +0000 (19:08 +0100)]
Issue #19691: remove outdated mention about RuntimeError

11 years agoRemove an errant extra \ within a docstring.
Gregory P. Smith [Mon, 25 Nov 2013 08:30:56 +0000 (00:30 -0800)]
Remove an errant extra \ within a docstring.

11 years agoCloses #19622: clarify message about bufsize changes in 3.2.4 and 3.3.1.
Georg Brandl [Mon, 25 Nov 2013 07:48:37 +0000 (08:48 +0100)]
Closes #19622: clarify message about bufsize changes in 3.2.4 and 3.3.1.

11 years agoFix doc markup error.
Georg Brandl [Mon, 25 Nov 2013 07:29:44 +0000 (08:29 +0100)]
Fix doc markup error.

11 years agoFix broken link in html.entities docs.
Ezio Melotti [Mon, 25 Nov 2013 04:40:12 +0000 (06:40 +0200)]
Fix broken link in html.entities docs.

11 years ago#19620: Fix typo in docstring (noticed by Christopher Welborn).
Ezio Melotti [Mon, 25 Nov 2013 03:14:51 +0000 (05:14 +0200)]
#19620: Fix typo in docstring (noticed by Christopher Welborn).

11 years agoDocument that @property can incorporate a docstring from the getter method. Improve...
Raymond Hettinger [Sun, 24 Nov 2013 22:53:29 +0000 (14:53 -0800)]
Document that @property can incorporate a docstring from the getter method.  Improve readabilty with additional whitespace.

11 years ago1) Prepare libmpdec for the 2.4.0 release. None of the following changes affects
Stefan Krah [Sun, 24 Nov 2013 18:44:57 +0000 (19:44 +0100)]
1) Prepare libmpdec for the 2.4.0 release.  None of the following changes affects
   _decimal:

      o Make all "mpd_t to C integer" conversion functions available in both the
        64-bit and the 32-bit versions.

      o Make all mixed mpd_t/C integer arithmetic functions available in the
        32-bit version.

      o Better handling of __STDC_LIMIT_MACROS for C++ users.

      o Add struct tags (at the request of C++ users).

2) Check for libmpdec.so.2 if --with-system-libmpdec is used.

11 years agoIssue #19545: Avoid chained exceptions while passing stray % to
Serhiy Storchaka [Sun, 24 Nov 2013 16:15:37 +0000 (18:15 +0200)]
Issue #19545: Avoid chained exceptions while passing stray % to
time.strptime().  Initial patch by Claudiu Popa.

11 years agoDoc/Makefile: also do "make suspicious" during daily autobuild
Georg Brandl [Sun, 24 Nov 2013 15:17:54 +0000 (16:17 +0100)]
Doc/Makefile: also do "make suspicious" during daily autobuild

11 years agoIssue #19743: fix test_gdb on some optimized Python builds
Antoine Pitrou [Sun, 24 Nov 2013 13:58:17 +0000 (14:58 +0100)]
Issue #19743: fix test_gdb on some optimized Python builds

11 years agoFix make distclean for out-of-tree builds
Christian Heimes [Sun, 24 Nov 2013 02:32:40 +0000 (03:32 +0100)]
Fix make distclean for out-of-tree builds

11 years agoUndo (hopefully) buildbot failures
Antoine Pitrou [Sat, 23 Nov 2013 17:20:42 +0000 (18:20 +0100)]
Undo (hopefully) buildbot failures

11 years agoIssue #19308: fix the gdb plugin on gdbs linked with Python 3
Antoine Pitrou [Sat, 23 Nov 2013 16:40:36 +0000 (17:40 +0100)]
Issue #19308: fix the gdb plugin on gdbs linked with Python 3

11 years agoIssue #19733: Temporary disable test_image on MacOSX.
Serhiy Storchaka [Sat, 23 Nov 2013 13:21:33 +0000 (15:21 +0200)]
Issue #19733: Temporary disable test_image on MacOSX.

11 years agoUpdate Itamar's name
Andrew Kuchling [Sat, 23 Nov 2013 01:17:24 +0000 (20:17 -0500)]
Update Itamar's name

11 years agoIssue #18326: Clarify that list.sort's arguments are keyword-only.
Zachary Ware [Fri, 22 Nov 2013 19:58:34 +0000 (13:58 -0600)]
Issue #18326: Clarify that list.sort's arguments are keyword-only.

Also, attempt to reduce confusion in the glossary by not saying there are
different "types" of arguments and parameters.

11 years agoPrint Tk patchlevel in Tk and Ttk tests in verbose mode (issue19654).
Serhiy Storchaka [Thu, 21 Nov 2013 17:23:19 +0000 (19:23 +0200)]
Print Tk patchlevel in Tk and Ttk tests in verbose mode (issue19654).

11 years agoIssue #19633: Fixed writing not compressed 16- and 32-bit wave files on
Serhiy Storchaka [Thu, 21 Nov 2013 09:02:30 +0000 (11:02 +0200)]
Issue #19633: Fixed writing not compressed 16- and 32-bit wave files on
big-endian platforms.

Temporary forbidden test_unseekable_incompleted_write fornot compressed 16-
and 32-bit wave file  on big-endian platforms.

11 years agoPrint Tk patchlevel in test_tcl in verbose mode (issue19654).
Serhiy Storchaka [Wed, 20 Nov 2013 15:43:49 +0000 (17:43 +0200)]
Print Tk patchlevel in test_tcl in verbose mode (issue19654).

11 years agoconfigure: echo message to AS_MESSAGE_FD. --silent redirects fd to /dev/null.
Christian Heimes [Wed, 20 Nov 2013 00:11:18 +0000 (01:11 +0100)]
configure: echo message to AS_MESSAGE_FD. --silent redirects fd to /dev/null.

11 years agoAdd workaround for VS 2010 nmake clean issue. VS 2010 doesn't set up PATH for nmake...
Christian Heimes [Tue, 19 Nov 2013 23:41:29 +0000 (00:41 +0100)]
Add workaround for VS 2010 nmake clean issue. VS 2010 doesn't set up PATH for nmake.exe correctly.

11 years ago#19449: Handle non-string keys when generating 'fieldnames' error.
R David Murray [Tue, 19 Nov 2013 18:16:20 +0000 (13:16 -0500)]
#19449: Handle non-string keys when generating 'fieldnames' error.

csv was handling non-string keys fine except for the error message
generated when a non-string key was not in 'fieldnames'.

Fix by Tomas Grahn, full patch-with-test by Vajrasky Kok (tweaked slightly).

11 years ago#1098749: re-word gettext docs to not encourage using pygettext so much.
Andrew Kuchling [Tue, 19 Nov 2013 16:05:20 +0000 (11:05 -0500)]
#1098749: re-word gettext docs to not encourage using pygettext so much.

Also, add a link to the Babel package.

11 years ago- Remove execute permissions from test_dbm_gnu.py and test_dbm_ndbm.py
doko@ubuntu.com [Tue, 19 Nov 2013 08:12:28 +0000 (09:12 +0100)]
- Remove execute permissions from test_dbm_gnu.py and test_dbm_ndbm.py

11 years ago- Update config.{guess,sub} for new ports.
doko@ubuntu.com [Tue, 19 Nov 2013 07:54:38 +0000 (08:54 +0100)]
- Update config.{guess,sub} for new ports.

11 years agoIssue #19596: Set untestable tests in test_importlib to None
Zachary Ware [Tue, 19 Nov 2013 03:44:38 +0000 (21:44 -0600)]
Issue #19596: Set untestable tests in test_importlib to None
to avoid reporting success on empty tests.

11 years agoCleanup this test's modification of os.environ in teardown (this already
Gregory P. Smith [Mon, 18 Nov 2013 21:10:04 +0000 (21:10 +0000)]
Cleanup this test's modification of os.environ in teardown (this already
exists in 3.4 but apparently wasn't done for 3.3).

11 years agoFix test.support.bind_port() to not cause an error when Python was compiled
Gregory P. Smith [Sun, 17 Nov 2013 22:19:32 +0000 (22:19 +0000)]
Fix test.support.bind_port() to not cause an error when Python was compiled
on a system with SO_REUSEPORT defined in the headers but run on a system
with an OS kernel that does not support that reasonably new socket option.

11 years agoFix compilation error under gcc of the ctypes module bundled libffi for arm.
Gregory P. Smith [Sun, 17 Nov 2013 21:56:07 +0000 (21:56 +0000)]
Fix compilation error under gcc of the ctypes module bundled libffi for arm.
A variable was declared below the top of a block and one function was using
a K&R C style function declaration!

11 years agoIssue #19603: Use specific asserts in test_decr.
Serhiy Storchaka [Sun, 17 Nov 2013 21:38:50 +0000 (23:38 +0200)]
Issue #19603: Use specific asserts in test_decr.

11 years agoFix indentation in doc example.
Ezio Melotti [Sun, 17 Nov 2013 20:07:48 +0000 (22:07 +0200)]
Fix indentation in doc example.

11 years agoIssue #19599: Increase sleep period.
Richard Oudkerk [Sun, 17 Nov 2013 17:45:16 +0000 (17:45 +0000)]
Issue #19599: Increase sleep period.

11 years agoFix handling of SystemExit and exit code. Patch by Brodie Rao.
Richard Oudkerk [Sun, 17 Nov 2013 17:24:11 +0000 (17:24 +0000)]
Fix handling of SystemExit and exit code.  Patch by Brodie Rao.

11 years agoIssue 16998: Clarify that += on a shared value is not atomic.
Richard Oudkerk [Sun, 17 Nov 2013 17:00:38 +0000 (17:00 +0000)]
Issue 16998: Clarify that += on a shared value is not atomic.

11 years agoIssue #19508: direct the user to read the security considerations for the ssl module
Antoine Pitrou [Sun, 17 Nov 2013 14:35:33 +0000 (15:35 +0100)]
Issue #19508: direct the user to read the security considerations for the ssl module

11 years agoIssue #19606: Use specific asserts in http.cookiejar tests.
Serhiy Storchaka [Sun, 17 Nov 2013 11:45:02 +0000 (13:45 +0200)]
Issue #19606: Use specific asserts in http.cookiejar tests.

11 years agoIssue #19607: Use specific asserts in weakref tests.
Serhiy Storchaka [Sun, 17 Nov 2013 11:20:09 +0000 (13:20 +0200)]
Issue #19607: Use specific asserts in weakref tests.

11 years agoIssue #19605: Use specific asserts in datetime tests
Serhiy Storchaka [Sun, 17 Nov 2013 10:52:33 +0000 (12:52 +0200)]
Issue #19605: Use specific asserts in datetime tests

11 years agoMerge heads
Serhiy Storchaka [Sun, 17 Nov 2013 10:30:29 +0000 (12:30 +0200)]
Merge heads

11 years agoPost-release bump.
Georg Brandl [Sun, 17 Nov 2013 08:17:40 +0000 (09:17 +0100)]
Post-release bump.

11 years agomerge with 3.3.3 release clone
Georg Brandl [Sun, 17 Nov 2013 08:17:18 +0000 (09:17 +0100)]
merge with 3.3.3 release clone

11 years agoAdded tag v3.3.3 for changeset c3896275c0f6
Georg Brandl [Sun, 17 Nov 2013 06:59:06 +0000 (07:59 +0100)]
Added tag v3.3.3 for changeset c3896275c0f6

11 years agoBump to 3.3.3 final. v3.3.3
Georg Brandl [Sun, 17 Nov 2013 06:58:22 +0000 (07:58 +0100)]
Bump to 3.3.3 final.

11 years ago#19238: fix typo in documentation.
Ezio Melotti [Sun, 17 Nov 2013 00:47:12 +0000 (02:47 +0200)]
#19238: fix typo in documentation.

11 years agoIssue #19604: Use specific asserts in array tests.
Serhiy Storchaka [Sat, 16 Nov 2013 22:45:17 +0000 (00:45 +0200)]
Issue #19604: Use specific asserts in array tests.

11 years agoIssue #19602: Use specific asserts in tkinter tests.
Serhiy Storchaka [Sat, 16 Nov 2013 22:42:25 +0000 (00:42 +0200)]
Issue #19602: Use specific asserts in tkinter tests.

11 years agoIssue #19601: Use specific asserts in sqlite3 tests.
Serhiy Storchaka [Sat, 16 Nov 2013 22:39:12 +0000 (00:39 +0200)]
Issue #19601: Use specific asserts in sqlite3 tests.

11 years agoIssue #19600: Use specific asserts in distutils tests.
Serhiy Storchaka [Sat, 16 Nov 2013 22:17:46 +0000 (00:17 +0200)]
Issue #19600: Use specific asserts in distutils tests.

11 years agoIssue #19594: Use specific asserts in unittest tests.
Serhiy Storchaka [Sat, 16 Nov 2013 22:12:21 +0000 (00:12 +0200)]
Issue #19594: Use specific asserts in unittest tests.

11 years agoIssue #19591: Use specific asserts in ctype tests.
Serhiy Storchaka [Sat, 16 Nov 2013 21:51:26 +0000 (23:51 +0200)]
Issue #19591: Use specific asserts in ctype tests.

11 years agoIssue #19590: Use specific asserts in email tests.
Serhiy Storchaka [Sat, 16 Nov 2013 10:56:23 +0000 (12:56 +0200)]
Issue #19590: Use specific asserts in email tests.

11 years agoIssue #19504: Used American spelling for 'customize'.
Vinay Sajip [Fri, 15 Nov 2013 20:58:13 +0000 (20:58 +0000)]
Issue #19504: Used American spelling for 'customize'.

11 years agoIssue #19523: Closed FileHandler leak which occurred when delay was set.
Vinay Sajip [Fri, 15 Nov 2013 20:40:27 +0000 (20:40 +0000)]
Issue #19523: Closed FileHandler leak which occurred when delay was set.

11 years agofileutils.c: use MAXPATHLEN instead of PATH_MAX
Victor Stinner [Fri, 15 Nov 2013 17:14:11 +0000 (18:14 +0100)]
fileutils.c: use MAXPATHLEN instead of PATH_MAX

PATH_MAX is not declared on IRIX nor Windows.

11 years agosysmodule.c: fix sys_update_path(), use Py_ARRAY_LENGTH() to get the size of
Victor Stinner [Fri, 15 Nov 2013 16:33:43 +0000 (17:33 +0100)]
sysmodule.c: fix sys_update_path(), use Py_ARRAY_LENGTH() to get the size of
the fullpath buffer, not PATH_MAX. fullpath is declared using MAXPATHLEN or
MAX_PATH depending on the OS, and PATH_MAX is not declared on IRIX.