[issue41537] {Save, Save As, Save Copy As} not Working from version 3.8.3

2020-08-12 Thread Poorna VenkataSai


New submission from Poorna VenkataSai :

save, Save as, Save Copy As are not responding in IDLE in the scenario created 
a PYTHON FILE from by renaming the new text document. now i wrote some content 
and trying to save. but, it's not responding.

--
assignee: terry.reedy
components: IDLE
messages: 375291
nosy: lpoorna357, terry.reedy
priority: normal
severity: normal
status: open
title: {Save, Save As, Save Copy As} not Working from version 3.8.3
type: behavior
versions: Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2020-08-12 Thread hai shi


hai shi  added the comment:

> Py_Finalize() calls _PyUnicode_ClearInterned() which clears interned strings. 
> Which strings are still alive after Py_Finalize()?

Yes.especially those encodings, interpreter leaks much encodings refcount after 
Py_Finalize(). I am not sure they are corner cases or not.
Maybe we could check it again afer we have done all convert works.

No matter how many times `Py_Initialize(); Py_Finalize();` have called, Holding 
a same interned of unicodeobject.c all the time sound like a stupied idea.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41534] argparse : allow_abbrev behavior between 3.7 and 3.8

2020-08-12 Thread hai shi


Change by hai shi :


--
nosy: +paul.j3, rhettinger

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41536] pathlib's Path("NUL:").resolve() throws an error on windows

2020-08-12 Thread Phillip Mackintosh


New submission from Phillip Mackintosh :

I'm looking for the equivalent windows functionality to the posix `/dev/null` 
file, and I discovered `NUL:`

This snippet works on a windows OS, proving that it is indeed a writable file: 
`Path('NUL:').write_text('abcd')`

However, `Path('NUL:').resolve()` Throws an exception `OSError: [WinError 87] 
The parameter is incorrect: 'NUL:'`

Is this the expected behaviour? I.E. I should wrap the call to `resolve()` in a 
`try...except`?

If I catch all `OSError` types, how can I determine if it's a legitimate error 
or not?

E.G. Full console output:

Python 3.7.1 (v3.7.1:260ec2c36a, Oct 20 2018, 14:57:15) [MSC v.1915 64 bit 
(AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from pathlib import Path
>>> Path('NUL:')
WindowsPath('NUL:')
>>> Path('NUL:').write_text('abcd')
4
>>> Path('NUL:').resolve()
Traceback (most recent call last):
  File "", line 1, in 
  File "C:\Program Files\Python37\lib\pathlib.py", line 1134, in resolve
s = self._flavour.resolve(self, strict=strict)
  File "C:\Program Files\Python37\lib\pathlib.py", line 192, in resolve
s = self._ext_to_normal(_getfinalpathname(s))
OSError: [WinError 87] The parameter is incorrect: 'NUL:'

--
components: Windows
messages: 375289
nosy: paul.moore, phillmac, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: pathlib's Path("NUL:").resolve() throws an error on windows
type: behavior
versions: Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33479] Document tkinter and threads

2020-08-12 Thread Richard Sheridan


Change by Richard Sheridan :


--
nosy: +Richard Sheridan

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41100] Build failure on macOS 11 (beta)

2020-08-12 Thread Maxime Belanger


Change by Maxime Belanger :


--
nosy: +Maxime Belanger

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2020-08-12 Thread STINNER Victor


STINNER Victor  added the comment:

> Q: How to solve the problem?

Making sure that the "total reference count" is zero after Py_Finalize() is a 
long term project which requires to solve many subproblems:

* Convert static types to heap types: bpo-40077
* Somehow related, convert extension modules to multiphase initialization (PEP 
489): this issue
* Identify remaining global variables and either clear them explicitly, or move 
them to a structure which is cleared at exit

To convert extension modules to multiphase init, one practical problem is that 
the PEP 573 doesn't cover slots and a few other corner cases. The PEP 573 
should be extended:
https://mail.python.org/archives/list/capi-...@python.org/thread/6CGIIZVMJRYHWZDJLNWCLPSYYAVRRVCC/

There are likely a bunch of other misc corner cases which should be fixed as 
well.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2020-08-12 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 8ecc0c4d390d03de5cd2344aa44b69ed02ffe470 by Hai Shi in branch 
'master':
bpo-1635741: Clean sysdict and builtins of interpreter at exit (GH-21605)
https://github.com/python/cpython/commit/8ecc0c4d390d03de5cd2344aa44b69ed02ffe470


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2020-08-12 Thread STINNER Victor


STINNER Victor  added the comment:

> There will have many unicode strs releaks when we calling `Py_Initialize()` 
> again after `Py_Finalize()`: interned will be cleared in `Py_Finalize()`, but 
> those unicodes str will still alive all the time.

Py_Finalize() calls _PyUnicode_ClearInterned() which clears interned strings. 
Which strings are still alive after Py_Finalize()?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41535] platform win32_ver produces incorrect value for release on Windows domain controllers

2020-08-12 Thread John McCrone


New submission from John McCrone :

The method platform.win32_ver() produces the client version for the release 
rather than the server version on a Windows domain controller.

This is easy to recreate on 3.8.5. For example, on a Windows 2012 server 
running as a domain controller, the method produces the following:

>>> import platform
>>> platform.win32_ver()
('8', '6.2.9200', 'SP0', 'Multiprocessor Free')

The product type is 2:
>>> import sys
>>> sys.getwindowsversion().product_type
2

The correct value should not be '8' but rather '2012Server'. From looking at 
the source (platform.py), it appears that we determine if we are on a windows 
server by this check:

if getattr(winver, 'product_type', None) == 3

However, both types 2 (Domain Controller) and 3 (Non-Domain Controller Server) 
are server types (see the documentation for sys.getwindowsversion() 
https://docs.python.org/3/library/sys.html). Therefore, it seems likely to me 
that it should check if the value of product_type is either 2 or 3 instead of 
just 3.

--
components: Windows
messages: 375285
nosy: jvm3487, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: platform win32_ver produces incorrect value for release on Windows 
domain controllers
type: behavior
versions: Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41529] Unable to compile 3.0b3 on Ubuntu systems: Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding

2020-08-12 Thread STINNER Victor


STINNER Victor  added the comment:

It seems like you're getting the error while running "make". I'm surprised by 
the sys.path value. Do you have a file called pybuilddir.txt in the current 
directory? If yes, what does it contain?

Can you please try the command:

make SHELL="bash -x"

What is your current directory? Is it '/home/ajung/src/pp.server/Python-3.9.0b?

--
nosy: +vstinner

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40468] IDLE: configdialog tab rearrange

2020-08-12 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

Experiments are good, even if not accepted as is.
Python uses American spellings: so 'Colors'.
Moving help sources frees up enough vertical space to reduce the pressure to 
split General.  It would again fit vertically on my Mac Airbook.
'Windows' is really 'Shell'.  'Blink' is the only thing that really 
applies to grep output windows.  'Windows' will not apply if we make IDLE 
multi-tabbed.

