]>
granicus.if.org Git - python/log
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.
Serhiy Storchaka [Sun, 17 Aug 2014 12:31:41 +0000 (15:31 +0300)]
Issue #22068: Avoided reference loops with Variables and Fonts in Tkinter.
Serhiy Storchaka [Sun, 17 Aug 2014 12:11:06 +0000 (15:11 +0300)]
Issue #22201: Command-line interface of the zipfile module now correctly
extracts ZIP files with directory entries. Patch by Ryan Wilson.
Serhiy Storchaka [Sun, 17 Aug 2014 10:29:13 +0000 (13:29 +0300)]
Removed useless Py_LIMITED_API checks.
Support for Py_LIMITED_API was introduced in Python 3.2.
Thanks Arfrever Frehtes Taifersar Arahesis.
Senthil Kumaran [Sat, 16 Aug 2014 17:21:33 +0000 (22:51 +0530)]
backout changeset
e0510a3bdf8f - due to buildbot failures. Ref: Issue #8797
Victor Stinner [Sat, 16 Aug 2014 12:31:02 +0000 (14:31 +0200)]
Closes #22188: test_gdb now runs gdb with -nx: "Do not execute commands from
any .gdbinit initialization files".
Senthil Kumaran [Sat, 16 Aug 2014 08:46:14 +0000 (14:16 +0530)]
Fix Issue #8797: Raise HTTPError on failed Basic Authentication immediately. Initial patch by Sam Bull.
Terry Jan Reedy [Fri, 15 Aug 2014 01:54:38 +0000 (21:54 -0400)]
Issue #17390: Adjust Editor window title. Remove 'Python', move version to end.
Serhiy Storchaka [Thu, 14 Aug 2014 19:20:23 +0000 (22:20 +0300)]
Issue #22193: Added private function _PySys_GetSizeOf() needed to implement
some __sizeof__() methods.
Serhiy Storchaka [Tue, 12 Aug 2014 17:22:27 +0000 (20:22 +0300)]
Decreased memory requirements of new tests added in issue21448.
Serhiy Storchaka [Tue, 12 Aug 2014 10:58:23 +0000 (13:58 +0300)]
Issue #21448: Fixed FeedParser feed() to avoid O(N**2) behavior when parsing long line.
Original patch by Raymond Hettinger.
Serhiy Storchaka [Tue, 12 Aug 2014 09:54:55 +0000 (12:54 +0300)]
Issue #17923: glob() patterns ending with a slash no longer match non-dirs on
AIX. Based on patch by Delhallt.
Zachary Ware [Mon, 11 Aug 2014 19:58:37 +0000 (14:58 -0500)]
Issue #22178: Fix the date of the Windows epoch (Jan 1, 1601).
Raymond Hettinger [Sun, 10 Aug 2014 17:44:21 +0000 (10:44 -0700)]
Issue #22174: Clean-up grammar and ambiguities in property() docs.
doko@ubuntu.com [Sun, 10 Aug 2014 09:15:28 +0000 (11:15 +0200)]
- Issue #22176: Update the ctypes module's libffi to v3.1. This release
adds support for the Linux AArch64 and POWERPC ELF ABIv2 little endian
architectures.
Benjamin Peterson [Sun, 10 Aug 2014 02:39:55 +0000 (19:39 -0700)]
remove casts
Benjamin Peterson [Sun, 10 Aug 2014 02:39:50 +0000 (19:39 -0700)]
test for 2 arg exec case
Benjamin Peterson [Sun, 10 Aug 2014 02:39:36 +0000 (19:39 -0700)]
restore runtime exec test (#21591)
Terry Jan Reedy [Sat, 9 Aug 2014 03:33:11 +0000 (23:33 -0400)]
Issue #14105: Stop removing breakpoints from Idle editors.
Move BREAK tag configuration to PyShellEditorWindow.
Zachary Ware [Thu, 7 Aug 2014 04:17:20 +0000 (23:17 -0500)]
Issue #22160: Update OpenSSL to 1.0.1i for the Windows build.
Ezio Melotti [Thu, 7 Aug 2014 00:20:22 +0000 (03:20 +0300)]
#22092: use absolute imports in unittest tests. Patch by Vajrasky Kok.
Serhiy Storchaka [Wed, 6 Aug 2014 15:31:54 +0000 (18:31 +0300)]
Issue #18004: test_overflow in test_list by mistake consumed 40 GiB of memory
on 64-bit systems.
Serhiy Storchaka [Wed, 6 Aug 2014 14:50:22 +0000 (17:50 +0300)]
Issue #21975: Fixed crash when using uninitialized sqlite3.Row (in particular
when unpickling pickled sqlite3.Row). sqlite3.Row is now initialized in the
__new__() method.
Vinay Sajip [Tue, 5 Aug 2014 09:32:06 +0000 (10:32 +0100)]
Issue #22130: Corrected fileConfig() documentation.
Ezio Melotti [Tue, 5 Aug 2014 05:14:28 +0000 (08:14 +0300)]
#21928: clarify functools.wraps docs.
Berker Peksag [Tue, 5 Aug 2014 04:15:57 +0000 (07:15 +0300)]
Issue #16037: HTTPMessage.readheaders() raises an HTTPException when more
than 100 headers are read.
Patch by Jyrki Pulliainen and Daniel Eriksson.
Ezio Melotti [Mon, 4 Aug 2014 16:34:29 +0000 (19:34 +0300)]
#18034: update FAQ to suggest importlib.import_module instead of __import__. Patch by Wouter van Heyst.
Terry Jan Reedy [Mon, 4 Aug 2014 03:02:53 +0000 (23:02 -0400)]
PEP 8 spacing in idlelib.configDialog: mostly a = b in assignments,
a, b in arg lists, and hanging indents for long arg lists.
Jason R. Coombs [Sun, 3 Aug 2014 18:57:20 +0000 (14:57 -0400)]
Issue #13540: Merge commits
Jason R. Coombs [Sun, 3 Aug 2014 18:54:11 +0000 (14:54 -0400)]
Issue #13540: Update references to Action class to match syntax used for other classes in this file.
Raymond Hettinger [Sat, 2 Aug 2014 06:51:51 +0000 (23:51 -0700)]
Fix typo in comment.
doko@ubuntu.com [Fri, 1 Aug 2014 15:48:17 +0000 (17:48 +0200)]
- update config.guess and config.sub to support openrisc.
Serhiy Storchaka [Thu, 31 Jul 2014 04:48:14 +0000 (07:48 +0300)]
Issue #21580: Now Tkinter correctly handles binary "data" and "maskdata"
configure options of tkinter.PhotoImage.
Added private Tkapp method _createbytearray().
Terry Jan Reedy [Wed, 30 Jul 2014 23:24:26 +0000 (19:24 -0400)]
Issue #22068: Don't create self reference cycles in idlelib.ConfigDialog.
In 2.7, these become leaks and cause test_gc to fail.
Serhiy Storchaka [Wed, 30 Jul 2014 07:58:34 +0000 (10:58 +0300)]
Issue #21951: Temporary skip crashing test_user_command on AIX.
Victor Stinner [Tue, 29 Jul 2014 22:39:05 +0000 (00:39 +0200)]
Issue #22023: Fix %S, %R and %V formats of PyUnicode_FromFormat().
Robert Jordens [Tue, 29 Jul 2014 15:24:24 +0000 (17:24 +0200)]
Issue #21591: add test for qualified exec in tuple form.
Dirkjan Ochtman [Tue, 29 Jul 2014 15:21:39 +0000 (17:21 +0200)]
Issue #21591: Handle exec backwards compatibility in the AST builder.
Instead of deferring until runtime. This makes sure we hit the right
conditions in dealing with unqualified exec statements.
Reviewed by Victor Stinner. Test follows in a later commit.
Victor Stinner [Mon, 28 Jul 2014 22:04:54 +0000 (00:04 +0200)]
Issue #19612: subprocess.communicate() now also ignores EINVAL when using at
least two pipes.
Terry Jan Reedy [Sun, 27 Jul 2014 08:07:18 +0000 (04:07 -0400)]
Reduce unnecessary 2.7 versus 3.4+ differences in idlelib/configDialog.py.
Only change 2.7 version.
Remove ".keys()" from "x in y.keys()" (leave .keys() elsewhere alone).
Change "string.join" to "' '.join" (and string.join(s, ';') to ';'.join(s)).
Change spacing to match 3.4 (will later make spacing changes to both).
Terry Jan Reedy [Sun, 27 Jul 2014 07:00:47 +0000 (03:00 -0400)]
Modernize turtledemo with conditional expressions; remove duplicate line.
Victor Stinner [Sat, 26 Jul 2014 12:52:55 +0000 (14:52 +0200)]
Fix repr(_socket.socket) on Windows 64-bit: don't fail with OverflowError
on closed socket.
Victor Stinner [Sat, 26 Jul 2014 12:47:56 +0000 (14:47 +0200)]
socketmodule.c: backport INVALID_SOCKET from Python 3.5 to simplify the code
Charles-François Natali [Sat, 26 Jul 2014 12:44:50 +0000 (13:44 +0100)]
Issue #19875: Fix random test_getsockaddrarg() failure.
Zachary Ware [Fri, 25 Jul 2014 19:34:19 +0000 (14:34 -0500)]
Issue #21958: Define HAVE_ROUND when building with VS 2013 and above.
Patch by Zachary Turner.
Raymond Hettinger [Fri, 25 Jul 2014 17:26:36 +0000 (10:26 -0700)]
Issue #21990: Cleanup unnecessary inner class definition in saxutils.
Serhiy Storchaka [Fri, 25 Jul 2014 09:23:08 +0000 (12:23 +0300)]
Issue #22061: Add deprecation warnings in empty obsolete methods.
Terry Jan Reedy [Fri, 25 Jul 2014 07:06:27 +0000 (03:06 -0400)]
Issue #22061: remove call of useless function slated for removal.
Terry Jan Reedy [Fri, 25 Jul 2014 05:56:17 +0000 (01:56 -0400)]
Issue #22053: Make help work, after previous patch for this issue disabled it
by removing global 'demo'. Refactor and remove duplicate code.
Victor Stinner [Thu, 24 Jul 2014 20:11:21 +0000 (22:11 +0200)]
Issue #19884, readline: calling rl_variable_bind ("enable-meta-key", "off")
does crash on Mac OS X which uses libedit instead of readline.
Victor Stinner [Thu, 24 Jul 2014 17:15:00 +0000 (19:15 +0200)]
Issue #16133: The asynchat.async_chat.handle_read() method now ignores
socket.error() exceptions with blocking I/O errors: EAGAIN, EALREADY,
EINPROGRESS, or EWOULDBLOCK. Initial patch written by Xavier de Gaye.
Serhiy Storchaka [Thu, 24 Jul 2014 14:48:28 +0000 (17:48 +0300)]
Issue #
1730136 : Fix comparison between a tk Font object and an object of a
different type.
Victor Stinner [Thu, 24 Jul 2014 10:22:24 +0000 (12:22 +0200)]
Issue #19884: readline: Disable the meta modifier key if stdout is not a
terminal to not write the ANSI sequence "\033[1034h" into stdout. This sequence
is used on some terminal (ex: TERM=xterm-256color") to enable support of 8 bit
characters.
Andrew Svetlov [Thu, 24 Jul 2014 05:08:15 +0000 (08:08 +0300)]
Fix grammar
Terry Jan Reedy [Wed, 23 Jul 2014 21:27:51 +0000 (17:27 -0400)]
Issue #22053: Cleanup turtledemo start and stop and fix debug shutdown warning.
Zachary Ware [Wed, 23 Jul 2014 19:29:25 +0000 (14:29 -0500)]
Issue #19493: Fix two uses of ctypes.test.requires (it's not a decorator)
and skip test_win32.FunctionCallTestCase.test_SEH when Python was compiled
in debug configuration or by a non-MSC compiler.
Serhiy Storchaka [Wed, 23 Jul 2014 19:12:39 +0000 (22:12 +0300)]
Merge heads
Serhiy Storchaka [Wed, 23 Jul 2014 19:07:37 +0000 (22:07 +0300)]
Merge heads
Serhiy Storchaka [Wed, 23 Jul 2014 19:06:26 +0000 (22:06 +0300)]
Issue #6167: Backported tests for Scrollbar.activate() and Scrollbar.set()
from
6ae34a948cb4 .
Terry Jan Reedy [Wed, 23 Jul 2014 19:01:07 +0000 (15:01 -0400)]
Issue #21597: Turtledemo text pane can now be widened to view or copy complete
lines or narrowed for small screens.
Issie #19132: Turtledemo buttons no longer disappear when window is shrun.
Patch mostly by Lita Cho (21597) using idea from patch by Jan Kanis (18132).
Zachary Ware [Tue, 22 Jul 2014 18:14:54 +0000 (13:14 -0500)]
Fix minor typo in round docs. Reported by Scott Hinton on docs@.
Zachary Ware [Tue, 22 Jul 2014 17:26:34 +0000 (12:26 -0500)]
Closes #21665: Don't use OPTS=noxp or -DWINVER=0x0500 when compiling Tcl/Tk
on the buildbots.
2.7 does still support Win2k, but using those options makes default ttk ugly
while not using them doesn't seem to break Win2k.
Serhiy Storchaka [Tue, 22 Jul 2014 08:11:01 +0000 (11:11 +0300)]
Fixed bugs in reprs of CookieJar and multiprocessing.dummy.Value.
Serhiy Storchaka [Tue, 22 Jul 2014 07:39:59 +0000 (10:39 +0300)]
Backout
308f3c1e36d3 . This change (issue21044) does not need to be merged on
2.7, as the os.fdopen sets the name attribute to '<fdopen>' and not to the fd.
Serhiy Storchaka [Tue, 22 Jul 2014 07:28:36 +0000 (10:28 +0300)]
Issue #15759: "make suspicious", "make linkcheck" and "make doctest" in Doc/
now display special message when and only when there are failures.