]>
granicus.if.org Git - python/log
Petri Lehtinen [Sat, 23 Feb 2013 20:05:27 +0000 (21:05 +0100)]
Issue #16403: Document how distutils uses the maintainer field in PKG-INFO
Petri Lehtinen [Sat, 23 Feb 2013 18:53:03 +0000 (19:53 +0100)]
Issue #16695: Document how glob handles filenames starting with a dot
Petri Lehtinen [Sat, 23 Feb 2013 18:26:56 +0000 (19:26 +0100)]
Issue #8890: Stop advertising an insecure use of /tmp in docs
Petri Lehtinen [Sat, 23 Feb 2013 18:05:09 +0000 (19:05 +0100)]
Issue #14720: sqlite3: Convert datetime microseconds correctly
Patch by Lowe Thiderman
Petri Lehtinen [Sat, 23 Feb 2013 16:05:28 +0000 (17:05 +0100)]
Issue #5033: Fix building of the sqlite3 extension module
Ezio Melotti [Sat, 23 Feb 2013 05:53:56 +0000 (07:53 +0200)]
#17217: fix UnicodeEncodeErrors errors in test_format by printing ASCII only.
Ezio Melotti [Sat, 23 Feb 2013 04:42:19 +0000 (06:42 +0200)]
#17249: check for the availability of the thread module.
Ezio Melotti [Sat, 23 Feb 2013 03:52:46 +0000 (05:52 +0200)]
#17249: convert a test in test_capi to use unittest and reap threads.
Ezio Melotti [Sat, 23 Feb 2013 02:53:44 +0000 (04:53 +0200)]
#15438: add a note to math.pow() that suggests using **/pow() for integers. Patch by Mark Dickinson.
Ezio Melotti [Fri, 22 Feb 2013 06:28:14 +0000 (08:28 +0200)]
#17271: update example in tempfile docs.
Ezio Melotti [Fri, 22 Feb 2013 05:46:22 +0000 (07:46 +0200)]
#17256: fix syntax highlight in embedding example. Patch by Kushal Das.
Chris Jerdonek [Fri, 22 Feb 2013 02:54:43 +0000 (18:54 -0800)]
Issue #17203: add long option names to unittest discovery docs.
Ezio Melotti [Thu, 21 Feb 2013 21:15:40 +0000 (23:15 +0200)]
#17255: test short-circuiting behavior of any()/all(). Patch by Wim Glenn.
Serhiy Storchaka [Thu, 21 Feb 2013 18:19:16 +0000 (20:19 +0200)]
Issue #17225: JSON decoder now counts columns in the first line starting
with 1, as in other lines.
Serhiy Storchaka [Thu, 21 Feb 2013 12:34:36 +0000 (14:34 +0200)]
Issue #17248: Fix os.*chown() testing when user is in root group.
Ezio Melotti [Thu, 21 Feb 2013 10:30:32 +0000 (12:30 +0200)]
#17265: fix highlight in template example. Initial patch by Berker Peksag.
Serhiy Storchaka [Wed, 20 Feb 2013 17:48:22 +0000 (19:48 +0200)]
Issue #17248: Fix os.*chown() testing when user has group root.
Serhiy Storchaka [Wed, 20 Feb 2013 17:40:25 +0000 (19:40 +0200)]
Issue #15301: Enhance os.*chown() testing. Based on patch by Larry Hastings.
R David Murray [Tue, 19 Feb 2013 17:17:31 +0000 (12:17 -0500)]
#13700: Make imap.authenticate with authobject work.
This fixes a bytes/string confusion in the API which prevented
custom authobjects from working at all.
Original patch by Erno Tukia.
R David Murray [Tue, 19 Feb 2013 02:20:08 +0000 (21:20 -0500)]
#7963: fix error message when 'object' called with arguments.
Patch by Alexander Belopolsky.
Serhiy Storchaka [Mon, 18 Feb 2013 11:32:30 +0000 (13:32 +0200)]
Disable posixpath.realpath() tests on Windows (fix for issue #6975).
Serhiy Storchaka [Mon, 18 Feb 2013 11:01:52 +0000 (13:01 +0200)]
Issue #13153: Tkinter functions now raise TclError instead of ValueError when
a string argument contains non-BMP character.
Serhiy Storchaka [Mon, 18 Feb 2013 10:21:04 +0000 (12:21 +0200)]
Fix posixpath.realpath() for multiple pardirs (fixes issue #6975).
Serhiy Storchaka [Mon, 18 Feb 2013 09:14:21 +0000 (11:14 +0200)]
Fix issue #13169: Reimport MAXREPEAT into sre_constants.py.
Serhiy Storchaka [Sat, 16 Feb 2013 19:23:53 +0000 (21:23 +0200)]
Issue #9669: Protect re against infinite loops on zero-width matching in
non-greedy repeat. Patch by Matthew Barnett.
Serhiy Storchaka [Sat, 16 Feb 2013 14:47:47 +0000 (16:47 +0200)]
Issue #13169: The maximal repetition number in a regular expression has been
increased from 65534 to
2147483647 (on 32-bit platform) or
4294967294 (on
64-bit).
Ezio Melotti [Fri, 15 Feb 2013 21:35:14 +0000 (23:35 +0200)]
#17178: update any()/all() docstrings to document their behavior with empty iterables. Patch by Ankur Ankan.
Antoine Pitrou [Fri, 15 Feb 2013 20:27:18 +0000 (21:27 +0100)]
Issue #17208: add a note about the termination behaviour of daemon threads.
Richard Oudkerk [Wed, 13 Feb 2013 15:19:36 +0000 (15:19 +0000)]
Add Misc/NEWS entry for Issue #16743
Richard Oudkerk [Wed, 13 Feb 2013 12:18:03 +0000 (12:18 +0000)]
Issue #16743: Fix mmap overflow check on 32 bit Windows
Serhiy Storchaka [Wed, 13 Feb 2013 10:08:15 +0000 (12:08 +0200)]
Issue #5308: Raise ValueError when marshalling too large object (a sequence
with size >= 2**31), instead of producing illegal marshal data.
Serhiy Storchaka [Tue, 12 Feb 2013 22:59:26 +0000 (00:59 +0200)]
Fix for issue #16800: Use buffered write to handle EINTR.
Serhiy Storchaka [Tue, 12 Feb 2013 22:35:30 +0000 (00:35 +0200)]
Issue #16800: tempfile.gettempdir() no longer left temporary files when
the disk is full. Original patch by Amir Szekely.
Serhiy Storchaka [Tue, 12 Feb 2013 07:24:16 +0000 (09:24 +0200)]
Issue #4591: Uid and gid values larger than 2**31 are supported now.
Serhiy Storchaka [Tue, 12 Feb 2013 07:21:36 +0000 (09:21 +0200)]
Clean trailing whitespaces in Makefile.pre.in.
R David Murray [Mon, 11 Feb 2013 15:51:28 +0000 (10:51 -0500)]
#17171: fix email.encoders.encode_7or8bit when applied to binary data.
R David Murray [Mon, 11 Feb 2013 15:04:26 +0000 (10:04 -0500)]
#17064: fix sporadic permission errors in test_mailbox on windows.
Patch by Jeremy Kloth.
Michael Foord [Mon, 11 Feb 2013 13:20:52 +0000 (13:20 +0000)]
Correction to issue 17052 fix
Michael Foord [Mon, 11 Feb 2013 00:04:24 +0000 (00:04 +0000)]
Issue 17502: unittest discovery should use self.testLoader
Serhiy Storchaka [Sun, 10 Feb 2013 17:28:56 +0000 (19:28 +0200)]
Issue #17141: random.vonmisesvariate() no more hangs for large kappas.
Serhiy Storchaka [Sun, 10 Feb 2013 15:36:00 +0000 (17:36 +0200)]
Issue #12983: Bytes literals with invalid \x escape now raise a SyntaxError
and a full traceback including line number.
Mark Dickinson [Sun, 10 Feb 2013 14:16:10 +0000 (14:16 +0000)]
Issue #17149: Fix random.vonmisesvariate to always return results in [0, 2*math.pi].
Serhiy Storchaka [Sun, 10 Feb 2013 12:43:46 +0000 (14:43 +0200)]
Fix a test for SpooledTemporaryFile (added in issue #10355).
Serhiy Storchaka [Sun, 10 Feb 2013 12:29:52 +0000 (14:29 +0200)]
Issue #
1470548 : XMLGenerator now works with binary output streams.
Serhiy Storchaka [Sun, 10 Feb 2013 10:22:07 +0000 (12:22 +0200)]
Issue #6975: os.path.realpath() now correctly resolves multiple nested symlinks on POSIX platforms.
Antoine Pitrou [Sat, 9 Feb 2013 22:11:27 +0000 (23:11 +0100)]
Issue #17173: Remove uses of locale-dependent C functions (isalpha() etc.) in the interpreter.
I've left a couple of them in: zlib (third-party lib), getaddrinfo.c
(doesn't include Python.h, and probably obsolete), _sre.c (legitimate
use for the re.LOCALE flag).
Serhiy Storchaka [Sat, 9 Feb 2013 20:37:22 +0000 (22:37 +0200)]
Issue #17156: pygettext.py now uses an encoding of source file and correctly
writes and escapes non-ascii characters.
R David Murray [Sat, 9 Feb 2013 18:23:46 +0000 (13:23 -0500)]
#17166: fix _dummy_thread import example.
Report and patch by Berker Peksag.
R David Murray [Sat, 9 Feb 2013 18:02:58 +0000 (13:02 -0500)]
#16564: Fix regression in use of encoders.encode_noop with binary data.
Christian Heimes [Sat, 9 Feb 2013 16:02:06 +0000 (17:02 +0100)]
add proper dependencies on expat headers and sources
Serhiy Storchaka [Sat, 9 Feb 2013 10:21:14 +0000 (12:21 +0200)]
Issue #10355: SpooledTemporaryFile properties now work for unrolled files.
Remove obsoleted xreadline method.
Serhiy Storchaka [Sat, 9 Feb 2013 09:51:21 +0000 (11:51 +0200)]
Minor fix of previous commit.
Serhiy Storchaka [Sat, 9 Feb 2013 09:46:42 +0000 (11:46 +0200)]
Issue #17147. Mention BytesIO in SpooledTemporaryFile documentation.
Serhiy Storchaka [Sat, 9 Feb 2013 09:10:53 +0000 (11:10 +0200)]
Issue #16686: Fixed a lot of bugs in audioop module.
* avgpp() and maxpp() no more crash on empty and 1-samples input fragment. They now work when peak-peak values are greater INT_MAX.
* ratecv() no more crashes on empty input fragment.
* Fixed an integer overflow in ratecv().
* Fixed an integer overflow in add() and bias() for 32-bit samples.
* reverse(), lin2lin() and ratecv() no more lose precision for 32-bit samples.
* max() and rms() no more returns negative result for 32-bit sample -0x80000000.
* minmax() now returns correct max value for 32-bit sample -0x80000000.
* avg(), mul(), tomono() and tostereo() now round negative result down and can return 32-bit sample -0x80000000.
* add() now can return 32-bit sample -0x80000000.
Ned Deily [Sat, 9 Feb 2013 06:53:51 +0000 (22:53 -0800)]
Issue #17161: make install now also installs a python3 man page.
Serhiy Storchaka [Fri, 8 Feb 2013 09:22:05 +0000 (11:22 +0200)]
Fix accidental non-breakable spaces (U+00A0).
Gregory P. Smith [Fri, 8 Feb 2013 06:15:04 +0000 (22:15 -0800)]
Issue #6972: keep the warning about untrusted extraction and mention
the version it was improved in.
Senthil Kumaran [Fri, 8 Feb 2013 05:43:21 +0000 (21:43 -0800)]
Addressing the review comment made by Terry Reedy
Serhiy Storchaka [Thu, 7 Feb 2013 15:01:47 +0000 (17:01 +0200)]
Issue #17073: Fix some integer overflows in sqlite3 module.
Serhiy Storchaka [Thu, 7 Feb 2013 14:23:21 +0000 (16:23 +0200)]
Issue #17043: The unicode-internal decoder no longer read past the end of
input buffer.
Serhiy Storchaka [Thu, 7 Feb 2013 13:40:03 +0000 (15:40 +0200)]
Issue #17118: Add new tests for testing Python-Tcl interaction.
Serhiy Storchaka [Thu, 7 Feb 2013 13:24:36 +0000 (15:24 +0200)]
Issue #17114: IDLE now uses non-strict config parser.
Serhiy Storchaka [Thu, 7 Feb 2013 12:58:44 +0000 (14:58 +0200)]
Fix test_from_dll* in test_returnfuncptrs.py.
Senthil Kumaran [Thu, 7 Feb 2013 08:47:01 +0000 (00:47 -0800)]
Fix Issue17069: Document getcode method in urllib.request.rst
R David Murray [Wed, 6 Feb 2013 14:56:19 +0000 (09:56 -0500)]
#17142: fix apparent copy and paste error in test_all.
Serhiy Storchaka [Wed, 6 Feb 2013 08:31:57 +0000 (10:31 +0200)]
Issue #16723: httplib.HTTPResponse no longer marked closed when the connection
is automatically closed.
R David Murray [Tue, 5 Feb 2013 15:49:49 +0000 (10:49 -0500)]
#16948: Fix quopri encoding of non-latin1 character sets.
Serhiy Storchaka [Mon, 4 Feb 2013 16:26:15 +0000 (18:26 +0200)]
Issue #17089: Expat parser now correctly works with string input not only when
an internal XML encoding is UTF-8 or US-ASCII. It now accepts bytes and
strings larger than 2 GiB.
R David Murray [Mon, 4 Feb 2013 15:15:58 +0000 (10:15 -0500)]
#17091: update docstring for _thread.Lock.acquire.
The main docs were fixed to remove mention of None long ago,
but the docstring was not. Reported by Armin Rigo, patch
by Ian Cordasco.
Serhiy Storchaka [Mon, 4 Feb 2013 14:55:59 +0000 (16:55 +0200)]
Fix test_tools hangs on Windows. Patch by Jeremy Kloth.
Serhiy Storchaka [Mon, 4 Feb 2013 14:47:39 +0000 (16:47 +0200)]
Issue #16903: Popen.communicate() on Unix now accepts strings when
universal_newlines is true as on Windows.
Serhiy Storchaka [Mon, 4 Feb 2013 13:45:00 +0000 (15:45 +0200)]
Do not raise self.skipTest().
skipTest() already raises an exception.
Serhiy Storchaka [Mon, 4 Feb 2013 13:19:37 +0000 (15:19 +0200)]
Temporarily disable test_from_dll in test_returnfuncptrs.py for Windows.
Serhiy Storchaka [Mon, 4 Feb 2013 10:47:24 +0000 (12:47 +0200)]
Issue #6083: Fix multiple segmentation faults occured when PyArg_ParseTuple
parses nested mutating sequence.
Gregory P. Smith [Sat, 14 Jul 2012 21:12:35 +0000 (14:12 -0700)]
Update the embedded copy of the expat XML parser to 2.1.0. It brings
with it a vareity of bug fixes, both security and behavior. See
http://www.libexpat.org/ for the list.
NOTE: I already backported the expat hash randomization fix in March.
Fixes issue #14340.
Serhiy Storchaka [Sun, 3 Feb 2013 15:03:31 +0000 (17:03 +0200)]
Issue #17106: Fix a segmentation fault in io.TextIOWrapper when an underlying
stream or a decoder produces data of an unexpected type (i.e. when
io.TextIOWrapper initialized with text stream or use bytes-to-bytes codec).
Ned Deily [Sat, 2 Feb 2013 23:08:52 +0000 (15:08 -0800)]
Issue #16698: Skip posix test_getgroups when built with OS X
deployment target prior to 10.6.
Antoine Pitrou [Sat, 2 Feb 2013 22:08:51 +0000 (23:08 +0100)]
Simplify code in HTTPResponse.read()
Antoine Pitrou [Sat, 2 Feb 2013 21:49:34 +0000 (22:49 +0100)]
Issue #15633: httplib.HTTPResponse is now mark closed when the server sends less than the advertised Content-Length.
Nadeem Vawda [Sat, 2 Feb 2013 19:05:11 +0000 (20:05 +0100)]
Back out fix for issue #13886; it introduced a new bug in interactive readline use.
Serhiy Storchaka [Sat, 2 Feb 2013 17:50:59 +0000 (19:50 +0200)]
Fix the test for issue #6972.
Remove trailing dots on Windows.
Serhiy Storchaka [Sat, 2 Feb 2013 16:45:22 +0000 (18:45 +0200)]
Issue #17034: Use Py_CLEAR() in bytesobject.c.
Serhiy Storchaka [Sat, 2 Feb 2013 11:27:30 +0000 (13:27 +0200)]
Fix a Cyrillic "C" inroduced into the docs by patch for issue #6972.
Serhiy Storchaka [Sat, 2 Feb 2013 10:17:05 +0000 (12:17 +0200)]
Fix tests for issue #11159.
Serhiy Storchaka [Sat, 2 Feb 2013 08:37:36 +0000 (10:37 +0200)]
Merge heads
Serhiy Storchaka [Sat, 2 Feb 2013 08:31:17 +0000 (10:31 +0200)]
Issue #11159: Add tests for testing SAX parser support of non-ascii file names.
Ned Deily [Sat, 2 Feb 2013 08:16:14 +0000 (00:16 -0800)]
Issue #15116: Remove references to appscript as it is no longer being
supported.
Ned Deily [Sat, 2 Feb 2013 07:12:42 +0000 (23:12 -0800)]
Issue #15587: Enable Tk high-resolution text rendering on Macs with
Retina displays. Applies to Tkinter apps, such as IDLE, on OS X
framework builds linked with Cocoa Tk 8.5+.
Suggested by Kevin Walzer
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.
Gregory P. Smith [Sat, 2 Feb 2013 00:14:00 +0000 (16:14 -0800)]
Silence a -Wformat-extra-argument warning when compiling.
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.
Gregory P. Smith [Fri, 1 Feb 2013 21:06:44 +0000 (13:06 -0800)]
better corrected news entry
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).
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.
Serhiy Storchaka [Fri, 1 Feb 2013 11:14:20 +0000 (13:14 +0200)]
Issue #1783: Remove declarations of nonexistent private variables.
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.
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.
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.
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.
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.