[issue18467] argparse - problematic 'default' behavior

2021-12-14 Thread Irit Katriel

Irit Katriel  added the comment:

Matěj, did Paul's suggestion solve your use case?

--
nosy: +iritkatriel
status: open -> pending

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



[issue26952] argparse help formatter raises IndexError

2021-12-14 Thread Irit Katriel


Change by Irit Katriel :


--
keywords: +patch
nosy: +iritkatriel
nosy_count: 6.0 -> 7.0
pull_requests: +28321
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/30099

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



[issue22047] Deprecate unsupported nesting of argparse groups

2021-12-14 Thread Irit Katriel


Change by Irit Katriel :


--
pull_requests: +28320
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/30098

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



[issue22047] Deprecate unsupported nesting of argparse groups

2021-12-14 Thread Irit Katriel


Irit Katriel  added the comment:

I am repurposing this issue for the deprecation of nesting. It is pretty clear 
that the functions exist by accident through inheritance. They are not 
documented and from the number of open issues about them they clearly are not 
working as people expect them to.

--
title: argparse improperly prints mutually exclusive options when they are in a 
group -> Deprecate unsupported nesting of argparse groups
versions: +Python 3.11 -Python 2.7, Python 3.5

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



[issue46063] TimedRotatingFileHandler deletes wrong files

2021-12-14 Thread Irit Katriel

Irit Katriel  added the comment:

% ./python.exe -We -m test -v test_logging -m test_compute_files_to_delete 
Raised RLIMIT_NOFILE: 256 -> 1024
== CPython 3.11.0a3+ (heads/main:9130a4d620, Dec 14 2021, 11:12:05) [Clang 
13.0.0 (clang-1300.0.29.3)]
== macOS-11.6-x86_64-i386-64bit little-endian
== cwd: /Users/iritkatriel/src/cpython/build/test_python_86072æ
== CPU count: 12
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 5.20 Run tests sequentially
0:00:00 load avg: 5.20 [1/1] test_logging
test_compute_files_to_delete (test.test_logging.TimedRotatingFileHandlerTest) 
... Warning -- Unraisable exception
Exception ignored in: <_io.FileIO 
name='/var/folders/kf/0v7kz3ps62dg11v9rq0sz35mgn/T/test_logging_w3nn9vsi/d.e.log'
 mode='ab' closefd=True>
Traceback (most recent call last):
  File "/Users/iritkatriel/src/cpython/Lib/test/test_logging.py", line 5469, in 
test_compute_files_to_delete
for i, prefix in enumerate(prefixes):
^
ResourceWarning: unclosed file <_io.TextIOWrapper 
name='/var/folders/kf/0v7kz3ps62dg11v9rq0sz35mgn/T/test_logging_w3nn9vsi/d.e.log'
 mode='a' encoding='UTF-8'>
Warning -- Unraisable exception
Exception ignored in: <_io.FileIO 
name='/var/folders/kf/0v7kz3ps62dg11v9rq0sz35mgn/T/test_logging_w3nn9vsi/a.b.c.log'
 mode='ab' closefd=True>
Traceback (most recent call last):
  File "/Users/iritkatriel/src/cpython/Lib/test/test_logging.py", line 5469, in 
test_compute_files_to_delete
for i, prefix in enumerate(prefixes):
^
ResourceWarning: unclosed file <_io.TextIOWrapper 
name='/var/folders/kf/0v7kz3ps62dg11v9rq0sz35mgn/T/test_logging_w3nn9vsi/a.b.c.log'
 mode='a' encoding='UTF-8'>
Warning -- Unraisable exception
Exception ignored in: <_io.FileIO 
name='/var/folders/kf/0v7kz3ps62dg11v9rq0sz35mgn/T/test_logging_w3nn9vsi/a.b.log'
 mode='ab' closefd=True>
Traceback (most recent call last):
  File "/Users/iritkatriel/src/cpython/Lib/test/test_logging.py", line 5469, in 
test_compute_files_to_delete
for i, prefix in enumerate(prefixes):
^
ResourceWarning: unclosed file <_io.TextIOWrapper 
name='/var/folders/kf/0v7kz3ps62dg11v9rq0sz35mgn/T/test_logging_w3nn9vsi/a.b.log'
 mode='a' encoding='UTF-8'>
Warning -- Unraisable exception
Exception ignored in: <_io.FileIO 
name='/var/folders/kf/0v7kz3ps62dg11v9rq0sz35mgn/T/test_logging_w3nn9vsi/d.e.f.log'
 mode='ab' closefd=True>
