[issue30951] Documentation error in inspect module

2020-03-22 Thread laike9m
Change by laike9m : -- nosy: +laike9m ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-03-22 Thread hai shi
hai shi added the comment: > I noticed that caches on Lib/encodings/__init__.py and codec_search_cach of > PyInterpreterState are the places holding the refs. I removed those caches > and number went do to. Good Catch, Paulo. IMHO, caches is useful in codecs(it's improve the search

Re: How to copy paragraphs (with number formatting) and images from Words (.docx) and paste into Excel (.xlsx) using Python

2020-03-22 Thread A S
On Monday, 23 March 2020 01:58:38 UTC+8, Beverly Pope wrote: > > On Mar 22, 2020, at 9:47 AM, A S wrote: > > > > I can't seem to paste pictures into this discussion so please see both my > > current and desired Excel output here: > > > >

[issue40028] Math module method to find prime factors for non-negative int n

2020-03-22 Thread Tim Peters
Tim Peters added the comment: Jonathan, _almost_ no factoring algorithms have any use for a table of primes. Brute force trial division can use one, but that's about it. A table of primes _is_ useful for implementing functions related to pi(x) = the number of primes <= x, and the bigger

Re: Like c enumeration in python3 [ERRATA]

2020-03-22 Thread DL Neil via Python-list
On 23/03/20 3:32 PM, Paulo da Silva wrote: Às 02:18 de 23/03/20, Paulo da Silva escreveu: Hi! Olá, Suppose a class C. I want something like this: class C: KA=0 KB=1 KC=2 ... Kn=n def __init__ ... ... These constants come

Re: Like c enumeration in python3 [ERRATA]

2020-03-22 Thread Paulo da Silva
Às 02:18 de 23/03/20, Paulo da Silva escreveu: > Hi! > > Suppose a class C. > I want something like this: > > class C: > KA=0 > KB=1 KC=2 > ... > Kn=n > > def __init__ ... > ... > > > These constants come from an enum in a .h (header of C

Like c enumeration in python3

2020-03-22 Thread Paulo da Silva
Hi! Suppose a class C. I want something like this: class C: KA=0 KB=1 KC=1 ... Kn=n def __init__ ... ... These constants come from an enum in a .h (header of C file). They are many and may change from time to time. Is there a way

[issue37319] Deprecate using random.randrange() with non-integers

2020-03-22 Thread Tim Peters
Tim Peters added the comment: I have scant memory of working on this code. But back then Python wasn't at all keen to enforce type checking in harmless contexts. If, e.g., someone found it convenient to pass integers that happened to be in float format to randrange(), why not? Going

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-03-22 Thread Paulo Henrique Silva
Paulo Henrique Silva added the comment: About half of the remaining refs are related to encodings. I noticed that caches on Lib/encodings/__init__.py and codec_search_cach of PyInterpreterState are the places holding the refs. I removed those caches and number went do to: Before: 4382 refs

[issue40045] Make "dunder" method documentation easier to locate

2020-03-22 Thread Kyle Stanley
Change by Kyle Stanley : -- priority: normal -> low ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40045] Make "dunder" method documentation easier to locate

2020-03-22 Thread Kyle Stanley
New submission from Kyle Stanley : In a recent python-ideas thread, the rule of dunder methods being reserved for Python internal usage only was brought up (https://mail.python.org/archives/list/python-id...@python.org/message/GMRPSSQW3SXNCP4WU7SYDINL67M2WLQI/), due to an author of a third

[issue21760] inspect documentation describes module type inaccurately

2020-03-22 Thread Furkan Önder
Furkan Önder added the comment: I sent a PR to fix a __file__ description. https://github.com/python/cpython/pull/19097 -- ___ Python tracker ___

[issue40043] RegExp Conditional Construct (?(id/name)yes-pattern|no-pattern) Problem

2020-03-22 Thread SilentGhost
SilentGhost added the comment: Leon, this most likely is not a bug, not because what's stated in documentation, but because you're most likely not testing what you think you do. Here is the test that you should be doing: >>> re.match(r'(<)?(\w+@\w+(?:\.\w+)+)(?(1)>|$)', '>> No match. If

[issue15436] __sizeof__ is not documented

2020-03-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: > I can add those changes if someone didn't take it already? I think we've decided that this is an implementation specific detail. -- resolution: -> not a bug stage: needs patch -> resolved status: open -> closed

[issue10572] Move test sub-packages to Lib/test

2020-03-22 Thread Ido Michael
Ido Michael added the comment: GH-18727 Only tkinter module for start. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue35885] configparser: indentation

2020-03-22 Thread Ido Michael
Ido Michael added the comment: @SilentGhost Added documentation to the module and a test for a give space indent in the module test. -- ___ Python tracker ___

[issue15436] __sizeof__ is not documented

2020-03-22 Thread Ido Michael
Change by Ido Michael : -- nosy: -Ido Michael ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38856] asyncio ProactorEventLoop: wait_closed() can raise ConnectionResetError

2020-03-22 Thread Ido Michael
Change by Ido Michael : -- nosy: -Ido Michael ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39107] Upgrade tcl/tk to 8.6.10 (Windows and maxOS)

