[issue38351] Modernize email example from %-formatting to f-string

2019-11-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +16677 pull_request: https://github.com/python/cpython/pull/17168 ___ Python tracker ___

[issue38794] Setup: support linking openssl statically

2019-11-15 Thread Christian Heimes
Christian Heimes added the comment: Since this is a request for a new feature, I'm bumping versions to 3.9 and newer. There is no need to add more configure flags to build Python with a custom OpenSSL installation. It's sufficient to build OpenSSL as a shared library and run Python's

[issue38677] Arraymodule initialization error handling improvements

2019-11-15 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue23544] IDLE hangs when selecting Stack View with debug active

2019-11-15 Thread Tal Einat
Tal Einat added the comment: Taking this in a different direction, perhaps we can make the stack viewer always work, regardless of whether it is immediately after an exception? Visually inspecting the stack can be useful not just for understanding error cases. -- nosy: +taleinat

[issue38749] sqlite3 driver fails on four byte unicode strings coming from JSON_EXTRACT

2019-11-15 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- type: crash -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38651] Add WolfSSL support

2019-11-15 Thread Christian Heimes
Christian Heimes added the comment: Brett is correct. We don't have the capacity to develop, maintain, and test with another TLS library. I'm basically the only person that maintains the ssl module at the moment. I might be inclined to accept patches that improves compatibility with

[issue38351] Modernize email example from %-formatting to f-string

2019-11-15 Thread miss-islington
miss-islington added the comment: New changeset fe67a5354010f33128c4f461da8ffb925e0f4de8 by Miss Islington (bot) in branch '3.7': bpo-38351: Modernize email examples from %-formatting to f-strings (GH-17162) https://github.com/python/cpython/commit/fe67a5354010f33128c4f461da8ffb925e0f4de8

[issue38810] SSL connect() raises SSLError "[SSL] EC lib (_ssl.c:728)"

2019-11-15 Thread Christian Heimes
Christian Heimes added the comment: This looks like a self-compiled Python 3.5 on an ancient, unsupported RHEL 4 box. What's the OpenSSL version of the machine and the server? -- ___ Python tracker

[issue38749] sqlite3 driver fails on four byte unicode strings coming from JSON_EXTRACT

2019-11-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It was confirmed that it is an SQLite bug, and it will be fixed in the next SQLite bugfix release. -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker

[issue38800] Resume position for UTF-8 codec error handler not working

2019-11-15 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue38677] Arraymodule initialization error handling improvements

2019-11-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset b44ffc8b409fd539c5fb2b79385498e9fe168880 by Serhiy Storchaka (Marco Paolini) in branch 'master': bpo-38677: Fix arraymodule error handling in module initialization. (GH-17039)

[issue38810] SSL connect() raises SSLError "[SSL] EC lib (_ssl.c:728)"

2019-11-15 Thread Andy Maier
New submission from Andy Maier : A user of our pywbem package gets an SSLError with message "[SSL] EC lib (_ssl.c:728)" when invoking the connect() method on an SSL wrapped socket. See https://github.com/pywbem/pywbem/issues/1950. The issue is that with this error message, it is not possible

[issue38677] Arraymodule initialization error handling improvements

2019-11-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +16675 pull_request: https://github.com/python/cpython/pull/17166 ___ Python tracker ___

[issue38809] On Windows, build scripts should prefer using python.exe from an active virtual env

2019-11-15 Thread Tal Einat
Change by Tal Einat : -- assignee: docs@python -> nosy: -docs@python ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue38808] weird bug while using a for loop and array

2019-11-15 Thread Mark Dickinson
Mark Dickinson added the comment: This isn't a bug: it's the way that Python's assignment model works. This is explained in various places (including the official Python documentation), but you may find this excellent presentation by Ned Batchelder useful:

[issue23544] IDLE hangs when selecting Stack View with debug active

2019-11-15 Thread Tal Einat
Tal Einat added the comment: > perhaps we can make the stack viewer always work Well, perhaps not "always", e.g. probably not while user code is running. -- ___ Python tracker

[issue38351] Modernize email example from %-formatting to f-string

2019-11-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +16676 pull_request: https://github.com/python/cpython/pull/17167 ___ Python tracker ___

[issue38351] Modernize email example from %-formatting to f-string

