[issue35962] [doc] Slight error in words in [ 2.4.1. String and Bytes literals ]

2022-04-08 Thread Irit Katriel


Change by Irit Katriel :


--
keywords: +easy
priority: normal -> low
title: Slight error in words in [ 2.4.1. String and Bytes literals ] -> [doc] 
Slight error in words in [ 2.4.1. String and Bytes literals ]
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.7, Python 
3.8

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



[issue44213] LIST_TO_TUPLE placed below the sentence "all of the following use their opcodes" in dis library documentaiton.

2022-04-08 Thread Irit Katriel


Irit Katriel  added the comment:

The "all of the following.. " sentence has been removed in 3.11.

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

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



[issue47120] Make all jump opcodes relative

2022-04-07 Thread Irit Katriel


Change by Irit Katriel :


--
pull_requests: +30427
pull_request: https://github.com/python/cpython/pull/32400

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



[issue47120] Make all jump opcodes relative

2022-04-06 Thread Irit Katriel


Change by Irit Katriel :


--
pull_requests: +30408
pull_request: https://github.com/python/cpython/pull/32359

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



[issue47120] Make all jump opcodes relative

2022-04-06 Thread Irit Katriel


Change by Irit Katriel :


--
pull_requests: +30405
pull_request: https://github.com/python/cpython/pull/32353

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



[issue28540] math.degrees(sys.float_info.max) should throw an OverflowError exception

2022-04-05 Thread Irit Katriel


Change by Irit Katriel :


--
keywords: +easy -patch
type:  -> enhancement
versions: +Python 3.11

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



[issue47120] Make all jump opcodes relative

2022-04-05 Thread Irit Katriel


Irit Katriel  added the comment:


New changeset 0aa8d5cbd89cf3b61d7e8626f3a7b9c4881dfd70 by Irit Katriel in 
branch 'main':
bpo-47120: make JUMP_NO_INTERRUPT relative (GH-32221)
https://github.com/python/cpython/commit/0aa8d5cbd89cf3b61d7e8626f3a7b9c4881dfd70


--

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



[issue47186] split JUMP_IF_NOT_EXC/EG_MATCH into CHECK_EXC/EG_MATCH + jump

2022-04-05 Thread Irit Katriel


Change by Irit Katriel :


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

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



[issue47186] split JUMP_IF_NOT_EXC/EG_MATCH into CHECK_EXC/EG_MATCH + jump

2022-04-05 Thread Irit Katriel


Irit Katriel  added the comment:


New changeset 32091df41ce6e3a71df2cf37dc74b728c0d885f2 by Irit Katriel in 
branch 'main':
bpo-47186: Replace JUMP_IF_NOT_EG_MATCH by CHECK_EG_MATCH + jump (GH-32309)
https://github.com/python/cpython/commit/32091df41ce6e3a71df2cf37dc74b728c0d885f2


--

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



[issue28951] re.flags not documented in Module Contents as promised.

2022-04-05 Thread Irit Katriel


Change by Irit Katriel :


--
keywords: +easy
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.6, Python 
3.7

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



[issue38299] build errors - latest "git pull"

2022-04-04 Thread Irit Katriel


Irit Katriel  added the comment:

Thanks for the report.

We run AddressSanitizer on the buildbots now, so I'm going to assume that we 
know about these issues when they come up.

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

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



[issue46484] Add test for Calendar().iterweekdays()

2022-04-04 Thread Irit Katriel


Irit Katriel  added the comment:

Thank you Jiahua!

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

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



[issue47186] split JUMP_IF_NOT_EXC/EG_MATCH into CHECK_EXC/EG_MATCH + jump

2022-04-04 Thread Irit Katriel


Change by Irit Katriel :


--
pull_requests: +30370
pull_request: https://github.com/python/cpython/pull/32309

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



[issue46484] Add test for Calendar().iterweekdays()

2022-04-04 Thread Irit Katriel


Irit Katriel  added the comment:


New changeset 48269ea9fdbc5804f80962364f95e69097c417ba by 180909 in branch 
'main':
bpo-46484:Add test for Calendar.iterweekdays (GH-30825)
https://github.com/python/cpython/commit/48269ea9fdbc5804f80962364f95e69097c417ba


--
nosy: +iritkatriel

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



[issue39064] ValueError in zipfile.ZipFile

2022-04-03 Thread Irit Katriel