2020-03-22 Thread Ido Michael
Change by Ido Michael : -- nosy: -Ido Michael ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22490] Using realpath for __PYVENV_LAUNCHER__ makes Homebrew installs fragile

2020-03-22 Thread Jason R. Coombs
Jason R. Coombs added the comment: I've filed [Homebrew/brew#7204](https://github.com/Homebrew/brew/issues/7204) to track the testing/validation of this change against Homebrew. -- ___ Python tracker

[issue39989] Output closing parenthesis in ast.dump() on separate line

2020-03-22 Thread Anthony Sottile
Anthony Sottile added the comment: fwiw, astpretty's output looks like the black output: https://github.com/asottile/astpretty >>> astpretty.pprint(ast.parse('if x == y: y += 4').body[0]) If( lineno=1, col_offset=0, test=Compare( lineno=1, col_offset=3,

[issue37319] Deprecate using random.randrange() with non-integers

2020-03-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Using index() simplifies the code. Adding deprecation warnings complicates it. The PR consists of two commits, look at the first one to see how the code can finally look. If you think that the deprecation is not needed, we can just keep the simplified

[issue37319] Deprecate using random.randrange() with non-integers

2020-03-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'm generally against "fixing" things that aren't broken. AFAICT, this has never been an issue for any real user over its 20 year history. Also, the current PR makes the code look gross and may impact code that is currently working. Tim, this is

Re: php to python code converter

2020-03-22 Thread bobimapexa
On Friday, May 8, 2009 at 1:38:25 PM UTC+3, bvidinli wrote: > if anybody needs: > http://code.google.com/p/phppython/ hi -- https://mail.python.org/mailman/listinfo/python-list

[issue40018] test_ssl fails with OpenSSL 1.1.1e

2020-03-22 Thread Charalampos Stratakis
Charalampos Stratakis added the comment: The relevant info which seems to make the tests fail: Properly detect EOF while reading in libssl. Previously if we hit an EOF while reading in libssl then we would report an error back to the application (SSL_ERROR_SYSCALL) but errno would be 0. We

[issue40044] Tests failing with the latest update of openssl to version 1.1.1e

2020-03-22 Thread Charalampos Stratakis
Charalampos Stratakis added the comment: Closing it as duplicate of https://bugs.python.org/issue40018 -- resolution: -> duplicate stage: -> resolved status: open -> closed ___ Python tracker

[issue37319] Deprecate using random.randrange() with non-integers

2020-03-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Many functions that accepts non-integer arguments (except float) and truncate them to integers emits a deprecation warning since 3.8 (see issue36048 and issue20092). They will be errors in 3.10 (see 37999). --

[issue40044] Tests failing with the latest update of openssl to version 1.1.1e

2020-03-22 Thread Charalampos Stratakis
New submission from Charalampos Stratakis : The fedora rawhide buildbots started failing due to the latest update of openssl to version 1.1.1e. e.g. https://buildbot.python.org/all/#/builders/607/builds/137 Changelog: https://www.openssl.org/news/cl111.txt The relevant info which seems to