2019-11-15 Thread Tal Einat
Tal Einat added the comment: New changeset e8acc865a3f112b98417f676c897ca6ec2dac2c7 by Tal Einat (Andrey Doroschenko) in branch 'master': bpo-38351: Modernize email examples from %-formatting to f-strings (GH-17162)

[issue38810] SSL connect() raises SSLError "[SSL] EC lib (_ssl.c:728)"

2019-11-15 Thread Andy Maier
Andy Maier added the comment: More details about the environment this happens on: Python 3.5.7 (default, Aug 16 2019, 10:17:32) [GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux -- ___ Python tracker

[issue38351] Modernize email example from %-formatting to f-string

2019-11-15 Thread Tal Einat
Tal Einat added the comment: Thanks for the PR, Andrey! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue38810] SSL connect() raises SSLError "[SSL] EC lib (_ssl.c:728)"

2019-11-15 Thread Christian Heimes
Christian Heimes added the comment: Sorry, Kernel version 4.4.7 is RHEL 6. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue38677] Arraymodule initialization error handling improvements

2019-11-15 Thread miss-islington
miss-islington added the comment: New changeset 25ce77dd2455abbb6e2c9e055bbc98954642fa7c by Miss Islington (bot) in branch '3.8': bpo-38677: Fix arraymodule error handling in module initialization. (GH-17039) https://github.com/python/cpython/commit/25ce77dd2455abbb6e2c9e055bbc98954642fa7c

[issue38351] Modernize email example from %-formatting to f-string

2019-11-15 Thread miss-islington
miss-islington added the comment: New changeset dae27cc8e72106c2eceeff9af83d1e58b2bb68d5 by Miss Islington (bot) in branch '3.8': bpo-38351: Modernize email examples from %-formatting to f-strings (GH-17162) https://github.com/python/cpython/commit/dae27cc8e72106c2eceeff9af83d1e58b2bb68d5

[issue38809] On Windows, build scripts should prefer using python.exe from an active virtual env

2019-11-15 Thread Tal Einat
Change by Tal Einat : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___ ___

[issue38810] SSL connect() raises SSLError "[SSL] EC lib (_ssl.c:728)"

2019-11-15 Thread Christian Heimes
Christian Heimes added the comment: The error message is coming from OpenSSL, not from Python. It looks like the handshake is failing with a problem in OpenSSL's internal elliptic curve crypto. It usually means that the server is sending handshake parameters or certs that the client cannot

[issue38794] Setup: support linking openssl statically

2019-11-15 Thread Lukas Vacek
Lukas Vacek added the comment: Fair enough. Btw. I picked versions 3.7 and up to show this feature should eventually be backported to older CPython versions that depend on OpenSSL >= 1.0.2. This feature is to avoid relying on rpath and relying on a seperate installation to be installed in

[issue34572] C unpickling bypasses import thread safety

2019-11-15 Thread Brett Cannon
Brett Cannon added the comment: 3.6 and 3.5 are in security mode, so unless there's a security risk due to this bug the fix will not be backported to those older versions (https://devguide.python.org/#status-of-python-branches). -- ___ Python

[issue38811] Pathlib crashes when os module is missing 'link' method

2019-11-15 Thread Toke Høiland-Jørgensen
Toke Høiland-Jørgensen added the comment: Right, sure, that makes sense; thanks for clarifying :) -- ___ Python tracker ___ ___

[issue38453] ntpath.realpath() does not fully resolve relative paths

2019-11-15 Thread Steve Dower
Steve Dower added the comment: New changeset abde52cd8e31830bfc06c5803221faae6172104a by Steve Dower in branch 'master': bpo-38453: Ensure ntpath.realpath correctly resolves relative paths (GH-16967) https://github.com/python/cpython/commit/abde52cd8e31830bfc06c5803221faae6172104a

[issue38811] Pathlib crashes when os module is missing 'link' method

2019-11-15 Thread Toke Høiland-Jørgensen
New submission from Toke Høiland-Jørgensen : Commit 6b5b013bcc22 ("bpo-26978: Implement pathlib.Path.link_to (Using os.link) (GH-12990)") introduced a new link_to method in pathlib. However, this makes pathlib crash when the 'os' module is missing a 'link' method, as can be seen in the report