Traceback (most recent call last):
  File "/Users/iritkatriel/src/cpython/Lib/test/test_logging.py", line 5469, in 
test_compute_files_to_delete
for i, prefix in enumerate(prefixes):
^
ResourceWarning: unclosed file <_io.TextIOWrapper 
name='/var/folders/kf/0v7kz3ps62dg11v9rq0sz35mgn/T/test_logging_w3nn9vsi/d.e.f.log'
 mode='a' encoding='UTF-8'>
ok

--
Ran 1 test in 0.016s

OK
test_logging failed (env changed)

== Tests result: SUCCESS ==

1 test altered the execution environment:
test_logging

--
nosy: +iritkatriel

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



[issue46057] argparse: embedded groups may prevent options from being in help output

2021-12-13 Thread Irit Katriel

Irit Katriel  added the comment:

You’re right that the api should not be there. See issue22047.

I don’t think it should be patches to call super/return self. That would just 
be confusing.

--
resolution:  -> duplicate
superseder:  -> argparse improperly prints mutually exclusive options when they 
are in a group

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



[issue26528] NameError for built in function open when re-raising stored exception from yielded function

2021-12-13 Thread Irit Katriel


Irit Katriel  added the comment:

Reproduced on 3.11.

--
nosy: +iritkatriel
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.4, Python 3.5, Python 
3.6, Python 3.7, Python 3.8

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



[issue23148] Missing the charset parameter in as_encoded_word()

2021-12-13 Thread Irit Katriel


Irit Katriel  added the comment:

I can't find as_encoded_word anywhere. Even on 3.7 branch.

--
nosy: +iritkatriel

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



[issue25948] Invalid MIME encoding generated by email.mime (line too long)

2021-12-13 Thread Irit Katriel


Change by Irit Katriel :


--
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.5

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



[issue12489] email.errors.HeaderParseError if base64url is used

2021-12-13 Thread Irit Katriel


Irit Katriel  added the comment:

Reproduced on 3.11:

>>> from email.header import decode_header
>>> decode_header('=?iso-8859-1?B?QW5tZWxkdW5nIE5ldHphbnNjaGx1c3MgU_xkcmluZzNwLmpwZw==?=')
Traceback (most recent call last):
  File "/Users/iritkatriel/src/cpython-1/Lib/email/header.py", line 126, in 
decode_header
word = email.base64mime.decode(encoded_string)
   ^^^
  File "/Users/iritkatriel/src/cpython-1/Lib/email/base64mime.py", line 112, in 
decode
return a2b_base64(string.encode('raw-unicode-escape'))
   ^^^
binascii.Error: Invalid base64-encoded string: number of data characters (49) 
cannot be 1 more than a multiple of 4

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "", line 1, in 
  File "/Users/iritkatriel/src/cpython-1/Lib/email/header.py", line 128, in 
decode_header
raise HeaderParseError('Base64 decoding error')
^^^
email.errors.HeaderParseError: Base64 decoding error

--
nosy: +iritkatriel
type:  -> behavior
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.4, Python 
3.5

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



[issue14484] missing return in win32_kill?

2021-12-13 Thread Irit Katriel


Change by Irit Katriel :


--
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.7

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



[issue19888] Three argument type() super call sets __name__ but not __qualname__

2021-12-13 Thread Irit Katriel


Change by Irit Katriel :


--
stage:  -> resolved
status: pending -> closed

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



[issue24116] --with-pydebug has no effect when the final python binary is compiled

2021-12-13 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> wont fix
stage:  -> resolved
status: open -> closed

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



[issue17505] [doc] email.header.Header.__unicode__ does not decode header

2021-12-13 Thread Irit Katriel


Change by Irit Katriel :


--
keywords: +easy
title: email.header.Header.__unicode__ does not decode header -> [doc] 
email.header.Header.__unicode__ does not decode header
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.2, Python 
3.3, Python 3.4

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



[issue16392] [doc] import crashes on circular imports in ext modules

2021-12-13 Thread Irit Katriel


Change by Irit Katriel :


--
keywords: +easy
title: import crashes on circular imports in ext modules -> [doc] import 
crashes on circular imports in ext modules
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.4, Python 3.5

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



[issue21910] [doc] File protocol should document if writelines must handle generators sensibly

2021-12-13 Thread Irit Katriel


Change by Irit Katriel :


--
keywords: +easy
title: File protocol should document if writelines must handle generators 
sensibly -> [doc] File protocol should document if writelines must handle 
generators sensibly
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.4, Python 
3.5

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



[issue39757] EmailMessage bad encoding for international domain

2021-12-13 Thread Irit Katriel


Irit Katriel  added the comment:

Reproduced on 3.11.

--
nosy: +iritkatriel
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.5

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



[issue23747] [doc] platform module exposes win32_ver function on posix systems

2021-12-13 Thread Irit Katriel


Change by Irit Katriel :


--
keywords: +easy
title: platform module exposes win32_ver function on posix systems -> [doc] 
platform module exposes win32_ver function on posix systems
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.4, Python 
3.5

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



[issue12411] cgi.parse_multipart is broken on 3.x

2021-12-13 Thread Irit Katriel


Change by Irit Katriel :


--
status: open -> pending

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



[issue40927] ./python -m test test___all__ test_binhex fails

2021-12-13 Thread Irit Katriel


Change by Irit Katriel :


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

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



[issue33099] test_poplib hangs with the changes done in PR

2021-12-13 Thread Irit Katriel


Irit Katriel  added the comment:

#32706 is now fixed, does that resolve this issue as well?

--
nosy: +iritkatriel

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



[issue30716] Failing tests with installed 3.6.2rc1 on Win 10-64

2021-12-13 Thread Irit Katriel


Irit Katriel  added the comment:

Shall we close this? I don't think 3.6 test failures will still be looked into.

--
nosy: +iritkatriel
status: open -> pending

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



[issue21390] readline: setlocale() returns NULL on Android

2021-12-13 Thread Irit Katriel


Irit Katriel  added the comment:

Neither of the patches were applied. Is this still needed?

--
nosy: +iritkatriel

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



[issue12411] cgi.parse_multipart is broken on 3.x

2021-12-13 Thread Irit Katriel


Irit Katriel  added the comment:

Senthil, was this last part done in issue29979?

--
nosy: +iritkatriel
status: open -> pending

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



[issue20392] Inconsistency with uppercase file extensions in MimeTypes.guess_type

2021-12-13 Thread Irit Katriel


Irit Katriel  added the comment:

Reproduced on 3.11.

--
keywords: +easy -patch
nosy: +iritkatriel
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.5

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



[issue45615] Missing test for type of error when printing traceback for non-exception

2021-12-13 Thread Irit Katriel


Change by Irit Katriel :


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

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



[issue46063] TimedRotatingFileHandler deletes wrong files

2021-12-13 Thread Irit Katriel


Change by Irit Katriel :


--
nosy: +vinay.sajip

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



[issue37602] nonzero fixer problem

2021-12-13 Thread Irit Katriel


Change by Irit Katriel :


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

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



[issue37602] nonzero fixer problem

2021-12-13 Thread Irit Katriel


Irit Katriel  added the comment:


New changeset 310bae628a9b065d29dbdbf4f7f5beb9fcc72ace by Irit Katriel in 
branch '3.10':
[3.10] bpo-37602: Clarify that the lib2to3 nonzero fixer changes only 
definitions (GH-30075) (GH-30085)
https://github.com/python/cpython/commit/310bae628a9b065d29dbdbf4f7f5beb9fcc72ace


--

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



[issue37602] nonzero fixer problem

2021-12-13 Thread Irit Katriel


Irit Katriel  added the comment:


New changeset 80eb8ab81fbe46497f16071b311c9d8e13ec2d3b by Miss Islington (bot) 
in branch '3.9':
bpo-37602: Clarify that the lib2to3 nonzero fixer changes only definitions 
(GH-30075) (GH-30083)
https://github.com/python/cpython/commit/80eb8ab81fbe46497f16071b311c9d8e13ec2d3b


--

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



[issue37602] nonzero fixer problem

2021-12-13 Thread Irit Katriel


Change by Irit Katriel :


--
pull_requests: +28306
pull_request: https://github.com/python/cpython/pull/30085

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



[issue37602] nonzero fixer problem

2021-12-13 Thread Irit Katriel


Irit Katriel  added the comment:


New changeset 481f3ffdbe40bd19677a1ba0ac2e7cece8949b47 by Irit Katriel in 
branch 'main':
bpo-37602: Clarify that the lib2to3 nonzero fixer changes only definitions 
(GH-30075)
https://github.com/python/cpython/commit/481f3ffdbe40bd19677a1ba0ac2e7cece8949b47


--

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



[issue1525919] email package content-transfer-encoding behaviour changed

2021-12-13 Thread Irit Katriel


Change by Irit Katriel :


--
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.2, Python 
3.3, Python 3.4

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



[issue22047] argparse improperly prints mutually exclusive options when they are in a group

2021-12-12 Thread Irit Katriel


Irit Katriel  added the comment:

While I was unable to reproduce this rendering error, there are other issues 
due to nesting of argument groups, and I wonder if we should deprecate those 
operations, along the lines of Paul's patch on this issue (but with deprecation 
rather than raising an exception).

Other related issues:  issue46057 (from today), issue16807, issue45690, 
issue43259, (there are probably more).

--
nosy: +rhettinger, serhiy.storchaka
status: pending -> open

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



[issue46057] argparse: embedded groups may prevent options from being in help output

2021-12-12 Thread Irit Katriel


Irit Katriel  added the comment:

According to the docs it should be

>>> xgrp = parser.add_argument_group()

rather than

>>> xgrp = grp.add_argument_group()


This seems to work:



>>> parser = argparse.ArgumentParser()
>>> grp = parser.add_argument_group('Database settings')
>>> grp.add_argument('--db-config')
_StoreAction(option_strings=['--db-config'], dest='db_config', nargs=None, 
const=None, default=None, type=None, choices=None, help=None, metavar=None)
>>> xgrp = parser.add_argument_group()
>>> xgrp.add_argument('--db-password')
_StoreAction(option_strings=['--db-password'], dest='db_password', nargs=None, 
const=None, default=None, type=None, choices=None, help=None, metavar=None)
>>> parser.parse_args(['-h'])
usage: [-h] [--db-config DB_CONFIG] [--db-password DB_PASSWORD]

options:
  -h, --helpshow this help message and exit

Database settings:
  --db-config DB_CONFIG

  --db-password DB_PASSWORD

--

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



[issue39071] [doc] email.parser.BytesParser - parse and parsebytes work not equivalent

2021-12-12 Thread Irit Katriel


Irit Katriel  added the comment:

The relevant section in the docs is
https://docs.python.org/3/library/email.parser.html#email.parser.Parser
It currently doesn't advise against using the text parser in any way. 


At the top of the page, the second paragraph says:

"You can pass the parser a bytes, string or file object, and the parser will 
return to you the root EmailMessage instance of the object structure."

--
assignee:  -> docs@python
components: +Documentation
nosy: +docs@python, iritkatriel
title: email.parser.BytesParser - parse and parsebytes work not equivalent -> 
[doc] email.parser.BytesParser - parse and parsebytes work not equivalent
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.5, Python 3.6, Python 
3.7, Python 3.8

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



[issue46058] argparse: arg groups and mutually exclusive groups behave inconsitently

2021-12-12 Thread Irit Katriel


Change by Irit Katriel :


--
versions:  -Python 3.6, Python 3.7, Python 3.8

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



[issue28884] Python 3.5.2 non-segfaulting bugs (from PyPy)

2021-12-12 Thread Irit Katriel


Irit Katriel  added the comment:

B7 passes on 3.11.

--
nosy: +iritkatriel

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



[issue6642] returning after forking a child thread doesn't call Py_Finalize

2021-12-12 Thread Irit Katriel


Change by Irit Katriel :


--
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.3, Python 
3.4

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



[issue17120] Mishandled _POSIX_C_SOURCE and _XOPEN_SOURCE in pyconfig.h

2021-12-12 Thread Irit Katriel


Change by Irit Katriel :


--
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.2, Python 
3.3, Python 3.4

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



[issue34135] The results of time.tzname print broken.

2021-12-12 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> out of date
status: open -> pending

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



[issue17763] test_pydoc fails with the installed testsuite

2021-12-12 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> third party
stage: needs patch -> resolved
status: open -> closed

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



[issue16247] Report failing url in URLError?

2021-12-12 Thread Irit Katriel


Change by Irit Katriel :


--
status: open -> pending

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



[issue20741] Documentation archives should be available also in tar.xz format

2021-12-12 Thread Irit Katriel


Change by Irit Katriel :


--
status: closed -> pending

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



[issue20741] Documentation archives should be available also in tar.xz format

2021-12-12 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> out of date
stage:  -> resolved
status: open -> closed

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



[issue20907] behavioral differences between shutil.unpack_archive and ZipFile.extractall

2021-12-12 Thread Irit Katriel


Change by Irit Katriel :


--
versions: +Python 3.11 -Python 3.3, Python 3.4

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



[issue12165] [doc] clarify documentation of nonlocal

2021-12-12 Thread Irit Katriel


Irit Katriel  added the comment:

The doc has been updated by now and mentions "excluding globals".
I'm changing the title to reflect Terry's last comment.

One comment on his suggestion: I would remove/change "the nonlocal statement is 
similar to the global statement" because it's not obvious in what way it is 
similar just from the sentence, I think this is more confusing then helpful.