The collage showing all pages at once is useful.  I really want to spread the 
dialog horizontally a bit.  The font sample could be wider.  Colors and keys 
should have a uniform simplified theme/keyset selection box and other misc 
stuff on the left and a text or list box on the right.  The 
cfg_highlight_alt.png and highlight3.png on issue 24781 are similar except that 
the left selection box should only be as big as needed (default 3) and the text 
is now bigger.  So other stuff, possibly revised, should likely be on the left.

Most of the General entries can be shrunk to 50-60% of the current width, or 
else wrapped.  Example:
  At startup, open ()Shell  ()Editor
  

> split the "Extensions" page into its own class
This was intended: issue 31207.  I guess we ran out of gas before this.  We 
could even consider extension and help frame classes besides the help/ext page 
class.

Possible order of changes.

#31207: ExtPage class and tests
new: move Help sources to ExtPage and tests (to own testcase)
new: move indent (as int entry box) and test to general.  Add help note that 
indent is used to indent tab adds, indent delete backspaces, and smart indents.
List issue on #24776 where indent discussed.
#24781: Colors (see discussion above)
new: Keys
this? or new: redo General

At some point, list classes in configdialog and test_configdialog. docstring so 
know what names to search for to find them.

There are several other configdialog issues to fix glitches or make small 
improvements here and there.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41529] Unable to compile 3.0b3 on Ubuntu systems: Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding

2020-08-12 Thread Zachary Ware

Zachary Ware  added the comment:

Can you reproduce this with the current release (3.9.0rc1)?  Also, how did you 
call `./configure` and `make`?

Adding Łukasz so this is on his radar in case the first answer is affirmative 
and there's nothing exotic in the second.  For the record, I can't reproduce on 
Ubuntu-based Pop_OS 20.04.

--
nosy: +lukasz.langa, zach.ware

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40204] Docs build error with Sphinx 3.0 due to invalid C declaration

2020-08-12 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 423e77d6de497931585d1883805a9e3fa4096b0b by Victor Stinner in 
branch 'master':
bpo-40204: Allow pre-Sphinx 3 syntax in the doc (GH-21844)
https://github.com/python/cpython/commit/423e77d6de497931585d1883805a9e3fa4096b0b


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39994] Redundant code in pprint module.

2020-08-12 Thread Fred Drake


Fred Drake  added the comment:

Ah, good find!  It's been so long since the first version of that code, but the 
implementation was surprisingly nuanced.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39994] Redundant code in pprint module.

2020-08-12 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

bpo-23741 did not change the behavior. The specified code was added specially 
to preserve the existing behavior. For other base types the condition was like 
`issubclass(typ, list) and r is list.__repr__`, but for dict it was just 
`issubclass(typ, dict)`.

Actually the initial behavior was changed by 
bad3c88094f43f3bc7dcce22f47b8c2a8dddabcf (no issue number), with adding support 
of OrderedDict.

--
nosy: +rhettinger

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41531] Python 3.9 regression: Literal dict with > 65535 items are one item shorter

2020-08-12 Thread Batuhan Osman Taşkaya

Change by Batuhan Osman Taşkaya :


--
nosy: +batuhanosmantaskaya

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41531] Python 3.9 regression: Literal dict with > 65535 items are one item shorter

2020-08-12 Thread Pablo Galindo Salgado


Change by Pablo Galindo Salgado :


--
keywords: +patch
nosy: +pablogsal
nosy_count: 7.0 -> 8.0
pull_requests: +20978
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/21850

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40782] AbstactEventLoop.run_in_executor is listed as an async method, but should actually return a Futrue

2020-08-12 Thread Guido van Rossum


Guido van Rossum  added the comment:

I think it makes sense to remove the `async` from the definition in 
AbstractEventLoop.

If you want to help, you can submit a PR to do it.

--
nosy: +gvanrossum

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41534] argparse : allow_abbrev behavior between 3.7 and 3.8

2020-08-12 Thread r1kk3r


New submission from r1kk3r :

I looked into changelog and the source code to see if the behavior was wanted 
but I was not able to see the source of the issue.

import argparse
parser = argparse.ArgumentParser(allow_abbrev=True)
parser.add_argument('-o', type=str, required=True, dest="bla", help="bla")
known_args, rest_of_args = parser.parse_known_args(["-o", "test1", 
"-object_lto", "test2"])
print(rest_of_args)

Executing with python 3.7.8

With allow_abbrev=True:

['test2']

allow_abbrev=False:

['-object_lto', 'test2']


Executed with python 3.8.5

With allow_abbrev=True:

['test2']

allow_abbrev=False:

['test2']


Is it expected? How do I get the behavior of python 3.7 in python 3.8?

--
components: Library (Lib)
messages: 375276
nosy: r1kk3r
priority: normal
severity: normal
status: open
title: argparse : allow_abbrev behavior between 3.7 and 3.8
type: behavior
versions: Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40979] typing module docs: keep text, add subsections

2020-08-12 Thread Guido van Rossum


Guido van Rossum  added the comment:


New changeset b3ad2ca56afc6a56c9a6e7b419bc05e8e5b15e19 by Guido van Rossum in 
branch '3.9':
[3.9] bpo-40979: refactored typing.rst; (mostly) same content, new sub-sections 
and ordering (GH-21574) (#21843)
https://github.com/python/cpython/commit/b3ad2ca56afc6a56c9a6e7b419bc05e8e5b15e19


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41531] Python 3.9 regression: Literal dict with > 65535 items are one item shorter

2020-08-12 Thread Matthew Barnett


Matthew Barnett  added the comment:

I think what's happening is that in 'compiler_dict' (Python/compile.c), it's 
checking whether 'elements' has reached a maximum (0x). However, it's not 
doing this after incrementing; instead, it's checking before incrementing and 
resetting 'elements' to 0 when it should be resetting to 1. The 65535th element 
isn't counted.

--
nosy: +mrabarnett

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40563] Support pathlike objects on dbm/shelve

2020-08-12 Thread Roundup Robot


Change by Roundup Robot :


--
nosy: +python-dev
nosy_count: 4.0 -> 5.0
pull_requests: +20977
pull_request: https://github.com/python/cpython/pull/21849

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24783] Import Error (undefined symbol: PyFloat_Type) when Importing math Module on Shared Build

2020-08-12 Thread Zackery Spytz


Zackery Spytz  added the comment:

Python 2.7 is no longer supported, so I think this issue should be closed.

--
nosy: +ZackerySpytz

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41520] codeop: 3.8.5 regression, warnings.simplefilter('error', SyntaxWarning) does not raise.

2020-08-12 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

This 'fix' introduces another regression by undoing the previous fix in issue 
40807 of emitting DeprecationWarning (for '\e', for instance) just once instead 
of thrice.

