Benjamin Peterson
80109d3351
merge heads
2016-09-05 10:17:22 -07:00
Benjamin Peterson
2f40ed4b94
do not allow _PyGen_Finalize to fail ( closes #27811 )
...
Patch from Armin Rigo.
2016-09-05 10:14:54 -07:00
Steve Dower
63cf72d692
Minor improvements to the vcs ignore files
2016-09-05 10:12:03 -07:00
Terry Jan Reedy
fb5ce7eea1
Issue #27918# test.resource.is_gui_available no longer flashes tk window.
...
Also, don't run it if 'gui' is not requested. Patch by Xiang Zhang.
2016-09-05 00:01:34 -04:00
Raymond Hettinger
871a3340b7
Issue 27936: Update doc for round() to indicate that None is an allowable argument.
2016-09-04 11:28:56 -07:00
Raymond Hettinger
16eb827b33
Improve docs for random.seed()
2016-09-04 11:17:28 -07:00
Vinay Sajip
ab7b0a03b5
Fixes #27937 : optimise code used in all logging calls.
2016-09-03 16:50:09 +01:00
Raymond Hettinger
f0f1c239e4
Issue 27936: Fix inconsistent round() behavior between float and int
2016-09-03 01:55:11 -07:00
Jason R. Coombs
22c108f019
Issue #12885 : Merge with 3.4, retaining commits reverted there.
2016-09-01 23:29:04 -04:00
Jason R. Coombs
79ae9671ff
Issue #12885 : Revert commits in 3.4 branch which is security-only fixes.
2016-09-01 23:27:45 -04:00
Jason R. Coombs
0c7e42e8f7
Issue #12885 : Merge 3.4
2016-09-01 22:09:06 -04:00
Jason R. Coombs
6f5d3fd4d1
Issue #12885 : Correct issue reference in NEWS
2016-09-01 22:08:25 -04:00
Jason R. Coombs
b44c849de4
Merge backout for test suite fix
2016-09-01 21:59:46 -04:00
Jason R. Coombs
8ac147d6ee
Backed out changeset cc86e9e102e8
2016-09-01 21:55:22 -04:00
Jason R. Coombs
65e3319283
Issue #12285 : Merge with 3.4
2016-09-01 21:15:04 -04:00
Jason R. Coombs
97eda155f8
Issue #12285 : Update NEWS
2016-09-01 21:12:17 -04:00
Serhiy Storchaka
2891492d23
Issue #27881 : Fixed possible bugs when setting sqlite3.Connection.isolation_level.
...
Based on patch by Xiang Zhang.
2016-09-01 22:18:03 +03:00
Terry Jan Reedy
00b1e0f7ea
Issue #27922 : IDLE tests no longer flash tk widgets.
2016-08-31 21:03:16 -04:00
Raymond Hettinger
c7bab7cbf5
Issue #27706 : Fix regression in random.seed(somestr, version=1)
2016-08-31 15:01:08 -07:00
Guido van Rossum
4786787c07
Fix ordering issues in UNIX read/write pipe transport constructors.
...
Upstream https://github.com/python/asyncio/pull/408 by Ron Frederick.
2016-08-31 09:42:38 -07:00
Guido van Rossum
8b7918a7e2
Don't select for read on character devices in _UnixWritePipeTransport.
...
Upstream https://github.com/python/asyncio/pull/374 by Ron Frederick.
2016-08-31 09:40:18 -07:00
Guido van Rossum
09c22adadf
Issue #27907 : variable rename. (Ville Skyttä)
2016-08-31 09:08:41 -07:00
Raymond Hettinger
f0afe77c52
Issue #27909 : Fix INCREF for possible NULL value
2016-08-31 08:44:11 -07:00
R David Murray
74eda76085
#27893 : arg name and bytes references in email.parser docs.
...
Perhaps the BytesParser 'text' argument should really be bytes, but
it hasn't been, it has been text, so for backward compatibility
and for consistency with the regular Parser class, I'm keeping it
as 'text'.
2016-08-30 21:17:02 -04:00
Terry Jan Reedy
3399e1e38c
? Working Directory ?
2016-08-30 16:58:01 -04:00
Raymond Hettinger
624e222604
Fix typos
2016-08-30 13:25:06 -07:00
Zachary Ware
5cf1c6cb62
Skip test_tools.test_i18n when pygettext.py is missing
2016-08-30 10:00:26 -05:00
Zachary Ware
de354bc7fc
Include test/test_warnings/data as well
2016-08-30 02:12:27 -05:00
Zachary Ware
19e5064e24
Include test_tools and test_warnings in install
...
test_tools is pretty much useless unless somebody copies the scripts
it tests into the proper location, but we might as well install it
anyway to make sure it skips properly. test_warnings just didn't get
included when it was turned into a package in 94966dfd3bd3.
2016-08-30 00:28:40 -05:00
Zachary Ware
f0a71cf424
Fix typo
2016-08-30 00:16:13 -05:00
Serhiy Storchaka
ef113cd4cc
Issue #27861 : Fixed a crash in sqlite3.Connection.cursor() when a factory
...
creates not a cursor. Patch by Xiang Zhang.
2016-08-29 14:29:55 +03:00
Martin Panter
5de141f157
Issue #25825 : Fix references to $(LIBPL) installation path on AIX
...
In Subversion r86731, the path was changed from $(BINLIBDEST)/config to
$(LIBDEST)/config-$(LDVERSION).
2016-08-27 04:00:19 +00:00
Martin Panter
c427b8d517
Issue #19884 : Avoid spurious output on OS X with Gnu Readline
...
Also adjust the test condition, because enable-meta-key was only added in
6.1, not 6.0.
2016-08-27 03:23:11 +00:00
Berker Peksag
cc9afa9b51
Issue #10513 : Fix a regression in Connection.commit()
...
Statements should not be reset after a commit.
Backported from 029050896b
2016-08-26 22:07:51 +03:00
Raymond Hettinger
7ea386e56e
Issue 19504: Change "customise" to "customize" American spelling.
2016-08-25 21:11:50 -07:00
Terry Jan Reedy
39e9af6bb3
Add version to title of IDLE help window.
2016-08-25 20:04:14 -04:00
Vinay Sajip
37cac76100
Issue #23746 : Clarified is_python_build() documentation.
2016-08-25 15:13:24 +01:00
Terry Jan Reedy
1f8cc33f88
Issue #25564 : Mention exec and __builtins__ in IDLE-console difference section.
2016-08-25 01:22:30 -04:00
Terry Jan Reedy
de260a6fa8
Fix misspelling
2016-08-24 17:52:57 -04:00
Berker Peksag
7d92f892b4
Fix typo in Cursor.execute().
2016-08-25 00:50:24 +03:00
Berker Peksag
ed789f9cf9
Issue #6057 : Document exceptions in sqlite3 module
...
Patch by Jaysinh Shukla and Stéphane Wirtel.
2016-08-25 00:45:07 +03:00
R David Murray
48de28290c
#25916 : fix a few 'string of bytes' references.
...
Patch by SilengGhost.
2016-08-23 20:43:56 -04:00
Guido van Rossum
efa798d1ba
A new version of typing.py from https://github.com/python/typing .
2016-08-23 11:01:50 -07:00
Guido van Rossum
83f5a3846c
In asyncio.locks.Lock.acquire(): Avoid deadlock when a cancelled future is in self._waiters.
2016-08-23 09:39:03 -07:00
Berker Peksag
4b7b565c58
Issue #27587 : Move null pointer check earlier in _PyState_AddModule()
...
This was found by PVS-Studio:
V595 The 'def' pointer was utilized before it was verified
against nullptr. Check lines: 286, 292. pystate.c 286
Initial patch by Christian Heimes.
2016-08-22 18:05:56 +03:00
Mark Dickinson
844796530a
Issue #27539 : Fix unnormalised Fraction.__pow__ result for negative exponent and base. Thanks Vedran Čačić.
2016-08-22 10:50:53 +01:00
Berker Peksag
6afe85827c
Issue #21718 : cursor.description is now available for queries using CTEs
...
According to PEP 249, cursor.description must be
available for any SELECT statements, such as those
that use CTEs.
Backported from f67fa9c898
Additional test cases added by me.
2016-08-21 19:38:47 +03:00
Nick Coghlan
8682f578c1
Issue #27782 : Fix m_methods handling in multiphase init
...
Multi-phase extension module import now correctly allows the
``m_methods`` field to be used to add module level functions
to instances of non-module types returned from ``Py_create_mod``.
Patch by Xiang Zhang.
2016-08-21 17:41:56 +10:00
Martin Panter
9c8aa9bffe
Issue #27487 : Warn if submodule already imported before runpy execution
...
Also try to clarify the find_spec() error message.
2016-08-21 04:07:58 +00:00
Terry Jan Reedy
9f957705d6
Fix typo in IDLE News.
2016-08-21 00:18:55 -04:00