[issue37319] Deprecate using random.randrange() with non-integers

2020-03-22 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +18473 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19112 ___ Python tracker

[issue22490] Using realpath for __PYVENV_LAUNCHER__ makes Homebrew installs fragile

2020-03-22 Thread Jason R. Coombs
Change by Jason R. Coombs : -- versions: +Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22490] Using realpath for __PYVENV_LAUNCHER__ makes Homebrew installs fragile

2020-03-22 Thread Jason R. Coombs
Change by Jason R. Coombs : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue22490] Using realpath for __PYVENV_LAUNCHER__ makes Homebrew installs fragile

2020-03-22 Thread Jason R. Coombs
Jason R. Coombs added the comment: New changeset 5765acaf64cc2c52ce8a35de9407faddf6885598 by Jason R. Coombs in branch '3.7': [3.7] bpo-22490: Remove __PYVENV_LAUNCHER__ from environment during launch (GH-9516) (GH-19111)

[issue40043] RegExp Conditional Construct (?(id/name)yes-pattern|no-pattern) Problem

2020-03-22 Thread Matthew Barnett
Matthew Barnett added the comment: The documentation is talking about whether it'll match at the current position in the string. It's not a bug. -- resolution: -> not a bug ___ Python tracker

Sphinx-3.0.0b1 released.

2020-03-22 Thread Komiya Takeshi
Hi all, We just released Sphinx-3.0.0b1. It has many changes including incompatible ones. Please confirm it working fine on your documents. In detail, please see CHANGES: https://github.com/sphinx-doc/sphinx/blob/3.0.x/CHANGES You can use it with: pip install --pre Sphinx Since this is a beta

Confusing textwrap parameters, and request for RE help

2020-03-22 Thread Chris Angelico
When using textwrap.fill() or friends, setting break_long_words=False without also setting break_on_hyphens=False has the very strange behaviour that a long hyphenated word will still be wrapped. I discovered this as a very surprising result when trying to wrap a paragraph that contained a URL,

[issue22490] Using realpath for __PYVENV_LAUNCHER__ makes Homebrew installs fragile

2020-03-22 Thread Jason R. Coombs
Jason R. Coombs added the comment: New changeset c959fa9353b92ce95dd7fe3f25fe65bacbe22338 by Miss Islington (bot) in branch '3.8': bpo-22490: Remove __PYVENV_LAUNCHER__ from environment during launch (GH-9516) (GH-19110)

[issue22490] Using realpath for __PYVENV_LAUNCHER__ makes Homebrew installs fragile

2020-03-22 Thread Jason R. Coombs
Change by Jason R. Coombs : -- pull_requests: +18472 pull_request: https://github.com/python/cpython/pull/19111 ___ Python tracker ___

[issue39999] Fix some issues with AST node classes

2020-03-22 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue39999] Fix some issues with AST node classes

2020-03-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset bace59d8b8e38f5c779ff6296ebdc0527f6db14a by Serhiy Storchaka in branch 'master': bpo-3: Improve compatibility of the ast module. (GH-19056) https://github.com/python/cpython/commit/bace59d8b8e38f5c779ff6296ebdc0527f6db14a --

[issue22490] Using realpath for __PYVENV_LAUNCHER__ makes Homebrew installs fragile

2020-03-22 Thread Jason R. Coombs
Jason R. Coombs added the comment: New changeset 044cf94f610e831464a69a8e713dad89878824ce by Ronald Oussoren in branch 'master': bpo-22490: Remove __PYVENV_LAUNCHER__ from environment during launch (GH-9516) https://github.com/python/cpython/commit/044cf94f610e831464a69a8e713dad89878824ce

[issue22490] Using realpath for __PYVENV_LAUNCHER__ makes Homebrew installs fragile

2020-03-22 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 8.0 -> 9.0 pull_requests: +18471 pull_request: https://github.com/python/cpython/pull/19110 ___ Python tracker

Re: How to copy paragraphs (with number formatting) and images from Words (.docx) and paste into Excel (.xlsx) using Python