Irit Katriel  added the comment:

Sam, can you put that in a PR please?

--

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



[issue29920] Document cgitb.text and cgitb.html

2022-04-02 Thread Irit Katriel


Irit Katriel  added the comment:

Closing as the backport to 3.5/3.6 is no longer relevant and also cgitb is 
deprecated under 594.

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

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



[issue968063] Add fileinput.islastline()

2022-04-02 Thread Irit Katriel


Irit Katriel  added the comment:

I am closing this as the discussion ended in 2017 with something like three +0s.

Please raise this for discussion on python-ideas if you would like to pursue it 
further.

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

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



[issue968063] Add fileinput.islastline()

2022-04-02 Thread Irit Katriel


Irit Katriel  added the comment:

> This doesn't work because fileinput.filename()  and fileinput.filelineno()  
> are going to be wrong and pointing to the next file.


You won't have this problem if you work on one file at a time.

--
nosy: +iritkatriel

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



[issue27376] Add mock_import method to mock module

2022-04-02 Thread Irit Katriel


Irit Katriel  added the comment:

Closing as that's where the discussion of 2016 was leaning. Please raise this 
on python-ideas if you would like to bring it up again.

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

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



[issue26023] Missing signatures operator module

2022-04-02 Thread Irit Katriel


Irit Katriel  added the comment:

I think this was fixed by now, this is an excerpt from help(operator):


lshift(a, b, /)
Same as a << b.

lt(a, b, /)
Same as a < b.

matmul(a, b, /)
Same as a @ b.

mod(a, b, /)
Same as a % b.

mul(a, b, /)
Same as a * b.

ne(a, b, /)
Same as a != b.

neg(a, /)
Same as -a.

not_(a, /)
Same as not a.

or_(a, b, /)
Same as a | b.

pos(a, /)
Same as +a.

pow(a, b, /)
Same as a ** b.

rshift(a, b, /)
Same as a >> b.

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

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



[issue24563] [doc] Encoding declaration: doc supported encodings

2022-04-02 Thread Irit Katriel


Change by Irit Katriel :


--
keywords: +easy
title: Encoding declaration: doc supported encodings -> [doc] Encoding 
declaration: doc supported encodings
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.4, Python 
3.5, Python 3.6

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



[issue22738] improve 'python -h' documentation for '-c'

2022-04-02 Thread Irit Katriel


Irit Katriel  added the comment:

Closing as the discussion stalled about 7 years ago and was then leaning 
towards rejecting the suggestion.

--
nosy: +iritkatriel
resolution:  -> rejected
stage: needs patch -> resolved
status: open -> closed

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



[issue27817] tkinter string variable misinterpreted as boolean

2022-04-02 Thread Irit Katriel


Change by Irit Katriel :


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

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



[issue47172] Make virtual opcodes in the compiler negative and is_jump() identify only proper jumps

2022-04-01 Thread Irit Katriel


Change by Irit Katriel :


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

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



[issue47186] split JUMP_IF_NOT_EXC/EG_MATCH into CHECK_EXC/EG_MATCH + jump

2022-04-01 Thread Irit Katriel


Change by Irit Katriel :


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

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



[issue47186] split JUMP_IF_NOT_EXC/EG_MATCH into CHECK_EXC/EG_MATCH + jump

2022-04-01 Thread Irit Katriel


New submission from Irit Katriel :

It would help issue47120 to reduce the number of jump opcodes.

The exception matching opcodes JUMP_IF_NOT_EXC_MATCH  and JUMP_IF_NOT_EG_MATCH 
are not hot, and we can split them into a check + ordinary jump. 

For JUMP_IF_NOT_EXC_MATCH  this is simple because the stack effect is the same 
for the jump and non-jump case. For JUMP_IF_NOT_EG_MATCH the stack effect will 
need to be made the same, and the opcodes emitted around it adapted.

--
assignee: iritkatriel
components: Interpreter Core
messages: 416484
nosy: iritkatriel
priority: normal
severity: normal
status: open
title: split JUMP_IF_NOT_EXC/EG_MATCH into CHECK_EXC/EG_MATCH + jump
versions: Python 3.11

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



[issue47120] Make all jump opcodes relative

2022-03-31 Thread Irit Katriel


Change by Irit Katriel :


--
pull_requests: +30296
pull_request: https://github.com/python/cpython/pull/32221

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