--
keywords: +easy -patch
nosy: +iritkatriel
title: Nonlocal does not include global; clarify doc -> [doc] clarify 
documentation of nonlocal
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.4

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



[issue39306] Lib/configparser.py - RawConfigParser.set does not pass non-truthy values through to Interpolation.before_set

2021-12-12 Thread Irit Katriel


Irit Katriel  added the comment:

Hans, as mentioned on the PR, the merit of this change needs to be discussed. 
If you would like to pursue this, please begin by explaining the use case.

If you lost interest in this problem, let's close this issue.

--
nosy: +iritkatriel
status: open -> pending

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



[issue25299] argparse: TypeError: __init__() takes at least 4 arguments (4 given)

2021-12-12 Thread Irit Katriel


Irit Katriel  added the comment:

This is working on 3.11:

>>> from argparse import ArgumentParser
>>> parser = ArgumentParser()
>>> parser.add_argument("--foo", help="foo", action='store_const')
_StoreConstAction(option_strings=['--foo'], dest='foo', nargs=0, const=None, 
default=None, type=None, choices=None, help='foo', metavar=None)
>>> parser.print_usage()
usage: [-h] [--foo]
>>> 

So I agree this issue can be closed.

--
nosy: +iritkatriel
resolution:  -> fixed
status: open -> closed

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



[issue37602] nonzero fixer problem

2021-12-12 Thread Irit Katriel


Change by Irit Katriel :


--
nosy: +iritkatriel
nosy_count: 5.0 -> 6.0
pull_requests: +28297
status: pending -> open
pull_request: https://github.com/python/cpython/pull/30075

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



[issue27258] Exception in BytesGenerator.flatten

2021-12-12 Thread Irit Katriel


Irit Katriel  added the comment:

I am also unable to reproduce the issue on 3.11 with the attached script and 
input.

Please create a new issue if this problem still exists in a current python 
version (>= 3.9).

--
nosy: +iritkatriel
resolution:  -> works for me
stage:  -> resolved
status: open -> closed

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



[issue1599254] mailbox: other programs' messages can vanish without trace

2021-12-12 Thread Irit Katriel


Irit Katriel  added the comment:

Reproduced on 3.11 - the test in mailbox-test.patch fails.

--
nosy: +iritkatriel
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.4, Python 
3.5

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



[issue45636] Merge BINARY_*/INPLACE_* into BINARY_OP

2021-12-12 Thread Irit Katriel


Change by Irit Katriel :


--
pull_requests: +28294
pull_request: https://github.com/python/cpython/pull/30073

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



[issue45635] Tidy up error handling in traceback.c / python run.c

2021-12-12 Thread Irit Katriel


Change by Irit Katriel :


--
pull_requests: +28295
pull_request: https://github.com/python/cpython/pull/30073

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



[issue45636] Merge BINARY_*/INPLACE_* into BINARY_OP

2021-12-12 Thread Irit Katriel


Change by Irit Katriel :


--
pull_requests:  -28293

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



[issue45636] Merge BINARY_*/INPLACE_* into BINARY_OP

2021-12-12 Thread Irit Katriel


Change by Irit Katriel :


--
nosy: +iritkatriel
nosy_count: 3.0 -> 4.0
pull_requests: +28293
pull_request: https://github.com/python/cpython/pull/30073

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



[issue20369] concurrent.futures.wait() blocks forever when given duplicate Futures

2021-12-12 Thread Irit Katriel


Change by Irit Katriel :


--
keywords: +easy -patch

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



[issue20369] concurrent.futures.wait() blocks forever when given duplicate Futures

2021-12-12 Thread Irit Katriel


Irit Katriel  added the comment:

Reproduced on 3.11.

--
components: +Library (Lib)
nosy: +iritkatriel
type:  -> behavior
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.3, Python 3.4

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



[issue46057] argparse: embedded groups may prevent options from being in help output

2021-12-12 Thread Irit Katriel


Irit Katriel  added the comment:

Please complete the bug report: How did you run this function, what output did 
you get and what output did you expect?

--
nosy: +iritkatriel

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



[issue1525919] email package content-transfer-encoding behaviour changed

2021-12-12 Thread Irit Katriel


Irit Katriel  added the comment:

The encoding functions are now doing

orig = msg.get_payload(decode=True)

Does this fix the double-encoding issue?


This change was made in 
https://github.com/python/cpython/commit/00ae435deef434f471e39bea3f3ab3a3e3cd90fe

--
nosy: +iritkatriel
status: open -> pending

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



[issue6942] email.generator.Generator memory consumption

2021-12-12 Thread Irit Katriel


Irit Katriel  added the comment:

Ross, the link to your code no longer works. Do you still have it, and if so 
could you paste/upload it here?

--
nosy: +iritkatriel
status: open -> pending

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



[issue18778] email docstrings and comments use python 2 language (Unicode strings)

2021-12-12 Thread Irit Katriel


Change by Irit Katriel :


--
assignee:  -> docs@python
components: +Documentation
nosy: +docs@python
title: email docstrings and comments say about Unicode strings -> email 
docstrings and comments use python 2 language (Unicode strings)

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



[issue27920] Embedding python in a shared library fails to import the Python module

2021-12-12 Thread Irit Katriel


Irit Katriel  added the comment:

3.4 is no longer maintained. Please create a new issue if you are still having 
this problem on a current python version (>= 3.9).

--
resolution:  -> out of date
stage:  -> resolved
status: pending -> closed

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



[issue25668] Deadlock in logging caused by a possible race condition with "format"

2021-12-12 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> wont fix
stage:  -> resolved
status: pending -> closed

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



[issue18778] email docstrings and comments say about Unicode strings

2021-12-12 Thread Irit Katriel


Change by Irit Katriel :


--
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.3, Python 3.4

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



[issue19838] test.test_pathlib.PosixPathTest.test_touch_common fails on FreeBSD with ZFS

2021-12-12 Thread Irit Katriel


Irit Katriel  added the comment:

issue15745 has been fixed in the meantime (about 6 years ago).

If nobody objects I will close this as out of date. If there is still a problem 
with the test is will be reported for a current python version.

--
nosy: +iritkatriel
resolution:  -> out of date
status: open -> pending

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



[issue22833] The decode_header() function decodes raw part to bytes or str, depending on encoded part

2021-12-12 Thread Irit Katriel


Irit Katriel  added the comment:

Reproduced on 3.11.

--
nosy: +iritkatriel
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.4, Python 3.5

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



[issue24224] test_msilib is inadequate

2021-12-12 Thread Irit Katriel


Irit Katriel  added the comment:

It seems that most of the tests in this script were written after this issue 
was created. If there is still need to extend them, it would help to elaborate 
here on what is still needed. Otherwise, we could close this.

--
nosy: +iritkatriel

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



[issue6634] [doc] sys.exit() called from threads other than the main one: undocumented behaviour

2021-12-12 Thread Irit Katriel


Irit Katriel  added the comment:

Since 3.8 we have threading.excepthook() so the situation is different now: 

https://github.com/python/cpython/pull/13515

I think it still makes sense to change the wording of the doc for sys.exit() a 
bit, and add a reference to the relevant section of the threading doc.

--
keywords: +easy
nosy: +iritkatriel
title: sys.exit() called from threads other than the main one: undocumented 
behaviour -> [doc] sys.exit() called from threads other than the main one: 
undocumented behaviour
type:  -> behavior
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.5

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



[issue10116] Sporadic failures in test_urllibnet

2021-12-11 Thread Irit Katriel


Irit Katriel  added the comment:

The www.example.com url was replaced by a local one in Issue36019, so this 
seems to complete what remained to do here.

--
nosy: +iritkatriel
resolution:  -> fixed
stage:  -> resolved
status: open -> closed

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



[issue26951] [doc] Unintuitive error when using generator expression in class property

2021-12-11 Thread Irit Katriel


Change by Irit Katriel :


--
title: Unintuitive error when using generator expression in class property -> 
[doc] Unintuitive error when using generator expression in class property
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.5, Python 
3.6

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



[issue17840] base64_codec uses assert for runtime validity checks

2021-12-11 Thread Irit Katriel


Change by Irit Katriel :


--
versions: +Python 3.11 -Python 3.5

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



[issue20128] Re-enable test_modules_search_builtin() in test_pydoc

2021-12-11 Thread Irit Katriel


Change by Irit Katriel :


--
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.4

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



[issue20123] pydoc.synopsis fails to load binary modules

2021-12-11 Thread Irit Katriel


Irit Katriel  added the comment:

Re-enabling the test is tracked on 20128, so this issue is no longer needed.

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

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



[issue22858] unittest.__init__:main shadows unittest.main

2021-12-11 Thread Irit Katriel


Change by Irit Katriel :


--
versions: +Python 3.11 -Python 3.5

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



[issue21737] runpy.run_path() fails with frozen __main__ modules

2021-12-11 Thread Irit Katriel


Irit Katriel  added the comment:

The code looks very different from the patch now, is this issue still relevant?

--
nosy: +iritkatriel
status: open -> pending

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



[issue26216] run runtktests.py error when test tkinter

2021-12-11 Thread Irit Katriel