2020-03-22 Thread Beverly Pope
> On Mar 22, 2020, at 9:47 AM, A S wrote: > > I can't seem to paste pictures into this discussion so please see both my > current and desired Excel output here: > > https://stackoverflow.com/questions/60800494/how-to-copy-paragraphs-with-number-formatting-and-images-from-words-docx-an > >

[issue40043] RegExp Conditional Construct (?(id/name)yes-pattern|no-pattern) Problem

2020-03-22 Thread Leon Hampton
Leon Hampton added the comment: Hello, There may be a bug in the implementation of the Conditional Construction of Regular Expressions, namely the (?(id/name)yes-pattern|no-pattern). In the Regular Expression documentation (https://docs.python.org/3.7/library/re.html), in the portion about

[issue40043] Poor RegEx example for (?(id/name)yes-pattern|no-pattern)

2020-03-22 Thread Leon Hampton
New submission from Leon Hampton : Hello, In the 3.7.7 documentation on Regular Expression, the Conditional Construct, (?(id/name)yes-pattern|no-pattern), is discussed. (This is a very thorough document, by the way. Good job!) One example given for the Conditional Construct does not work as

Re: How to incorporate environment from with python.

2020-03-22 Thread Chris Angelico
On Mon, Mar 23, 2020 at 3:24 AM Peter Otten <__pete...@web.de> wrote: > > Antoon Pardon wrote: > > > I think I can best explain what I want by showing two bash sessions: > > > Python 2.6.4 (r264:75706, Sep 9 2015, 15:05:38) [C] on sunos5 > > ImportError: No module named cx_Oracle > > > Python

Re: Intermittent bug with asyncio and MS Edge

2020-03-22 Thread Barry Scott
> On 22 Mar 2020, at 09:41, Frank Millman wrote: > > On 2020-03-22 11:00 AM, Barry Scott wrote: >>> On 22 Mar 2020, at 07:56, Frank Millman wrote: >>> >>> On 2020-03-21 8:04 PM, Barry Scott wrote: I'd look at the network traffic with wireshark to see if there is anything

Re: Intermittent bug with asyncio and MS Edge

2020-03-22 Thread Barry Scott
> On 22 Mar 2020, at 11:59, Frank Millman wrote: > > On 2020-03-22 1:01 PM, Chris Angelico wrote: >> On Sun, Mar 22, 2020 at 12:45 AM Frank Millman wrote: >>> >>> Hi all >>> >>> I have a strange intermittent bug. >>> >>> The role-players - >>> asyncio on Python 3.8 running on Windows

Re: How to incorporate environment from with python.

2020-03-22 Thread Peter J. Holzer
On 2020-03-22 16:04:59 +0100, Antoon Pardon wrote: > $ /opt/csw/bin/python > Python 2.6.4 (r264:75706, Sep 9 2015, 15:05:38) [C] on sunos5 > Type "help", "copyright", "credits" or "license" for more information. Hmm. Solaris > As you can see the import works in the second session because I >

Re: How to incorporate environment from with python.

2020-03-22 Thread DL Neil via Python-list
On 23/03/20 4:04 AM, Antoon Pardon wrote: I think I can best explain what I want by showing two bash sessions: Session 1) -- $ /opt/csw/bin/python Python 2.6.4 (r264:75706, Sep 9 2015, 15:05:38) [C] on sunos5 Type "help", "copyright", "credits" or "license" for more information.

[issue28180] Implementation of the PEP 538: coerce C locale to C.utf-8

2020-03-22 Thread Matej Cepl
Matej Cepl added the comment: Thank you very much for the hint. Do I have to include the patch for bpo-19977 only (that would be easy), or also all twelve PRs for bpo-29240 (that would probably broke my will to do it)? -- ___ Python tracker

Re: How to incorporate environment from with python.

2020-03-22 Thread Peter Otten
Antoon Pardon wrote: > I think I can best explain what I want by showing two bash sessions: > Python 2.6.4 (r264:75706, Sep 9 2015, 15:05:38) [C] on sunos5 > ImportError: No module named cx_Oracle > Python 2.6.7 (r267:88850, Feb 10 2012, 01:39:24) [C] on sunos5 import cx_Oracle > As

