summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-30436: Add missing space in importlib.util.find_spec() error message ↵Zackery Spytz2018-06-071-1/+1
| | | | (GH-7385)
* bpo-33274: Compliance with DOM L1: return removed attribute (#7465)arikrupnik2018-06-073-1/+5
| | | | | | * bpo-33274: Compliance with DOM L1: return removed attribute * Update 2018-06-06-22-01-33.bpo-33274.teYqv8.rst
* update to Unicode 11.0.0 (closes bpo-33778) (GH-7439)Benjamin Peterson2018-06-079-26084/+28267
| | | Also, standardize indentation of generated tables.
* bpo-32676, test_asyncio: Fix warning in test_error_in_call_soon() (GH-7462)Victor Stinner2018-06-061-1/+5
| | | | | | | 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.
* bpo-33789, test_asyncio: Hide PendingDeprecationWarning (GH-7461)Victor Stinner2018-06-061-1/+2
| | | Hide PendingDeprecationWarning in test__register_task_3().
* bpo-33789: test_asyncio: Fix ResourceWarning (GH-7460)Victor Stinner2018-06-062-2/+12
| | | | | * Close sockets and streams to fix ResourceWarning warnings * Catch also OSError to hide a traceback on an expected handshake error
* bpo-28240: timeit: Update repeat() doc (GH-7419)Victor Stinner2018-06-062-6/+12
| | | | Document that the default value of repeat changed from 3 to 5 in Python 3.7.
* bpo-33773: Fix test.support.fd_count() on Linux/FreBSD (GH-7421)Victor Stinner2018-06-062-8/+21
| | | | | | | | | 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.
* bpo-33781: audioop: enhance rounding double as int (GH-7447)Victor Stinner2018-06-061-11/+17
| | | | | | 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.
* test.support.SaveSignals: fix typo (GH-7448)Victor Stinner2018-06-061-1/+1
| | | an => and
* bpo-31044, test_posix: Reenable makedev() tests on FreeBSD (#7449)Victor Stinner2018-06-061-5/+0
| | | | | | 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
* remove hg support from patchcheck (GH-7440)Benjamin Peterson2018-06-061-21/+3
|
* bpo-33504: Migrate configparser from OrderedDict to dict. (#6819)John Reese2018-06-055-43/+15
| | | | | | 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.
* Improve the subprocess restore_signals=True test. (GH-7414)Gregory P. Smith2018-06-051-6/+22
| | | It wasn't testing functionality. Now it is (on Linux anyways).
* bpo-12486: Document tokenize.generate_tokens() as public API (#6957)Thomas Kluyver2018-06-054-6/+35
| | | | | | | | | | | | * Document tokenize.generate_tokens() * Add news file * Add test for generate_tokens * Document behaviour around ENCODING token * Add generate_tokens to __all__
* bpo-33751: Fix test_file. (GH-7378)Serhiy Storchaka2018-06-051-84/+78
| | | | | | testModeStrings and testTruncateOnWindows were depended on a file leaked in other tests. Also improve cleaning up after tests.
* bpo-33755: Fix importlib.resources isolation tests (#7412)Barry Warsaw2018-06-052-1/+9
|
* bpo-33165: Added stacklevel parameter to logging APIs. (GH-7424)Vinay Sajip2018-06-054-19/+77
|
* bpo-31215: Add version changed notes for OpenSSL 1.1.0 compatibility (GH-7346)Mayank Singhal2018-06-051-0/+3
|
* bpo-33752: Fix a file leak in test_dbm. (GH-7376)Serhiy Storchaka2018-06-051-4/+2
| | | | With addCleanup() f.close() was executed after tearDown().
* bpo-33769: start_tls: Fix error message; cancel callbacks on error (GH-7403)Yury Selivanov2018-06-053-3/+8
| | | In addition to that, mark SSLTransport as "closed" in its "abort()" method to prevent bogus warnings.
* bpo-33767: Fix improper use of SystemError by mmap.mmap objects (GH-7381)Zackery Spytz2018-06-053-20/+12
| | | | Raise TypeError instead of SystemError for unsupported operations.
* bpo-32392: Document env keyword argument of subprocess.run() (GH-7289)Tobias Kunze2018-06-051-1/+6
|
* bpo-5755: Move -Wstrict-prototypes to CFLAGS_NODIST (GH-7395)INADA Naoki2018-06-053-10/+64
|
* bpo-33753: Refactor creating temporary files in test_fileinput. (GH-7377)Serhiy Storchaka2018-06-051-148/+101
|
* bpo-33609: Document dict insertion order guarantee as of 3.7 (GH-7093)INADA Naoki2018-06-041-0/+23
|
* bpo-33720: Reduces maximum marshal recursion depth on release builds. (GH-7401)Steve Dower2018-06-043-2/+12
|
* bpo-33763: IDLE: Replace label widget with text widget in code context (GH-7367)Cheryl Sabella2018-06-043-52/+57
|
* bpo-33664: Scroll IDLE editor text by lines (GH-7351)Cheryl Sabella2018-06-042-2/+32
| | | | | | Previously, the mouse wheel and scrollbar slider moved text by a fixed number of pixels, resulting in partial lines at the top of the editor box. The change also applies to the shell and grep output windows, but not to read-only text views.
* bpo-33734: asyncio/ssl: a bunch of bugfixes (#7321)Yury Selivanov2018-06-048-72/+258
| | | | | | | * Fix AttributeError (not all SSL exceptions have 'errno' attribute) * Increase default handshake timeout from 10 to 60 seconds * Make sure start_tls can be cancelled correctly * Make sure any error in SSLProtocol gets propagated (instead of just being logged)
* bpo-31849: Fix warning in pyhash.c (GH-6799)A. Jesse Jiryu Davis2018-06-042-2/+3
|
* bpo-27902: Add compatibility note to Profile docs (GH-7295)Tobias Kunze2018-06-041-5/+6
|
* bpo-33640, uuid.UUID doc: document endian of bytes parameter (GH-7263)Farhaan Bukhsh2018-06-041-6/+7
| | | The bytes parameter uses big endian.
* Regenerate configure after changing configure.ac in GH-6987. (GH-7344)Serhiy Storchaka2018-06-041-2/+2
|
* bpo-33509: Fix test_warnings for python3 -Werror (GH-7365)Victor Stinner2018-06-041-0/+2
| | | | Fix test_warnings.test_module_globals() when python3 is run with -Werror.
* travis: Fix macOS build (GH-7250)INADA Naoki2018-06-041-1/+1
| | | | | | Homebrew's python is now python3, but travis preinstalls old python2. So updated Homebrew requires `brew upgrade python` now. This commit disables auto update and use preinstalled version of Homebrew.
* bpo-33759: Fix test.test_xmlrpc.ServerProxyTestCase. (GH-7362)Serhiy Storchaka2018-06-041-1/+3
| | | It depended on a global variable set by other tests.
* bpo-33760: Fix file leaks in test_io. (GH-7361)Serhiy Storchaka2018-06-041-0/+4
|
* bpo-33764: Appveyor fixes (GH-7364)Zachary Ware2018-06-041-4/+5
| | | | | | * Prevent spurious message if taking a shortcut * Fix YAML style * Disable largefile tests
* bpo-33761: Fix a file leak in test_iterparse in test_xml_etree. (GH-7358)Serhiy Storchaka2018-06-031-3/+5
|
* bpo-33750: Reset thread-local context precision in test_round(). (#7355)Stefan Krah2018-06-031-11/+11
|
* bpo-27485: Change urlparse tests to use private methods. (GH-7070)Cheryl Sabella2018-06-031-12/+12
|
* bpo-33744: Fix test_uu. (GH-7350)Serhiy Storchaka2018-06-031-78/+26
| | | Separate tests leaked files or were depended on files leaked in other tests.
* bpo-23495: Correct the documentation for writerows() of csv Writer objects ↵Zackery Spytz2018-06-021-2/+3
| | | | | (GH-6316) `writerows()` takes an iterable.
* Fix typo in datamodel.rst (GH-6964)Zach Mitchell2018-06-021-1/+1
| | | This is a simple grammatical fix correcting "...object whose `__self__` attributes is ..." to "...object whose `__self__` attribute is ...".
* Docs: fix some wrong words (GH-6987)Eitan Adler2018-06-022-3/+3
| | | Fix typos in code comments: bdb.py and configure.ac.
* bpo-33562: Check the global asyncio event loop policy isn't set after any ↵Brett Cannon2018-06-0226-2/+98
| | | | tests (GH-7328)
* bpo-33679: IDLE: Re-enable color configuration for code context (GH-7199)Cheryl Sabella2018-06-026-35/+79
| | | | | | | | | | | | | The difference from before is that the settings are now on the Highlights tab instead of the Extensions tab and only change one theme at a time instead of all themes. The default for light themes is black on light gray, as before. The default for the IDLE Dark theme is white on dark gray, which better fits the dark theme. When one starts IDLE from a console and loads a custom theme without definitions for 'context', one will see a warning message on the console. To stop the warning, go to Options => Configure IDLE => Highlights, select the custom theme if not selected already, select 'Code Context', and select foreground and background colors.
* bpo-33615: Re-enable a subinterpreter test. (gh-7251)Eric Snow2018-06-024-23/+42
| | | For bpo-32604 I added extra subinterpreter-related tests (see #6914), which caused a few buildbots to crash. This patch fixes the crash by ensuring that refcounts in channels are handled properly.
* bpo-33642: IDLE: Use variable number of lines in CodeContext. (GH-7106)Cheryl Sabella2018-06-016-29/+40
| | | | | | | | | | Instead of displaying a fixed number of lines, some blank, Code Context now displays the variable number of actual context lines. When there are no context lines, it shows a single blank line to indicate that the feature is turned on. The Code Context configuration option is changed from 'numlines' (default 3) to 'maxlines' (default 15) to avoid possible interference between user settings for the old and new versions of Code Context.