[issue47172] Make virtual opcodes in the compiler negative and is_jump() identify only proper jumps

2022-03-31 Thread Irit Katriel


Change by Irit Katriel :


--
title: Make virtual opcodes in the compiler > 256 and is_jump() identify only 
proper jumps -> Make virtual opcodes in the compiler negative and is_jump() 
identify only proper jumps

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



[issue47120] Make all jump opcodes relative

2022-03-31 Thread Irit Katriel


Change by Irit Katriel :


--
pull_requests: +30291
pull_request: https://github.com/python/cpython/pull/32215

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



[issue22260] Rearrange tkinter tests, use test discovery

2022-03-30 Thread Irit Katriel


Change by Irit Katriel :


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

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



[issue17733] Add tests to test__header_value_parser for RFC 2231 parsing code

2022-03-30 Thread Irit Katriel


Change by Irit Katriel :


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

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



[issue32754] feature request: asyncio.gather/wait cancel children on first exception

2022-03-30 Thread Irit Katriel


Change by Irit Katriel :


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

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



[issue47172] Make virtual opcodes in the compiler > 256 and is_jump() identify only proper jumps

2022-03-30 Thread Irit Katriel


Change by Irit Katriel :


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

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



[issue47172] Make virtual opcodes in the compiler > 256 and is_jump() identify only proper jumps

2022-03-30 Thread Irit Katriel


New submission from Irit Katriel :

There are a few "virtual opcodes" which are internal to the compiler. They can 
have values > 256. This way we don't waste any valid opcodes on them, and it is 
easier to detect when one of them escapes the compiler into the assemble stage.

In addition, there is an is_jump() function that treats the exception handling 
opcodes as jumps (and also assumes that any opcode >= SETUP_WITH is a jump):

static inline int
 is_jump(struct instr *i)
 {
return i->i_opcode >= SETUP_WITH || is_bit_set_in_table(_PyOpcode_Jump, 
i->i_opcode);
 }

Then there is is_block_push just for the three virtual exception block opcodes:

static inline int
is_block_push(struct instr *instr)
{
int opcode = instr->i_opcode;
return opcode == SETUP_FINALLY || opcode == SETUP_WITH || opcode == 
SETUP_CLEANUP;
}

We can make is_jump return true just for jumps, and call is_block_push as well 
when it is needed (currently sometimes we call is_jump when there cannot be 
virtual opcodes anymore so we can assert that instead, and in one place we call 
is_jump and then exclude the virtual opcodes. Both of these will become clearer 
after we make this change).

--
assignee: iritkatriel
components: Interpreter Core
messages: 416386
nosy: iritkatriel
priority: normal
severity: normal
status: open
title: Make virtual opcodes in the compiler > 256 and is_jump() identify only 
proper jumps
type: enhancement
versions: Python 3.11

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



[issue39114] Python 3.9.0a2 changed how finally/return is traced

2022-03-30 Thread Irit Katriel


Change by Irit Katriel :


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

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



[issue30479] improve asyncio debugging

2022-03-29 Thread Irit Katriel


Change by Irit Katriel :


--
nosy: +asvetlov

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



[issue43881] [doc] add platform availabity information for os.sched_getaffinity

2022-03-29 Thread Irit Katriel


Change by Irit Katriel :


--
title: add platform availabity information for os.sched_getaffinity -> [doc] 
add platform availabity information for os.sched_getaffinity

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



[issue43881] add platform availabity information for os.sched_getaffinity

2022-03-29 Thread Irit Katriel


New submission from Irit Katriel :

It might help if you provide motivation for the change. In particular, explain 
why you believe the current text is incorrect.

--
nosy: +iritkatriel
versions: +Python 3.11 -Python 3.6, Python 3.7, Python 3.8

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



[issue26120] pydoc: move __future__ imports out of the DATA block

2022-03-29 Thread Irit Katriel


Change by Irit Katriel :


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

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



[issue26120] pydoc: move __future__ imports out of the DATA block

2022-03-29 Thread Irit Katriel


Irit Katriel  added the comment:


New changeset 63f32fae79e16e6dc71777bd3fcb623b2c3ff742 by Irit Katriel in 
branch 'main':
bpo-26120: do not exclude __future__ import in pydoc of the __future__ module 
itself (GH-32180)
https://github.com/python/cpython/commit/63f32fae79e16e6dc71777bd3fcb623b2c3ff742


