Benjamin Peterson
1bb0c0bd30
explicitly cast away constness to silence compiler warning
2016-09-05 18:26:19 -07:00
Benjamin Peterson
5130a4d5d7
Backed out changeset 8b6be1341770
2016-09-05 17:22:09 -07:00
Senthil Kumaran
4672060d86
Update pkgutil docs to reference appropriate finder and loader object documentation.
...
Initial patch contributed by Jaysinh shukla.
2016-09-05 17:11:51 -07:00
Benjamin Peterson
6d999803a0
remove long double from ctypes value union
...
It is unused. It also forces a 16-byte alignment, which creates problems because
Python's allocator only uses 8-byte alignment.
2016-09-05 16:24:52 -07:00
Christian Heimes
281e5f8839
Issue #26470 : Use short name rather than name for compression name to fix #27958 .
2016-09-06 01:10:39 +02:00
Zachary Ware
f4a7381719
Issue #27748 : Backed out changeset f845e24d794e
...
Apparently the test succeeds on XP.
2016-09-05 18:08:27 -05:00
Benjamin Peterson
768f3b4492
do not pretend to support passing a fd to access()
2016-09-05 15:29:33 -07:00
Zachary Ware
9ed756bc21
Issue #27748 : strengthen test_alias_nofallback
...
This test should always raise RuntimeError.
2016-09-05 17:19:35 -05:00
Christian Heimes
598894ff48
Issue #26470 : Port ssl and hashlib module to OpenSSL 1.1.0.
2016-09-05 23:19:05 +02:00
Zachary Ware
b3b7a5a16b
Issue #27748 : Simplify test_winsound.
...
The tests no longer attempt to figure out if a soundcard or particular
system sounds are available. Instead, it just tries everything and
accepts RuntimeError as a flavor of success.
2016-09-05 16:06:56 -05:00
Benjamin Peterson
f7e2ea2f33
remove ungrammarical apostrophe ( closes #27957 )
2016-09-05 14:02:59 -07:00
Raymond Hettinger
f5b7c7bfc1
Improve recipe by showing results of intermediate steps
2016-09-05 13:15:02 -07:00
Zachary Ware
8c9d99ff22
Issue #27407 : Make PCbuild/prepare_ssl.py Python 2 compatible
2016-09-05 12:54:08 -05:00
Benjamin Peterson
bdddb11b0e
clear out f_gen during generator finalization ( closes #27812 )
...
Patch from Armin Rigo.
2016-09-05 10:39:57 -07:00
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