[issue40024] Add _PyModule_AddType private helper function

2020-03-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset 05e4a296ecc127641160a04f39cc02c0f66a8c27 by Dong-hee Na in branch 'master': bpo-40024: Add PyModule_AddType() helper function (GH-19088) https://github.com/python/cpython/commit/05e4a296ecc127641160a04f39cc02c0f66a8c27 --

[issue37207] Use PEP 590 vectorcall to speed up calls to range(), list() and dict()

2020-03-22 Thread STINNER Victor
STINNER Victor added the comment: Remaining issue: optimize list(iterable), PR 18928. I reviewed the PR and I'm waiting for Petr. -- ___ Python tracker ___

[issue39148] DatagramProtocol + IPv6 does not work with ProactorEventLoop

2020-03-22 Thread Kjell Braden
Kjell Braden added the comment: Just to confirm, for some reason ENABLE_IPV6 is not set when compiling _overlapped. I'm not familiar enough with the windows build infrastructure to submit a PR though. -- versions: +Python 3.9 ___ Python tracker

[issue39380] ftplib uses latin-1 as default encoding

2020-03-22 Thread Sebastian G Pedersen
Sebastian G Pedersen added the comment: Yes, I will update the PR before the end of next week. -- ___ Python tracker ___ ___

[issue40039] [CVE-2020-10796] Python multiprocessing Remote Code Execution vulnerability

2020-03-22 Thread Junyu Zhang
Junyu Zhang added the comment: Thank you for your reply, this report is indeed the situation prompted by the warning. There will be few problems in the single-machine deployment mode. Of course, it is also possible to take advantage of the possibility of elevation of privilege. In the

How to incorporate environment from with python.

