]> granicus.if.org Git - python/log
python
10 years agoUpdate OS X installer build script for changes to documentation build:
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.

10 years agoIssue #20643: Fixed references to the next() method (distinguish from the
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).

10 years agoIssue #22340: Fix test_collections if the sets module was already imported
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

10 years agoIssue #22340: Fix Python 3 warnings in Python 2 tests
Victor Stinner [Fri, 5 Sep 2014 19:05:05 +0000 (21:05 +0200)]
Issue #22340: Fix Python 3 warnings in Python 2 tests

10 years agobackport our own copy of the ref-counting extension
Benjamin Peterson [Fri, 5 Sep 2014 14:03:26 +0000 (10:03 -0400)]
backport our own copy of the ref-counting extension

10 years agoregrtest: backport "[ 1/399]" progress back from Python 3
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.

10 years agoIssue #22221: Backported fixes from Python 3 (issue #18960).
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.

10 years agoremove automatic svn checkout of sphinx and its deps from Doc/Makefile
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.

10 years agofix malformed use cmdoption directive
Benjamin Peterson [Fri, 5 Sep 2014 02:40:34 +0000 (22:40 -0400)]
fix malformed use cmdoption directive

10 years agoFixed the versionadded in the docs for the backport in 16c86a6bdbe2
Alex Gaynor [Thu, 4 Sep 2014 20:37:07 +0000 (13:37 -0700)]
Fixed the versionadded in the docs for the backport in 16c86a6bdbe2

10 years agoIssue #20421: Add a .version() method to SSL sockets exposing the actual protocol...
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.

10 years agothe correct role is :meth: not :method:
Benjamin Peterson [Thu, 4 Sep 2014 15:50:14 +0000 (11:50 -0400)]
the correct role is :meth: not :method:

10 years agoremove script that now lives at https://github.com/python/docsbuild-scripts
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

10 years agoNEWS items for Idle.
Terry Jan Reedy [Wed, 3 Sep 2014 23:52:39 +0000 (19:52 -0400)]
NEWS items for Idle.

10 years agoNEWS items for turtledemo.
Terry Jan Reedy [Wed, 3 Sep 2014 23:39:18 +0000 (19:39 -0400)]
NEWS items for turtledemo.

10 years agoIssue #22051: remove unneeded reload that allowed bad code.
Terry Jan Reedy [Wed, 3 Sep 2014 23:29:11 +0000 (19:29 -0400)]
Issue #22051: remove unneeded reload that allowed bad code.

10 years agoIssue #22320: Fix broken link in the General Python FAQ.
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.

10 years agodon't index outside of the path (closes #22312)
Benjamin Peterson [Sun, 31 Aug 2014 13:34:09 +0000 (09:34 -0400)]
don't index outside of the path (closes #22312)

