Yury Selivanov
12f482e0ae
bpo-30805: Avoid race condition with debug logging (GH-7545)
...
Supersedes https://github.com/python/cpython/pull/2490
2018-06-08 18:24:37 -04:00
Andrés Delfino
1cbdb2208a
bpo-33801: Remove non-ordered dict comment from plistlib doc (GH-7495)
2018-06-08 17:51:20 -04:00
Thomas Kluyver
11a896652e
bpo-33375: Get filename for warnings from frame.f_code.co_filename (GH-6622)
...
More consistent with how other parts of Python find the filename (e.g. tracebacks and pdb).
2018-06-08 12:28:37 -07:00
Andrés Delfino
3b0b90c8c3
bpo-33800: Fix default argument for parameter dict_type of ConfigParser/RawConfigParser (GH-7494)
2018-06-08 15:19:21 -04:00
Dong-hee Na
4f54867e29
bpo-33197: Add versionadded tag to the documentation of ParameterKind (GH-7536)
2018-06-08 12:07:52 -04:00
Suriyaa ✌️️
9e6685ea7b
bpo-33807: Add Python 3.7 buildbot link to '.github/CONTRIBUTING.rst' (GH-7532)
2018-06-08 10:40:55 -05:00
Elvis Pranskevichus
c0d062f523
bpo-33736: Improve the documentation of asyncio stream APIs (GH-7326)
2018-06-08 11:36:00 -04:00
Andrés Delfino
6860629d87
bpo-33798: Update csv document about dict order (GH-7490)
2018-06-08 21:51:12 +09:00
Łukasz Langa
214f18e49f
bpo-33802: Do not interpolate in ConfigParser while reading defaults (GH-7524)
...
This solves a regression in logging config due to changes in BPO-23835.
2018-06-08 04:02:48 -07:00
wim glenn
66f02aa32f
bpo-11874: fix assertion failure in argparse metavar handling (GH-1826)
...
- bugfix and test for fragile metavar handling in argparse (see
bpo-24089, bpo-14046, bpo-25058, bpo-11874)
- also fixes some incorrect tests that did not make 1-element tuples correctly
2018-06-08 20:12:49 +10:00
Victor Stinner
ff6c077292
bpo-33694: Fix typo in helper function name (GH-7522)
...
_feed_data_to_bufferred_proto() renamed to
_feed_data_to_buffered_proto() ("bufferred" => "buffered").
Typo spotted by Nathaniel J. Smith.
2018-06-08 10:32:06 +02:00
Victor Stinner
c45fc7673e
bpo-33718: regrtest: use "xxx then yyy" result if re-run (GH-7521)
...
If tests are re-run, use "xxx then yyy" result format (ex: "FAILURE
then SUCCESS") to show that some failing tests have been re-run.
Add also test_regrtest.test_rerun_fail() test.
2018-06-08 09:53:51 +02:00
Andrés Delfino
396ecb9c3e
bpo-33799: Remove non-ordered dicts comments from FAQ
2018-06-08 15:38:07 +09:00
Terry Jan Reedy
b1f690294d
Update idlelib/NEWS.txt to 2018 Jun 8 am. (GH-7517)
2018-06-08 02:28:45 -04:00
Cheryl Sabella
041272b657
bpo-33768: IDLE: Clicking on code context line moves it to top of editor (GH-7411)
2018-06-08 01:21:15 -04:00
Dong-hee Na
4aa3006619
bpo-33197: Add description property for _ParameterKind. (GH-7206)
2018-06-07 23:46:31 -04:00
atg7000
ee994d7443
bpo-33791: Update README for macOS users (GH-7471)
2018-06-07 22:33:20 -04:00
Yury Selivanov
8f4042964d
bpo-33792: Add selector and proactor windows policies (GH-7487)
2018-06-07 20:44:57 -04:00
Yury Selivanov
52698c7ad9
bpo-33786: Fix asynchronous generators to handle GeneratorExit in athrow() (GH-7467)
2018-06-07 20:31:26 -04:00
Yury Selivanov
378c53cc31
bpo-33803: Fix a crash in hamt.c ( #7504 )
2018-06-07 20:29:55 -04:00
Victor Stinner
c4f3cb772b
bpo-33615: Skip test__xxsubinterpreters (GH-7503)
...
The test does crash on multiple CIs causing many troubles. For
example, the test prevents to get results of the two Refleak 3.x
buildbots.
2018-06-08 02:28:28 +02:00
Terry Jan Reedy
bed523ba03
bpo-33642 and bpo-33679: Revise and condense blurbs (GH-7500)
2018-06-07 19:11:41 -04:00
Victor Stinner
79790bc35f
bpo-33694: Fix race condition in asyncio proactor (GH-7498)
...
The cancellation of an overlapped WSARecv() has a race condition
which causes data loss because of the current implementation of
proactor in asyncio.
No longer cancel overlapped WSARecv() in _ProactorReadPipeTransport
to work around the race condition.
Remove the optimized recv_into() implementation to get simple
implementation of pause_reading() using the single _pending_data
attribute.
Move _feed_data_to_bufferred_proto() to protocols.py.
Remove set_protocol() method which became useless.
2018-06-08 00:25:52 +02:00
Neil Schemenauer
d3ed67d14e
bpo-33609: small wording fixes to dict ordering docs
...
A few wording improvements to dict ordering documentation.
2018-06-07 14:46:04 -07:00
Eric V. Smith
e7adf2ba41
bpo-33796: Ignore ClassVar for dataclasses.replace(). (GH-7488)
2018-06-07 14:43:59 -04:00
Benjamin Peterson
34b734699b
update 3.7 whatsnew entry about Unicode version (GH-7480)
...
Followup to 4705ea38c9
and bpo-33778.
2018-06-07 07:21:28 -07:00
Anthony Sottile
bb6366bd75
bpo-17909: Document that json.load can accept a binary IO (GH-7366)
2018-06-07 18:58:12 +09:00
Scott Sanderson
cebe80b59b
bpo-29235: Update document for Profiler's context manager (GH-7331)
2018-06-07 18:46:42 +09:00
Zackery Spytz
fffeb6f3d6
bpo-30436: Add missing space in importlib.util.find_spec() error message (GH-7385)
2018-06-07 02:02:24 -04:00
arikrupnik
5bfa058e65
bpo-33274: Compliance with DOM L1: return removed attribute ( #7465 )
...
* bpo-33274: Compliance with DOM L1: return removed attribute
* Update 2018-06-06-22-01-33.bpo-33274.teYqv8.rst
2018-06-07 00:42:38 -04:00
Benjamin Peterson
7c69c1c0fb
update to Unicode 11.0.0 (closes bpo-33778) (GH-7439)
...
Also, standardize indentation of generated tables.
2018-06-06 20:14:28 -07:00
Victor Stinner
9f04f0df6f
bpo-32676, test_asyncio: Fix warning in test_error_in_call_soon() (GH-7462)
...
Fix "<CoroWrapper ...> was never yielded from" warning in
PyTask_PyFuture_Tests.test_error_in_call_soon() of
test_asyncio.test_tasks.
Close manually the coroutine on error.
2018-06-07 01:30:38 +02:00
Victor Stinner
7ed61e9431
bpo-33789, test_asyncio: Hide PendingDeprecationWarning (GH-7461)
...
Hide PendingDeprecationWarning in test__register_task_3().
2018-06-07 01:13:48 +02:00
Victor Stinner
0eba7c3913
bpo-33789: test_asyncio: Fix ResourceWarning (GH-7460)
...
* Close sockets and streams to fix ResourceWarning warnings
* Catch also OSError to hide a traceback on an expected handshake
error
2018-06-07 01:12:38 +02:00
Victor Stinner
3ef769fcd3
bpo-28240: timeit: Update repeat() doc (GH-7419)
...
Document that the default value of repeat changed from 3 to 5 in
Python 3.7.
2018-06-06 17:55:18 +02:00
Victor Stinner
492d6424a7
bpo-33773: Fix test.support.fd_count() on Linux/FreBSD (GH-7421)
...
Substract one because listdir() opens internally a file
descriptor to list the content of the /proc/self/fd/ directory.
Add test_support.test_fd_count().
Move also MAXFD code before msvcrt.CrtSetReportMode(), to make sure
that the report mode is always restored on failure.
2018-06-06 17:23:50 +02:00
Victor Stinner
45e4efba7f
bpo-33781: audioop: enhance rounding double as int (GH-7447)
...
Move the floor() call into fbound() to call floor() on a double
rather than an int. The change should enhance the rounding.
Document also (int)double rounding mode.
2018-06-06 15:50:50 +02:00
Victor Stinner
36c60fb256
test.support.SaveSignals: fix typo (GH-7448)
...
an => and
2018-06-06 15:34:46 +02:00
Victor Stinner
b5d702e5e7
bpo-31044, test_posix: Reenable makedev() tests on FreeBSD ( #7449 )
...
The bug has been fixed 10 months ago:
* https://svnweb.freebsd.org/base?view=revision&revision=321920
* https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221048
2018-06-06 15:28:50 +02:00
Benjamin Peterson
b8c0845fee
remove hg support from patchcheck (GH-7440)
2018-06-05 22:40:12 -07:00
John Reese
3a5b0d8988
bpo-33504: Migrate configparser from OrderedDict to dict. ( #6819 )
...
With 3.7+, dictionary are ordered by design. Configparser still uses
collections.OrderedDict, which is unnecessary. This updates the module
to use the standard dict implementation by default, and changes the
docs and tests to match.
2018-06-05 16:31:33 -07:00
Gregory P. Smith
5f3d04fa4e
Improve the subprocess restore_signals=True test. (GH-7414)
...
It wasn't testing functionality. Now it is (on Linux anyways).
2018-06-05 12:00:57 -07:00
Thomas Kluyver
c56b17bd8c
bpo-12486: Document tokenize.generate_tokens() as public API ( #6957 )
...
* Document tokenize.generate_tokens()
* Add news file
* Add test for generate_tokens
* Document behaviour around ENCODING token
* Add generate_tokens to __all__
2018-06-05 10:26:39 -07:00
Serhiy Storchaka
c2745d2d05
bpo-33751: Fix test_file. (GH-7378)
...
testModeStrings and testTruncateOnWindows were depended on
a file leaked in other tests.
Also improve cleaning up after tests.
2018-06-05 19:55:41 +03:00
Barry Warsaw
ac1ee1bada
bpo-33755: Fix importlib.resources isolation tests ( #7412 )
2018-06-05 09:40:45 -07:00
Vinay Sajip
dde9fdbe45
bpo-33165: Added stacklevel parameter to logging APIs. (GH-7424)
2018-06-05 17:24:18 +01:00
Mayank Singhal
9ef1b0690b
bpo-31215: Add version changed notes for OpenSSL 1.1.0 compatibility (GH-7346)
2018-06-06 00:14:37 +10:00
Serhiy Storchaka
6592d7fe11
bpo-33752: Fix a file leak in test_dbm. (GH-7376)
...
With addCleanup() f.close() was executed after tearDown().
2018-06-05 16:03:00 +03:00
Yury Selivanov
415bc46a78
bpo-33769: start_tls: Fix error message; cancel callbacks on error (GH-7403)
...
In addition to that, mark SSLTransport as "closed" in its "abort()" method to prevent bogus warnings.
2018-06-05 08:59:58 -04:00
Zackery Spytz
e9e3976057
bpo-33767: Fix improper use of SystemError by mmap.mmap objects (GH-7381)
...
Raise TypeError instead of SystemError for unsupported operations.
2018-06-05 15:59:41 +03:00