2020-03-22 Thread Antoon Pardon
I think I can best explain what I want by showing two bash sessions: Session 1) -- $ /opt/csw/bin/python Python 2.6.4 (r264:75706, Sep 9 2015, 15:05:38) [C] on sunos5 Type "help", "copyright", "credits" or "license" for more information. >>> import cx_Oracle Traceback (most recent call

How to copy paragraphs (with number formatting) and images from Words (.docx) and paste into Excel (.xlsx) using Python

2020-03-22 Thread A S
I have contract clauses in Words (.docx) format that needs to be frequently copy and pasted into Excel (.xlsx) to be sent to the third party. The clauses are often updated hence there's always a need to copy and paste these clauses over. I only need to copy and paste all the paragraphs and

[issue28859] os.path.ismount sometimes raises FileNotFoundError on Windows

2020-03-22 Thread 朱聖黎
Change by 朱聖黎 : -- keywords: +patch nosy: +akarei nosy_count: 10.0 -> 11.0 pull_requests: +18470 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/19109 ___ Python tracker

[issue28180] Implementation of the PEP 538: coerce C locale to C.utf-8

2020-03-22 Thread Nick Coghlan
Nick Coghlan added the comment: The test cases for locale coercion *not* triggering still assume that bpo-19977, using surrogateescape on the standard streams in the POSIX locale, has been implemented (since that was implemented in Python 3.5). Hence the various test cases complaining that

[issue39148] DatagramProtocol + IPv6 does not work with ProactorEventLoop

2020-03-22 Thread Kjell Braden
Kjell Braden added the comment: I tried some debugging with Python 3.9.0a4 and it looks like unparse_address in overlapped.c (https://github.com/python/cpython/blob/v3.9.0a4/Modules/overlapped.c#L689) raises the error. Almost seems like ENABLE_IPV6 is not set... --

[issue40042] Enum Flag: psuedo-members have None for name attribute

2020-03-22 Thread Ethan Furman
Change by Ethan Furman : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40042] Enum Flag: psuedo-members have None for name attribute

2020-03-22 Thread Ethan Furman
Change by Ethan Furman : -- assignee: ethan.furman nosy: ethan.furman priority: normal severity: normal stage: needs patch status: open title: Enum Flag: psuedo-members have None for name attribute versions: Python 3.9 ___ Python tracker

[issue36543] Remove old-deprecated ElementTree features (part 2)

2020-03-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset b33e52511a59c6da7132c226b7f7489b092a33eb by Serhiy Storchaka in branch 'master': bpo-36543: Remove the xml.etree.cElementTree module. (GH-19108) https://github.com/python/cpython/commit/b33e52511a59c6da7132c226b7f7489b092a33eb --

[issue36759] datetime: astimezone() results in OSError: [Errno 22] Invalid argument

2020-03-22 Thread Ard Kuijpers
Ard Kuijpers added the comment: Encountered this bug on Python 3.7.6 (default, Jan 8 2020, 20:23:39) [MSC v.1916 64 bit (AMD64)], so on Windows 10. I can reproduce the bug with the code in message https://bugs.python.org/msg341149. It does not seem to be a duplicate of #29097 since I

[issue40037] py_compile.py quiet undefined in main function

2020-03-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Closing this as duplicate. Feel free to reopen if it's a mistake. Thanks. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> bad input crashes py_compile library ___

[issue40041] Typo in argparse ja-document wrong:'append', correct:'extend'

2020-03-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Japanese translation is tracked in GitHub and can be reported there. https://github.com/python/python-docs-ja -- nosy: +xtreak ___ Python tracker

[issue32592] Drop support of Windows Vista and 7 in Python 3.9

2020-03-22 Thread Steve Dower
Steve Dower added the comment: Go ahead. I think you should create three PRs (docs, tests and code), with only as many tests in the code PR as are needed to keep it passing. -- ___ Python tracker

Re: Intermittent bug with asyncio and MS Edge

2020-03-22 Thread Frank Millman
On 2020-03-22 1:01 PM, Chris Angelico wrote: On Sun, Mar 22, 2020 at 12:45 AM Frank Millman wrote: Hi all I have a strange intermittent bug. The role-players - asyncio on Python 3.8 running on Windows 10 Microsoft Edge running as a browser on the same machine The bug does not

Re: Intermittent bug with asyncio and MS Edge

2020-03-22 Thread Kouli
The RST from Python is probably caused here by HTTP 1.1 server closing TCP connection without signalling "Connection: Close" in response headers: a fast HTTP client will send another HTTP request before its TCP stack detects the connection is being closed - and packets containing this new requests

[issue40041] Typo in argparse ja-document wrong:'append', correct:'extend'

2020-03-22 Thread Yasunobu Imamura
New submission from Yasunobu Imamura : In Japanese document of argparse, https://docs.python.org/ja/3/library/argparse.html In explain of action, ENGLISH DOCUMENT: ..., 'append', ..., 'extend' JAPANESE DOCUMENT: ..., 'append', ..., 'append' So, Japanese document is wrong. --

Re: Python 3.8.2 on MacOSX Sierra?

2020-03-22 Thread Greg Ewing
On 22/03/20 10:20 pm, Greg Ewing wrote: I'm going to try again with XCode 8, which purportedly comes with a 10.12 SDK, and see if that fixes it. It does. -- Greg -- https://mail.python.org/mailman/listinfo/python-list

Re: Intermittent bug with asyncio and MS Edge

2020-03-22 Thread Chris Angelico
On Sun, Mar 22, 2020 at 12:45 AM Frank Millman wrote: > > Hi all > > I have a strange intermittent bug. > > The role-players - > asyncio on Python 3.8 running on Windows 10 > Microsoft Edge running as a browser on the same machine > > The bug does not occur with Python 3.7. > It does

[issue40031] Python Configure IDLE 'Ok' and 'Apply' buttons do not seem to work.

2020-03-22 Thread Saaheer Purav
Saaheer Purav added the comment: I have tried everything like going to the .idlerc folder and making changes, but nothing worked. Finally, I had to change the original config files and it worked because Python is assuming that another theme which I put under 'IDLE Classic' is the original

[issue39148] DatagramProtocol + IPv6 does not work with ProactorEventLoop

2020-03-22 Thread Kjell Braden
Change by Kjell Braden : Removed file: https://bugs.python.org/file48996/udp_ipv6_server.py ___ Python tracker ___ ___ Python-bugs-list

[issue39148] DatagramProtocol + IPv6 does not work with ProactorEventLoop

2020-03-22 Thread Kjell Braden
Change by Kjell Braden : -- nosy: +kbr Added file: https://bugs.python.org/file48996/udp_ipv6_server.py ___ Python tracker ___ ___

[issue40040] ProactorEventLoop fails on recvfrom with IPv6 sockets

2020-03-22 Thread Kjell Braden
Kjell Braden added the comment: sorry - is a duplicate of https://bugs.python.org/issue39148 -- resolution: -> duplicate stage: -> resolved status: open -> closed ___ Python tracker

Re: Intermittent bug with asyncio and MS Edge

2020-03-22 Thread Chris Angelico
On Sun, Mar 22, 2020 at 8:42 PM Frank Millman wrote: > > On 2020-03-22 11:00 AM, Barry Scott wrote: > > > > > >> On 22 Mar 2020, at 07:56, Frank Millman wrote: > >> > >> On 2020-03-21 8:04 PM, Barry Scott wrote: > >>> I'd look at the network traffic with wireshark to see if there is > >>>

Re: Intermittent bug with asyncio and MS Edge

2020-03-22 Thread Chris Angelico
On Sun, Mar 22, 2020 at 8:30 PM Frank Millman wrote: > > On 2020-03-22 10:45 AM, Chris Angelico wrote: > > On Sun, Mar 22, 2020 at 6:58 PM Frank Millman wrote: > >>> I'd look at the network traffic with wireshark to see if there is > >>> anything different between edge and the other browsers. >

[issue40040] ProactorEventLoop fails on recvfrom with IPv6 sockets

2020-03-22 Thread Kjell Braden
New submission from Kjell Braden : on Windows 10 with Python 3.8.2 and Python 3.9.0a4, the ProactorEventLoop raises "OSError: [WinError 87] The parameter is incorrect" when recvfrom on an AF_INET6 socket returns data: DEBUG:asyncio:Using proactor: IocpProactor INFO:asyncio:Datagram endpoint

[issue32592] Drop support of Windows Vista and 7 in Python 3.9

2020-03-22 Thread C.A.M. Gerlach
C.A.M. Gerlach added the comment: Hey, any update on this? As I mentioned, I'm willing to implement everything I mention here in one or more PRs, but I wanted to wait for a go-ahead in case some of the changes were not desired. Let me know and I'll go ahead. Thanks! --

Re: Intermittent bug with asyncio and MS Edge

2020-03-22 Thread Frank Millman
On 2020-03-22 11:00 AM, Barry Scott wrote: On 22 Mar 2020, at 07:56, Frank Millman wrote: On 2020-03-21 8:04 PM, Barry Scott wrote: I'd look at the network traffic with wireshark to see if there is anything different between edge and the other browsers. You are leading me into deep

[issue40014] os.getgrouplist() can fail on macOS

2020-03-22 Thread hai shi
Change by hai shi : -- nosy: +shihai1991 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40031] Python Configure IDLE 'Ok' and 'Apply' buttons do not seem to work.