[issue22367] Add open_file_descriptor parameter to fcntl.lockf() (use the new F_OFD_SETLK flag)

2019-11-15 Thread Dong-hee Na
Dong-hee Na added the comment: Dear Core developers Although I updated the unit test for this issue if the reverting is a better way. Please let me know. I am happy to follow the decision. :) Thanks always -- ___ Python tracker

[issue38794] Setup: support linking openssl statically

2019-11-15 Thread Christian Heimes
Christian Heimes added the comment: > In ideal world OpenSSL would provide stable ABI just like the other libraries > Python depends on. That would be, unarguably, the best way to achieve that > goal. Agreed. OpenSSL provides a stable API and stable ABI already. The fact is well documented

[issue38813] math.modf() change integer returned part as integer instead of float

2019-11-15 Thread Raymond Hettinger
Raymond Hettinger added the comment: This is odd. The underlying C library modf() returns an integer for the second part. Likewise the Python math.frexp() function returns an integer for the second part. So, I'm not sure why Python's math.modf() returns a float for the second field.

[issue25866] Reference 3. Data Model: miscellaneous minor cleanups on the word "sequence".

2019-11-15 Thread Raymond Hettinger
Raymond Hettinger added the comment: Can you please turn this into a regular PR? -- assignee: docs@python -> rhettinger nosy: +rhettinger ___ Python tracker ___

[issue38815] test_ssl: test_min_max_version() fails on AMD64 FreeBSD Shared 3.x

2019-11-15 Thread STINNER Victor
STINNER Victor added the comment: Same failure on AMD64 FreeBSD Shared 3.8: https://buildbot.python.org/all/#/builders/374/builds/32 FAIL: test_min_max_version (test.test_ssl.ContextTests) FAIL: test_min_max_version_mismatch (test.test_ssl.ThreadedTests) --

[issue38778] Document that os.fork is not allowed in subinterpreters

2019-11-15 Thread miss-islington
miss-islington added the comment: New changeset b22030073b9327a3aeccb69507694bce078192aa by Miss Islington (bot) (Phil Connell) in branch 'master': bpo-38778: Document that os.fork is not allowed in subinterpreters (GH-17123)

[issue34651] Disallow fork in a subinterpreter.

2019-11-15 Thread miss-islington
miss-islington added the comment: New changeset b22030073b9327a3aeccb69507694bce078192aa by Miss Islington (bot) (Phil Connell) in branch 'master': bpo-38778: Document that os.fork is not allowed in subinterpreters (GH-17123)

[issue11354] argparse: nargs could accept range of options count

2019-11-15 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> rejected stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue11354] argparse: nargs could accept range of options count

2019-11-15 Thread Alex
Alex added the comment: Weighing up how little demand there seems to be for this, and how easy it is to achieve the same effect with post-processing within a hypothetical script that happens to need it - I agree with closing it. -- ___ Python

[issue38276] test_asyncio: test_cancel_make_subprocess_transport_exec() failed on RHEL7 LTO + PGO 3.x

2019-11-15 Thread STINNER Victor
STINNER Victor added the comment: AMD64 Fedora Stable Refleaks 3.8: https://buildbot.python.org/all/#/builders/260/builds/50 ... test_devnull_input (test.test_asyncio.test_subprocess.SubprocessFastWatcherTests) ... ok test_devnull_output

[issue38453] ntpath.realpath() does not fully resolve relative paths

2019-11-15 Thread Steve Dower
Steve Dower added the comment: I think the PR as it stands is a net improvement over where we currently are, so I'll merge it. We can make more tweaks as necessary. -- ___ Python tracker

[issue38816] Clarify about fork() and the CPython runtime in the C-API docs.

2019-11-15 Thread Eric Snow
New submission from Eric Snow : The C-API docs are a bit sparse on the interplay between C fork() and the CPython runtime. -- assignee: eric.snow components: Documentation messages: 356705 nosy: eric.snow, gregory.p.smith, pconnell priority: normal pull_requests: 16684 severity:

[issue35453] pathlib.Path: glob and rglob should accept PathLike patterns

2019-11-15 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: @BTaskaya From what I see, there is no consensus yet.If you are interested in exploring, go on. -- ___ Python tracker ___