I suspect that the example of Matthias would fail in a debug build (with 
DeprecationWarnings on) for DeprecationWarning also.

PR-21848 removes the limitation of the first fix to SyntaxWarning and includes 
DeprecationWarning in the test for single emission.

--
nosy: +cheryl.sabella
priority:  -> release blocker
resolution: fixed -> 
stage: resolved -> needs patch
status: closed -> open

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40807] Codeop: Show warnings once during _maybe_compile

2020-08-12 Thread STINNER Victor


Change by STINNER Victor :


--
nosy: +vstinner
nosy_count: 5.0 -> 6.0
pull_requests: +20976
pull_request: https://github.com/python/cpython/pull/21838

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41520] codeop: 3.8.5 regression, warnings.simplefilter('error', SyntaxWarning) does not raise.

2020-08-12 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
nosy: +terry.reedy
nosy_count: 5.0 -> 6.0
pull_requests: +20975
pull_request: https://github.com/python/cpython/pull/21848

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39994] Redundant code in pprint module.

2020-08-12 Thread Fred Drake


Fred Drake  added the comment:

Adding serhiy.storchaka to nosy list since it looks like he introduced the 
isinstance check on purpose (see bpo-23741).

Though bpo-23741 asserts that no behavior was changed with the patch applied 
then, reading through the change leads me to think this did change for cases 
like the MyDict example from iritkatriel.

The intent of the original code was that MyDict.__repr__ would be used; only 
the small handful of "known" reprs would be handled specially.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2020-08-12 Thread hai shi


hai shi  added the comment:

There will have many unicode strs releaks when we calling `Py_Initialize()` 
again after `Py_Finalize()`: interned will be cleared in `Py_Finalize()`, but 
those unicodes str will still alive all the time.

Q: How to solve the probleam?
A: MAYBE we need share the interned of unicodeobject.c all the time and don't 
care how many times we will calling `Py_Initialize(); Py_Finalize();`

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39994] Redundant code in pprint module.

2020-08-12 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

Yes, this code was kept for backward compatibility when the dispatch mapping 
was added.

--
nosy: +serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40275] test.support has way too many imports

2020-08-12 Thread hai shi


hai shi  added the comment:

Hi, victor:
  About https://bugs.python.org/issue40275#msg369214, shall we continue to 
improve the libregretest?
1. Running test cases sequential: you have use a mechanism to unload the 
modules which load in the running test cases stage: 
https://github.com/python/cpython/blob/master/Lib/test/libregrtest/main.py#L437
2. Running test cases concurrently: It have use subprocess to isolate the 
module resources, no?
I am not sure about it.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41533] Bugfix: va_build_stack leaks the stack if do_mkstack fails

2020-08-12 Thread Tony


Change by Tony :


--
keywords: +patch
pull_requests: +20974
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/21847

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41532] Import precedence is broken in some library

2020-08-12 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

It is because module functools is already imported (you can see it in 
sys.modules), but module tokenize is not. It is likely due to module 
rlcompleter imported at startup on Linux, but not on Windows.

--
nosy: +serhiy.storchaka
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40204] Docs build error with Sphinx 3.0 due to invalid C declaration

2020-08-12 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests: +20973
pull_request: https://github.com/python/cpython/pull/21846

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41533] Bugfix: va_build_stack leaks the stack if do_mkstack fails

2020-08-12 Thread Tony


New submission from Tony :

When calling a function a stack is allocated via va_build_stack.

There is a leak that happens if do_mkstack fails in it.

--
messages: 375267
nosy: tontinton
priority: normal
severity: normal
status: open
title: Bugfix: va_build_stack leaks the stack if do_mkstack fails

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41531] Python 3.9 regression: Literal dict with > 65535 items are one item shorter

2020-08-12 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
components: +Interpreter Core
nosy: +serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41532] Import precedence is broken in some library

2020-08-12 Thread Jinseo Kim


Jinseo Kim  added the comment:

My environment is Ubuntu 18.04.4

Python version:
  Python 3.8.0 (default, Oct 28 2019, 16:14:01)
  [GCC 8.3.0] on linux

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41532] Import precedence is broken in some library

2020-08-12 Thread Irit Katriel


Irit Katriel  added the comment:

What is your environment - system and python version?

I get this on master checkout on windows 10:

Running Release|Win32 interpreter...
Python 3.10.0a0 (heads/master:46e19b61d3, Aug 12 2020, 18:02:36) [MSC v.1916 32 
bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> with open('functools.py', 'w') as f:
...  f.write("print('This is so sad')")
...
23
>>> import linecache
This is so sad
Traceback (most recent call last):
  File "", line 1, in 
  File "C:\Users\User\src\cpython\lib\linecache.py", line 11, in 
import tokenize
  File "C:\Users\User\src\cpython\lib\tokenize.py", line 32, in 
import re
  File "C:\Users\User\src\cpython\lib\re.py", line 315, in 
@functools.lru_cache(_MAXCACHE)
AttributeError: module 'functools' has no attribute 'lru_cache'
>>> quit()
C:\Users\User\src\cpython>del functools.py

C:\Users\User\src\cpython>python
Running Release|Win32 interpreter...
Python 3.10.0a0 (heads/master:46e19b61d3, Aug 12 2020, 18:02:36) [MSC v.1916 32 
bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> with open('tokenize.py', 'w') as f:
...  f.write("print('This is so sad')")
...
23
>>> import linecache
This is so sad
>>>

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41524] PyOS_mystricmp advances pointers too far

2020-08-12 Thread William Meehan


Change by William Meehan :


--
keywords: +patch
pull_requests: +20972
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/21845

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41532] Import precedence is broken in some library

2020-08-12 Thread Jinseo Kim


Jinseo Kim  added the comment:

Yes, I restarted and cleared directory before each test.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41531] Python 3.9 regression: Literal dict with > 65535 items are one item shorter

2020-08-12 Thread Eric V. Smith


Change by Eric V. Smith :


--
nosy: +eric.smith

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41532] Import precedence is broken in some library

2020-08-12 Thread Irit Katriel


Irit Katriel  added the comment:

Did you restart python before the functools test?

--
nosy: +iritkatriel

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41532] Import precedence is broken in some library

2020-08-12 Thread 김진서

New submission from 김진서 :

I found this behavior by chance:

  >>> with open('tokenize.py', 'w') as f:
  ...   f.write("print('This is so sad')")
  ...
  >>> import linecache
  This is so sad
  >>>

  path/of/python/Lib/linecache.py:
import functools
import sys
import os
import tokenize

[...]

Meanwhile,

  >>> with open('functools.py', 'w') as f:
  ... f.write("print('This is so sad')")
  ...
  >>> import linecache
  >>>

It seems for me to be broken: 'import' doesn't have clear precedence.

--
components: Library (Lib)
messages: 375262
nosy: contact
priority: normal
severity: normal
status: open
title: Import precedence is broken in some library
type: behavior
versions: Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39994] Redundant code in pprint module.