2020-03-22 Thread Saaheer Purav
Saaheer Purav added the comment: I use Windows 10. I had a similar issue with python 3.8.0, which is why I uninstalled it and installed Python 3.8.2. The issue had been cleared, but then after a few weeks it happened again. -- ___ Python tracker

[issue4926] putenv() accepts names containing '=', return value of unsetenv() not checked

2020-03-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: posix_putenv_garbage no longer used on Windows. -- resolution: -> fixed stage: patch review -> resolved status: pending -> closed ___ Python tracker

Re: Intermittent bug with asyncio and MS Edge

2020-03-22 Thread Frank Millman
On 2020-03-22 10:45 AM, Chris Angelico wrote: On Sun, Mar 22, 2020 at 6:58 PM Frank Millman wrote: I'd look at the network traffic with wireshark to see if there is anything different between edge and the other browsers. You are leading me into deep waters here :-) I have never used

Re: Python 3.8.2 on MacOSX Sierra?

2020-03-22 Thread Greg Ewing
On 22/03/20 9:55 pm, Barry Scott wrote: I guess you are using an old Mac that will not update to something newer? It's more that I don't *want* to update to something newer if I don't have to. Also it seems very un-python-like to depend on a specific OS version like this, which leads me to

[issue39538] SystemError when set Element.attrib to non-dict

