Barry Warsaw
273f51f5ca
Provide a little better debug output ( #6940 )
2018-05-17 11:54:01 -04:00
Eric Snow
3ab0136ac5
bpo-32604: Implement force-closing channels. (gh-6937)
...
This will make it easier to clean up channels (e.g. when used in tests).
2018-05-17 10:27:09 -04:00
Matthias Bussonnier
f90f5d5c1d
bpo-33549: Remove shim and deprecation warning to access DocumentLS.async. (GH-6924)
...
`obj.async` is now a syntax error, so the warning/shim is
quasi-unnecessary.
2018-05-17 11:16:12 +03:00
Serhiy Storchaka
64fddc423f
bpo-33475: Fix and improve converting annotations to strings. (GH-6774)
2018-05-16 23:17:48 -04:00
Steve Dower
e5f41d2f1e
bpo-33522: Enable CI builds on Visual Studio Team Services ( #6865 )
2018-05-16 17:50:29 -04:00
Eric Snow
6d2cd9036c
bpo-32604: Improve subinterpreter tests. ( #6914 )
...
Add more tests for subinterpreters. This patch also fixes a few small defects in the channel implementation.
2018-05-16 15:04:57 -04:00
Nina Zakharenko
2d2d3b170b
Fix ClassVar as string fails when getting type hints (GH-6824)
2018-05-16 12:27:03 -04:00
Petr Viktorin
8b94b41ab7
bpo-28167: Remove platform.linux_distribution (GH-6871)
...
* test_ssl: Remove skip_if_broken_ubuntu_ssl
We no longer support OpenSSL 0.9.8.15.15.
* bpo-28167: Remove platform.linux_distribution
2018-05-16 11:51:18 -04:00
Eric V. Smith
4e81296b18
bpo-33536: Validate make_dataclass() field names. (GH-6906)
2018-05-16 11:31:29 -04:00
Christopher Beacham
5db5c0669e
bpo-21475: Support the Sitemap extension in robotparser (GH-6883)
2018-05-16 10:52:07 -04:00
Isaiah Peng
4cc3eb48e1
bpo-32384: Skip test when _testcapi isn't available (GH-4940)
2018-05-16 11:05:17 +03:00
Eric V. Smith
2a7bacbd91
bpo-33453: Handle string type annotations in dataclasses. (GH-6768)
2018-05-15 22:44:27 -04:00
Victor Stinner
b056562860
bpo-33509: Fix _warnings for module_globals=None ( #6833 )
...
Don't crash on warnings.warn_explicit() if module_globals is not a dict.
2018-05-15 20:42:12 +02:00
Barry Warsaw
8709b236fc
bpo-33465: Use an unlikely to be built-in C extension in a test ( #6797 )
2018-05-15 14:41:13 -04:00
Matthias Bussonnier
9eb40bc38d
bpo-28167: bump platform.linux_distribution removal to 3.8 (GH-6669)
...
Also bump PendingDeprecationWarning to DeprecationWarning.
2018-05-15 11:17:00 -04:00
Amber Brown
545c955be9
bpo-33497: Add errors param to cgi.parse_multipart and make an encoding in FieldStorage use the given errors (GH-6804)
2018-05-14 18:11:55 -04:00
Michael Lazar
bd08a0af2d
bpo-32861: urllib.robotparser fix incomplete __str__ methods. (GH-5711)
...
The urllib.robotparser's __str__ representation now includes wildcard
entries and the "Crawl-delay" and "Request-rate" fields. Also removes extra
newlines that were being appended to the end of the string.
2018-05-14 17:10:41 +03:00
Anders Kaseorg
5c0d462689
bpo-32601: Let test_expanduser use the same user if no others found. (GH-5246)
...
This happens in the NixOS build sandbox, for example, where the only
other user is nobody with home directory /.
2018-05-14 17:00:37 +03:00
Miro Hrončok
7ec8f28656
bpo-33455: Pass os.environ in test_posix::test_specify_environment. (GH-6753)
...
Pass os.environ's copy to new process created at test_posix:
test_specify_environment. Otherwise important variables such as
LD_LIBRARY_PATH are not set and the child process might not work at all
in an environment where such variables are required for Python to function.
2018-05-11 08:40:43 +03:00
Ivan Levkivskyi
b551e9f0ff
Fix a bug in Generic.__new__ (GH-6758)
2018-05-10 23:10:10 -04:00
jdemeyer
ac9240b9be
closes bpo-33445: fail properly in test_cprofile() (GH-6727)
2018-05-08 21:16:35 -07:00
Ivan Levkivskyi
43d12a6bd8
bpo-28556: Minor fixes for typing module (GH-6732)
...
This also fixes https://bugs.python.org/issue33420
2018-05-09 02:23:46 +01:00
Serhiy Storchaka
ec1622d56c
bpo-33144: Fix choosing random.Random._randbelow implementation. (GH-6563)
...
random() takes precedence over getrandbits() if defined later
in the class tree.
2018-05-08 15:45:15 +03:00
Serhiy Storchaka
d54cfb160c
bpo-33441: Make the sigset_t converter available in other modules. (GH-6720)
...
* Expose the sigset_t converter via private API _Py_Sigset_Converter().
* Use Argument Clinic for parsing sigset_t in signalmodule.c.
* Raise ValueError instead OverflowError for integers out of
the C long range.
Based on patch by Pablo Galindo Salgado.
2018-05-08 07:48:50 +03:00
Serhiy Storchaka
cedc9b7420
bpo-20087: Update locale alias mapping with glibc 2.27 supported locales. (ПР-6708)
2018-05-06 08:46:15 +03:00
Antoine Pitrou
9d3627e311
bpo-33332: Add signal.valid_signals() (GH-6581)
2018-05-04 13:00:50 +02:00
Serhiy Storchaka
ef347535f2
bpo-20104: Improve error handling and fix a reference leak in os.posix_spawn(). ( #6332 )
2018-05-01 16:45:04 +03:00
Michael Selik
47ab15470d
bpo-31908: Fix output of cover files for trace module command-line tool. (GH-4205)
...
Previously emitted cover files only when --missing option was used.
2018-05-01 06:46:52 +03:00
Brett Cannon
3ab9365dca
bpo-33254: do not return an empty list when asking for the contents of a namespace package (GH-6467)
2018-04-30 11:31:45 -07:00
Andrés Delfino
c3b7a6dfb9
bpo-33352: Skip test_regrtest test if rt.bat does not exist (GH-6654)
2018-04-30 18:30:53 +02:00
sblondon
7d68bfa826
bpo-33256: Replace angle brackets around python object repr to display it in html (GH-6442)
2018-04-29 20:48:33 +03:00
Serhiy Storchaka
70af06cdc4
bpo-31026: Fix test_dbm if dbm.ndbm is build with Berkeley DB. (GH-6632)
2018-04-29 15:45:03 +03:00
Serhiy Storchaka
2e38cc3933
bpo-33383: Fix crash in get() of the dbm.ndbm database object. ( #6630 )
2018-04-29 12:38:06 +03:00
Zsolt Dollenstein
e239650660
bpo-33363: raise SyntaxError for async for/with outside async functions ( #6616 )
2018-04-27 11:58:56 -04:00
Pablo Galindo
4114846265
bpo-33358: Fix test_embed.test_pre_initialization_sys_options (GH-6612)
...
Fix test_embed.test_pre_initialization_sys_options() when building with --enable-shared
2018-04-27 14:23:13 +02:00
Cheryl Sabella
0250de4819
bpo-27485: Rename and deprecate undocumented functions in urllib.parse (GH-2205)
2018-04-25 16:51:54 -07:00
Serhiy Storchaka
57faf34887
bpo-33334: Support NOP and EXTENDED_ARG in dis.stack_effect(). ( #6566 )
...
Added tests to ensure that all defined opcodes are supported.
2018-04-25 22:04:06 +03:00
Pablo Galindo
0977091dca
bpo-33128 Fix duplicated call to importlib._install_external_importers (GH-6273)
...
External importers were being added in both phases of the import
system initialisation.
They're only supposed to be added in the second phase, after the
import machinery has been appropriately configured.
2018-04-25 12:22:28 +10:00
Chris Bradbury
1d4a733cce
bpo-33251: Prevent ConfigParser.items returning items present in vars. ( #6446 )
...
* bpo-33251: ConfigParser.items no longer returns items present in vars.
Documentation for `ConfigParser.items()` states:
'Items present in vars no longer appear in the result.'
This fix aligns behaviour to that specified in the documentation.
2018-04-23 12:16:17 -07:00
Berker Peksag
d5a2377c3d
bpo-991266: Fix quoting of Comment attribute of SimpleCookie (GH-6555)
2018-04-23 02:48:11 +03:00
Ville Skyttä
61f82e0e33
Spelling fixes to docs, docstrings, and comments (GH-6374)
2018-04-20 16:08:45 -04:00
Serhiy Storchaka
69524821a8
bpo-33189: pygettext.py now accepts only literal strings (GH-6364)
...
as docstrings and translatable strings, and rejects
bytes literals and f-string expressions.
2018-04-19 09:23:03 +03:00
Serhiy Storchaka
e5362eaa75
bpo-33308: Fix a crash in the parser module when convert an ST object. ( #6519 )
...
Converting with line_info=False and col_info=True crashed before.
2018-04-19 01:55:37 +03:00
INADA Naoki
36d56ea826
bpo-33295: Skip test using missing external site (GH-6504)
...
`test_urllib2net.OtherNetworkTests.test_sites_no_connection_close`
used `http://www.imdb.com/ ` but it is moved to https so the test is
not valid anymore. Skip test for the moment to allow CI to proceed.
2018-04-17 11:31:29 -04:00
Wolfgang Maier
ba3a87aca3
bpo-33144: random.Random and subclasses: split _randbelow implementation (GH-6291)
2018-04-17 08:16:17 -07:00
jdemeyer
28e8b66d6c
Fix spelling typo (GH-6443)
2018-04-17 11:15:44 -04:00
Nick Coghlan
1a5c4bdb6e
bpo-33185: Improve wording and markup (GH-6477)
...
Adds some working and markup fixes that I missed
in the initial commit for this issue.
(Follow-up to GH-6419)
2018-04-15 23:32:05 +10:00
Nick Coghlan
82a9481059
bpo-33185: Fix regression in pydoc CLI sys.path handling (GH-6419)
...
The pydoc CLI assumed -m pydoc would add the empty string
to sys.path, and hence got confused when it switched to
adding the full initial working directory instead.
This refactors the pydoc CLI path manipulation to be
more testable, and ensures it won't accidentally
remove the standard library directory containing
pydoc itself from sys.path.
2018-04-15 21:52:57 +10:00
Antoine Pitrou
480ab05d5f
bpo-33176: Add a toreadonly() method to memoryviews. (GH-6466)
2018-04-14 19:49:21 +02:00
Mark Nemec
c4b695f85e
bpo-33097: Fix submit accepting callable after executor shutdown by interpreter exit (GH-6144)
...
Executors in concurrent.futures accepted tasks after executor was shutdown by interpreter exit. Tasks were left in PENDING state forever. This fix changes submit to instead raise a RuntimeError.
2018-04-10 19:23:14 +02:00