]>
granicus.if.org Git - python/log
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.
Serhiy Storchaka [Thu, 11 Sep 2014 07:56:59 +0000 (10:56 +0300)]
Issue #21951: Fixed a crash in Tkinter on AIX when called Tcl command with
empty string or tuple argument.
On some platforms Tcl memory allocator returns NULL when allocating zero-sized
block of memory.
Serhiy Storchaka [Thu, 11 Sep 2014 07:38:08 +0000 (10:38 +0300)]
Issue #21951: Use attemptckalloc() instead of ckalloc() in Tkinter.
ckalloc() causes the Tcl interpreter to panic, attemptckalloc() returns NULL
if the memory allocation fails.
doko@ubuntu.com [Thu, 11 Sep 2014 07:08:52 +0000 (09:08 +0200)]
- Issue #22381: Update zlib to 1.2.8.
Update zlib file names for the PC installers
doko@ubuntu.com [Thu, 11 Sep 2014 06:32:46 +0000 (08:32 +0200)]
- Issue #22381: Update zlib to 1.2.8.
Benjamin Peterson [Wed, 10 Sep 2014 21:13:06 +0000 (17:13 -0400)]
y2k compliance, lol (closes #22380)
Serhiy Storchaka [Wed, 10 Sep 2014 20:46:14 +0000 (23:46 +0300)]
Issue #22369: Change "context manager protocol" to "context management protocol".
Serhiy Storchaka [Sat, 6 Sep 2014 19:47:02 +0000 (22:47 +0300)]
Issue #22226: Added private function _splitdict() in the Tkinter module.
First letter no longer is stripped from the "status" key in
the result of Treeview.heading().
Serhiy Storchaka [Sat, 6 Sep 2014 19:17:06 +0000 (22:17 +0300)]
Issue #22131: Fixed a bug in handling an error occured during reading from
a pipe in _ipconfig_getnode().
Ned Deily [Fri, 5 Sep 2014 22:52:45 +0000 (15:52 -0700)]
Document 2.7.9 changes in OS X installer build requirements:
because the Doc Makefile has been changed to no longer download sphinx
and its dependencies, build-installer.py now requires that there be an
externally-supplied sphinx-build available.
Ned Deily [Fri, 5 Sep 2014 22:51:54 +0000 (15:51 -0700)]
Update OS X installer build script for changes to documentation build:
as of 2.7.9, doc builds require an externally installed sphinx-build
like 3.4+ builds do.
Serhiy Storchaka [Fri, 5 Sep 2014 20:34:12 +0000 (23:34 +0300)]
Issue #20643: Fixed references to the next() method (distinguish from the
next() function).
Victor Stinner [Fri, 5 Sep 2014 19:41:25 +0000 (21:41 +0200)]
Issue #22340: Fix test_collections if the sets module was already imported
Victor Stinner [Fri, 5 Sep 2014 19:05:05 +0000 (21:05 +0200)]
Issue #22340: Fix Python 3 warnings in Python 2 tests
Benjamin Peterson [Fri, 5 Sep 2014 14:03:26 +0000 (10:03 -0400)]
backport our own copy of the ref-counting extension
Victor Stinner [Fri, 5 Sep 2014 10:12:11 +0000 (12:12 +0200)]
regrtest: backport "[ 1/399]" progress back from Python 3
The progress bar helps a lot to analyze noisy buildbot logs, to find quickly
where errors occurred.
Serhiy Storchaka [Fri, 5 Sep 2014 07:22:05 +0000 (10:22 +0300)]
Issue #22221: Backported fixes from Python 3 (issue #18960).
* Now the source encoding declaration on the second line isn't effective if
the first line contains anything except a comment. This affects compile(),
eval() and exec() too.
* IDLE now ignores the source encoding declaration on the second line if the
first line contains anything except a comment.
* 2to3 and the findnocoding.py script now ignore the source encoding
declaration on the second line if the first line contains anything except
a comment.
Benjamin Peterson [Fri, 5 Sep 2014 03:07:03 +0000 (23:07 -0400)]
remove automatic svn checkout of sphinx and its deps from Doc/Makefile
Users are now required to install Sphinx themselves as is already the case with
the Python 3 branch.
Benjamin Peterson [Fri, 5 Sep 2014 02:40:34 +0000 (22:40 -0400)]
fix malformed use cmdoption directive
Alex Gaynor [Thu, 4 Sep 2014 20:37:07 +0000 (13:37 -0700)]
Fixed the versionadded in the docs for the backport in
16c86a6bdbe2
Alex Gaynor [Thu, 4 Sep 2014 20:33:22 +0000 (13:33 -0700)]
Issue #20421: Add a .version() method to SSL sockets exposing the actual protocol version in use.
Backport from default.
Benjamin Peterson [Thu, 4 Sep 2014 15:50:14 +0000 (11:50 -0400)]
the correct role is :meth: not :method:
Benjamin Peterson [Tue, 2 Sep 2014 03:00:11 +0000 (23:00 -0400)]
remove script that now lives at https://github.com/python/docsbuild-scripts
Terry Jan Reedy [Wed, 3 Sep 2014 23:52:39 +0000 (19:52 -0400)]
NEWS items for Idle.
Terry Jan Reedy [Wed, 3 Sep 2014 23:39:18 +0000 (19:39 -0400)]
NEWS items for turtledemo.
Terry Jan Reedy [Wed, 3 Sep 2014 23:29:11 +0000 (19:29 -0400)]
Issue #22051: remove unneeded reload that allowed bad code.
Ned Deily [Mon, 1 Sep 2014 06:57:13 +0000 (23:57 -0700)]
Issue #22320: Fix broken link in the General Python FAQ.
Original patch by Josh Lynn.
Benjamin Peterson [Sun, 31 Aug 2014 13:34:09 +0000 (09:34 -0400)]
don't index outside of the path (closes #22312)
Benjamin Peterson [Sun, 31 Aug 2014 01:04:15 +0000 (21:04 -0400)]
getuid() returns real process id not effective (closes #22307)
R David Murray [Sat, 30 Aug 2014 20:56:49 +0000 (16:56 -0400)]
#22215: have the smtplib 'quit' command reset the state.
Without this reset, starttls would fail if a connect/starttls was done after a
quit, because smtplib assumed the existing value of emspt_features was
accurate, but it gets reset when starttls completes (and the new value does
not contain the starttls capability, since tls is already started at that
point). (There may be additional places where this lack of reset was an
issue as well.)
Patch by Milan Oberkirch.
Benjamin Peterson [Thu, 28 Aug 2014 16:30:00 +0000 (12:30 -0400)]
PEP 466: backport persistent urandom fd (closes #21305)
Patch from Alex Gaynor.
Benjamin Peterson [Thu, 28 Aug 2014 13:41:29 +0000 (09:41 -0400)]
PEP 466: backport hashlib algorithm constants (closes #21307)
Benjamin Peterson [Thu, 28 Aug 2014 13:33:21 +0000 (09:33 -0400)]
fix load_verify_locations on unicode paths (closes #22244)
Benjamin Peterson [Thu, 28 Aug 2014 04:05:52 +0000 (00:05 -0400)]
correct call grammar error (#3473)
Benjamin Peterson [Thu, 28 Aug 2014 00:31:21 +0000 (20:31 -0400)]
properly handle file closing in error cases (closes #22266)
Stefan Krah [Tue, 26 Aug 2014 18:49:57 +0000 (20:49 +0200)]
Issue 22090: Fix '%' formatting for infinities and NaNs.
Benjamin Peterson [Sun, 24 Aug 2014 23:07:28 +0000 (18:07 -0500)]
allow test to work on implementations not using ref-counting (closes #22265)
Benjamin Peterson [Sun, 24 Aug 2014 23:02:15 +0000 (18:02 -0500)]
fix some test_weakref tests to not rely on ref-counting (closes #22267)
Benjamin Peterson [Sun, 24 Aug 2014 15:37:12 +0000 (10:37 -0500)]
don't segfault when trying to fdopen() a fd for a dir (closes #22259)
Patch from Brian Kearns.
Serhiy Storchaka [Sun, 24 Aug 2014 06:07:09 +0000 (09:07 +0300)]
Issue #22236: Tkinter tests now don't reuse default root window. New root
window is created for every test class.
Fixed Tkinter images copying operations in NoDefaultRoot mode.
Tcl command names generated for "after" callbacks now contains a name of
original function.
Ned Deily [Sun, 24 Aug 2014 01:09:25 +0000 (18:09 -0700)]
Issue #21166: fix typo in comment
Terry Jan Reedy [Sat, 23 Aug 2014 23:29:40 +0000 (19:29 -0400)]
Issue #22243: fix except grammar in reference.
Terry Jan Reedy [Sat, 23 Aug 2014 22:20:00 +0000 (18:20 -0400)]
Merge heads.
Nick Coghlan [Sat, 23 Aug 2014 04:45:44 +0000 (14:45 +1000)]
Update PEP 466 What's New in 2.7 section
Ned Deily [Fri, 22 Aug 2014 20:53:30 +0000 (13:53 -0700)]
Issue #22199: update Misc/NEWS
Ned Deily [Fri, 22 Aug 2014 20:48:06 +0000 (13:48 -0700)]
Issue #22199: Make get_makefile_filename() available in Lib/sysconfig.py
for 2.7 to match other versions of sysconfig.
Ned Deily [Fri, 22 Aug 2014 20:30:59 +0000 (13:30 -0700)]
Issue #21166: Prevent possible segfaults and other random failures of
python --generate-posix-vars in pybuilddir.txt build target by ensuring
that pybuilddir.txt is always regenerated when configure is run and
that the newly built skeleton python does not inadvertently import
modules from previously installed instances.
Brett Cannon [Fri, 22 Aug 2014 14:50:47 +0000 (10:50 -0400)]
Issue #22191: Fix warnings.__all__.
Thanks to Jon Poler for the patch.
Serhiy Storchaka [Thu, 21 Aug 2014 07:00:41 +0000 (10:00 +0300)]
Import Tkinter as tkinter to help merging and avoid backporting errors.
Ned Deily [Thu, 21 Aug 2014 05:59:21 +0000 (22:59 -0700)]
Issue #
1730136 : Fix backported exception name.
Benjamin Peterson [Thu, 21 Aug 2014 02:37:01 +0000 (21:37 -0500)]
fix error message for invalid curve name
Benjamin Peterson [Wed, 20 Aug 2014 22:30:40 +0000 (17:30 -0500)]
Backed out changeset
7c19f1f792c6
Benjamin Peterson [Wed, 20 Aug 2014 21:03:43 +0000 (16:03 -0500)]
don't call rl_initialize when stdout is not a tty
Benjamin Peterson [Wed, 20 Aug 2014 19:51:11 +0000 (14:51 -0500)]
expect socket.error instead of the py3ism OSError
Benjamin Peterson [Wed, 20 Aug 2014 19:49:08 +0000 (14:49 -0500)]
allow any socket error for rude shutdown test
Benjamin Peterson [Wed, 20 Aug 2014 19:34:26 +0000 (14:34 -0500)]
link _ssl to crypt32.lib on windoze
Benjamin Peterson [Wed, 20 Aug 2014 19:25:32 +0000 (14:25 -0500)]
PyUnicode -> PyString and PyLong -> PyInt
Benjamin Peterson [Wed, 20 Aug 2014 19:14:50 +0000 (14:14 -0500)]
backport many ssl features from Python 3 (closes #21308)
A contribution of Alex Gaynor and David Reid with the generous support of
Rackspace. May God have mercy on their souls.
Senthil Kumaran [Wed, 20 Aug 2014 02:22:59 +0000 (07:52 +0530)]
Fix Issue #8797: Raise HTTPError on failed Basic Authentication immediately. Initial patch by Sam Bull.
Terry Jan Reedy [Tue, 19 Aug 2014 23:47:33 +0000 (19:47 -0400)]
Idle ColorDelegator: finish removing code for 'as'.
Terry Jan Reedy [Tue, 19 Aug 2014 21:17:51 +0000 (17:17 -0400)]
Idle ColorDelegator: remove special case code for 'as' in import statements.
'As' became a full keyword when with statements were added in 2.5/2.6.
Serhiy Storchaka [Tue, 19 Aug 2014 15:20:07 +0000 (18:20 +0300)]
Fixed typo.
Serhiy Storchaka [Tue, 19 Aug 2014 14:03:42 +0000 (17:03 +0300)]
Issue #15696: Add a __sizeof__ implementation for mmap objects on Windows.
Serhiy Storchaka [Mon, 18 Aug 2014 14:46:34 +0000 (17:46 +0300)]
Clean up test_user_command.