[issue38815] test_ssl: test_min_max_version() fails on AMD64 FreeBSD Shared 3.x

2019-11-15 Thread STINNER Victor
New submission from STINNER Victor : Fail with OpenSSL 1.1.1d 10 Sep 2019 on AMD64 FreeBSD Shared 3.x: https://buildbot.python.org/all/#/builders/371/builds/78 == FAIL: test_min_max_version (test.test_ssl.ContextTests)

[issue38811] Pathlib crashes when os module is missing 'link' method

2019-11-15 Thread Brett Cannon
Brett Cannon added the comment: Just an FYI a raised exception isn't considered a crash. For us a crash is a C-level crash like a segfault. -- nosy: +brett.cannon type: crash -> behavior ___ Python tracker

[issue38803] test_wait3 and test_wait4 leaked references on x86 Gentoo Refleaks 3.x

2019-11-15 Thread Eddie Elizondo
Eddie Elizondo added the comment: Woops! I'll get to it before the end of the weekend! -- nosy: +eelizondo ___ Python tracker ___

[issue35381] posixmodule: convert statically allocated types (DirEntryType & ScandirIteratorType) to heap-allocated types

2019-11-15 Thread Eddie Elizondo
Eddie Elizondo added the comment: Woops! I'll get to it before the end of the weekend! -- ___ Python tracker ___ ___

[issue38778] Document that os.fork is not allowed in subinterpreters

2019-11-15 Thread Eric Snow
Eric Snow added the comment: Nice work, Phil. We need a backport to 3.8, but the miss-islington bot is having trouble with it. [1] Either we can try flipping the "needs backport to 3.8" label again or you could create a backport PR yourself (like miss-islington suggested). If you do that

[issue38794] Setup: support linking openssl statically

2019-11-15 Thread Lukas Vacek
Lukas Vacek added the comment: In ideal world OpenSSL would provide stable ABI just like the other libraries Python depends on. That would be, unarguably, the best way to achieve that goal. Agreed. Aferall frequent OpenSSL ABI breakages are the reason why apple switched to their own

[issue38794] Setup: support linking openssl statically

2019-11-15 Thread Lukas Vacek
Lukas Vacek added the comment: Christian, I don't want to argue. Feel free to close both this bug and the PR as "enhancement rejected". Adding one ./configure option is not really worth arguing over, I can always compile python as I need. I just tried to solve the same problem for others

[issue25866] Reference 3. Data Model: miscellaneous minor cleanups on the word "sequence".

2019-11-15 Thread Andrei Daraschenka
Change by Andrei Daraschenka : -- pull_requests: +16683 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/17175 ___ Python tracker ___

[issue38814] Python3.7.5 crashes on OSX with my django project

2019-11-15 Thread László Károlyi
New submission from László Károlyi : Hey, I have a huge Django project that starts up fine with the dev server on Linux and in production that is also Linux. Whenever I try to start it on my OSX, the python process crashes with a SIGABRT and I get a crash window from OSX. I use homebrew with

[issue38742] ElementTree won't parse comments before root element

2019-11-15 Thread Stefan Behnel
Stefan Behnel added the comment: Duplicate of issue 9521 (and issue 24287). -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> xml.etree.ElementTree skips processing instructions when parsing ___ Python tracker

[issue38453] ntpath.realpath() does not fully resolve relative paths

2019-11-15 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +16682 pull_request: https://github.com/python/cpython/pull/17174 ___ Python tracker ___

[issue38811] Pathlib crashes when os module is missing 'link' method

2019-11-15 Thread Toke Høiland-Jørgensen
Change by Toke Høiland-Jørgensen : -- keywords: +patch pull_requests: +16678 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17170 ___ Python tracker

[issue29620] unittest.TestCase.assertWarns raises RuntimeEror if sys.modules changes size

2019-11-15 Thread Arthit Suriyawongkul
Arthit Suriyawongkul added the comment: Confirmed this behavior on - Python 3.6.8 64-bit on Windows Server 2016 (AppVeyor "Visual Studio 2017" build environment) - Python 3.6.7 64-bit on Linux -- nosy: +Arthit Suriyawongkul ___ Python tracker

[issue38794] Setup: support linking openssl statically