--

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



[issue26120] pydoc: move __future__ imports out of the DATA block

2022-03-29 Thread Irit Katriel


Change by Irit Katriel :


--
pull_requests: +30258
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/32180

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



[issue26120] pydoc: move __future__ imports out of the DATA block

2022-03-29 Thread Irit Katriel


Irit Katriel  added the comment:

> Yet one bug: PR 30888 only changed the text output. But there is also the 
> html output generator.

I'm not sure - if I revert the change like this:

 if isinstance(getattr(obj, name, None), __future__._Feature):
-return False
+pass # return False


then test_html_doc fails:


==
FAIL: test_html_doc (test.test_pydoc.PydocDocTest.test_html_doc)
--
Traceback (most recent call last):
  File "/Users/iritkatriel/src/cpython/Lib/test/test_pydoc.py", line 414, in 
test_html_doc
self.assertEqual(text_lines, expected_lines)

AssertionError: Lists differ: ['tes[1392 chars]t]', "print_function = 
_Feature((2, 6, 0, 'alp[156 chars]ody'] != ['tes[1392 chars]t]', 'type_union1 = 
typing.Union[int, str]', '[72 chars]ody']

First differing element 55:
"print_function = _Feature((2, 6, 0, 'alp[36 chars]576)"
'type_union1 = typing.Union[int, str]'

First list contains 1 additional elements.
First extra element 61:
'Nobody'

  ['test.pydoc_mod (version 1.2.3.4)',
   'This is a test module for test_pydoc',
   'Modules',
   'types',
   'typing',
   'Classes',
   'builtins.object',
   'A',
   'B',
   'C',
   'class A(builtins.object)',
   'Hello and goodbye',
   'Methods defined here:',
   '__init__()',
   'Wow, I have no function!',
   'Data descriptors defined here:',
   '__dict__',
   'dictionary for instance variables (if defined)',
   '__weakref__',
   'list of weak references to the object (if defined)',
   'class B(builtins.object)',
   'Data descriptors defined here:',
   '__dict__',
   'dictionary for instance variables (if defined)',
   '__weakref__',
   'list of weak references to the object (if defined)',
   'Data and other attributes defined here:',
   "NO_MEANING = 'eggs'",
   "__annotations__ = {'NO_MEANING': }",
   'class C(builtins.object)',
   'Methods defined here:',
   'get_answer(self)',
   'Return say_no()',
   'is_it_true(self)',
   'Return self.get_answer()',
   'say_no(self)',
   'Class methods defined here:',
   '__class_getitem__(item) from builtins.type',
   'Data descriptors defined here:',
   '__dict__',
   'dictionary for instance variables (if defined)',
   '__weakref__',
   'list of weak references to the object (if defined)',
   'Functions',
   'doc_func()',
   "This function solves all of the world's problems:",
   'hunger',
   'lack of Python',
   'war',
   'nodoc_func()',
   'Data',
   "__xyz__ = 'X, Y and Z'",
   'c_alias = test.pydoc_mod.C[int]',
   'list_alias1 = typing.List[int]',
   'list_alias2 = list[int]',
-  "print_function = _Feature((2, 6, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), "
-  '1048576)',
   'type_union1 = typing.Union[int, str]',
   'type_union2 = int | str',
   'Author',
   'Benjamin Peterson',
   'Credits',
   'Nobody']

--

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



[issue26120] pydoc: move __future__ imports out of the DATA block

2022-03-28 Thread Irit Katriel


Irit Katriel  added the comment:

Thank you, Serhiy!

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

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



[issue26120] pydoc: move __future__ imports out of the DATA block

2022-03-28 Thread Irit Katriel


Irit Katriel  added the comment:


New changeset 15ba8167d78f9e66bd5b07c4e5cbb0463460310a by Irit Katriel in 
branch 'main':
bpo-26120: make pydoc exclude __future__ imports from the data block of the 
module (GH-30888)
https://github.com/python/cpython/commit/15ba8167d78f9e66bd5b07c4e5cbb0463460310a


--

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



[issue26120] pydoc: move __future__ imports out of the DATA block

2022-03-28 Thread Irit Katriel


Irit Katriel  added the comment:

That's a good point. I see that the __future__ imports appear in the dir() of 
the module, and indeed they are imported with 'from m import *'. 

But I wonder if that is actually a bug. If you try this:


% cat x.py

from __future__ import annotations

% cat y.py
from x import *

print(dir())

class D:
def f(self, a: D):
return 42

% ./python.exe y.py
['__annotations__', '__builtins__', '__cached__', '__doc__', '__file__', 
'__loader__', '__name__', '__package__', '__spec__', 'annotations']
Traceback (most recent call last):
  File "/Users/iritkatriel/src/cpython-654/y.py", line 5, in 
class D:

  File "/Users/iritkatriel/src/cpython-654/y.py", line 6, in D
def f(self, a: D):
   ^
NameError: name 'D' is not defined
--


but if you add "from __future__ import annotations" at the top of y.py, then it 
does run.

So perhaps the future imports should be excluded by "from m import *"?

--

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



[issue34480] _markupbase.py fails with UnboundLocalError on invalid keyword in marked section

2022-03-27 Thread Irit Katriel


Change by Irit Katriel :


--
nosy: +lukasz.langa

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



[issue47133] enhance unittest to show test name and docstring on one line

2022-03-26 Thread Irit Katriel


Change by Irit Katriel :


--
keywords: +easy

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



[issue11339] annotation for class being defined

2022-03-25 Thread Irit Katriel


Change by Irit Katriel :


--
stage:  -> resolved
status: open -> closed

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



[issue47120] Make all jump opcodes relative

2022-03-25 Thread Irit Katriel


Change by Irit Katriel :


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

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



[issue47120] Make all jump opcodes relative

2022-03-25 Thread Irit Katriel


Change by Irit Katriel :


--
title: Make all jumps relative -> Make all jump opcodes relative

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



[issue47120] Make all jumps relative

2022-03-25 Thread Irit Katriel


New submission from Irit Katriel :

For some of our jump opcodes target is absolute, so it can easily require 
EXTENDED_ARGS. Our analysis [1] shows that turning all absolute jumps into 
relative jumps will eliminate almost all EXTENDED_ARGS on jumps. 

This will require a _BACK version for each jump type, which negates the oparg.

[1] 
https://github.com/faster-cpython/ideas/discussions/235#discussioncomment-2417022

--
assignee: iritkatriel
components: Interpreter Core
messages: 416003
nosy: iritkatriel
priority: normal
severity: normal
status: open
title: Make all jumps relative
type: performance
versions: Python 3.11

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



[issue1554] socketmodule cleanups: allow the use of keywords in socket functions

2022-03-25 Thread Irit Katriel


Change by Irit Katriel :


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

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



[issue13197] subprocess: move shell arguments to a separate keyword param

2022-03-25 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> Popen should raise ValueError if pass a string when shell=False 
or a list when shell=True

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



[issue18535] termios.tcgetattr should return namedtuple

2022-03-25 Thread Irit Katriel


Irit Katriel  added the comment:

The patch has no tests, the use case is not clear and it's been 9 years. 
Closing.

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

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



[issue8891] shutil: sort files before archiving for consistency

2022-03-25 Thread Irit Katriel


Irit Katriel  added the comment:

distutils is deprecated now, so there won't be any more enhancements to it.

--
nosy: +iritkatriel
resolution:  -> wont fix
stage: needs patch -> resolved
status: open -> closed

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



[issue8891] shutil: sort files before archiving for consistency

2022-03-25 Thread Irit Katriel


Change by Irit Katriel :


--
components: +Distutils -Library (Lib)
nosy: +dstufft

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



[issue11339] annotation for class being defined

2022-03-24 Thread Irit Katriel

Irit Katriel  added the comment:

This looks like PEP 673 – Self Type.

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

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



[issue46841] Inline bytecode caches

2022-03-24 Thread Irit Katriel


Irit Katriel  added the comment:


New changeset 2f49b97cc5426087b46515254b9a97a22ee8c807 by Irit Katriel in 
branch 'main':
bpo-46841: remove no-longer-used macro UPDATE_PREV_INSTR_OPARG (GH-32100)
https://github.com/python/cpython/commit/2f49b97cc5426087b46515254b9a97a22ee8c807


--

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



[issue22722] inheritable pipes are unwieldy without os.pipe2

2022-03-24 Thread Irit Katriel


Irit Katriel  added the comment:

Closing as this seems abandoned.

Buck, if you want to bring it up again and explain the use case, please reopen 
this issue, create a new issue or post to python-ideas.

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

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



[issue46841] Inline bytecode caches

2022-03-24 Thread Irit Katriel


Change by Irit Katriel :


--
nosy: +iritkatriel
nosy_count: 5.0 -> 6.0
pull_requests: +30182
pull_request: https://github.com/python/cpython/pull/32100

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



[issue26362] Approved API for creating a temporary file path

2022-03-24 Thread Irit Katriel


Irit Katriel  added the comment:

> So no, while unresolved, this bug report should not be closed.

This is not a bug report, it's a feature request, and there is enough 
resistance in the discussion to reject it (according to the Status Quo Wins a 
Stalemate principle).

What may be unresolved is the problem you were trying to solve with the new 
feature you requested. Rather than arguing for this particular solution, I 
would suggest that you start a discussion about the problem and possible 
solutions (the python-ideas list is one place where you could bring it up).

--
nosy: +iritkatriel
resolution:  -> rejected
stage: needs patch -> resolved
status: open -> closed

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



[issue37430] [doc] range is not a built-in function

2022-03-24 Thread Irit Katriel


Change by Irit Katriel :


--
keywords: +easy
title: range is not a built-in function -> [doc] range is not a built-in 
function
versions: +Python 3.10, Python 3.11 -Python 3.7, Python 3.8

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



[issue37665] threading.TIMEOUT_MAX integer overflow on 32-bit builds with threading.Thread.join

2022-03-24 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> undefined behaviour: signed integer overflow in threadmodule.c

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



[issue28948] Facing issue while running Python 3.6.0rc1 windows x86-64 web based installer

2022-03-24 Thread Irit Katriel


Irit Katriel  added the comment:

This was reported for 3.6 and there was not enough information to figure out 
what the problem is. I am closing it because it's unlikely that anyone will be 
do anything about this unless it is reported again for a current Python 
version, and with more information.

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

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



[issue17246] inspect.getargvalues fails if arg name is not bound to a value

2022-03-24 Thread Irit Katriel


Change by Irit Katriel :


--
keywords: +easy -patch

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



[issue27817] tkinter string variable misinterpreted as boolean

2022-03-24 Thread Irit Katriel


Irit Katriel  added the comment:

This problem was reported for 2.7 without a manageable reproducer. I suggest we 
close it because it's unlikely that anyone will want to investigate this now 
unless it's reported again for a supported python version.

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

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



[issue27165] Skip callables when displaying exception fields in cgitb

2022-03-23 Thread Irit Katriel


Irit Katriel  added the comment:

cgi/cgitb are deprecated as per PEP 594, so there won't be further enhancements 
to them.

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

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



[issue29067] Source archive: wrong directory attributes

2022-03-23 Thread Irit Katriel


Irit Katriel  added the comment:

In 3.11 it is drwxr-xr-x.

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

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



[issue23578] struct.pack error messages do not indicate which argument was invalid

2022-03-23 Thread Irit Katriel


Change by Irit Katriel :


--
versions: +Python 3.11 -Python 3.7

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



[issue33028] [doc] tempfile.TemporaryDirectory documentation improvements

2022-03-23 Thread Irit Katriel


Change by Irit Katriel :


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

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



[issue33028] [doc] tempfile.TemporaryDirectory documentation improvements

2022-03-23 Thread Irit Katriel


Change by Irit Katriel :


--
nosy: +iritkatriel
nosy_count: 5.0 -> 6.0
pull_requests: +30165
pull_request: https://github.com/python/cpython/pull/32078

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



[issue47099] Replace with_traceback() with exception chaining and reraising

2022-03-23 Thread Irit Katriel


Irit Katriel  added the comment:

You don't need sys.exc_info() for the traceback anymore.

except Exception as e:
raise OSError('blah').with_traceback(e.__traceback__)

--
nosy: +iritkatriel

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



[issue13011] Frozen programs require the original build directory in order to run.

2022-03-23 Thread Irit Katriel


Irit Katriel  added the comment:

Closing, please reopen or create a new issue if this is still a problem after 
all these years.

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

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



[issue23743] Python crashes upon exit if importing g++ compiled mod after importing gcc compiled mod

2022-03-22 Thread Irit Katriel


Change by Irit Katriel :


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

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



[issue22608] test_socket fails with sem_init: Too many open files

2022-03-22 Thread Irit Katriel


Irit Katriel  added the comment:

I think this was fixed in issue45212.

--
nosy: +iritkatriel
resolution:  -> duplicate
status: open -> pending
superseder:  -> Dangling threads in skipped tests in test_socket

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



[issue36692] Unexpected stderr output from test_sys_settrace

2022-03-22 Thread Irit Katriel


Irit Katriel  added the comment:

I'm not seeing this output when I run the test. Are you still seeing it?

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

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



[issue13670] Increase test coverage for pstats.py

2022-03-22 Thread Irit Katriel


Irit Katriel  added the comment:

The patch needs to be reviewed. If the tests are still relevant and increase 
coverage, it needs to be converted to a GitHub PR. Otherwise this issue can be 
closed.

--
keywords: +easy, newcomer friendly -patch
nosy: +iritkatriel

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



[issue27132] New assert method that checks an error message for a list of strings

2022-03-22 Thread Irit Katriel


Irit Katriel  added the comment:

> Personally I'd write multiple asserts rather than regex permutations.

I would too, because then when one of them fails it's clear which of the 
strings is missing.

--
nosy: +iritkatriel

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



[issue13330] Attempt full test coverage of LocaleTextCalendar.formatweekday

2022-03-22 Thread Irit Katriel


Irit Katriel  added the comment:

See also issue25528.

--

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



[issue25528] Attempt to further increase test coverage of calendar module

2022-03-22 Thread Irit Katriel


Irit Katriel  added the comment:

The patch needs to be reviewed. If the tests are still relevant and increase 
coverage, it needs to be converted to a GitHub PR. Otherwise this issue can be 
closed.


See also issue13330.

--
nosy: +iritkatriel

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



[issue13330] Attempt full test coverage of LocaleTextCalendar.formatweekday

2022-03-22 Thread Irit Katriel


Irit Katriel  added the comment:

The patch needs to be reviewed. If the tests are still relevant and increase 
coverage, it needs to be converted to a GitHub PR. Otherwise this issue can be 
closed.

--
keywords: +easy -needs review, patch
nosy: +iritkatriel
versions: +Python 3.11 -Python 3.4, Python 3.5

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



[issue22260] Rearrange tkinter tests, use test discovery

2022-03-22 Thread Irit Katriel


Irit Katriel  added the comment:

The patch looks very out of date. Let mw know if it's still needed, otherwise 
I'll close.

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

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



[issue17733] Add tests to test__header_value_parser for RFC 2231 parsing code

2022-03-22 Thread Irit Katriel


New submission from Irit Katriel :

I believe this is about smtpd, which is now deprecated under PEP 594. So I 
think we can close it.

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

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



[issue40065] py39: remove deprecation note for xml.etree.cElementTree

2022-03-22 Thread Irit Katriel


Irit Katriel  added the comment:

> We are currently debating to bring the module back and warn users that it 
> will be removed in 3.10.


Doesn't look like it was removed in 3.10. Was this an oversight?

--
nosy: +iritkatriel

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



[issue22013] Add at least minimal support for thread groups

2022-03-21 Thread Irit Katriel


Irit Katriel  added the comment:

And now we have TaskGroups in asyncio as well.

I'm closing this as it seems to have been abandoned. Feel free to reopen if 
this is still needed.

--
nosy: +iritkatriel
stage: needs patch -> resolved
status: open -> closed

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



[issue1703592] [doc] mention that setlocale raises exception if given a nonexisting locale

2022-03-21 Thread Irit Katriel


Change by Irit Katriel :


--
keywords: +easy
title: have a way to ignore nonexisting locales in locale.setlocale -> [doc] 
mention that setlocale raises exception if given a nonexisting locale
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.4

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



[issue18241] Add unique option to heapq functions

2022-03-21 Thread Irit Katriel


Irit Katriel  added the comment:

I would dedup when extracting items from the queue, because it is trivial to 
find duplicates then. It can be done with a simple wrapper, without any changes 
to the queue.

--
nosy: +iritkatriel

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



[issue26052] pydoc for __init__ with not docstring

2022-03-21 Thread Irit Katriel


Irit Katriel  added the comment:

Is the "See help(type(self)) for accurate signature." part of object.__init__ 
docstring useful? May we can just remove it?

--
nosy: +iritkatriel

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



[issue12029] [doc] clarify that except does not match virtual subclasses of the specified exception type

2022-03-21 Thread Irit Katriel


Irit Katriel  added the comment:


New changeset 2d5e9f8d6296cc52da9823bb57e7f03d60b34d27 by Irit Katriel in 
branch '3.9':
bpo-12029: [doc] clarify that except does not match virtual subclasses of the 
specified exception type (GH-32027) (GH-32035)
https://github.com/python/cpython/commit/2d5e9f8d6296cc52da9823bb57e7f03d60b34d27


--

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



[issue12029] [doc] clarify that except does not match virtual subclasses of the specified exception type

2022-03-21 Thread Irit Katriel


Change by Irit Katriel :


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

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



[issue12029] [doc] clarify that except does not match virtual subclasses of the specified exception type

2022-03-21 Thread Irit Katriel


Irit Katriel  added the comment:


New changeset 7fc12540e3e873d8ff49711e70fd691185f977b9 by Irit Katriel in 
branch '3.10':
bpo-12029: [doc] clarify that except does not match virtual subclasses of the 
specified exception type (GH-32027) (GH-32034)
https://github.com/python/cpython/commit/7fc12540e3e873d8ff49711e70fd691185f977b9


--

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



[issue12029] [doc] clarify that except does not match virtual subclasses of the specified exception type

2022-03-21 Thread Irit Katriel


Change by Irit Katriel :


--
pull_requests: +30126
pull_request: https://github.com/python/cpython/pull/32035

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



[issue12029] [doc] clarify that except does not match virtual subclasses of the specified exception type

2022-03-21 Thread Irit Katriel


Change by Irit Katriel :


--
pull_requests: +30125
pull_request: https://github.com/python/cpython/pull/32034

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



[issue12029] [doc] clarify that except does not match virtual subclasses of the specified exception type

2022-03-21 Thread Irit Katriel


Irit Katriel  added the comment:


New changeset 45833b50f0ccf2abb01304c900afee05b6d01b9e by Irit Katriel in 
branch 'main':
bpo-12029: [doc] clarify that except does not match virtual subclasses of the 
specified exception type (GH-32027)
https://github.com/python/cpython/commit/45833b50f0ccf2abb01304c900afee05b6d01b9e


--

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



[issue12029] [doc] clarify that except does not match virtual subclasses of the specified exception type

2022-03-21 Thread Irit Katriel


Change by Irit Katriel :


--
pull_requests: +30116
pull_request: https://github.com/python/cpython/pull/32027

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



[issue34680] [doc] asyncio event_loop fails when accessed from multiple threads

2022-03-21 Thread Irit Katriel


Change by Irit Katriel :


--
keywords: +easy
title: asyncio event_loop fails when accessed from multiple threads -> [doc] 
asyncio event_loop fails when accessed from multiple threads

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



[issue41275] [doc] Clarify that Futures can be awaited multiple times

2022-03-21 Thread Irit Katriel


Change by Irit Katriel :


--
keywords: +easy
title: Clarify whether Futures can be awaited multiple times -> [doc] Clarify 
that Futures can be awaited multiple times
versions: +Python 3.11

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



[issue34071] asyncio: repr(task) raises AssertionError for coros which loop.create_task accepts; complications ensue

2022-03-21 Thread Irit Katriel


Irit Katriel  added the comment:

I'm closing this as out of date, please create a new issue if you are seeing an 
issue on current versions of python (>= 3.10).

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

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



[issue34071] asyncio: repr(task) raises AssertionError for coros which loop.create_task accepts; complications ensue

2022-03-21 Thread Irit Katriel


Irit Katriel  added the comment:

This is a TypeError now, so there shouldn't be issues with unit tests anymore:

>>> task = asyncio.get_event_loop().create_task(ag())
Traceback (most recent call last):
  File "", line 1, in 
  File "/Users/iritkatriel/src/cpython/Lib/asyncio/base_events.py", line 436, 
in create_task
task = tasks.Task(coro, loop=self, name=name)
   ^^
TypeError: a coroutine was expected, got 

--
nosy: +iritkatriel

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



[issue32754] feature request: asyncio.gather/wait cancel children on first exception

2022-03-21 Thread Irit Katriel


Irit Katriel  added the comment:

Task groups are implemented under Issue46752.

--
nosy: +iritkatriel
resolution:  -> duplicate
status: open -> pending
superseder:  -> Introduce task groups to asyncio and change task cancellation 
semantics

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



  1   2   3   4   5   6   7   8   9   10   >