2020-08-12 Thread Irit Katriel


Irit Katriel  added the comment:

This change makes a difference in semantics (perhaps a good one) in this case:

import pprint

class MyDict(dict):
def __repr__(self):
return 'I do my own thing'*50

if __name__ == '__main__':
d=MyDict()
for i in range(50):
d['a%s'%i] = i

pprint.pprint(d)


Before the change MyDict.__repr__ is ignored and the dict contents are printed. 
After the change it prints "I do my own thing" 50 times.

--
nosy: +iritkatriel

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40204] Docs build error with Sphinx 3.0 due to invalid C declaration

2020-08-12 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests: +20971
pull_request: https://github.com/python/cpython/pull/21844

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40949] test_socket altered the execution environment: threading_cleanup() failed to cleanup 0 threads (count: 0, dangling: 5)

2020-08-12 Thread hai shi


Change by hai shi :


--
nosy: +shihai1991

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41531] Python 3.9 regression: Literal dict with > 65535 items are one item shorter

2020-08-12 Thread STINNER Victor


Change by STINNER Victor :


--
priority: normal -> release blocker

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41531] Python 3.9 regression: Literal dict with > 65535 items are one item shorter

2020-08-12 Thread STINNER Victor


Change by STINNER Victor :


--
keywords: +3.9regression

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41531] Python 3.9 regression: Literal dict with > 65535 items are one item shorter

2020-08-12 Thread Miro Hrončok

Change by Miro Hrončok :