2019-11-15 Thread Christian Heimes
Christian Heimes added the comment: I'm drawing a different conclusion from these posts. It sounds to me like people want a simple way to install a new version of Python on old distros and have a working ssl module. Static linking is one possible way to archive the goal. I argue that it is

[issue7687] Bluetooth support untested

2019-11-15 Thread Batuhan
Change by Batuhan : -- nosy: +BTaskaya versions: +Python 3.9 -Python 2.7, Python 3.4, Python 3.5, Python 3.6 ___ Python tracker ___

[issue35453] pathlib.Path: glob and rglob should accept PathLike patterns

2019-11-15 Thread Batuhan
Batuhan added the comment: @nanjekyejoannah, are you still interested in adding tests or can i add tests? -- nosy: +BTaskaya ___ Python tracker ___

[issue22367] Add open_file_descriptor parameter to fcntl.lockf() (use the new F_OFD_SETLK flag)

2019-11-15 Thread Dong-hee Na
Dong-hee Na added the comment: @Michael.Felt Thanks for the suggestion. I 've updated the PR to skip the test on AIX. cc @vstinner -- ___ Python tracker ___

[issue38591] Deprecate Process Child Watchers

2019-11-15 Thread Andrew Svetlov
Andrew Svetlov added the comment: > So are we at least in agreement for starting with deprecating > FastChildWatcher? I think so. It will take a long before we remove it though. -- ___ Python tracker

[issue23407] os.walk always follows Windows junctions

2019-11-15 Thread Jim Carroll
Jim Carroll added the comment: I can confirm the os.walk() behavior still exists on 3.8. Just curious on the status of the patch? -- nosy: +jamercee ___ Python tracker ___

[issue3530] ast.NodeTransformer doc bug

2019-11-15 Thread Batuhan
Change by Batuhan : -- keywords: +patch pull_requests: +16681 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/17172 ___ Python tracker

[issue26978] Implement pathlib.Path.link (Using os.link)

2019-11-15 Thread Toke Høiland-Jørgensen
Change by Toke Høiland-Jørgensen : -- pull_requests: +16679 pull_request: https://github.com/python/cpython/pull/17170 ___ Python tracker ___

[issue22367] Add open_file_descriptor parameter to fcntl.lockf() (use the new F_OFD_SETLK flag)

2019-11-15 Thread Michael Felt
Michael Felt added the comment: @corona10 The AIX bot's are also in the red zone with PR17010. This was examined earlier See: https://bugs.python.org/issue35633#msg333662 In short, the recommendation by Victor was to skip the test: quote: > On AIX the test for flock() passes, but the test

[issue38794] Setup: support linking openssl statically

2019-11-15 Thread Lukas Vacek
Lukas Vacek added the comment: However, I'm still convinced many would appreciate adding this ./configure option: https://github.com/pyenv/pyenv/issues/1184#issuecomment-403149437 https://joshspicer.com/python37-ssl-issue

[issue21767] singledispatch docs should explicitly mention support for abstract base classes

2019-11-15 Thread Batuhan
Change by Batuhan : -- keywords: +patch pull_requests: +16680 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/17171 ___ Python tracker

[issue38812] Comparing datetime.time objects incorrect for TZ aware and unaware

2019-11-15 Thread Mike
New submission from Mike : import pytz import datetime tzaware_time1 = datetime.time(7,30,tzinfo=pytz.timezone("America/Denver")) tzaware_time2 = datetime.time(7,30,tzinfo=pytz.utc) tzunaware_time = datetime.time(7, 30) # This fails with exception: TypeError: can't compare offset-naive and

[issue38591] Deprecate Process Child Watchers

2019-11-15 Thread Kyle Stanley
Kyle Stanley added the comment: > I think so. It will take a long before we remove it though. In that case, it could be a long term deprecation notice, where we start the deprecation process without having a definitive removal version. This will at least encourage users to look towards

[issue38808] weird bug while using a for loop and array

2019-11-15 Thread Zach kuunka
Zach kuunka added the comment: I will check that out, Thank you -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue38813] math.modf() change integer returned part as integer instead of float

2019-11-15 Thread aikimark1955
New submission from aikimark1955 : The description for this function reads: "Return the fractional and integer parts of x. Both results carry the sign of x and are floats." Since the second returned value is "integer parts", I submit that the value should be integer. -- components:

[issue38817] Immutable types inplace operations work incorrect in async

2019-11-15 Thread Anton Bryzgalov
Anton Bryzgalov added the comment: Example code (also is attached to the issue): import asyncio async def count_smth(seconds: int) -> int: await asyncio.sleep(seconds) return seconds * 3 async def small_job(d: dict, key: str, seconds: int) -> None: d[key] += await

[issue38788] Inconsistent documentation of tell/seek on textiobase/textiowrapper

2019-11-15 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38750] Solve IPv4 categorisation issues with the ipaddress module

2019-11-15 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +pmoody ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38755] Long unicode string causes SyntaxError: Non-UTF-8 code starting with '\xe2' in file ..., but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

2019-11-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think that this should be closed as a duplicate of #34979 and this example posted there, with the OS and python version included. On Windows, with 3.7, 3.8.0, and master, neither the posted comment, the one in the file, not the initial statement in #34979

[issue38765] `ast.AST._attributes` is used by `ast.dump()` but not documented

2019-11-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: A leading underscore usually means that the name is private and should not be relied on. We of course use private names to implement public objects, else they should not exist. '_fields' is an exception, and I leave it to the ast experts to decide if

[issue38816] Clarify about fork() and the CPython runtime in the C-API docs.

2019-11-15 Thread Eric Snow
Change by Eric Snow : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue38778] Document that os.fork is not allowed in subinterpreters

2019-11-15 Thread Eric Snow
Eric Snow added the comment: Flipping the label one more time did the trick. Thanks again, Phil! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue34651] Disallow fork in a subinterpreter.

2019-11-15 Thread miss-islington
miss-islington added the comment: New changeset a4be5aae6e587f5310f1fc0d66d37e032621ce39 by Miss Islington (bot) in branch '3.8': bpo-38778: Document that os.fork is not allowed in subinterpreters (GH-17123) https://github.com/python/cpython/commit/a4be5aae6e587f5310f1fc0d66d37e032621ce39

[issue38453] ntpath.realpath() does not fully resolve relative paths

2019-11-15 Thread STINNER Victor
STINNER Victor added the comment: AMD64 Windows8.1 Non-Debug 3.x is grumpy: https://buildbot.python.org/all/#/builders/12/builds/3459 == FAIL: test_realpath_cwd (test.test_ntpath.TestNtpath)

[issue38805] locale.getlocale() returns a non RFC1766 language code

2019-11-15 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +lemburg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38816] Clarify about fork() and the CPython runtime in the C-API docs.

2019-11-15 Thread miss-islington
miss-islington added the comment: New changeset 7a5d4c7a8653cb6be126f87731802aa9a4bc90e2 by Miss Islington (bot) in branch '3.8': bpo-38816: Add notes in the C-API docs about fork in subinterpreters. (GH-17176) https://github.com/python/cpython/commit/7a5d4c7a8653cb6be126f87731802aa9a4bc90e2

[issue38778] Document that os.fork is not allowed in subinterpreters

2019-11-15 Thread miss-islington
miss-islington added the comment: New changeset a4be5aae6e587f5310f1fc0d66d37e032621ce39 by Miss Islington (bot) in branch '3.8': bpo-38778: Document that os.fork is not allowed in subinterpreters (GH-17123) https://github.com/python/cpython/commit/a4be5aae6e587f5310f1fc0d66d37e032621ce39

[issue38812] Comparing datetime.time objects incorrect for TZ aware and unaware

2019-11-15 Thread Jason Killen
Jason Killen added the comment: This appears to be a bug in pytz which as far as I can tell is not part of the "standard" lib, at least it's not in Lib. Running this example which does not use pytz: from datetime import timedelta, datetime, tzinfo, timezone, time # stole this from the docs,

[issue38813] math.modf() change integer returned part as integer instead of float

2019-11-15 Thread Tim Peters
Tim Peters added the comment: Raymond, I think you've tricked yourself ;-) The prototype for C's duoble modf is double modf(double x, double *intptr); Yes, after the call *intptr is an exact integer, but in the double format. >>> math.modf(1e300) (0.0, 1e+300) I don't think it would be

[issue25866] Reference 3. Data Model: miscellaneous minor cleanups on the word "sequence".