Irit Katriel  added the comment:

runtktests.py was deleted here: https://github.com/python/cpython/pull/28929

--
nosy: +iritkatriel
resolution:  -> out of date
stage:  -> resolved
status: open -> closed

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



[issue36207] robotsparser deny all with some rules

2021-12-11 Thread Irit Katriel


Irit Katriel  added the comment:

I restored one non-spam message from the OP that was deleted.

Changing to enhancement because this is not a bug (i.e., deviation from 
documentation).

I don't know enough about this to have a view on whether this enhancement 
request should be accepted.

--
nosy: +iritkatriel
type: behavior -> enhancement
versions: +Python 3.11 -Python 3.5

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



[issue41222] POpen bufsize=0 ignored with universal_newlines=True

2021-12-11 Thread Irit Katriel


Change by Irit Katriel :


--
versions: +Python 3.10, Python 3.11 -Python 3.5, Python 3.6, Python 3.7, Python 
3.8

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



[issue9436] test_sysconfig failure: build a 32-bit Python a 64-bit OS

2021-12-11 Thread Irit Katriel


Change by Irit Katriel :


--
stage:  -> resolved
status: pending -> closed

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



[issue35037] PYLONG_BITS_IN_DIGIT differs between MinGW and MSVC

2021-12-11 Thread Irit Katriel


Change by Irit Katriel :


--
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.5, Python 
3.6, Python 3.7, Python 3.8

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



[issue19459] Python does not support the GEORGIAN-PS charset

2021-12-11 Thread Irit Katriel


Change by Irit Katriel :


--
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.3, Python 3.4

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



[issue29221] ABC Recursion Error on isinstance() with less than recursion limit class hierarchy depth

2021-12-11 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> out of date
stage:  -> resolved
status: open -> closed

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



[issue9504] signal.signal/signal.alarm not working as expected

2021-12-11 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> out of date
stage: needs patch -> resolved
status: open -> closed

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



[issue34557] When sending binary file to a Microsoft FTP server over FTP TLS, the SSL unwind method hangs

2021-12-11 Thread Irit Katriel


Change by Irit Katriel :


--
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.4, Python 
3.5, Python 3.6, Python 3.7, Python 3.8

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



[issue9338] argparse optionals with nargs='?', '*' or '+' can't be followed by positionals

2021-12-11 Thread Irit Katriel


Irit Katriel  added the comment:

Reproduced on 3.11:

>>> import argparse
>>> parser = argparse.ArgumentParser(prog='PROG')
>>> 
>>> parser.add_argument('--badger', nargs='+')
_StoreAction(option_strings=['--badger'], dest='badger', nargs='+', const=None, 
default=None, type=None, choices=None, help=None, metavar=None)
>>> parser.add_argument('spam')
_StoreAction(option_strings=[], dest='spam', nargs=None, const=None, 
default=None, type=None, choices=None, help=None, metavar=None)
>>> parser.parse_args('--badger A B C D'.split())
usage: PROG [-h] [--badger BADGER [BADGER ...]] spam
PROG: error: the following arguments are required: spam

--
nosy: +iritkatriel
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.2, Python 
3.3

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



[issue26571] turtle regression in 3.5

2021-12-11 Thread Irit Katriel


Change by Irit Katriel :


--
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.5

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



[issue27257] get_addresses results in traceback with an addrspec with an empty local part.

2021-12-11 Thread Irit Katriel


Irit Katriel  added the comment:

I am unable to reproduce this on 3.11:

>>> with open(b'lkml-exception.mail', mode = 'r') as f:
...  msg = email.message_from_file(f, policy=email.policy.SMTP)
... 
Traceback (most recent call last):
  File "", line 2, in 
AttributeError: module 'email' has no attribute 'policy'
>>> import email.policy
>>> with open(b'lkml-exception.mail', mode = 'r') as f:
...  msg = email.message_from_file(f, policy=email.policy.SMTP)
... 
>>> msg.get_all('to')
['unlisted-recipients:;, @pop.kundenserver.de']
>>>

--
nosy: +iritkatriel
status: open -> pending

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



[issue37701] shutil.copyfile raises SpecialFileError for symlink to fifo

2021-12-11 Thread Irit Katriel


Change by Irit Katriel :


--
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.5, Python 
3.6, Python 3.7, Python 3.8

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



[issue37700] shutil.copyfile does not raise SpecialFileError for socket files

2021-12-11 Thread Irit Katriel


Change by Irit Katriel :


--
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.5, Python 
3.6, Python 3.7, Python 3.8

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



[issue27718] help('signal') incomplete (e.g: signal.signal not visible)