--
versions: +Python 3.10

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39320] Handle unpacking of */** arguments and rvalues in the compiler

2020-08-12 Thread STINNER Victor


STINNER Victor  added the comment:

These changes introduced a regression: bpo-41531 "Python 3.9 regression: 
Literal dict with > 65535 items are one item shorter".

--
nosy: +vstinner

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41531] Python 3.9 regression: Literal dict with > 65535 items are one item shorter

2020-08-12 Thread Zbyszek Jędrzejewski-Szmek

Zbyszek Jędrzejewski-Szmek  added the comment:

Bisect says 8a4cd700a7426341c2074a2b580306d2d60ec839 is the first bad commit. 
Considering that 0x appears a few times in that patch, that seems plausible 
;)

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41531] Python 3.9 regression: Literal dict with > 65535 items are one item shorter

2020-08-12 Thread Ammar Askar


Change by Ammar Askar :


--
nosy: +Mark.Shannon

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41528] Use math module in turtle

2020-08-12 Thread Vedran Čačić

Vedran Čačić  added the comment:

Well, if you want to exploit Python features in full, I'd suggest cmath as even 
better library. Turtle position is just a complex numbers, and cmath has direct 
conversion from and to polar coordinates, which is all that's needed for basic 
commands. :-)

--
nosy: +veky

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41531] Python 3.9 regression: Literal dict with > 65535 items are one item shorter

2020-08-12 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +xtreak

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41531] Python 3.9 regression: Literal dict with > 65535 items are one item shorter

2020-08-12 Thread Miro Hrončok

Miro Hrončok  added the comment:

It appears that the 65535 key is missing regardless of the LEN value.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41531] Python 3.9 regression: Literal dict with > 65535 items are one item shorter

2020-08-12 Thread Zbyszek Jędrzejewski-Szmek

Zbyszek Jędrzejewski-Szmek  added the comment:

Also reproduces with today's git.

--
nosy: +zbysz

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41531] Python 3.9 regression: Literal dict with > 65535 items are one item shorter

2020-08-12 Thread Miro Hrončok

New submission from Miro Hrončok :

Consider this reproducer.py:

import sys
LEN = int(sys.argv[1])

with open('big_dict.py', 'w') as f:
print('INTS = {', file=f)
for i in range(LEN):
print(f'{i}: None,', file=f)
print('}', file=f)


import big_dict
assert len(big_dict.INTS) == LEN, len(big_dict.INTS)



And run it with any number > 65535:

$ python3.9 reproducer.py 65536
Traceback (most recent call last):
  File "/tmp/reproducer.py", line 12, in 
assert len(big_dict.INTS) == LEN, len(big_dict.INTS)
AssertionError: 65535


This has not happened on python 3.8. This also happens with PYTHONOLDPARSER=1.

--
messages: 375255
nosy: hroncok
priority: normal
severity: normal
status: open
title: Python 3.9 regression: Literal dict with > 65535 items are one item 
shorter
type: behavior
versions: Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40204] Docs build error with Sphinx 3.0 due to invalid C declaration

2020-08-12 Thread Matthias Klose


Matthias Klose  added the comment:

3.9.0 rc1 fails to build the docs with Sphinx 3.2.0, even with setting

c_allow_pre_v3 = True
c_warn_on_allowed_pre_v3 = False

Warning, treated as error:
/packages/python/3.9/python3.9-3.9.0~rc1/Doc/c-api/buffer.rst:92:Error in 
declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 5]
  void \*buf
  -^
make[1]: *** [Makefile:52: build] Error 2


With 3.2.0, you still need to build without -W

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41520] codeop: 3.8.5 regression, warnings.simplefilter('error', SyntaxWarning) does not raise.

2020-08-12 Thread STINNER Victor


STINNER Victor  added the comment:

Thanks tcaswell in this case ;-)

--
priority: release blocker -> 

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41520] codeop: 3.8.5 regression, warnings.simplefilter('error', SyntaxWarning) does not raise.

2020-08-12 Thread Matthias Bussonnier


Matthias Bussonnier  added the comment:

> Thanks Matthias Bussonnier for the fix. 

Thank *YOU* for the fix, and the bug report is initially from tcaswell. 

At least on 3.8 branch this is fixed for me.

Just for completeness, this was discovered as in IPython we try to guess 
whether "enter"  is "insert new line" or "execute", and `1 is 1` would 
keep adding new lines.

Much love for the fast turnaround; looking fwd to 3.9

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40979] typing module docs: keep text, add subsections

2020-08-12 Thread Guido van Rossum


Change by Guido van Rossum :


--
pull_requests: +20970
pull_request: https://github.com/python/cpython/pull/21843

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41530] zoneinfo: ZoneInfo raises IsADirectoryError instead of ZoneInfoNotFoundError

2020-08-12 Thread Joshua


Joshua  added the comment:

I'll reopen the PR with an attempted resolution of the OSError related
issues however. In my quick testing it seems at least on Linux
backports.zoneinfo segfaults when trying `ZoneInfo('__init__.py')` so that
might be a larger issue for Paul to look into.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39584] multiprocessing.shared_memory: MacOS crashes by running attached Python code

2020-08-12 Thread Ronald Oussoren


Ronald Oussoren  added the comment:

A workaround in the implementation of multiprocessing.SharedMemory is IMHO 
acceptable, tweaking os.ftruncate less so.

Note that a Python script can already cause problems on systems by using APIs 
as intended (such as using shutil.rmtree on the user's home directory).

There's balance between compensating for platform deviancies and having clean 
and performant implementation. 

BTW. We should file an issue with Apple about this. I'll do so when I've had 
time to crash a test VM using the C code you provided.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40949] test_socket altered the execution environment: threading_cleanup() failed to cleanup 0 threads (count: 0, dangling: 5)

2020-08-12 Thread STINNER Victor


STINNER Victor  added the comment:

I tried various commands to reproduce the "test_socket (env changed)" but I 
failed to find a reliable way to trigger this bug. I ran test.bisect_cmd for 
3h, with other commands run in parallel to stress the machine (system load 
between 8 and 30).

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39584] multiprocessing.shared_memory: MacOS crashes by running attached Python code

2020-08-12 Thread Vinay Sharma


Vinay Sharma  added the comment:

I have 8GB of ram and 128 GB of hard disk.

Now, creating a shared memory segment of size 10^12 (1 terabyte) somehow 
succeeds.

Creating a shared memory segment of 10^15 (1 petabyte), mmap (not ftruncate) 
throws an error stating cannot allocate memory.

Creating a shared memory segment of 10^18 (1 exabyte), causes the system to 
crash.

Now, I understand that this should be documented for a genuine user.

But, if documented this can be used by malicious softwares using python to 
crash systems abruptly.

Also, I understand that this is an issue with macos, but shouldn't python 
handle this so that atleast python's APIs are safe.

Creating shared memory segments of size 1 exabyte are not reasonable, but if 
some makes a mistake then, we must throw an error instead of a crash.

Also, can we set a max limit on creating shared memory segments to 1TB ?
because no one would genuinily need to create a segment of that size on a 
single machine.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40949] test_socket altered the execution environment: threading_cleanup() failed to cleanup 0 threads (count: 0, dangling: 5)

2020-08-12 Thread STINNER Victor


STINNER Victor  added the comment:

Oh, by design, NetworkConnectionNoServer.test_create_connection() has a race 
condition:

port = socket_helper.find_unused_port()
with self.assertRaises(OSError) as cm:
socket.create_connection((HOST, port))

If another process starts to listen to the "unused" port between 
find_unused_port() call and the create_connection() call, create_connection() 
succeed and the test fails.

Maybe I should just add a comment mentioning the race condition. Or we should 
find a more reliable way to get an error.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40949] test_socket altered the execution environment: threading_cleanup() failed to cleanup 0 threads (count: 0, dangling: 5)

2020-08-12 Thread STINNER Victor


STINNER Victor  added the comment:

Another error while running "./python -m test test_socket --fail-env-changed 
-j20 -r -F -w":

NetworkConnectionNoServer.test_create_connection() fails with "AssertionError: 
OSError not raised".

0:01:13 load avg: 69.29 [ 12/1] test_socket failed (1 min 9 sec) -- running: 
test_socket (...)

/home/vstinner/cpython/Lib/test/test_socket.py:5120: ResourceWarning: unclosed 

  socket.create_connection((HOST, port))
ResourceWarning: Enable tracemalloc to get the object allocation traceback

test test_socket failed -- Traceback (most recent call last):
  File "/home/vstinner/cpython/Lib/test/test_socket.py", line 5120, in 
test_create_connection
socket.create_connection((HOST, port))
AssertionError: OSError not raised

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40949] test_socket altered the execution environment: threading_cleanup() failed to cleanup 0 threads (count: 0, dangling: 5)

2020-08-12 Thread STINNER Victor


STINNER Victor  added the comment:

More logs before testSourceAddress failure:

(...)
testSmallReadNonBlocking (test.test_socket.UnbufferedFileObjectClassTestCase) 
... ok
testUnbufferedRead (test.test_socket.UnbufferedFileObjectClassTestCase) ... ok
testWriteNonBlocking (test.test_socket.UnbufferedFileObjectClassTestCase) ... ok
testAttributes (test.test_socket.LineBufferedFileObjectClassTestCase) ... ok
testMakefileAfterMakefileClose 
(test.test_socket.LineBufferedFileObjectClassTestCase) ... ok
testReadAfterTimeout (test.test_socket.LineBufferedFileObjectClassTestCase) ... 
ok
testCloseAfterMakefile (test.test_socket.SmallBufferedFileObjectClassTestCase) 
... ok
testMakefileAfterMakefileClose 
(test.test_socket.SmallBufferedFileObjectClassTestCase) ... ok
testUnbufferedRead (test.test_socket.SmallBufferedFileObjectClassTestCase) ... 
ok
testAttributes (test.test_socket.UnicodeReadFileObjectClassTestCase) ... ok
testClosedAttr (test.test_socket.UnicodeReadFileObjectClassTestCase) ... ok
testMakefileAfterMakefileClose 
(test.test_socket.UnicodeReadFileObjectClassTestCase) ... ok
testReadAfterTimeout (test.test_socket.UnicodeReadFileObjectClassTestCase) ... 
ok
testReadline (test.test_socket.UnicodeReadFileObjectClassTestCase) ... ok
testCloseAfterMakefile (test.test_socket.UnicodeWriteFileObjectClassTestCase) 
... ok
testClosedAttr (test.test_socket.UnicodeWriteFileObjectClassTestCase) ... ok
testFullRead (test.test_socket.UnicodeWriteFileObjectClassTestCase) ... ok
testMakefileAfterMakefileClose 
(test.test_socket.UnicodeWriteFileObjectClassTestCase) ... ok
testReadAfterTimeout (test.test_socket.UnicodeWriteFileObjectClassTestCase) ... 
ok
testRealClose (test.test_socket.UnicodeWriteFileObjectClassTestCase) ... ok
testFullRead (test.test_socket.UnicodeReadWriteFileObjectClassTestCase) ... ok
testMakefileAfterMakefileClose 
(test.test_socket.UnicodeReadWriteFileObjectClassTestCase) ... ok
testReadAfterTimeout (test.test_socket.UnicodeReadWriteFileObjectClassTestCase) 
... ok
testReadline (test.test_socket.UnicodeReadWriteFileObjectClassTestCase) ... ok
testSmallRead (test.test_socket.UnicodeReadWriteFileObjectClassTestCase) ... ok
testUnbufferedRead (test.test_socket.UnicodeReadWriteFileObjectClassTestCase) 
... ok
test_create_connection (test.test_socket.NetworkConnectionNoServer) ... ok
test_create_connection_timeout (test.test_socket.NetworkConnectionNoServer) ... 
ok
testSourceAddress (test.test_socket.NetworkConnectionAttributesTest) ... 
Warning -- Unraisable exception
Exception ignored in thread started by: >
Traceback (most recent call last):
  File "/home/vstinner/cpython/Lib/test/test_socket.py", line 396, in clientRun
self.clientTearDown()
  File "/home/vstinner/cpython/Lib/test/test_socket.py", line 5164, in 
clientTearDown
self.cli.close()
AttributeError: 'NetworkConnectionAttributesTest' object has no attribute 'cli'

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41530] zoneinfo: ZoneInfo raises IsADirectoryError instead of ZoneInfoNotFoundError

2020-08-12 Thread Paul Ganssle


Paul Ganssle  added the comment:

By the way, it might be easiest to start with a PR against backports.zoneinfo, 
because I have a lot more linting, coverage and format checks set up there: 
https://github.com/pganssle/zoneinfo

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41530] zoneinfo: ZoneInfo raises IsADirectoryError instead of ZoneInfoNotFoundError

2020-08-12 Thread Paul Ganssle


Paul Ganssle  added the comment:

I think that `ZoneInfo('__init__.py')` is also a problem, but a slightly 
different one. That comes from the fact that in order to support 
`importlib.resources`, each of the zoneinfo subdirectories needs an 
`__init__.py`, but the ZoneInfo constructor should probably ignore those, since 
they are added by `tzdata` and not actually part of a tzdata distribution.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41530] zoneinfo: ZoneInfo raises IsADirectoryError instead of ZoneInfoNotFoundError

2020-08-12 Thread Joshua


Joshua  added the comment:

I had opened a PR which just caught IsADirectoryError and PermissionError
but closed it as you'd mentioned that handling PermissionError that way
probably would not be the best, and I agree. I can reopen and modify to
check path on OSerror if you'd like otherwise feel free to handle however
you see fit.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40949] test_socket altered the execution environment: threading_cleanup() failed to cleanup 0 threads (count: 0, dangling: 5)

2020-08-12 Thread STINNER Victor


STINNER Victor  added the comment:

While running "./python -m test.bisect_cmd test_socket --fail-env-changed -v -o 
bisect" 6x in parallel (with a different filename for the -o option), I got 
this error:

testSourceAddress (test.test_socket.NetworkConnectionAttributesTest) ... 
Warning -- Unraisable exception
Exception ignored in thread started by: >
Traceback (most recent call last):
  File "/home/vstinner/cpython/Lib/test/test_socket.py", line 396, in clientRun
self.clientTearDown()
  File "/home/vstinner/cpython/Lib/test/test_socket.py", line 5164, in 
clientTearDown
self.cli.close()
AttributeError: 'NetworkConnectionAttributesTest' object has no attribute 'cli'


By the way, I was also running "./python -m test -j20 -r -F" in parallel and it 
failed with the following error which isn't very helpful :-(

test test_socket failed -- multiple errors occurred; run in verbose mode for 
details

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41520] codeop: 3.8.5 regression, warnings.simplefilter('error', SyntaxWarning) does not raise.

2020-08-12 Thread STINNER Victor


STINNER Victor  added the comment:

Thanks Matthias Bussonnier for the fix. The regression should now be fixed. 
Also, I converted your reproducer into a regression test.

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41530] zoneinfo: ZoneInfo raises IsADirectoryError instead of ZoneInfoNotFoundError

2020-08-12 Thread STINNER Victor


STINNER Victor  added the comment:

Oh, I dislike Roundup UI. I didn't notice that a PR was submitted: PR 21839 
(now closed).

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41530] zoneinfo: ZoneInfo raises IsADirectoryError instead of ZoneInfoNotFoundError

2020-08-12 Thread STINNER Victor


STINNER Victor  added the comment:

On Linux, converting IsADirectoryError to ZoneInfoNotFoundError is easy.

But on Windows, I don't think that converting any PermissionError into a 
ZoneInfoNotFoundError is a good idea. Maybe if PermissionError happens, we 
should check if the path is a directory.

Pseudo-code:

try:
  
except OSError as exc:
  if os.path.isdir(zone_path):
raise ZoneInfoNotFoundError
  else:
raise

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41520] codeop: 3.8.5 regression, warnings.simplefilter('error', SyntaxWarning) does not raise.

2020-08-12 Thread miss-islington


miss-islington  added the comment:


New changeset 90eff4ed4445a0fa9d8cdf74c0f86c50ed510dad by Miss Islington (bot) 
in branch '3.9':
bpo-41520: codeop no longer ignores SyntaxWarning (GH-21838)
https://github.com/python/cpython/commit/90eff4ed4445a0fa9d8cdf74c0f86c50ed510dad


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41530] zoneinfo: ZoneInfo raises IsADirectoryError instead of ZoneInfoNotFoundError

2020-08-12 Thread STINNER Victor


STINNER Victor  added the comment:

Oh right, 'Pacific' is a directory, not a valid zone, and so 
ZoneInfoNotFoundError should be raised. I see.

Example:

$ ./python -m venv env
$ env/bin/python -m pip install tzdata
$ env/bin/python 

# ZoneInfoNotFoundError expected, get IsADirectoryError
>>> import zoneinfo; zoneinfo.ZoneInfo('Pacific')
Traceback (most recent call last):
  File "", line 1, in 
  File "/home/vstinner/python/master/Lib/zoneinfo/_common.py", line 12, in 
load_tzdata
return importlib.resources.open_binary(package_name, resource_name)
  File "/home/vstinner/python/master/Lib/importlib/resources.py", line 40, in 
open_binary
return reader.open_resource(resource)
  File "/home/vstinner/python/master/Lib/importlib/abc.py", line 419, in 
open_resource
return self.files().joinpath(resource).open('rb')
  File "/home/vstinner/python/master/Lib/pathlib.py", line 1238, in open
return io.open(self, mode, buffering, encoding, errors, newline,
IsADirectoryError: [Errno 21] Is a directory: 
'/home/vstinner/python/master/env/lib/python3.10/site-packages/tzdata/zoneinfo/Pacific'

# valid zone
>>> import zoneinfo; zoneinfo.ZoneInfo('Pacific/Noumea')
zoneinfo.ZoneInfo(key='Pacific/Noumea')

# raise ZoneInfoNotFoundError as expected (from FileNotFoundError)
>>> import zoneinfo; zoneinfo.ZoneInfo('xxx')
Traceback (most recent call last):
  File "/home/vstinner/python/master/Lib/zoneinfo/_common.py", line 12, in 
load_tzdata
return importlib.resources.open_binary(package_name, resource_name)
  File "/home/vstinner/python/master/Lib/importlib/resources.py", line 40, in 
open_binary
return reader.open_resource(resource)
  File "/home/vstinner/python/master/Lib/importlib/abc.py", line 419, in 
open_resource
return self.files().joinpath(resource).open('rb')
  File "/home/vstinner/python/master/Lib/pathlib.py", line 1238, in open
return io.open(self, mode, buffering, encoding, errors, newline,
  File "/home/vstinner/python/master/Lib/pathlib.py", line 1106, in _opener
return self._accessor.open(self, flags, mode)
FileNotFoundError: [Errno 2] No such file or directory: 
'/home/vstinner/python/master/env/lib/python3.10/site-packages/tzdata/zoneinfo/xxx'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "", line 1, in 
  File "/home/vstinner/python/master/Lib/zoneinfo/_common.py", line 24, in 
load_tzdata
raise ZoneInfoNotFoundError(f"No time zone found with key {key}")
zoneinfo._common.ZoneInfoNotFoundError: 'No time zone found with key xxx'

--
title: Unhandled exceptions in zoneinfo.ZoneInfo constructor -> zoneinfo: 
ZoneInfo raises IsADirectoryError instead of ZoneInfoNotFoundError

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41520] codeop: 3.8.5 regression, warnings.simplefilter('error', SyntaxWarning) does not raise.

2020-08-12 Thread miss-islington


miss-islington  added the comment:


New changeset afff51fc09993dff1693aacb440221314b163409 by Miss Islington (bot) 
in branch '3.8':
bpo-41520: codeop no longer ignores SyntaxWarning (GH-21838)
https://github.com/python/cpython/commit/afff51fc09993dff1693aacb440221314b163409


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41520] codeop: 3.8.5 regression, warnings.simplefilter('error', SyntaxWarning) does not raise.

2020-08-12 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 369a1cbdee14d9f27356fb3a8bb21e4fde289d25 by Victor Stinner in 
branch 'master':
bpo-41520: codeop no longer ignores SyntaxWarning (GH-21838)
https://github.com/python/cpython/commit/369a1cbdee14d9f27356fb3a8bb21e4fde289d25


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41520] codeop: 3.8.5 regression, warnings.simplefilter('error', SyntaxWarning) does not raise.

2020-08-12 Thread miss-islington


Change by miss-islington :


--
pull_requests: +20969
pull_request: https://github.com/python/cpython/pull/21841

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41520] codeop: 3.8.5 regression, warnings.simplefilter('error', SyntaxWarning) does not raise.

2020-08-12 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 4.0 -> 5.0
pull_requests: +20968
pull_request: https://github.com/python/cpython/pull/21840

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39584] multiprocessing.shared_memory: MacOS crashes by running attached Python code

2020-08-12 Thread Ronald Oussoren


Ronald Oussoren  added the comment:

I expect that this is more a problem with how memory management works on macOS, 
the freeze and crash is likely an indication of eager allocation of memory by 
the system.

It is far from sure if implementing a workaround is feasible, the upper limit 
for safe calls to ftruncate likely depends on the amount of RAM in the system.

BTW. The sample code tries to allocate well over a petabyte of memory, how 
realistic is that code?  It might be good enough to document that using very 
large amounts of memory with multiprocessing.shared_memory causes problems on 
macOS.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39584] multiprocessing.shared_memory: MacOS crashes by running attached Python code

2020-08-12 Thread Ned Deily


Change by Ned Deily :


--
components: +macOS
nosy: +ned.deily, ronaldoussoren

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41530] Unhandled exceptions in zoneinfo.ZoneInfo constructor

2020-08-12 Thread Joshua


Joshua  added the comment:

tzdata was installed as an admin user, however this behaviour was
reproducible on a linux installation where for the ZoneInfo.('Pacific')
instance an IsADirectoryError would instead be raised.

On Wed, Aug 12, 2020 at 9:50 PM STINNER Victor 
wrote:

>
> STINNER Victor  added the comment:
>
> Hi. It seems like you are running Windows.
>
> About the permission error, how did you install tzdata? Did you install it
> as an admin user and do you run Python as a different user?
>
> --
> nosy: +vstinner
>
> ___
> Python tracker 
> 
> ___
>

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40949] test_socket altered the execution environment: threading_cleanup() failed to cleanup 0 threads (count: 0, dangling: 5)

2020-08-12 Thread STINNER Victor


STINNER Victor  added the comment:

PPC64LE RHEL7 Refleaks 3.9:
https://buildbot.python.org/all/#/builders/704/builds/87

0:12:25 load avg: 8.94 [242/425/1] test_socket failed (env changed) (2 min 43 
sec) -- running: test_decimal (2 min 26 sec), test_peg_generator (12 min 23 
sec), test_signal (6 min 20 sec), test_weakref (2 min 41 sec), 
test_multiprocessing_fork (2 min 36 sec), test_venv (2 min 33 sec)
beginning 6 repetitions
123456
.Warning -- threading_cleanup() failed to cleanup 0 threads (count: 0, 
dangling: 5)
Warning -- Dangling thread: 
Warning -- Dangling thread: 
Warning -- Dangling thread: 
Warning -- Dangling thread: <_MainThread(MainThread, started 70367377380144)>
Warning -- Dangling thread: 
.

--
title: test_socket: threading_cleanup() failed to cleanup 0 threads (count: 0, 
dangling: 5) -> test_socket altered the execution environment: 
threading_cleanup() failed to cleanup 0 threads (count: 0, dangling: 5)

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41530] Unhandled exceptions in zoneinfo.ZoneInfo constructor

2020-08-12 Thread STINNER Victor


STINNER Victor  added the comment:

Hi. It seems like you are running Windows.

About the permission error, how did you install tzdata? Did you install it as 
an admin user and do you run Python as a different user?

--
nosy: +vstinner

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41530] Unhandled exceptions in zoneinfo.ZoneInfo constructor

2020-08-12 Thread STINNER Victor


Change by STINNER Victor :


--
nosy: +p-ganssle

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41530] Unhandled exceptions in zoneinfo.ZoneInfo constructor

2020-08-12 Thread Roundup Robot


Change by Roundup Robot :


--
keywords: +patch
nosy: +python-dev
nosy_count: 1.0 -> 2.0
pull_requests: +20967
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/21839

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41530] Unhandled exceptions in zoneinfo.ZoneInfo constructor

2020-08-12 Thread Joshua


New submission from Joshua :

Attempting to parse specific keys in zoneinfo.ZoneInfo with tzdata installed 
will raise unhandled exceptions

e.g. on windows

>>> import zoneinfo
>>> zoneinfo.ZoneInfo('Pacific')
PermissionError: [Errno 13] Permission denied: 'C:\\Program 
Files\\Python39\\lib\\site-packages\\tzdata\\zoneinfo\\Pacific'

>>> import zoneinfo
>>> zoneinfo.ZoneInfo('__init__.py')
ValueError: Invalid TZif file: magic not found

This happens when non TZif files or directories in the tzdata.zoneinfo module 
are used as keys.

--
components: Library (Lib)
messages: 375225
nosy: josh.ja.butt
priority: normal
severity: normal
status: open
title: Unhandled exceptions in zoneinfo.ZoneInfo constructor
type: behavior
versions: Python 3.10, Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40468] IDLE: configdialog tab rearrange

2020-08-12 Thread E. Paine


E. Paine  added the comment:

Reflecting on #41522, I decided that it would be best to work on this issue 
before going any further with that one (partly because it would require us to 
redo some of the work and also because this issue should have a higher 
priority). I have put together a demonstration which is mostly based on your 
comments on that issue (like before, I did the minimum required to make the 
window show). The exact list of (user-visible) changes is as follows:

Fonts/Tabs:
 - rename to "Fonts"
 - move indentation width to the new "Editor/Shell" tab and use a spinbox
Highlights
 - rename to "Colours"
General
 - split into two tabs titled "Editor/Shell" (containing Editor & Shell frames) 
and "Windows" (containing Window frame)
 - move additional help sources to "Extensions" (I believe this makes more 
sense than having it in any of the other tabs)

I would also suggest, if there was a patch/PR for this issue, we split the 
"Extensions" page into its own class. I also think the "Keys" page would 
benefit from some work but I will not include that in this issue.

--
nosy: +cheryl.sabella, markroseman, taleinat
title: IDLE split "general" into two tabs -> IDLE: configdialog tab rearrange
versions: +Python 3.10 -Python 3.7
Added file: https://bugs.python.org/file49384/idle-configdialog-rearrange.png

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41520] codeop: 3.8.5 regression, warnings.simplefilter('error', SyntaxWarning) does not raise.

2020-08-12 Thread STINNER Victor


STINNER Victor  added the comment:

I proposed a fix: PR 21838. Would you mind to review it?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41520] codeop: 3.8.5 regression, warnings.simplefilter('error', SyntaxWarning) does not raise.

2020-08-12 Thread STINNER Victor


Change by STINNER Victor :


--
keywords: +patch
nosy: +vstinner
nosy_count: 3.0 -> 4.0
pull_requests: +20966
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/21838

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41455] Python Devguide differs from python docs

2020-08-12 Thread Ned Deily


Ned Deily  added the comment:


New changeset f3b6f3cd9ac6931ae346cf298fae7b691d5656bb by Miss Islington (bot) 
in branch '3.7':
bpo-41455: Provide a link to how the third generation is collected in the GC 
docs (GH-21703) (GH-21788)
https://github.com/python/cpython/commit/f3b6f3cd9ac6931ae346cf298fae7b691d5656bb


--
nosy: +ned.deily

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41475] Make __future__.annotations default 3.10 in What's New 3.7

2020-08-12 Thread Ned Deily


Ned Deily  added the comment:


New changeset 622d90f65ca9f0a6ddf255a727de003b92dca01d by Miss Islington (bot) 
in branch '3.8':
bpo-41475: Fix note in "What's new in 3.7" (GH-21733) (GH-21833)
https://github.com/python/cpython/commit/622d90f65ca9f0a6ddf255a727de003b92dca01d


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41475] Make __future__.annotations default 3.10 in What's New 3.7

2020-08-12 Thread Ned Deily


Ned Deily  added the comment:


New changeset a8ad127c222456e614b59990f113e93e95593155 by Miss Islington (bot) 
in branch '3.7':
bpo-41475: Fix note in "What's new in 3.7" (GH-21733) (GH-21835)
https://github.com/python/cpython/commit/a8ad127c222456e614b59990f113e93e95593155


--
nosy: +ned.deily

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33786] @asynccontextmanager doesn't work well with async generators

2020-08-12 Thread Ned Deily


Ned Deily  added the comment:

Indeed, the backport to 3.7 slipped through the cracks somehow; we should fix 
that. Thanks for bringing this up!

--
resolution: fixed -> 
stage: resolved -> backport needed
status: closed -> open

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41521] Replace whitelist/blacklist with allowlist/denylist

2020-08-12 Thread STINNER Victor


STINNER Victor  added the comment:

Serhiy:
> Should not such changes be widely discussed on the Python-Dev mailing list 
> before merging?

I would prefer avoiding python-dev, since there are many trolls there who like 
to argue but not try to fix problem. See the recent discussion about the PEP 8 
commit message for example.

I opened https://github.com/python/devguide/issues/605 to define general 
guidelines about terminology.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41521] Replace whitelist/blacklist with allowlist/denylist

2020-08-12 Thread Łukasz Langa

Łukasz Langa  added the comment:


New changeset 0e95bbf08571e98f4b688524efc2dcf20d315d91 by Victor Stinner in 
branch 'master':
bpo-41521, typing: Rename _PROTO_WHITELIST to _PROTO_ALLOWLIST (#21825)
https://github.com/python/cpython/commit/0e95bbf08571e98f4b688524efc2dcf20d315d91


--
nosy: +lukasz.langa

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41529] Unable to compile 3.0b3 on Ubuntu systems: Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding

2020-08-12 Thread Andreas Jung


New submission from Andreas Jung :

Building 3.9.0b3 fails on Ubuntu 19 and 20 in same way:

./python -E -S -m sysconfig --generate-posix-vars ;\
if test $? -ne 0 ; then \
echo "generate-posix-vars failed" ; \
rm -f ./pybuilddir.txt ; \
exit 1 ; \
fi
Could not find platform independent libraries 
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
Python path configuration:
  PYTHONHOME = (not set)
  PYTHONPATH = (not set)
  program name = './python'
  isolated = 0
  environment = 0
  user site = 1
  import site = 0
  sys._base_executable = '/home/ajung/src/pp.server/Python-3.9.0b3/python'
  sys.base_prefix = '/opt/python-3.9.0b3'
  sys.base_exec_prefix = '/opt/python-3.9.0b3'
  sys.platlibdir = 'lib'
  sys.executable = '/home/ajung/src/pp.server/Python-3.9.0b3/python'
  sys.prefix = '/opt/python-3.9.0b3'
  sys.exec_prefix = '/opt/python-3.9.0b3'
  sys.path = [
'/opt/python-3.9.0b3/lib/python39.zip',
'/opt/python-3.9.0b3/lib/python3.9',
'/opt/python-3.9.0b3/lib/lib-dynload',
  ]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the 
filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'

Current thread 0x7f824c25c280 (most recent call first):

generate-posix-vars failed
make: *** [Makefile:612: pybuilddir.txt] Error 1

--
components: Build
messages: 375216
nosy: ajung
priority: normal
severity: normal
status: open
title: Unable to compile 3.0b3 on Ubuntu systems: Fatal Python error: 
init_fs_encoding: failed to get the Python codec of the filesystem encoding
versions: Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41528] Use math module in turtle

2020-08-12 Thread Marek Madejski

New submission from Marek Madejski :

"Turtle" module is closely related to geometry, which is also covered by "math" 
(and "cmath") module. Nevertheless, in many places in "turtle" the wheel is 
being reinvented. Currently, only π and basing trig functions are used.
Performance may be improved by such refactor (for example, by using 
"math.hypot" instead of manual calculation of vector norm).

--
components: Library (Lib)
messages: 375215
nosy: TrangOul
priority: normal
pull_requests: 20965
severity: normal
status: open
title: Use math module in turtle
type: performance
versions: Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



  1   2   >