10 years agogetuid() returns real process id not effective (closes #22307)
Benjamin Peterson [Sun, 31 Aug 2014 01:04:15 +0000 (21:04 -0400)]
getuid() returns real process id not effective (closes #22307)

10 years ago#22215: have the smtplib 'quit' command reset the state.
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.

10 years agoPEP 466: backport persistent urandom fd (closes #21305)
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.

10 years agoPEP 466: backport hashlib algorithm constants (closes #21307)
Benjamin Peterson [Thu, 28 Aug 2014 13:41:29 +0000 (09:41 -0400)]
PEP 466: backport hashlib algorithm constants (closes #21307)

10 years agofix load_verify_locations on unicode paths (closes #22244)
Benjamin Peterson [Thu, 28 Aug 2014 13:33:21 +0000 (09:33 -0400)]
fix load_verify_locations on unicode paths (closes #22244)

10 years agocorrect call grammar error (#3473)
Benjamin Peterson [Thu, 28 Aug 2014 04:05:52 +0000 (00:05 -0400)]
correct call grammar error (#3473)

10 years agoproperly handle file closing in error cases (closes #22266)
Benjamin Peterson [Thu, 28 Aug 2014 00:31:21 +0000 (20:31 -0400)]
properly handle file closing in error cases (closes #22266)

10 years agoIssue 22090: Fix '%' formatting for infinities and NaNs.
Stefan Krah [Tue, 26 Aug 2014 18:49:57 +0000 (20:49 +0200)]
Issue 22090: Fix '%' formatting for infinities and NaNs.

10 years agoallow test to work on implementations not using ref-counting (closes #22265)
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)

10 years agofix some test_weakref tests to not rely on ref-counting (closes #22267)
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)

10 years agodon't segfault when trying to fdopen() a fd for a dir (closes #22259)
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.

10 years agoIssue #22236: Tkinter tests now don't reuse default root window. New root
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.

10 years agoIssue #21166: fix typo in comment
Ned Deily [Sun, 24 Aug 2014 01:09:25 +0000 (18:09 -0700)]
Issue #21166: fix typo in comment

10 years agoIssue #22243: fix except grammar in reference.
Terry Jan Reedy [Sat, 23 Aug 2014 23:29:40 +0000 (19:29 -0400)]
Issue #22243: fix except grammar in reference.

10 years agoMerge heads.
Terry Jan Reedy [Sat, 23 Aug 2014 22:20:00 +0000 (18:20 -0400)]
Merge heads.

10 years agoUpdate PEP 466 What's New in 2.7 section
Nick Coghlan [Sat, 23 Aug 2014 04:45:44 +0000 (14:45 +1000)]
Update PEP 466 What's New in 2.7 section

10 years agoIssue #22199: update Misc/NEWS
Ned Deily [Fri, 22 Aug 2014 20:53:30 +0000 (13:53 -0700)]
Issue #22199: update Misc/NEWS

10 years agoIssue #22199: Make get_makefile_filename() available in Lib/sysconfig.py
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.

10 years agoIssue #21166: Prevent possible segfaults and other random failures of
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.

10 years agoIssue #22191: Fix warnings.__all__.
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.

10 years agoImport Tkinter as tkinter to help merging and avoid backporting errors.
Serhiy Storchaka [Thu, 21 Aug 2014 07:00:41 +0000 (10:00 +0300)]
Import Tkinter as tkinter to help merging and avoid backporting errors.

10 years agoIssue #1730136: Fix backported exception name.
Ned Deily [Thu, 21 Aug 2014 05:59:21 +0000 (22:59 -0700)]
Issue #1730136: Fix backported exception name.

10 years agofix error message for invalid curve name
Benjamin Peterson [Thu, 21 Aug 2014 02:37:01 +0000 (21:37 -0500)]
fix error message for invalid curve name

10 years agoBacked out changeset 7c19f1f792c6
Benjamin Peterson [Wed, 20 Aug 2014 22:30:40 +0000 (17:30 -0500)]
Backed out changeset 7c19f1f792c6

10 years agodon't call rl_initialize when stdout is not a tty
Benjamin Peterson [Wed, 20 Aug 2014 21:03:43 +0000 (16:03 -0500)]
don't call rl_initialize when stdout is not a tty

10 years agoexpect socket.error instead of the py3ism OSError
Benjamin Peterson [Wed, 20 Aug 2014 19:51:11 +0000 (14:51 -0500)]
expect socket.error instead of the py3ism OSError

10 years agoallow any socket error for rude shutdown test
Benjamin Peterson [Wed, 20 Aug 2014 19:49:08 +0000 (14:49 -0500)]
allow any socket error for rude shutdown test

10 years agolink _ssl to crypt32.lib on windoze
Benjamin Peterson [Wed, 20 Aug 2014 19:34:26 +0000 (14:34 -0500)]
link _ssl to crypt32.lib on windoze

10 years agoPyUnicode -> PyString and PyLong -> PyInt
Benjamin Peterson [Wed, 20 Aug 2014 19:25:32 +0000 (14:25 -0500)]
PyUnicode -> PyString and PyLong -> PyInt

10 years agobackport many ssl features from Python 3 (closes #21308)
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.

10 years agoFix Issue #8797: Raise HTTPError on failed Basic Authentication immediately. Initial...
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.

10 years agoIdle ColorDelegator: finish removing code for 'as'.
Terry Jan Reedy [Tue, 19 Aug 2014 23:47:33 +0000 (19:47 -0400)]
Idle ColorDelegator: finish removing code for 'as'.

10 years agoIdle ColorDelegator: remove special case code for 'as' in import statements.
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.

10 years agoFixed typo.
Serhiy Storchaka [Tue, 19 Aug 2014 15:20:07 +0000 (18:20 +0300)]
Fixed typo.

10 years agoIssue #15696: Add a __sizeof__ implementation for mmap objects on Windows.
Serhiy Storchaka [Tue, 19 Aug 2014 14:03:42 +0000 (17:03 +0300)]
Issue #15696: Add a __sizeof__ implementation for mmap objects on Windows.

10 years agoClean up test_user_command.
Serhiy Storchaka [Mon, 18 Aug 2014 14:46:34 +0000 (17:46 +0300)]
Clean up test_user_command.

10 years agoIssue #22068: Avoided reference loops with Variables and Fonts in Tkinter.
Serhiy Storchaka [Sun, 17 Aug 2014 12:31:41 +0000 (15:31 +0300)]
Issue #22068: Avoided reference loops with Variables and Fonts in Tkinter.

10 years agoIssue #22201: Command-line interface of the zipfile module now correctly
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.

10 years agoRemoved useless Py_LIMITED_API checks.
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.

10 years agobackout changeset e0510a3bdf8f - due to buildbot failures. Ref: Issue #8797
Senthil Kumaran [Sat, 16 Aug 2014 17:21:33 +0000 (22:51 +0530)]
backout changeset e0510a3bdf8f - due to buildbot failures. Ref: Issue #8797

10 years agoCloses #22188: test_gdb now runs gdb with -nx: "Do not execute commands from
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".

10 years agoFix Issue #8797: Raise HTTPError on failed Basic Authentication immediately. Initial...
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.

10 years agoIssue #17390: Adjust Editor window title. Remove 'Python', move version to end.
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.

10 years agoIssue #22193: Added private function _PySys_GetSizeOf() needed to implement
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.

10 years agoDecreased memory requirements of new tests added in issue21448.
Serhiy Storchaka [Tue, 12 Aug 2014 17:22:27 +0000 (20:22 +0300)]
Decreased memory requirements of new tests added in issue21448.

10 years agoIssue #21448: Fixed FeedParser feed() to avoid O(N**2) behavior when parsing long...
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.

10 years agoIssue #17923: glob() patterns ending with a slash no longer match non-dirs on
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.

10 years agoIssue #22178: Fix the date of the Windows epoch (Jan 1, 1601).
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).

10 years agoIssue #22174: Clean-up grammar and ambiguities in property() docs.
Raymond Hettinger [Sun, 10 Aug 2014 17:44:21 +0000 (10:44 -0700)]
Issue #22174:  Clean-up grammar and ambiguities in property() docs.

10 years ago- Issue #22176: Update the ctypes module's libffi to v3.1. This release
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.

10 years agoremove casts
Benjamin Peterson [Sun, 10 Aug 2014 02:39:55 +0000 (19:39 -0700)]
remove casts

10 years agotest for 2 arg exec case
Benjamin Peterson [Sun, 10 Aug 2014 02:39:50 +0000 (19:39 -0700)]
test for 2 arg exec case

10 years agorestore runtime exec test (#21591)
Benjamin Peterson [Sun, 10 Aug 2014 02:39:36 +0000 (19:39 -0700)]
restore runtime exec test (#21591)

10 years agoIssue #14105: Stop removing breakpoints from Idle editors.
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.

10 years agoIssue #22160: Update OpenSSL to 1.0.1i for the Windows build.
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.

10 years ago#22092: use absolute imports in unittest tests. Patch by Vajrasky Kok.
Ezio Melotti [Thu, 7 Aug 2014 00:20:22 +0000 (03:20 +0300)]
#22092: use absolute imports in unittest tests.  Patch by Vajrasky Kok.

10 years agoIssue #18004: test_overflow in test_list by mistake consumed 40 GiB of memory
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.

10 years agoIssue #21975: Fixed crash when using uninitialized sqlite3.Row (in particular
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.

10 years agoIssue #22130: Corrected fileConfig() documentation.
Vinay Sajip [Tue, 5 Aug 2014 09:32:06 +0000 (10:32 +0100)]
Issue #22130: Corrected fileConfig() documentation.

10 years ago#21928: clarify functools.wraps docs.
Ezio Melotti [Tue, 5 Aug 2014 05:14:28 +0000 (08:14 +0300)]
#21928: clarify functools.wraps docs.

10 years agoIssue #16037: HTTPMessage.readheaders() raises an HTTPException when more
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.

10 years ago#18034: update FAQ to suggest importlib.import_module instead of __import__. Patch...
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.

10 years agoPEP 8 spacing in idlelib.configDialog: mostly a = b in assignments,
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.

10 years agoIssue #13540: Merge commits
Jason R. Coombs [Sun, 3 Aug 2014 18:57:20 +0000 (14:57 -0400)]
Issue #13540: Merge commits

10 years agoIssue #13540: Update references to Action class to match syntax used for other classe...
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.

10 years agoFix typo in comment.
Raymond Hettinger [Sat, 2 Aug 2014 06:51:51 +0000 (23:51 -0700)]
Fix typo in comment.

10 years ago - update config.guess and config.sub to support openrisc.
doko@ubuntu.com [Fri, 1 Aug 2014 15:48:17 +0000 (17:48 +0200)]
 - update config.guess and config.sub to support openrisc.

10 years agoIssue #21580: Now Tkinter correctly handles binary "data" and "maskdata"
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().

10 years agoIssue #22068: Don't create self reference cycles in idlelib.ConfigDialog.
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.

10 years agoIssue #21951: Temporary skip crashing test_user_command on AIX.
Serhiy Storchaka [Wed, 30 Jul 2014 07:58:34 +0000 (10:58 +0300)]
Issue #21951: Temporary skip crashing test_user_command on AIX.

10 years agoIssue #22023: Fix %S, %R and %V formats of PyUnicode_FromFormat().
Victor Stinner [Tue, 29 Jul 2014 22:39:05 +0000 (00:39 +0200)]
Issue #22023: Fix %S, %R and %V formats of PyUnicode_FromFormat().

10 years agoIssue #21591: add test for qualified exec in tuple form.
Robert Jordens [Tue, 29 Jul 2014 15:24:24 +0000 (17:24 +0200)]
Issue #21591: add test for qualified exec in tuple form.

10 years agoIssue #21591: Handle exec backwards compatibility in the AST builder.
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.

10 years agoIssue #19612: subprocess.communicate() now also ignores EINVAL when using at
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.

10 years agoReduce unnecessary 2.7 versus 3.4+ differences in idlelib/configDialog.py.
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).

10 years agoModernize turtledemo with conditional expressions; remove duplicate line.
Terry Jan Reedy [Sun, 27 Jul 2014 07:00:47 +0000 (03:00 -0400)]
Modernize turtledemo with conditional expressions; remove duplicate line.

10 years agoFix repr(_socket.socket) on Windows 64-bit: don't fail with OverflowError
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.

10 years agosocketmodule.c: backport INVALID_SOCKET from Python 3.5 to simplify the code
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

10 years agoIssue #19875: Fix random test_getsockaddrarg() failure.
Charles-François Natali [Sat, 26 Jul 2014 12:44:50 +0000 (13:44 +0100)]
Issue #19875: Fix random test_getsockaddrarg() failure.

10 years agoIssue #21958: Define HAVE_ROUND when building with VS 2013 and above.
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.

10 years agoIssue #21990: Cleanup unnecessary inner class definition in saxutils.
Raymond Hettinger [Fri, 25 Jul 2014 17:26:36 +0000 (10:26 -0700)]
Issue #21990:  Cleanup unnecessary inner class definition in saxutils.

10 years agoIssue #22061: Add deprecation warnings in empty obsolete methods.
Serhiy Storchaka [Fri, 25 Jul 2014 09:23:08 +0000 (12:23 +0300)]
Issue #22061: Add deprecation warnings in empty obsolete methods.