2021-12-11 Thread Irit Katriel


Change by Irit Katriel :


--
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.5, Python 3.6

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



[issue27227] argparse fails to parse [] when using choices and nargs='*'

2021-12-11 Thread Irit Katriel


Irit Katriel  added the comment:

Reproduced on 3.11.

--
nosy: +iritkatriel
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.5, Python 
3.6, Python 3.7

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



[issue14484] missing return in win32_kill?

2021-12-11 Thread Irit Katriel


Irit Katriel  added the comment:

That piece of code is still there, the function is now called os_kill_impl.

--
nosy: +iritkatriel
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.4, Python 
3.5

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



[issue35999] multpirocessing.Process alive after SIGTERM on parent

2021-12-11 Thread Irit Katriel


Irit Katriel  added the comment:

This example is not working for me on 3.11:

>>> from multiprocessing import Process
>>> from time import sleep
>>> from os import getpid
>>> 
>>> def log(daemon_mode):
... while True:
... print('worker %i %s' % (getpid(), daemon_mode))
... sleep(3)
... 
>>> 
>>> print('parent pid %i' % getpid())
parent pid 77378
>>> 
>>> a = Process(target=log, args=(0,), daemon=False)
>>> a.start()
>>> :744: DeprecationWarning: 
>>> BuiltinImporter.module_repr() is deprecated and slated for removal in 
>>> Python 3.12
Traceback (most recent call last):
  File "", line 1, in 
  File "/Users/iritkatriel/src/cpython-654/Lib/multiprocessing/spawn.py", line 
116, in spawn_main
exitcode = _main(fd, parent_sentinel)
   ^^
  File "/Users/iritkatriel/src/cpython-654/Lib/multiprocessing/spawn.py", line 
126, in _main
self = reduction.pickle.load(from_parent)
   ^^
AttributeError: Can't get attribute 'log' on 

--
nosy: +iritkatriel

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



[issue24010] Add error checks to PyInit__locale()

2021-12-11 Thread Irit Katriel


Irit Katriel  added the comment:

This function now looks like this:

PyMODINIT_FUNC
PyInit__locale(void)
{
return PyModuleDef_Init(&_localemodule);
}

--
nosy: +iritkatriel
resolution:  -> out of date
stage: patch review -> resolved
status: open -> closed

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



[issue24012] Add error checks to PyInit_pyexpat()

2021-12-11 Thread Irit Katriel


Irit Katriel  added the comment:

This is all sorted now:

iritkatriel@Irits-MBP cpython % grep "PyModule_AddObject(" Modules/pyexpat.c 
if (PyModule_AddObject(mod, name, submodule) < 0) {
if (PyModule_AddObject(errors_module, "codes", codes_dict) < 0) {
if (PyModule_AddObject(errors_module, "messages", rev_codes_dict) < 0) {
if (PyModule_AddObject(mod, "features", list) < 0) {
if (PyModule_AddObject(mod, "version_info", versionInfo) < 0) {
if (PyModule_AddObject(mod, "expat_CAPI", capi_object) < 0) {
iritkatriel@Irits-MBP cpython % grep "PyDict_SetItem(" Modules/pyexpat.c
PyDict_SetItem(self->intern, result, result) == 0)
else if (PyDict_SetItem(container, n, v)) {
int res = PyDict_SetItem(rev_codes_dict, num, str);
iritkatriel@Irits-MBP cpython % grep "PySys_GetObject(" Modules/pyexpat.c
iritkatriel@Irits-MBP cpython %

--
nosy: +iritkatriel
resolution:  -> out of date
stage: patch review -> resolved
status: open -> closed

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



[issue12833] Document the need to pass the prompt to raw_input() with readline

2021-12-11 Thread Irit Katriel


Change by Irit Katriel :


--
stage: needs patch -> resolved
status: pending -> closed

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



[issue28816] [doc] Clarify that zipimport does not invoke import hooks to load custom files from zip.

2021-12-11 Thread Irit Katriel


Change by Irit Katriel :


--
pull_requests: +28280
status: pending -> open
pull_request: https://github.com/python/cpython/pull/30060

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



[issue34798] pprint ignores the compact parameter for dicts

2021-12-11 Thread Irit Katriel


Irit Katriel  added the comment:

Don't discuss on a closed issue. Create a new one if there is still a problem.

--

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



[issue46040] asyncio.coroutine documented as removed in 3.10

2021-12-11 Thread Irit Katriel


Change by Irit Katriel :


--
components: +asyncio
nosy: +asvetlov, yselivanov

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



<    4   5   6   7   8   9   10   11   12   13   >