2019-11-15 Thread Alex
Alex added the comment: dorosch, please note section 3.9 from the developers guide: "When a patch exists in the issue tracker that should be converted into a GitHub pull request, please first ask the original patch author to prepare their own pull request. If the author does not respond

[issue38817] Immutable types inplace operations work incorrect in async

2019-11-15 Thread Антон Брызгалов
New submission from Антон Брызгалов : Example code (also is attached to the issue): import asyncio async def count_smth(seconds: int) -> int: await asyncio.sleep(seconds) return seconds * 3 async def small_job(d: dict, key: str, seconds: int) -> None: d[key] += await

[issue34979] Python throws “SyntaxError: Non-UTF-8 code start with \xe8...” when parse source file

2019-11-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: On Windows, with 3.7, 3.8.0, and master, none of the demo.py statement here and the examples in #38755 raise an error. I tried 'python -m module', running from IDLE editor, and interactive IDLE and REPL. Even the following worked. >>> s =

[issue38783] the window size is bigger than the specific size when create a window with a fix size in Windows platform

2019-11-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: When I add "master.update(); print(master.geometry())" I get "100x100+104+104". I have the same Windows and 3.7+, but with tcl/tk *8.6*, not the ancient 8.4. If you really are using the latter, I strongly suggest updating. Even if not, your result is

[issue38778] Document that os.fork is not allowed in subinterpreters

2019-11-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +16687 pull_request: https://github.com/python/cpython/pull/17179 ___ Python tracker ___

[issue34651] Disallow fork in a subinterpreter.

2019-11-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +16688 pull_request: https://github.com/python/cpython/pull/17179 ___ Python tracker ___

[issue26103] Contradiction in definition of "data descriptor" between (dotted lookup behavior/datamodel documentation) and (inspect lib/descriptor how-to)

2019-11-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +16689 pull_request: https://github.com/python/cpython/pull/17180 ___ Python tracker ___

[issue38816] Clarify about fork() and the CPython runtime in the C-API docs.

2019-11-15 Thread miss-islington
Change by miss-islington : -- keywords: +patch pull_requests: +16686 pull_request: https://github.com/python/cpython/pull/17178 ___ Python tracker ___

[issue38816] Clarify about fork() and the CPython runtime in the C-API docs.

2019-11-15 Thread miss-islington
miss-islington added the comment: New changeset 73cdb0c6b2c3861e034004cdc57be5e726876078 by Miss Islington (bot) (Eric Snow) in branch 'master': bpo-38816: Add notes in the C-API docs about fork in subinterpreters. (GH-17176)

[issue25866] Reference 3. Data Model: miscellaneous minor cleanups on the word "sequence".

2019-11-15 Thread Alex
Alex added the comment: I've decided to raise a pull request for the patch, considering it's only been a few hours. -- ___ Python tracker ___

[issue25866] Reference 3. Data Model: miscellaneous minor cleanups on the word "sequence".

2019-11-15 Thread Alex
Change by Alex : -- pull_requests: +16685 pull_request: https://github.com/python/cpython/pull/17177 ___ Python tracker ___ ___

[issue34979] Python throws “SyntaxError: Non-UTF-8 code start with \xe8...” when parse source file

2019-11-15 Thread Ezio Melotti
Change by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38755] Long unicode string causes SyntaxError: Non-UTF-8 code starting with '\xe2' in file ..., but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

2019-11-15 Thread Andrew Ushakov
Andrew Ushakov added the comment: > On Windows, with 3.7, 3.8.0, and master, neither the posted comment, the one > in the file, not the initial statement in #34979 give the SyntaxError. Just tried again on my corporate laptop with the downloaded file from this site: Microsoft Windows

[issue38782] Convert importlib.abc to use typing.Protocol

2019-11-15 Thread Ivan Levkivskyi
Change by Ivan Levkivskyi : -- nosy: +levkivskyi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38453] ntpath.realpath() does not fully resolve relative paths

2019-11-15 Thread Steve Dower
Steve Dower added the comment: New changeset 7c6130c8c36c941255365e5414c956fc919b8629 by Steve Dower in branch 'master': bpo-38453: Ensure correct short path is obtained for test (GH-17184) https://github.com/python/cpython/commit/7c6130c8c36c941255365e5414c956fc919b8629 --

  1   2   >