]>
granicus.if.org Git - python/log
Georg Brandl [Sun, 12 Oct 2014 14:13:32 +0000 (16:13 +0200)]
Closes #22586: clarify meaning of allow_fragments in urlparse.
Terry Jan Reedy [Sun, 12 Oct 2014 05:10:58 +0000 (01:10 -0400)]
Issue #14105: Change comment to reflect fix. Patch by Saimadhav Heblikar.
Antoine Pitrou [Fri, 10 Oct 2014 21:49:32 +0000 (23:49 +0200)]
Issue #22604: Fix assertion error in debug mode when dividing a complex number by (nan+0j).
Zachary Ware [Fri, 10 Oct 2014 21:03:14 +0000 (16:03 -0500)]
Issue #15414: Clean and correct the os.path.join docs.
In particular, correctly describe the behavior of ntpath.join.
Based on a patch by Dave Sawyer.
Petri Lehtinen [Fri, 10 Oct 2014 18:11:34 +0000 (21:11 +0300)]
Issue #11694: Raise ConversionError in xdrlib as documented
Terry Jan Reedy [Fri, 10 Oct 2014 17:02:55 +0000 (13:02 -0400)]
Issue #22575: Revise bytearray entry for 2.7.
R David Murray [Fri, 10 Oct 2014 03:13:42 +0000 (23:13 -0400)]
#0712: 2to3 has a new "asserts" fixer that replaces deprecated names of unittest methods.
Patch by Ezio Melotti, docs by Berker Peksag.
Terry Jan Reedy [Thu, 9 Oct 2014 22:44:26 +0000 (18:44 -0400)]
De-'colour'ize stdlib except for idlelib.configDialog.
Tweak docstrigs and comments in affected functions in idlelib.configHandler.
Victor Stinner [Thu, 9 Oct 2014 09:14:04 +0000 (11:14 +0200)]
Closes #22580: Fix documentation of PyUnicode_Tailmatch()
The result type is Py_ssize_t (and not int).
Terry Jan Reedy [Thu, 9 Oct 2014 00:29:05 +0000 (20:29 -0400)]
Issue 3068: Move idlelib.configDialog action button creation into a separate
method so it can be reused by the new extension dialog.
Terry Jan Reedy [Tue, 7 Oct 2014 03:26:17 +0000 (23:26 -0400)]
idlelib.configHandler: revise docstrings, add spaces, use False/True, add some
TODOs (mostly to do after add tests), and make a few other changes.
Benjamin Peterson [Tue, 7 Oct 2014 01:10:25 +0000 (21:10 -0400)]
use source role instead of linking to svn
Benjamin Peterson [Mon, 6 Oct 2014 18:38:20 +0000 (14:38 -0400)]
make _socket.socket weakrefable (closes #22569)
Patch from Alex Gaynor.
Georg Brandl [Mon, 6 Oct 2014 16:01:02 +0000 (18:01 +0200)]
Closes #19071: "self" argument is not the module for module functions in 2.x.
Georg Brandl [Mon, 6 Oct 2014 15:51:46 +0000 (17:51 +0200)]
Closes #16155: fix a few errors in doctest output of the FAQ pages.
Georg Brandl [Mon, 6 Oct 2014 15:46:43 +0000 (17:46 +0200)]
Closes #17057: fix grammar in old-style vs new-style class docs.
Florent Xicluna [Sat, 18 Sep 2010 23:34:07 +0000 (23:34 +0000)]
Issue #1686: Fix string.Template when overriding the pattern attribute.
Georg Brandl [Mon, 6 Oct 2014 14:36:20 +0000 (16:36 +0200)]
Closes #14303: socket.makefile() does not call dup() anymore on the socket fd.
Georg Brandl [Mon, 6 Oct 2014 14:21:08 +0000 (16:21 +0200)]
Closes #10031: overhaul the "imports" section of the programming FAQ.
Remove the advice to never use relative imports.
Remove the advice to locally import modules in __init__, it is a strange practice.
Remove the advice to use "from ... import *" with some modules.
Georg Brandl [Mon, 6 Oct 2014 12:15:06 +0000 (14:15 +0200)]
Closes #22507: document that PyType_IsSubtype does not call __subclasscheck__.
Georg Brandl [Mon, 6 Oct 2014 11:54:36 +0000 (13:54 +0200)]
Document builtin classes as such, not functions.
Terry Jan Reedy [Mon, 6 Oct 2014 05:32:21 +0000 (01:32 -0400)]
Update 2.7 idlelib.configHandler and reduce differences from 3.4 code.
Terry Jan Reedy [Mon, 6 Oct 2014 04:13:51 +0000 (00:13 -0400)]
Issue #3832: backport
677a9326b4d4 to 2.7 (and delete some obsolete code).
R David Murray [Sat, 4 Oct 2014 22:24:32 +0000 (18:24 -0400)]
#14201: Update ctypes docs to match behavior changed from
214b28d7a999 .
Original patch by Erik Johansson, slightly updated by Meador Inge.
R David Murray [Sat, 4 Oct 2014 21:40:43 +0000 (17:40 -0400)]
#11866: Eliminate race condition in the computation of names for new threads.
Original patch by Peter Saveliev.
Serhiy Storchaka [Sat, 4 Oct 2014 12:04:41 +0000 (15:04 +0300)]
Fixed issue number for issue #22470 in Misc/NEWS.
Serhiy Storchaka [Sat, 4 Oct 2014 11:51:44 +0000 (14:51 +0300)]
Fixed compilation error introduced in
3f7519f633ed (issue #22518).
Serhiy Storchaka [Sat, 4 Oct 2014 11:14:41 +0000 (14:14 +0300)]
Issue #22518: Fixed integer overflow issues in "backslashreplace" and
"xmlcharrefreplace" error handlers.
Serhiy Storchaka [Sat, 4 Oct 2014 10:39:18 +0000 (13:39 +0300)]
Issue #22219: The zipfile module CLI now adds entries for directories
(including empty directories) in ZIP file.
R David Murray [Sat, 4 Oct 2014 00:30:42 +0000 (20:30 -0400)]
#14056: Small improvements to the tarfile documentation.
Patch by Éric Araujo with help from Lars Gustäbel.
Benjamin Peterson [Fri, 3 Oct 2014 22:17:15 +0000 (18:17 -0400)]
separate cert loading tests into Windows and non-Windows cases
Benjamin Peterson [Fri, 3 Oct 2014 21:27:05 +0000 (17:27 -0400)]
also use openssl envvars to find certs on windows (closes #22449)
Patch by Christian Heimes and Alex Gaynor.
doko@ubuntu.com [Fri, 3 Oct 2014 17:07:47 +0000 (19:07 +0200)]
- Add CVE number for Issue #21831
Zachary Ware [Fri, 3 Oct 2014 15:55:12 +0000 (10:55 -0500)]
Fix a few typo/grammar issues in the multiprocessing docs.
Reported by Scott Hinton on docs@.
R David Murray [Fri, 3 Oct 2014 01:53:50 +0000 (21:53 -0400)]
#8473: make doctest.testfile use universal newline mode.
Georg Brandl [Thu, 2 Oct 2014 10:35:08 +0000 (12:35 +0200)]
Closes #19434: fix copy-paste error in MIMENonMultipart docstring.
Serhiy Storchaka [Thu, 2 Oct 2014 08:36:01 +0000 (11:36 +0300)]
Issue #20079: Fixed tests.
Serhiy Storchaka [Thu, 2 Oct 2014 07:49:04 +0000 (10:49 +0300)]
Issue #20079: Updated alias mapping to glibc 2.19 SUPPORTED file.
Serhiy Storchaka [Thu, 2 Oct 2014 07:19:09 +0000 (10:19 +0300)]
Issue #20076: Remove just added the sr_rs.utf8@latn alias because it is
derived from sr_rs@latin.
Georg Brandl [Thu, 2 Oct 2014 06:39:42 +0000 (08:39 +0200)]
merge heads
Georg Brandl [Thu, 2 Oct 2014 06:38:39 +0000 (08:38 +0200)]
closes #22528: add source links to symtable and compileall
Georg Brandl [Thu, 2 Oct 2014 06:34:41 +0000 (08:34 +0200)]
Closes #19342: improve docstrings in grp module.
Georg Brandl [Thu, 2 Oct 2014 06:26:26 +0000 (08:26 +0200)]
Closes #22537: Make sphinx extensions compatible with Python 2 or 3, like in the 3.x branches
Benjamin Peterson [Thu, 2 Oct 2014 03:53:01 +0000 (23:53 -0400)]
fix sslwrap_simple (closes #22523)
Thanks Alex Gaynor.
doko@ubuntu.com [Thu, 2 Oct 2014 00:10:06 +0000 (02:10 +0200)]
- Issue #17219: Add library build dir for Python extension cross-builds.
doko@ubuntu.com [Wed, 1 Oct 2014 23:58:58 +0000 (01:58 +0200)]
- Issue #18096: Fix library order returned by python-config.
Serhiy Storchaka [Wed, 1 Oct 2014 21:09:17 +0000 (00:09 +0300)]
Issue #20076: Added non derived UTF-8 aliases to locale aliases table.
Serhiy Storchaka [Wed, 1 Oct 2014 20:44:20 +0000 (23:44 +0300)]
Issue #20079: Added locales supported in glibc 2.18 to locale alias table.
Benjamin Peterson [Wed, 1 Oct 2014 02:04:28 +0000 (22:04 -0400)]
allow longs as indexes to group() (closes #22530)
Benjamin Peterson [Wed, 1 Oct 2014 01:28:27 +0000 (21:28 -0400)]
this test will only work on 64-bit machines
Benjamin Peterson [Wed, 1 Oct 2014 01:17:15 +0000 (21:17 -0400)]
use Py_ssize_t for file offset and length computations in iteration (closes #22526)
R David Murray [Wed, 1 Oct 2014 00:57:24 +0000 (20:57 -0400)]
#22512: move distutils rpm test's .rpmdb to testing tmpdir.
Patch by Francis MB.
Terry Jan Reedy [Tue, 30 Sep 2014 23:07:45 +0000 (19:07 -0400)]
Issue 22465: grammar, number agreement.
Georg Brandl [Tue, 30 Sep 2014 21:02:52 +0000 (23:02 +0200)]
Remove duplicate PyLong function descriptions.
Georg Brandl [Tue, 30 Sep 2014 20:51:30 +0000 (22:51 +0200)]
Move Doc/tools/sphinxext content to Doc/tools, there is no need for the nested subdirectory anymore.
Georg Brandl [Tue, 30 Sep 2014 20:23:57 +0000 (22:23 +0200)]
Dont define an empty SPHINXOPTS, which overrides a definition from the environment.
Georg Brandl [Tue, 30 Sep 2014 20:17:41 +0000 (22:17 +0200)]
Prepare sphinx extensions for 1.3.
Benjamin Peterson [Tue, 30 Sep 2014 20:02:06 +0000 (16:02 -0400)]
add link to pdb source (closes #22528)
Benjamin Peterson [Tue, 30 Sep 2014 02:46:57 +0000 (22:46 -0400)]
clear BufferedRWPair weakrefs on deallocation (closes #22517)
Benjamin Peterson [Mon, 29 Sep 2014 23:01:18 +0000 (19:01 -0400)]
fix overflow checking in PyString_Repr (closes #22519)
Benjamin Peterson [Mon, 29 Sep 2014 22:55:02 +0000 (18:55 -0400)]
merge heads
Benjamin Peterson [Mon, 29 Sep 2014 22:41:48 +0000 (18:41 -0400)]
add NEWS note for #22518
Benjamin Peterson [Mon, 29 Sep 2014 22:18:57 +0000 (18:18 -0400)]
cleanup overflowing handling in unicode_decode_call_errorhandler and unicode_encode_ucs1 (closes #22518)
R David Murray [Mon, 29 Sep 2014 14:23:43 +0000 (10:23 -0400)]
#20135: FAQ entry for list mutation.
This is a perennial question and something someone opens a ticket for probably
every other month or so, so I'm surprised we didn't already have a FAQ entry
for it.
The original patch was written by M. Votz, refined first by Ezio Melotti and
further refined by me.
Benjamin Peterson [Sun, 28 Sep 2014 16:48:46 +0000 (12:48 -0400)]
give exception a nice message (closes #22379)
Patch by Yongzhi Pan.
R David Murray [Sat, 27 Sep 2014 20:59:04 +0000 (16:59 -0400)]
#10510: make distuitls upload/register use HTML standards compliant CRLF.
Patch by Ian Cordasco, approved by Éric Araujo.
Berker Peksag [Sat, 27 Sep 2014 19:55:10 +0000 (22:55 +0300)]
Issue #16537: Check whether self.extensions is empty in setup.py.
Patch by Jonathan Hosmer.
Serhiy Storchaka [Sat, 27 Sep 2014 15:53:01 +0000 (18:53 +0300)]
Issue #9850: Fixed macpath.join() for empty first component. Patch by
Oleg Oshmyan.
Yury Selivanov [Fri, 26 Sep 2014 21:07:39 +0000 (17:07 -0400)]
tempfile: Fix docstring. Issue #21397, patch by R. David Murray.
Berker Peksag [Fri, 26 Sep 2014 12:39:05 +0000 (15:39 +0300)]
Issue #17462: Add a paragraph about advantages of argparse over optparse.
Patch by Anastasia Filatova.
Benjamin Peterson [Thu, 25 Sep 2014 00:22:24 +0000 (20:22 -0400)]
allow archives for rc releases to be built (closes #22484)
Berker Peksag [Wed, 24 Sep 2014 09:54:25 +0000 (12:54 +0300)]
Issue #21860: Correct docstrings of FileIO.seek() and FileIO.truncate() methods.
Patch by Terry Chia.
Ned Deily [Tue, 23 Sep 2014 19:48:16 +0000 (12:48 -0700)]
Issue #22471: Avoid Python Launcher.app install problems by removing
vestigial Makefile step.
Serhiy Storchaka [Tue, 23 Sep 2014 19:39:59 +0000 (22:39 +0300)]
Issue #20912: Now directories added to ZIP file have correct Unix and MS-DOS
directory attributes.
Serhiy Storchaka [Tue, 23 Sep 2014 19:26:45 +0000 (22:26 +0300)]
Fixed test_large_file_exception. Ported tests for large count of files
to TestZip64InSmallFiles.
Serhiy Storchaka [Tue, 23 Sep 2014 18:33:52 +0000 (21:33 +0300)]
Issue #21866: ZipFile.close() no longer writes ZIP64 central directory
records if allowZip64 is false.
Serhiy Storchaka [Tue, 23 Sep 2014 16:58:57 +0000 (19:58 +0300)]
Fixed reference leak in the "backslashreplace" error handler.
Ned Deily [Mon, 22 Sep 2014 22:39:43 +0000 (15:39 -0700)]
Fix formatting typo in Misc/NEWS.
Serhiy Storchaka [Sun, 21 Sep 2014 19:57:45 +0000 (22:57 +0300)]
Fixed issue #22415 number in Misc/NEWS for changeset
c925b436467a .
Serhiy Storchaka [Sun, 21 Sep 2014 19:47:30 +0000 (22:47 +0300)]
Issue #22423: Fixed debugging output of the GROUPREF_EXISTS opcode in the re
module.
Serhiy Storchaka [Sun, 21 Sep 2014 19:08:00 +0000 (22:08 +0300)]
Issue #22423: Unhandled exception in thread no longer causes unhandled
AttributeError when sys.stderr is None.
Georg Brandl [Sat, 20 Sep 2014 22:42:40 +0000 (00:42 +0200)]
Doc: fix usage of deprecated config value "unused_docs", and a duplicate object name.
Georg Brandl [Sat, 20 Sep 2014 22:35:08 +0000 (00:35 +0200)]
Doc: remove invalid uses of ":option:" which will emit warnings in Sphinx 1.3.
Terry Jan Reedy [Sat, 20 Sep 2014 02:54:09 +0000 (22:54 -0400)]
Update Idle's online doc url.
Terry Jan Reedy [Sat, 20 Sep 2014 02:37:24 +0000 (22:37 -0400)]
Issue #22420: Avoid 'write to None' crashes by using print instead.
For 2,.7, add print_function __future__ import and convert print statements
to print functions. Based on 3.x patch by Serhiy Storchaka.
Benjamin Peterson [Fri, 19 Sep 2014 21:29:08 +0000 (17:29 -0400)]
remove extra letter
Benjamin Peterson [Fri, 19 Sep 2014 21:27:03 +0000 (17:27 -0400)]
standardize pep 466 relnote style
Benjamin Peterson [Fri, 19 Sep 2014 21:23:21 +0000 (17:23 -0400)]
whatsnew for pep 466 ssl backport
Vinay Sajip [Thu, 18 Sep 2014 16:46:58 +0000 (17:46 +0100)]
Issue #22436: Improved documentation for getEffectiveLevel() and getLevelName().
Senthil Kumaran [Thu, 18 Sep 2014 13:29:21 +0000 (21:29 +0800)]
Issue #16827: Make Interpreter introduction section of the tutorial more
focussed and move advanced section and customization information to a separate
file called appendix.
Patch credits: Jamayla Wiley, Ya-Ting Huang and James Brewer.
Senthil Kumaran [Wed, 17 Sep 2014 08:27:06 +0000 (16:27 +0800)]
Issue #22419: Limit the length of incoming HTTP request in wsgiref server to 65536 bytes.
Guido van Rossum [Tue, 16 Sep 2014 22:45:36 +0000 (15:45 -0700)]
Lax cookie parsing in http.cookies could be a security issue when
combined with non-standard cookie handling in some Web browsers.
Reported by Sergey Bobrov.
Serhiy Storchaka [Mon, 15 Sep 2014 08:35:06 +0000 (11:35 +0300)]
Test re pickling for all protocols.
Serhiy Storchaka [Sun, 14 Sep 2014 18:17:16 +0000 (21:17 +0300)]
Issue #22384: An exception in Tkinter callback no longer crashes the program
when it is run with pythonw.exe.
Documented that Tk.report_callback_exception() is purposed to be overriden in
applications.
Serhiy Storchaka [Sun, 14 Sep 2014 14:40:44 +0000 (17:40 +0300)]
Now re tests work again on Unicode-disabled build.
Simplified existing detections of Unicode-disabled build.
Serhiy Storchaka [Sun, 14 Sep 2014 13:19:37 +0000 (16:19 +0300)]
Use more appropriate asserts in re tests.
Benjamin Peterson [Sat, 13 Sep 2014 05:44:34 +0000 (01:44 -0400)]
make hg link secure
Steve Dower [Fri, 12 Sep 2014 18:48:13 +0000 (11:48 -0700)]
#22398 Tools/msi enhancements for 2.7
Fix build_tkinter.py.
Update msi.py to use environment vars and correct tcl/tk paths.
Update msilib.py to generate short names for files with multiple dots in the name.
Victor Stinner [Thu, 11 Sep 2014 15:52:58 +0000 (17:52 +0200)]
test_distutils: remove the test file in DistributionTestCase.test_debug_mode()
Fix the warning: "test_support.TESTFN was modified by test_distutils".
Serhiy Storchaka [Thu, 11 Sep 2014 10:27:19 +0000 (13:27 +0300)]
Issue #21147: sqlite3 now raises an exception if the request contains a null
character instead of truncate it. Based on patch by Victor Stinner.