2020-03-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Fixed by issue39822. e.attrib = 1 now raises a TypeError. -- resolution: -> out of date stage: needs patch -> resolved status: open -> closed versions: -Python 2.7, Python 3.7, Python 3.8 ___ Python tracker

[issue40039] [CVE-2020-10796] Python multiprocessing Remote Code Execution vulnerability

2020-03-22 Thread Kubilay Kocak
Change by Kubilay Kocak : -- nosy: +koobs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

Re: Intermittent bug with asyncio and MS Edge

2020-03-22 Thread Barry Scott
> On 22 Mar 2020, at 07:56, Frank Millman wrote: > > On 2020-03-21 8:04 PM, Barry Scott wrote: >>> On 21 Mar 2020, at 13:43, Frank Millman wrote: >>> >>> Hi all >>> >>> I have a strange intermittent bug. >>> >>> The role-players - >>>asyncio on Python 3.8 running on Windows 10 >>>

[issue36543] Remove old-deprecated ElementTree features (part 2)

2020-03-22 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +18469 pull_request: https://github.com/python/cpython/pull/19108 ___ Python tracker ___

Re: Python 3.8.2 on MacOSX Sierra?

2020-03-22 Thread Barry Scott
> On 22 Mar 2020, at 04:47, Greg Ewing wrote: > > I'm trying to compile a framework build of Python 3.8.2 on > MacOSX 10.12.6 (Sierra). I guess you are using an old Mac that will not update to something newer? > I'm getting: > > ./Modules/posixmodule.c:4696:12: warning: 'utimensat' is only

Re: Intermittent bug with asyncio and MS Edge

2020-03-22 Thread Chris Angelico
On Sun, Mar 22, 2020 at 6:58 PM Frank Millman wrote: > > I'd look at the network traffic with wireshark to see if there is anything > > different between edge and the other browsers. > > > > You are leading me into deep waters here :-) I have never used > Wireshark before. I have now downloaded

[issue40039] [CVE-2020-10796] Python multiprocessing Remote Code Execution vulnerability

2020-03-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I am not sure if this was done but CPython has a page on reporting security issues that you can use for future reports so that they can be triaged before being public. https://www.python.org/dev/security/ -- nosy: +vstinner

[issue40039] [CVE-2020-10796] Python multiprocessing Remote Code Execution vulnerability

2020-03-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. Is this a case of the warning below? https://docs.python.org/3.8/library/multiprocessing.html#multiprocessing.connection.Connection.recv > Warning The Connection.recv() method automatically unpickles the data it > receives,

Re: Intermittent bug with asyncio and MS Edge

2020-03-22 Thread Frank Millman
On 2020-03-21 8:04 PM, Barry Scott wrote: On 21 Mar 2020, at 13:43, Frank Millman wrote: Hi all I have a strange intermittent bug. The role-players - asyncio on Python 3.8 running on Windows 10 Microsoft Edge running as a browser on the same machine The bug does not occur with

[issue40039] [CVE-2020-10796] Python multiprocessing Remote Code Execution vulnerability

2020-03-22 Thread SilentGhost
Change by SilentGhost : -- nosy: +davin, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

Re: Converting program from shell to tkinter

2020-03-22 Thread Christian Gollwitzer
Hi Randall, I assume you are asking about the Python programming language (tkinter??). This group discusses the Tcl programming language, from which Tk originates. See 2 answers below. Xpost and Fup2 c.l.p Christian Am 22.03.20 um 00:59 schrieb Randall Wert: I am trying to enhance a shell

[issue26527] CGI library - Using unicode in header fields

2020-03-22 Thread Martin Panter
Martin Panter added the comment: I’m not an expert on the topic, but it sounds like this might be a duplicate of Issue 23434, which has more discussion. -- nosy: +martin.panter resolution: -> duplicate status: open -> pending superseder: -> support encoded filename in