]>
granicus.if.org Git - python/log
Antoine Pitrou [Sun, 26 Apr 2015 16:48:16 +0000 (18:48 +0200)]
Issue #23996: Avoid a crash when a delegated generator raises an unnormalized StopIteration exception. Patch by Stefan Behnel.
Antoine Pitrou [Sun, 26 Apr 2015 16:46:40 +0000 (18:46 +0200)]
Issue #23996: Avoid a crash when a delegated generator raises an unnormalized StopIteration exception. Patch by Stefan Behnel.
Berker Peksag [Sun, 26 Apr 2015 09:10:27 +0000 (12:10 +0300)]
Issue #23356: Simplify convert_arg_line_to_args example.
Patch by py.user.
Berker Peksag [Sun, 26 Apr 2015 09:09:54 +0000 (12:09 +0300)]
Issue #23356: Simplify convert_arg_line_to_args example.
Patch by py.user.
Gregory P. Smith [Sun, 26 Apr 2015 06:51:39 +0000 (23:51 -0700)]
Silence a gcc "may be used uninitialized" compiler warning. Not true.
Initializing retval prevents the naive warning.
Gregory P. Smith [Sun, 26 Apr 2015 06:44:02 +0000 (23:44 -0700)]
Fix computation of max_fd on OpenBSD. Issue #23852.
Gregory P. Smith [Sun, 26 Apr 2015 06:43:34 +0000 (23:43 -0700)]
Fix computation of max_fd on OpenBSD. Issue #23852.
Gregory P. Smith [Sun, 26 Apr 2015 05:05:53 +0000 (05:05 +0000)]
Use assertEqual rather than assertEquals to avoid the deprecation warning.
Gregory P. Smith [Sun, 26 Apr 2015 04:59:52 +0000 (04:59 +0000)]
Add missing PyAPI_FUNC macro's to the public functions as other .c files do
in hopes that this fixes the windows extension module link error for modules
trying to call _Py_strhex functions. issue9951.
Gregory P. Smith [Sun, 26 Apr 2015 00:42:13 +0000 (00:42 +0000)]
Switch binascii over to using the common _Py_strhex implementation for its hex
and hexlify functions. issue9951.
Gregory P. Smith [Sun, 26 Apr 2015 00:41:00 +0000 (00:41 +0000)]
Add the files missing from
c9f1630cf2b1 for issue9951.
hg status should be my friend more often...
Gregory P. Smith [Sat, 25 Apr 2015 23:42:38 +0000 (23:42 +0000)]
Issue9951: update _hashopenssl and md5module to use _Py_strhex().
Also update _posixsubprocess to use Py_hexdigits instead of its own constant.
Gregory P. Smith [Sat, 25 Apr 2015 23:22:26 +0000 (23:22 +0000)]
Implements issue #9951: Adds a hex() method to bytes, bytearray, & memoryview.
Also updates a few internal implementations of the same thing to use the
new built-in code.
Contributed by Arnon Yaari.
Benjamin Peterson [Sat, 25 Apr 2015 18:16:25 +0000 (14:16 -0400)]
merge 3.4 (#24057)
Benjamin Peterson [Sat, 25 Apr 2015 18:15:16 +0000 (14:15 -0400)]
fix relative link (closes #24057)
Victor Stinner [Fri, 24 Apr 2015 22:21:52 +0000 (00:21 +0200)]
(Merge 3.4) Issue #9246: On POSIX, os.getcwd() now supports paths longer than
1025 bytes. Patch written by William Orr.
Victor Stinner [Fri, 24 Apr 2015 22:16:10 +0000 (00:16 +0200)]
Issue #9246: On POSIX, os.getcwd() now supports paths longer than 1025 bytes
Patch written by William Orr.
Benjamin Peterson [Fri, 24 Apr 2015 16:02:53 +0000 (12:02 -0400)]
merge 3.4 (#24049)
Benjamin Peterson [Fri, 24 Apr 2015 16:02:29 +0000 (12:02 -0400)]
remove dead *-import checking code (closes #24049)
Serhiy Storchaka [Thu, 23 Apr 2015 21:40:51 +0000 (00:40 +0300)]
Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at the
same line as function name.
Benjamin Peterson [Thu, 23 Apr 2015 21:06:45 +0000 (17:06 -0400)]
merge 3.4 (#24044)
Benjamin Peterson [Thu, 23 Apr 2015 21:06:33 +0000 (17:06 -0400)]
merge 3.3 (#24044)
Benjamin Peterson [Thu, 23 Apr 2015 21:05:07 +0000 (17:05 -0400)]
merge 3.2 (#24044)
Benjamin Peterson [Thu, 23 Apr 2015 21:04:36 +0000 (17:04 -0400)]
properly handle malloc failure (closes #24044)
Patch by Christian Heimes.
Christian Heimes [Thu, 23 Apr 2015 09:25:41 +0000 (11:25 +0200)]
Issue #24031: make patchcheck now supports git checkouts, too.
Christian Heimes [Thu, 23 Apr 2015 09:24:14 +0000 (11:24 +0200)]
Issue #24031: make patchcheck now supports git checkouts, too.
Serhiy Storchaka [Thu, 23 Apr 2015 08:36:40 +0000 (11:36 +0300)]
Issue #23713: Fixed fragility of test_imap_unordered_handle_iterable_exception.
Patch by Davin Potts.
Serhiy Storchaka [Thu, 23 Apr 2015 08:35:59 +0000 (11:35 +0300)]
Issue #23713: Fixed fragility of test_imap_unordered_handle_iterable_exception.
Patch by Davin Potts.
Serhiy Storchaka [Thu, 23 Apr 2015 07:58:15 +0000 (10:58 +0300)]
Use more precise Tcl version checks in tests.
Serhiy Storchaka [Thu, 23 Apr 2015 07:57:40 +0000 (10:57 +0300)]
Use more precise Tcl version checks in tests.
Barry Warsaw [Wed, 22 Apr 2015 22:38:26 +0000 (18:38 -0400)]
Issue #24029: Document the name binding behavior for submodule imports.
Barry Warsaw [Wed, 22 Apr 2015 22:36:44 +0000 (18:36 -0400)]
Issue #24029: Document the name binding behavior for submodule imports.
Barry Warsaw [Wed, 22 Apr 2015 22:29:16 +0000 (18:29 -0400)]
Issue #24029: Document the name binding behavior for submodule imports.
Christian Heimes [Wed, 22 Apr 2015 21:55:29 +0000 (23:55 +0200)]
Next attempt: fix .gitignore for Unix and OSX. Sorry RDM!
Christian Heimes [Wed, 22 Apr 2015 21:54:44 +0000 (23:54 +0200)]
Next attempt: fix .gitignore for Unix and OSX. Sorry RDM!
Facundo Batista [Wed, 22 Apr 2015 21:35:54 +0000 (18:35 -0300)]
Issue #23887: urllib.error.HTTPError now has a proper repr() representation.
Christian Heimes [Wed, 22 Apr 2015 20:16:01 +0000 (22:16 +0200)]
Fix .gitignore for 'python' binary.
Christian Heimes [Wed, 22 Apr 2015 20:15:44 +0000 (22:15 +0200)]
Fix .gitignore for 'python' binary.
Benjamin Peterson [Wed, 22 Apr 2015 13:16:27 +0000 (09:16 -0400)]
merge 3.4 (#22785)
Benjamin Peterson [Wed, 22 Apr 2015 13:16:07 +0000 (09:16 -0400)]
improved range docstring (closes #22785)
Patch by Ned Batchelder.
doko@ubuntu.com [Wed, 22 Apr 2015 12:49:27 +0000 (14:49 +0200)]
- move NEWS item to 3.5
Berker Peksag [Wed, 22 Apr 2015 08:32:19 +0000 (11:32 +0300)]
Issue #21483: Skip test_timestamp_overflow on NFS.
Patch by Isaac Schwabacher.
Serhiy Storchaka [Wed, 22 Apr 2015 08:01:38 +0000 (11:01 +0300)]
Merge heads
Serhiy Storchaka [Wed, 22 Apr 2015 07:59:32 +0000 (10:59 +0300)]
Issue #16840. Turn off bignum support in tkinter with with Tcl earlier than 8.5.8
(tclTomMath.h was broken) and non-final Tcl 8.6.
Removed TK_VERSION_HEX.
Serhiy Storchaka [Wed, 22 Apr 2015 07:53:08 +0000 (10:53 +0300)]
Issue #16840. Turn off bignum support in tkinter with with Tcl earlier than 8.5.8
(tclTomMath.h was broken) and non-final Tcl 8.6.
Berker Peksag [Wed, 22 Apr 2015 06:39:19 +0000 (09:39 +0300)]
Issue #23917: Fall back to sequential compilation when ProcessPoolExecutor doesn't exist.
Patch by Claudiu Popa.
Serhiy Storchaka [Wed, 22 Apr 2015 05:36:41 +0000 (08:36 +0300)]
Fixed full Tcl version parsing in tests for pre-final versions.
Serhiy Storchaka [Wed, 22 Apr 2015 05:36:03 +0000 (08:36 +0300)]
Fixed full Tcl version parsing in tests for pre-final versions.
Andrew Kuchling [Tue, 21 Apr 2015 23:44:54 +0000 (19:44 -0400)]
Merge from 3.4
Andrew Kuchling [Tue, 21 Apr 2015 23:43:33 +0000 (19:43 -0400)]
#15183: clarify timeit documentation to say that setup statement isn't timed
Serhiy Storchaka [Tue, 21 Apr 2015 18:11:13 +0000 (21:11 +0300)]
Issue #23008: Fixed resolving attributes with boolean value is False in pydoc.
Serhiy Storchaka [Tue, 21 Apr 2015 18:09:48 +0000 (21:09 +0300)]
Issue #23008: Fixed resolving attributes with boolean value is False in pydoc.
Benjamin Peterson [Tue, 21 Apr 2015 16:07:06 +0000 (12:07 -0400)]
merge 3.4 (#24022)
Benjamin Peterson [Tue, 21 Apr 2015 16:05:19 +0000 (12:05 -0400)]
do not call into python api if an exception is set (#24022)
Christian Heimes [Tue, 21 Apr 2015 08:57:41 +0000 (10:57 +0200)]
Get rid of unused-but-set-variable warning. len and len2 should be equal and len2 is technically more correct, too.
Greg Ward [Tue, 21 Apr 2015 00:21:21 +0000 (20:21 -0400)]
#17445: difflib: add diff_bytes(), to compare bytes rather than str
Some applications (e.g. traditional Unix diff, version control
systems) neither know nor care about the encodings of the files they
are comparing. They are textual, but to the diff utility they are just
bytes. This worked fine under Python 2, because all of the hardcoded
strings in difflib.py are ASCII, so could safely be combined with
old-style u'' strings. But it stopped working in 3.x.
The solution is to use surrogate escapes for a lossless
bytes->str->bytes roundtrip. That means {unified,context}_diff() can
continue to just handle strings without worrying about bytes. Callers
who have to deal with bytes will need to change to using diff_bytes().
Use case: Mercurial's test runner uses difflib to compare current hg
output with known good output. But Mercurial's output is just bytes,
since it can contain:
* file contents (arbitrary unknown encoding)
* filenames (arbitrary unknown encoding)
* usernames and commit messages (usually UTF-8, but not guaranteed
because old versions of Mercurial did not enforce it)
* user messages (locale encoding)
Since the output of any given hg command can include text in multiple
encodings, it is hopeless to try to treat it as decodable Unicode
text. It's just bytes, all the way down.
This is an elaboration of a patch by Terry Reedy.
Benjamin Peterson [Mon, 20 Apr 2015 22:22:21 +0000 (18:22 -0400)]
merge 3.4 (#23989)
Benjamin Peterson [Mon, 20 Apr 2015 22:18:14 +0000 (18:18 -0400)]
recommend requests library (closes #23989)
Patch from Van Lindberg
doko@ubuntu.com [Mon, 20 Apr 2015 19:05:23 +0000 (21:05 +0200)]
- move some NEWS items to 3.5.0 beta 1
Guido van Rossum [Mon, 20 Apr 2015 16:29:57 +0000 (09:29 -0700)]
Fix asyncio issue 235 (merge from 3.4).
Guido van Rossum [Mon, 20 Apr 2015 16:24:24 +0000 (09:24 -0700)]
Fix asyncio issue 235: Queue subclass bug caused by JoinableQueue merge.
Serhiy Storchaka [Mon, 20 Apr 2015 11:07:41 +0000 (14:07 +0300)]
Issue #16840: Turn on support of bignums only in final release of Tcl 8.5.
Serhiy Storchaka [Mon, 20 Apr 2015 11:05:37 +0000 (14:05 +0300)]
Issue #16840: Turn on support of bignums only in final release of Tcl 8.5.
Larry Hastings [Mon, 20 Apr 2015 08:19:55 +0000 (01:19 -0700)]
Merge Python 3.5.0a4 release engineering commits.
Larry Hastings [Mon, 20 Apr 2015 08:18:10 +0000 (01:18 -0700)]
Post-release updates for Python 3.5.0a4.
Serhiy Storchaka [Mon, 20 Apr 2015 07:12:28 +0000 (10:12 +0300)]
Issue #23908: os functions now reject paths with embedded null character
on Windows instead of silently truncate them.
Removed no longer used _PyUnicode_HasNULChars().
Serhiy Storchaka [Mon, 20 Apr 2015 06:53:58 +0000 (09:53 +0300)]
Issue #23908: os functions now reject paths with embedded null character
on Windows instead of silently truncate them.
Serhiy Storchaka [Mon, 20 Apr 2015 06:31:51 +0000 (09:31 +0300)]
Issue #23728: binascii.crc_hqx() could return an integer outside of the range
0-0xffff for empty data.
Serhiy Storchaka [Mon, 20 Apr 2015 06:26:49 +0000 (09:26 +0300)]
Issue #23728: binascii.crc_hqx() could return an integer outside of the range
0-0xffff for empty data.
Serhiy Storchaka [Mon, 20 Apr 2015 06:23:21 +0000 (09:23 +0300)]
Issue #23842: Added tests for os.major(), os.minor() and os.makedev().
Serhiy Storchaka [Mon, 20 Apr 2015 06:22:13 +0000 (09:22 +0300)]
Issue #23842: Added tests for os.major(), os.minor() and os.makedev().
Benjamin Peterson [Mon, 20 Apr 2015 03:14:57 +0000 (23:14 -0400)]
merge 3.4
Benjamin Peterson [Mon, 20 Apr 2015 03:14:37 +0000 (23:14 -0400)]
fix grammar
Steve Dower [Mon, 20 Apr 2015 02:50:35 +0000 (19:50 -0700)]
Minor fixes to Windows build scripts
Steve Dower [Mon, 20 Apr 2015 02:45:51 +0000 (19:45 -0700)]
Backed out buildbot clean
Steve Dower [Mon, 20 Apr 2015 02:40:09 +0000 (19:40 -0700)]
Force the buildbots to clean up all externals.
Larry Hastings [Sun, 19 Apr 2015 20:56:54 +0000 (13:56 -0700)]
Added tag v3.5.0a4 for changeset
413e0e0004f4
Larry Hastings [Sun, 19 Apr 2015 20:51:40 +0000 (13:51 -0700)]
Version number bump for Python 3.5.0a4.
Larry Hastings [Sun, 19 Apr 2015 20:50:12 +0000 (13:50 -0700)]
Regenerated pydoc-topics and fixed bad/suspicious doc markup for Python 3.5.0a4.
Christian Heimes [Sun, 19 Apr 2015 19:15:02 +0000 (21:15 +0200)]
Issue #23998: PyImport_ReInitLock() now checks for lock allocation error
Christian Heimes [Sun, 19 Apr 2015 19:12:14 +0000 (21:12 +0200)]
Issue #23998: PyImport_ReInitLock() now checks for lock allocation error
Christian Heimes [Sun, 19 Apr 2015 19:08:42 +0000 (21:08 +0200)]
Issue #23998: PyImport_ReInitLock() now checks for lock allocation error
Serhiy Storchaka [Sun, 19 Apr 2015 18:13:00 +0000 (21:13 +0300)]
Fixed error message for the "u#" format code.
Serhiy Storchaka [Sun, 19 Apr 2015 18:11:30 +0000 (21:11 +0300)]
Fixed error message for the "u#" format code.
Serhiy Storchaka [Sun, 19 Apr 2015 17:38:19 +0000 (20:38 +0300)]
Use PyArg_ParseTuple (new API) instead of PyArg_Parse (old API) for parsing tuples.
doko@ubuntu.com [Sun, 19 Apr 2015 12:44:05 +0000 (14:44 +0200)]
- #22980: fix triplet configure test for more targets
Berker Peksag [Sun, 19 Apr 2015 01:38:01 +0000 (04:38 +0300)]
Mark TarInfo.frombuf() and TarInfo.fromtarfile() as classmethods.
Berker Peksag [Sun, 19 Apr 2015 01:37:35 +0000 (04:37 +0300)]
Mark TarInfo.frombuf() and TarInfo.fromtarfile() as classmethods.
Berker Peksag [Sun, 19 Apr 2015 01:32:52 +0000 (04:32 +0300)]
Issue #15566: Document encoding and errors parameters of TarInfo.frombuf().
Patch by Andy Holst.
Berker Peksag [Sun, 19 Apr 2015 01:32:23 +0000 (04:32 +0300)]
Issue #15566: Document encoding and errors parameters of TarInfo.frombuf().
Patch by Andy Holst.
Vinay Sajip [Sat, 18 Apr 2015 12:15:10 +0000 (13:15 +0100)]
Closes #23536: Clarified scope of fileConfig()'s API.
Vinay Sajip [Sat, 18 Apr 2015 12:14:10 +0000 (13:14 +0100)]
Issue #23536: Clarified scope of fileConfig()'s API.
Christian Heimes [Sat, 18 Apr 2015 03:54:02 +0000 (05:54 +0200)]
Remove local dead code. In both blocks dir is always greater 0.
Serhiy Storchaka [Fri, 17 Apr 2015 18:18:49 +0000 (21:18 +0300)]
Issue #20181: Converted the unicodedata module to Argument Clinic.
Serhiy Storchaka [Fri, 17 Apr 2015 18:05:18 +0000 (21:05 +0300)]
Issue #20184: Converted _dbm and _gdbm modules to Argument Clinic.
Berker Peksag [Fri, 17 Apr 2015 01:58:45 +0000 (04:58 +0300)]
Fix two typos in AbstractBasicAuthHandler documentation.
R David Murray [Thu, 16 Apr 2015 22:54:56 +0000 (18:54 -0400)]
#16914: fix test errors under -W error::BytesWarning.
There are doubtless other debug messages in smtplib that would trigger an
error if they were tested, but this fixes the things we do now test,
which is good enough for now.
R David Murray [Thu, 16 Apr 2015 21:24:52 +0000 (17:24 -0400)]
#16914: reflow paragraph and add missing versionchanged.
R David Murray [Thu, 16 Apr 2015 21:16:15 +0000 (17:16 -0400)]
News item for #16914.
R David Murray [Thu, 16 Apr 2015 21:14:42 +0000 (17:14 -0400)]
#16914: add timestamps to smtplib debugging output via new debuglevel 2.
Patch by Gavin Chappell and Maciej Szulik.