]>
granicus.if.org Git - python/log
Antoine Pitrou [Sat, 21 Dec 2013 23:44:01 +0000 (00:44 +0100)]
Fix urllib.request.build_opener mocking in test_distutils (should fix some random buildbot failures)
Antoine Pitrou [Sat, 21 Dec 2013 21:57:56 +0000 (22:57 +0100)]
Issue #20045: Fix "setup.py register --list-classifiers".
Antoine Pitrou [Sat, 21 Dec 2013 21:19:46 +0000 (22:19 +0100)]
Fix DeprecationWarnings in test suite
Antoine Pitrou [Sat, 21 Dec 2013 21:14:56 +0000 (22:14 +0100)]
Issue #18879: When a method is looked up on a temporary file, avoid closing the file before the method is possibly called.
Zachary Ware [Fri, 20 Dec 2013 19:25:07 +0000 (13:25 -0600)]
Update test.outstanding_bugs.py
Serhiy Storchaka [Fri, 20 Dec 2013 16:23:26 +0000 (18:23 +0200)]
Issue #20034: Updated alias mapping to most recent locale.alias file
from X.org distribution using makelocalealias.py.
Serhiy Storchaka [Thu, 19 Dec 2013 20:31:46 +0000 (22:31 +0200)]
Don't use sebTest() in tests for issue #5815.
Zachary Ware [Thu, 19 Dec 2013 19:44:56 +0000 (13:44 -0600)]
Issue #19683: Removed empty tests from test_minidom. Patch by Ajitesh Gupta.
Serhiy Storchaka [Thu, 19 Dec 2013 19:21:25 +0000 (21:21 +0200)]
Issue #5815: Fixed support for locales with modifiers. Fixed support for
locale encodings with hyphens.
Victor Stinner [Thu, 19 Dec 2013 15:47:04 +0000 (16:47 +0100)]
Issue #20025: ssl.RAND_bytes() and ssl.RAND_pseudo_bytes() now raise a
ValueError if num is negative (instead of raising a SystemError).
Victor Stinner [Thu, 19 Dec 2013 15:38:03 +0000 (16:38 +0100)]
Issue #20026: Fix the sqlite module to handle correctly invalid isolation level
(wrong type).
Serhiy Storchaka [Thu, 19 Dec 2013 14:27:18 +0000 (16:27 +0200)]
Issue #18829: csv.Dialect() now checks type for delimiter, escapechar and
quotechar fields. Original patch by Vajrasky Kok.
Vinay Sajip [Thu, 19 Dec 2013 11:50:24 +0000 (11:50 +0000)]
Issue #19902: Added list of logging levels.
Benjamin Peterson [Wed, 18 Dec 2013 21:35:18 +0000 (15:35 -0600)]
update url to spec (closes #20018)
Gregory P. Smith [Wed, 18 Dec 2013 19:27:05 +0000 (11:27 -0800)]
remove trailing spaces.
Zachary Ware [Wed, 18 Dec 2013 18:21:49 +0000 (12:21 -0600)]
Issue #20005: Fix typo in operator docs. Patch by Claudiu Popa.
Serhiy Storchaka [Wed, 18 Dec 2013 14:41:01 +0000 (16:41 +0200)]
Issue #19492: Silently skipped distutils tests now reported as skipped.
R David Murray [Wed, 18 Dec 2013 02:13:16 +0000 (21:13 -0500)]
#19855: uuid.get_node now looks on the PATH for executables on unix.
Patch by Serhiy Storchaka.
Antoine Pitrou [Tue, 17 Dec 2013 23:28:36 +0000 (00:28 +0100)]
Issue #20006: Fix sporadic failures in test_weakset.
Antoine Pitrou [Tue, 17 Dec 2013 23:29:30 +0000 (00:29 +0100)]
Revert misled test change in
f189da5bda26 .
Serhiy Storchaka [Tue, 17 Dec 2013 19:50:02 +0000 (21:50 +0200)]
Issue #20007: HTTPResponse.read(0) no more prematurely closes connection.
Original patch by Simon Sapin.
Serhiy Storchaka [Tue, 17 Dec 2013 13:11:24 +0000 (15:11 +0200)]
Issue #16404: Add checks for return value of PyLong_FromLong() in
sys.getwindowsversion() and ossaudiodev.setparameters().
Reported by Ned Batchelder.
Serhiy Storchaka [Tue, 17 Dec 2013 12:59:42 +0000 (14:59 +0200)]
Fixed leak in sys.flags initialization.
Victor Stinner [Mon, 16 Dec 2013 21:36:50 +0000 (22:36 +0100)]
Close #19999: tolerate coarse time when testing time.monotonic() on very
busy/slow buildbot
Christian Heimes [Mon, 16 Dec 2013 20:15:44 +0000 (21:15 +0100)]
Issue #19919: Fix flacky SSL test. connect_ex() sometimes returns
EWOULDBLOCK on Windows or VMs hosted on Windows.
Zachary Ware [Mon, 16 Dec 2013 15:02:41 +0000 (09:02 -0600)]
Issue #19987: Re-write test_alias_fallback in test_winsound to have two
acceptable outcomes: success or RuntimeError. Without being able to
actually hear whether a sound was played, either one could be right, but
any other error would be a failure.
Serhiy Storchaka [Mon, 16 Dec 2013 13:16:35 +0000 (15:16 +0200)]
Merge heads
Serhiy Storchaka [Mon, 16 Dec 2013 13:13:28 +0000 (15:13 +0200)]
Issue #19912: Fixed numerous bugs in ntpath.splitunc().
* splitunc() no more return illegal result for paths with redundant slashes.
* splitunc() now correctly processes the 'İ' character
(U+0130, LATIN CAPITAL LETTER I WITH DOT ABOVE).
* Deprecation warnings now emitted for every use of splitunc().
* Added tests for splitunc().
Charles-François Natali [Mon, 16 Dec 2013 12:49:19 +0000 (13:49 +0100)]
Merge.
Serhiy Storchaka [Mon, 16 Dec 2013 12:34:55 +0000 (14:34 +0200)]
Issue #19911: ntpath.splitdrive() now correctly processes the 'İ' character
(U+0130, LATIN CAPITAL LETTER I WITH DOT ABOVE).
Christian Heimes [Mon, 16 Dec 2013 12:27:16 +0000 (13:27 +0100)]
Issue #17919: add missing import of USHRT_MAX
Charles-François Natali [Mon, 16 Dec 2013 11:02:42 +0000 (12:02 +0100)]
Merge.
R David Murray [Mon, 16 Dec 2013 01:49:38 +0000 (20:49 -0500)]
#19532: make compileall with no file/dir args respect -f and -q.
Patch by Vajrasky Kok.
Stefan Krah [Sun, 15 Dec 2013 19:45:08 +0000 (20:45 +0100)]
Issue #19986: Avoid an incorrect warning of older gcc versions.
Charles-François Natali [Sun, 15 Dec 2013 18:12:07 +0000 (19:12 +0100)]
Merge.
Charles-François Natali [Sun, 15 Dec 2013 18:09:00 +0000 (19:09 +0100)]
Issue #19965: Make sure that Python-ast.h is properly taken into account in the
makefile.
Serhiy Storchaka [Sat, 14 Dec 2013 19:07:09 +0000 (21:07 +0200)]
Issue #17576: Removed deprecation warnings added in changeset
618cca51a27e .
Serhiy Storchaka [Sat, 14 Dec 2013 18:35:04 +0000 (20:35 +0200)]
Issue #19623: Fixed writing to unseekable files in the aifc module.
Serhiy Storchaka [Sat, 14 Dec 2013 17:12:02 +0000 (19:12 +0200)]
Issue #17919: Fixed integer overflow in the eventmask parameter.
Stefan Krah [Sat, 14 Dec 2013 11:58:09 +0000 (12:58 +0100)]
Fix C++ header usage. This __STDC_LIMIT_MACROS scheme can still be subverted
by including stdint.h before mpdecimal.h. In that case the only option left
is to compile with -D_STDC_LIMIT_MACROS.
Ezio Melotti [Sat, 14 Dec 2013 10:42:29 +0000 (12:42 +0200)]
#19981: fix typo in email.mailbox docs. Patch by Claudiu Popa.
R David Murray [Sat, 14 Dec 2013 01:52:19 +0000 (20:52 -0500)]
#19970: Fix some comment typos.
Report and patch by Vajrasky Kok.
Brett Cannon [Fri, 13 Dec 2013 18:57:41 +0000 (13:57 -0500)]
Issue #19963: Document that importlib.import_module() will import
parent packages automatically.
R David Murray [Fri, 13 Dec 2013 17:29:29 +0000 (12:29 -0500)]
#18036: update .pyc FAQ entry in light of PEP 3147.
Initial patch by Phil Connell.
Victor Stinner [Fri, 13 Dec 2013 11:14:44 +0000 (12:14 +0100)]
Issue #19969: PyBytes_FromFormatV() now raises an OverflowError if "%c"
argument is not in range [0; 255].
Serhiy Storchaka [Fri, 13 Dec 2013 10:08:01 +0000 (12:08 +0200)]
Issue #17919: select.poll.poll() again works with poll.POLLNVAL on AIX.
Victor Stinner [Fri, 13 Dec 2013 01:30:12 +0000 (02:30 +0100)]
Issue #14432: Fix compilation when thread support is disabled
Victor Stinner [Fri, 13 Dec 2013 01:17:29 +0000 (02:17 +0100)]
Issue #14432: Generator now clears the borrowed reference to the thread state
Fix a crash when a generator is created in a C thread that is destroyed while
the generator is still used. The issue was that a generator contains a frame,
and the frame kept a reference to the Python state of the destroyed C thread.
The crash occurs when a trace function is setup.
Stefan Krah [Thu, 12 Dec 2013 17:51:51 +0000 (18:51 +0100)]
Do not discard const qualifier without a reason.
Zachary Ware [Thu, 12 Dec 2013 16:32:16 +0000 (10:32 -0600)]
Avoid UnicodeEncodeError by only printing ASCII.
This fixes running test_decimal in verbose mode on Windows,
which I broke in issue #19572.
Zachary Ware [Wed, 11 Dec 2013 23:12:34 +0000 (17:12 -0600)]
Filter namespaceobject's files properly in the pythoncore VS project.
Zachary Ware [Wed, 11 Dec 2013 22:59:44 +0000 (16:59 -0600)]
Issue #19828: Fixed test_site when the whole suite is run with -S.
Also, cleaned up an unused import.
R David Murray [Wed, 11 Dec 2013 21:34:34 +0000 (16:34 -0500)]
#19063: partially fix set_payload handling of non-ASCII string input.
This is a backward compatible partial fix, the complete fix requires raising
an error instead of accepting the invalid input, so the real fix is only
suitable for 3.4.
Serhiy Storchaka [Wed, 11 Dec 2013 19:07:54 +0000 (21:07 +0200)]
Issue #17576: Deprecation warning emitted now when __int__() or __index__()
return not int instance. Introduced _PyLong_FromNbInt() and refactored
PyLong_As*() functions.
Gregory P. Smith [Wed, 11 Dec 2013 02:25:21 +0000 (18:25 -0800)]
Fixes Issue #17200: telnetlib's read_until and expect timeout was broken by the
fix to Issue #14635 in Python 3.3.0 to be interpreted as milliseconds instead
of seconds when the platform supports select.poll (ie: everywhere). It is now
treated as seconds once again.
Ned Deily [Wed, 11 Dec 2013 00:24:01 +0000 (16:24 -0800)]
Issue #18270: Prevent possible IDLE AttributeError on OS X when no initial
shell window is present. (Original patch by Terry Reedy)
Zachary Ware [Tue, 10 Dec 2013 20:17:22 +0000 (14:17 -0600)]
Issue #19928: Fix test on Windows
Ezio Melotti [Tue, 10 Dec 2013 12:05:46 +0000 (14:05 +0200)]
#19943: fix typo noticed by Jakub Wilk.
Nick Coghlan [Tue, 10 Dec 2013 11:24:55 +0000 (21:24 +1000)]
Issue #19407: add Python Packaging User Guide notes
The stdlib docs for package distribution and building extensions
are rather dated, and that isn't expected to change for 2.7 and
3.3.
The Python Packaging User Guide isn't complete either, but it's
already a much better road map for new users than the existing
stdlib docs.
Serhiy Storchaka [Tue, 10 Dec 2013 08:20:31 +0000 (10:20 +0200)]
Issue #19928: Implemented a test for repr() of cell objects.
Serhiy Storchaka [Tue, 10 Dec 2013 08:05:19 +0000 (10:05 +0200)]
Issue #19481: print() of string subclass instance in IDLE no more hangs.
Victor Stinner [Tue, 10 Dec 2013 00:19:58 +0000 (01:19 +0100)]
Issue #19932: Fix typo in import.h, missing whitespaces in function prototypes.
Stefan Krah [Sun, 8 Dec 2013 19:54:02 +0000 (20:54 +0100)]
Add libmpdec license.
Stefan Krah [Sun, 8 Dec 2013 19:08:32 +0000 (20:08 +0100)]
Fix two typos.
Stefan Krah [Sun, 8 Dec 2013 19:00:56 +0000 (20:00 +0100)]
Missed one copyright.
Stefan Krah [Sun, 8 Dec 2013 18:54:05 +0000 (19:54 +0100)]
Update copyright. The four year increment is intentional (to save work).
Victor Stinner [Sun, 8 Dec 2013 23:25:57 +0000 (00:25 +0100)]
Issue #17429: Oops, remove unused import
Victor Stinner [Sun, 8 Dec 2013 23:01:27 +0000 (00:01 +0100)]
Issue #17429: platform.linux_distribution() now decodes files from the UTF-8
encoding with the surrogateescape error handler, instead of decoding from the
locale encoding in strict mode. It fixes the function on Fedora 19 which is
probably the first major distribution release with a non-ASCII name. Patch
written by Toshio Kuratomi.
Gregory P. Smith [Sun, 8 Dec 2013 18:56:07 +0000 (10:56 -0800)]
Fixes issue #19929: Call os.read with 32768 within subprocess.Popen
communicate rather than 4096 for efficiency. A microbenchmark shows
Linux and OS X both using ~50% less cpu time this way.
Nadeem Vawda [Sun, 8 Dec 2013 18:47:22 +0000 (19:47 +0100)]
#18430: Document that peek() may change the position of the underlying file for
the BZ2File, GzipFile and LZMAFile classes.
Serhiy Storchaka [Sun, 8 Dec 2013 16:14:49 +0000 (18:14 +0200)]
Issue #19535: Fixed test_docxmlrpc when python is run with -OO.
Gregory P. Smith [Sun, 8 Dec 2013 08:39:07 +0000 (00:39 -0800)]
Remove mentions of Python 2.x and being externally maintained from
the bundled json module. Replace that with a mention of it being
a version of the externally maintained simplejson module.
Zachary Ware [Sun, 8 Dec 2013 07:00:14 +0000 (01:00 -0600)]
Issue #19926: Removed unneeded test_main from test_abstract_numbers.
Patch by Vajrasky Kok.
Zachary Ware [Sun, 8 Dec 2013 06:38:54 +0000 (00:38 -0600)]
Normalize whitespace
Zachary Ware [Sun, 8 Dec 2013 06:20:35 +0000 (00:20 -0600)]
Issue 19572: More silently skipped tests explicitly skipped.
Gregory P. Smith [Sun, 8 Dec 2013 03:12:46 +0000 (19:12 -0800)]
Fixes issue #19506: Use a memoryview to avoid a data copy when piping data
to stdin within subprocess.Popen.communicate. 5-10% less cpu usage.
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.
Benjamin Peterson [Sat, 7 Dec 2013 01:12:39 +0000 (20:12 -0500)]
document that compile() can take bytes (closes #19910)
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
Vinay Sajip [Fri, 6 Dec 2013 11:22:24 +0000 (11:22 +0000)]
Added minor clarification in logging HOWTO.
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.
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.
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.
Antoine Pitrou [Wed, 4 Dec 2013 20:11:03 +0000 (21:11 +0100)]
Tweak the socket module doc layout
Antoine Pitrou [Wed, 4 Dec 2013 20:02:42 +0000 (21:02 +0100)]
Issue #19882: tweak docs for socket.close()
Christian Heimes [Wed, 4 Dec 2013 07:50:22 +0000 (08:50 +0100)]
ncurses' winch and mvwinch return an unsigned long
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 )
Stefan Krah [Tue, 3 Dec 2013 13:33:46 +0000 (14:33 +0100)]
Make a couple of parameters constant.
Vinay Sajip [Tue, 3 Dec 2013 11:28:55 +0000 (11:28 +0000)]
Issue #19665: Increased timeout for SMTPHandler test.
Walter Doerwald [Mon, 2 Dec 2013 16:19:00 +0000 (17:19 +0100)]
Add NEWS entry for issue #19834.
Eli Bendersky [Mon, 2 Dec 2013 13:49:54 +0000 (05:49 -0800)]
Issue #19814: Clarify argparse's docs w.r.t prefix matching
Victor Stinner [Mon, 2 Dec 2013 11:16:46 +0000 (12:16 +0100)]
Issue #19728: Fix sys.getfilesystemencoding() documentation
Walter Doerwald [Mon, 2 Dec 2013 10:41:01 +0000 (11:41 +0100)]
Fix issue #19834: Support unpickling of exceptions pickled by Python 2.
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.
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.
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).
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.
Alexandre Vassalotti [Sun, 1 Dec 2013 01:55:48 +0000 (17:55 -0800)]
Issue #6477: Keep PyNotImplemented_Type and PyNone_Type private.
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.
Zachary Ware [Sat, 30 Nov 2013 22:59:33 +0000 (16:59 -0600)]
Issue #19845: Updated the Compiling Python on Windows docs.