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

2019-11-17 Thread Ned Deily


Ned Deily  added the comment:

Bump.  Serhiy, are you planning to follow up on this?

--
nosy: +ned.deily
priority: normal -> deferred blocker

___
Python tracker 

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



[issue38790] test_fcntl failing on macOS CI

2019-11-17 Thread Ned Deily


Change by Ned Deily :


--
resolution:  -> duplicate
stage: patch review -> resolved
status: open -> closed
superseder:  -> Add open_file_descriptor parameter to fcntl.lockf() (use the 
new F_OFD_SETLK flag)

___
Python tracker 

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



[issue29125] Shell injection via TIX_LIBRARY when using tkinter.tix

2019-11-17 Thread Zachary Ware


Zachary Ware  added the comment:

Nearly 3 years on, the patch looks fine to me (though I would also accept this 
issue as justification for removing Tix ;).

--
versions: +Python 3.8, Python 3.9

___
Python tracker 

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



[issue29275] time module still has Y2K issues note

2019-11-17 Thread Zachary Ware


Change by Zachary Ware :


--
keywords: +easy, newcomer friendly
stage:  -> needs patch
versions: +Python 3.8, Python 3.9 -Python 2.7, Python 3.3, Python 3.4, Python 
3.5, Python 3.6

___
Python tracker 

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



[issue38823] Improve stdlib module initialization error handling.

2019-11-17 Thread Brandt Bucher


Change by Brandt Bucher :


--
pull_requests: +16719
pull_request: https://github.com/python/cpython/pull/17216

___
Python tracker 

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



[issue27647] Update Windows 2.7 build to Tcl/Tk 8.5.19

2019-11-17 Thread Zachary Ware


Change by Zachary Ware :


--
resolution:  -> out of date
stage: needs patch -> resolved
status: open -> closed
superseder:  -> [2.7] test_tk: test_use() of test_tkinter.test_widgets randomly 
fails with "integer value too large to represent" on with AMD64 Windows8 3.5

___
Python tracker 

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



[issue34850] Emit a syntax warning for "is" with a literal

2019-11-17 Thread Bachsau


Change by Bachsau :


--
nosy:  -Bachsau

___
Python tracker 

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



[issue38823] Improve stdlib module initialization error handling.

2019-11-17 Thread Brandt Bucher


Change by Brandt Bucher :


--
pull_requests: +16718
pull_request: https://github.com/python/cpython/pull/17215

___
Python tracker 

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



[issue38834] TypedDict: no way to tell which (if any) keys are optional at runtime

2019-11-17 Thread Zac Hatfield-Dodds


Change by Zac Hatfield-Dodds :


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

___
Python tracker 

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



[issue38678] TypeError for Tutorial 10.3 Example 2

2019-11-17 Thread Raymond Hettinger


Raymond Hettinger  added the comment:


New changeset 39134b374fd506c5f0f6d232e259ba48c651d88f by Raymond Hettinger 
(Miss Islington (bot)) in branch '3.8':
bpo-38678: Improve argparse example in tutorial (GH-17207) (GH-17212)
https://github.com/python/cpython/commit/39134b374fd506c5f0f6d232e259ba48c651d88f


--

___
Python tracker 

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



[issue38678] TypeError for Tutorial 10.3 Example 2

2019-11-17 Thread Raymond Hettinger


Raymond Hettinger  added the comment:


New changeset d2faac63af007e52620c642dfcc576b787b55dcd by Raymond Hettinger 
(Miss Islington (bot)) in branch '3.7':
bpo-38678: Improve argparse example in tutorial (GH-17207) (GH-17213)
https://github.com/python/cpython/commit/d2faac63af007e52620c642dfcc576b787b55dcd


--

___
Python tracker 

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



[issue5150] IDLE to support reindent.py

2019-11-17 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

reindent.py does the following:

1. Change Python (.py) files to use 4-space indents and no hard tab characters. 
 IDLE editor does this by default, as do other programming editors, except as 
PEP8 recommends something else for continuation lines within fences <(), [], 
{}>.  Before doing anything with reindent, I would want to check whether it 
messes with IDLE;s smart indents.

The format module and Format menu has functions to add/remove tabs and changes 
space indents, as well as rewrap.

The only thing left is dealing with a messed up file, but suspect that this is 
rarer than 19 (1st public version of reindent.py) or even 10 years ago (this 
issue).  Is this issue still needed?

2. Trim excess spaces and tabs from ends of lines.  Format => strip whitespace, 
added on this issue, does this. (The code is now in the format module.)

3. Remove empty lines at the end of files.  Rstrip should do this but does not. 
 This is a separate issue from reindenting.

4. Ensure that the last line ends with a newline.  Save in iomenu ensures this, 
but this should be part of 'strip whitespace', especially if we 'rstrip' on 
save (#33046).

--
nosy: +taleinat

___
Python tracker 

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



[issue38678] TypeError for Tutorial 10.3 Example 2

2019-11-17 Thread Raymond Hettinger


Change by Raymond Hettinger :


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

___
Python tracker 

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



[issue38678] TypeError for Tutorial 10.3 Example 2

2019-11-17 Thread Raymond Hettinger


Raymond Hettinger  added the comment:


New changeset 04c79d6088a22d467f04dbe438050c26de22fa85 by Raymond Hettinger in 
branch 'master':
bpo-38678: Improve argparse example in tutorial (GH-17207)
https://github.com/python/cpython/commit/04c79d6088a22d467f04dbe438050c26de22fa85


--

___
Python tracker 

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



[issue38678] TypeError for Tutorial 10.3 Example 2

2019-11-17 Thread miss-islington


Change by miss-islington :


--
pull_requests: +16715
pull_request: https://github.com/python/cpython/pull/17212

___
Python tracker 

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



[issue38678] TypeError for Tutorial 10.3 Example 2

2019-11-17 Thread miss-islington


Change by miss-islington :


--
pull_requests: +16716
pull_request: https://github.com/python/cpython/pull/17213

___
Python tracker 

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



[issue34850] Emit a syntax warning for "is" with a literal

2019-11-17 Thread Ammar Askar


Ammar Askar  added the comment:

That would potentially let an invalid usage slip through, since you know what 
you're doing, you can suppress the warning with:

  warnings.filterwarnings('ignore', category=SyntaxWarning, message='"is" with 
a literal')

--
nosy: +ammar2

___
Python tracker 

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



[issue34850] Emit a syntax warning for "is" with a literal

2019-11-17 Thread thautwarm


thautwarm  added the comment:

What if using identity equality on integer literals is intended?

I'm now trying to speed up the generated code via the integer interning 
mechanism told by https://docs.python.org/3/c-api/long.html#c.PyLong_FromLong .

I think it okay to not complain when the operand of `is` or `is not` is an 
integer between -5 and 256.

--
nosy: +thautwarm

___
Python tracker 

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



[issue35727] sys.exit() in a multiprocessing.Process does not align with Python behavior

2019-11-17 Thread Christopher Hunt


Christopher Hunt  added the comment:

Any other concerns here?

--

___
Python tracker 

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



[issue23667] IDLE to provide option for making trailing whitespace visible

2019-11-17 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

Given the issues I raised and Raymond's rejection of this, his first suggested 
option, on the PR, in favor of his second suggested option, #33046, I agree, at 
least for now.

The use case for whitespace tagging would be if someone wants to selectively 
delete trailing whitespace.  However, python/cpython rejects any trailing 
whitespace for all of .py, .c, and .rst files.  So this must be exceedingly 
rare and is not something that IDLE must facilitate.

--
resolution:  -> rejected
stage: needs patch -> resolved
status: open -> closed
superseder:  -> IDLE option to strip trailing whitespace automatically on save

___
Python tracker 

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



[issue38678] TypeError for Tutorial 10.3 Example 2

2019-11-17 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
versions: +Python 3.7, Python 3.8, Python 3.9

___
Python tracker 

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



[issue38678] TypeError for Tutorial 10.3 Example 2

2019-11-17 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

Raymond's patch changes the tutorial example to something more useful for 
beginners.  It also gives the proper fix for the old example, which is to add 
'default=0' after "action='count'", but puts this in the proper place, the ref 
manual explanation of 'count'.

--

___
Python tracker 

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



[issue38744] python 3.8 hang in multiprocessing.Pool() locking on FreeBSD

2019-11-17 Thread Kubilay Kocak


Change by Kubilay Kocak :


--
nosy: +koobs

___
Python tracker 

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



[issue38790] test_fcntl failing on macOS CI

2019-11-17 Thread Dong-hee Na


Dong-hee Na  added the comment:

This cause of failure PR 17010 was due to change of start methods as follows:
https://docs.python.org/3/library/multiprocessing.html#contexts-and-start-methods
Changed in version 3.8: On macOS, the spawn start method is now the default. 
The fork start method should be considered unsafe as it can lead to crashes of 
the subprocess. See bpo-33725.


So I updated the test through PR 17154 and I check that my local mac machine 
works well. (I did not check it on my local mac machine when I submitted PR 
17010 since open description lock was Linux feature, this was my mistake)

And thanks to the tip from Michael Felt, I update the test to skip on the AIX 
machine. So I expect that when PR 17154 is landed, everything will go well.

--

___
Python tracker 

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



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

2019-11-17 Thread Dong-hee Na

Dong-hee Na  added the comment:

This cause of failure PR 17010 was due to change of start methods as follows:
https://docs.python.org/3/library/multiprocessing.html#contexts-and-start-methods
Changed in version 3.8: On macOS, the spawn start method is now the default. 
The fork start method should be considered unsafe as it can lead to crashes of 
the subprocess. See bpo-33725.


So I updated the test through PR 17154 and I check that my local mac machine 
works well. (I did not check it on my local mac machine when I submitted PR 
17010 since open description lock was Linux feature, this was my mistake)

And thanks to the tip from Michael Felt, I update the test to skip on the AIX 
machine. So I expect that when PR 17154 is landed, everything will go well.

➜  cpython git:(bpo-22367-test-fix) ✗ ./python.exe Lib/test/test_fcntl.py -v
struct.pack:  
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00'
test_fcntl_64_bit (__main__.TestFcntl) ... skipped 'F_NOTIFY or DN_MULTISHOT 
unavailable'
test_fcntl_bad_file (__main__.TestFcntl) ... ok
test_fcntl_bad_file_overflow (__main__.TestFcntl) ... ok
test_fcntl_f_getpath (__main__.TestFcntl) ... ok
test_fcntl_file_descriptor (__main__.TestFcntl) ... Status from fcntl with 
O_NONBLOCK:  0
String from fcntl with F_SETLKW:  
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00'
ok
test_fcntl_fileno (__main__.TestFcntl) ... Status from fcntl with O_NONBLOCK:  0
String from fcntl with F_SETLKW:  
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00'
ok
test_flock (__main__.TestFcntl) ... ok
test_flock_overflow (__main__.TestFcntl) ... ok
test_lockf_exclusive (__main__.TestFcntl) ... struct.pack:  
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00'
ok
test_lockf_share (__main__.TestFcntl) ... struct.pack:  
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00'
ok

--

Ran 10 tests in 0.246s

OK (skipped=1)

--

___
Python tracker 

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



[issue38834] TypedDict: no way to tell which (if any) keys are optional at runtime

2019-11-17 Thread Zac Hatfield-Dodds


New submission from Zac Hatfield-Dodds :

Consider the following cases:

```python
class A(typing.TypedDict):
a: int  # a is required

class B(A, total=False):
b: bool  # a is required, b is optional

class C(B):
c: str  # a is required, b is optional, c is required again
```

PEP-589 is clear about the semantics, and this is obvious enough when reading 
the code.  At runtime the __annotations__ attribute of each class gives us the 
set of allowed keys and the type of each corresponding value, but we have a 
problem:

- C has __total__==True, but b is not actually required.
- B has __total__==False, but a *is* required.
- I can't see any way to get the parent classes of a TypedDict class!

The _TypedDictMeta metaclass updates the attributes, but leaves no record of 
the parent type - at runtime A, B, and C all appear to inherit directly from 
dict.

After discussion on the typing-sig mailing list, I propose to add 
__required_keys__ and __optional_keys__ attributes to TypedDict subclasses, as 
frozensets of strings.

This will be very useful for Hypothesis' `from_type()` strategy, as well as for 
type-based validation frameworks like pydantic or typeguard.

--
components: Library (Lib)
messages: 356836
nosy: Zac Hatfield-Dodds, levkivskyi
priority: normal
severity: normal
status: open
title: TypedDict: no way to tell which (if any) keys are optional at runtime
versions: Python 3.8

___
Python tracker 

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



[issue38710] unsynchronized write pointer in io.TextIOWrapper in 'r+' mode

2019-11-17 Thread Martin Panter


Martin Panter  added the comment:

Previously Issue 12215 and a couple of other duplicates were opened about this. 
Writing after reading with TextIOWrapper doesn't work as people expect. The 
report was closed apparently because Victor thought there wasn't enough 
interest in it.

FWIW the seek-then-write workaround will probably work for most common codecs, 
but would suffer the same problems discussed in Issue 26158 for codecs like 
UTF-7 and ISO-2022 that would need the encoder state constructed from the 
decoder state.

--
nosy: +martin.panter
superseder:  -> TextIOWrapper: issues with interlaced read-write

___
Python tracker 

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



[issue38831] urllib.request header characters being changed to lowercase

2019-11-17 Thread Eric V. Smith


Eric V. Smith  added the comment:

Yes, this does seem to be a duplicate. I'll close this.

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

___
Python tracker 

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



[issue38831] urllib.request header characters being changed to lowercase

2019-11-17 Thread Martin Panter


Martin Panter  added the comment:

I suggest to keep the discussion with Issue 12455

--
nosy: +martin.panter
superseder:  -> urllib2 forces title() on header names, breaking some requests

___
Python tracker 

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



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

2019-11-17 Thread Raymond Hettinger


Raymond Hettinger  added the comment:


New changeset 20a4f6cde65549fd0252eb8c879963e0e8b40390 by Raymond Hettinger 
(Miss Islington (bot)) in branch '3.8':
bpo-25866: Minor cleanups to "sequence" in docs (GH-17177) (GH-17208)
https://github.com/python/cpython/commit/20a4f6cde65549fd0252eb8c879963e0e8b40390


--

___
Python tracker 

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



[issue29979] cgi.parse_multipart is not consistent with FieldStorage

2019-11-17 Thread Martin Panter


Change by Martin Panter :


--
nosy: +martin.panter

___
Python tracker 

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



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

2019-11-17 Thread Raymond Hettinger


Raymond Hettinger  added the comment:


New changeset 72321c7be096434e3343bd5b37a4436aa9eea098 by Raymond Hettinger 
(Miss Islington (bot)) in branch '3.7':
bpo-25866: Minor cleanups to "sequence" in docs (GH-17177) (GH-17209)
https://github.com/python/cpython/commit/72321c7be096434e3343bd5b37a4436aa9eea098


--

___
Python tracker 

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



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

2019-11-17 Thread Raymond Hettinger


Change by Raymond Hettinger :


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

___
Python tracker 

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



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

2019-11-17 Thread miss-islington


Change by miss-islington :


--
pull_requests: +16714
pull_request: https://github.com/python/cpython/pull/17209

___
Python tracker 

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



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

2019-11-17 Thread miss-islington


Change by miss-islington :


--
pull_requests: +16713
pull_request: https://github.com/python/cpython/pull/17208

___
Python tracker 

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



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

2019-11-17 Thread Raymond Hettinger


Raymond Hettinger  added the comment:


New changeset 4544e78ec4558b75bf95e5b7dfc1b5bbb07ae5f0 by Raymond Hettinger 
(alclarks) in branch 'master':
bpo-25866: Minor cleanups to "sequence" in docs (GH-17177)
https://github.com/python/cpython/commit/4544e78ec4558b75bf95e5b7dfc1b5bbb07ae5f0


--

___
Python tracker 

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



[issue38678] TypeError for Tutorial 10.3 Example 2

2019-11-17 Thread Raymond Hettinger


Change by Raymond Hettinger :


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

___
Python tracker 

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



[issue37948] get_type_hints fails if there are un-annotated fields in a dataclass

2019-11-17 Thread Ivan Levkivskyi


Ivan Levkivskyi  added the comment:

> I'm not sure what can be done with this. The problem is that the decorator 
> doesn't know what's in the caller's namespace. The type being added is 
> "typing.Any". If the caller doesn't import typing, then get_type_hints will 
> fail (as demonstrated here).

IIUC the main problem is that get_type_hints() fails even if typing is 
imported. I would expect this to work (just repeating the original example in a 
more compact form):

import dataclasses
import typing
A = dataclasses.make_dataclass('A', ['a_var'])
typing.get_type_hints(A)  # This currently crashes

Interestingly, if I use a very similar call that it works:

>>> typing.get_type_hints(A, globalns=globals())
{'a_var': typing.Any}

So the core of the issue is that the globals are identified incorrectly, and 
indeed if I look at the generated class it looks wrong:

>>> A.__module__
'types'  # Should be '__main__'

I think we should fix the ``__module__`` attribute of the dynamically generated 
dataclasses (for example the way it is done for named tuples).

Btw, https://github.com/python/cpython/pull/14166 may potentially fix the 
``__module__`` attribute here too.

--

___
Python tracker 

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



[issue23667] IDLE to provide option for making trailing whitespace visible

2019-11-17 Thread Tal Einat


Tal Einat  added the comment:

See also issue33046 specifically suggesting auto-removal of trailing whitespace 
on saving a file, as per Raymond's second suggestion here. It has a PR which 
seems about ready to go.

I see that as the simplest approach to this issue, both in terms of 
implementation and in terms of UI/UX.

Could we mark that issue as superseding this one?

--
nosy: +taleinat

___
Python tracker 

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



[issue38823] Improve stdlib module initialization error handling.

2019-11-17 Thread Brandt Bucher


Change by Brandt Bucher :


--
pull_requests: +16711
pull_request: https://github.com/python/cpython/pull/17206

___
Python tracker 

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



[issue35143] `from __future__ import annotations` has no effect inside `ast.parse`

2019-11-17 Thread Batuhan


Batuhan  added the comment:

Hey @lukasz.langa, I want to work on this. Should we add an interface to 
_PyAST_ExprAsUnicode or just the bugfix for annotations?

--
nosy: +BTaskaya, benjamin.peterson

___
Python tracker 

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



[issue38767] Replace Mersenne Twister RNG with a PCG family algorithm

2019-11-17 Thread Tim Peters


Tim Peters  added the comment:

Thanks for the NumPy discussion link, Mark!  Did that set a world record for an 
issue report's length? ;-)  Not complaining - it's a very high quality and 
informative discussion.

I'd be comfortable adopting whichever PRNGs numpy uses.  numpy has better 
brainpower to apply to "due diligence" in this area, and the discussion made 
clear too that they're acutely aware of that most users know next to nothing 
about the pathologies, so that the defaults have to be ignorance-resistant.

It's cute that you raised good questions about how "independent" PCG streams 
are, and that PCG's creator invented a new member of the family to address the 
pathologies your line of questioning uncovered.  No "proof" that the new member 
is robust, but lots of testing.  That appears to be as good as the state of art 
allows for now.

I had/have similar concerns about the Twister, but never pursued them.  Much 
like PCG, in fact, it mixes a simple generator with a more-elaborate 
permutation of the underlying generator's output sequence (which they call 
"tempering").

--

___
Python tracker 

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



[issue38116] Make select module PEP-384 compatible

2019-11-17 Thread Batuhan


Batuhan  added the comment:

PR 15971 is merged, what else is needed @dino.viehland?

--
nosy: +BTaskaya

___
Python tracker 

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



[issue38597] C Extension import limit

2019-11-17 Thread Юрий Леонов

Юрий Леонов  added the comment:

Looks like I have same problem for Windows 10 (version 1809, build - 17763.864).

I created repository with steps for reproducing - 
https://github.com/Yuriy-Leonov/cython_imports_limit_issue

--
components:  -Interpreter Core, Windows
nosy: +Юрий Леонов
versions: +Python 3.6 -Python 3.7

___
Python tracker 

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



[issue38831] urllib.request header characters being changed to lowercase

2019-11-17 Thread Eric V. Smith


Eric V. Smith  added the comment:

Well, the standard says they're case insensitive: 
https://tools.ietf.org/html/rfc7230#section-3.2

Forcing the case on the header item seems quite deliberate: 
https://github.com/python/cpython/blob/master/Lib/urllib/request.py#L399
I assume that the .capitalize call is made in order to normalize headers, in 
case another header with the same name but different capitalization is added.

I can't recommend making a code change here. We're compliant with the standard, 
and any change would no doubt break someone's code.

I do agree that it might be worth documenting.

It's unfortunate that the caller can't specify an exact string they want to use 
(in order to handle broken servers), but that's the way it's been for ages.

--
nosy: +eric.smith

___
Python tracker 

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



[issue38833] Issue with multiprocessing.Pool & multiprocessing.Queue

2019-11-17 Thread Charles Anderson


New submission from Charles Anderson :

When calling mp.Pool().apply_async(), and passing a mp.Queue() instance as an 
argument the execution halts.

This is contrasted by using mp.Manager().Queue() which when passed to 
apply_async() works as expected.

--
components: Library (Lib)
files: python_mp_pool_queue_issue.py
messages: 356822
nosy: bigbizze
priority: normal
severity: normal
status: open
title: Issue with multiprocessing.Pool & multiprocessing.Queue
type: behavior
versions: Python 3.8
Added file: https://bugs.python.org/file48719/python_mp_pool_queue_issue.py

___
Python tracker 

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



[issue38832] setup.py can report builtin modules as missing modules

2019-11-17 Thread Christian Heimes


New submission from Christian Heimes :

setup.py can report statically linked modules as missing when detect_modules() 
have flagged the modules as missing.

In my case I have modified Modules/Setup.local to statically link _ssl and 
_hashlib:

$ cat Modules/Setup.local 
SSL=/tmp/openssl
_socket socketmodule.c
_ssl _ssl.c -I$(SSL)/include $(SSL)/lib/libcrypto.a $(SSL)/lib/libssl.a
_hashlib _hashopenssl.c -I$(SSL)/include $(SSL)/lib/libcrypto.a

make successfully compiles _socket, _ssl, and _hashlib into the main 
interpreter binary. setup.py does not list _ssl and _hashlib as builtin but as 
missing modules because detect_modules() detects dependencies as missing.

The problem can be reproduced on an old Ubuntu or RHEL system with OpenSSL 
1.0.1 and a custom OpenSSL installation.

--
components: Build
messages: 356821
nosy: christian.heimes, vstinner
priority: normal
severity: normal
stage: needs patch
status: open
title: setup.py can report builtin modules as missing modules
type: behavior
versions: Python 3.7, Python 3.8, Python 3.9

___
Python tracker 

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



[issue38823] Improve stdlib module initialization error handling.

2019-11-17 Thread Brandt Bucher


Brandt Bucher  added the comment:

Yes, there are still a few dozen modules I plan to update!

--

___
Python tracker 

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



[issue36589] Incorrect error handling in curses.update_lines_cols()

2019-11-17 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:


New changeset 2bc343417a4de83fa6998ff91303877734ecd366 by Serhiy Storchaka 
(Zackery Spytz) in branch 'master':
bpo-36589: Fix the error handling in curses.update_lines_cols(). (GH-12766)
https://github.com/python/cpython/commit/2bc343417a4de83fa6998ff91303877734ecd366


--

___
Python tracker 

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



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

2019-11-17 Thread miss-islington


Change by miss-islington :


--
pull_requests: +16710
pull_request: https://github.com/python/cpython/pull/17204

___
Python tracker 

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



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

2019-11-17 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:


New changeset 111772fc27cfe388bc060f019d68a3e33481ec65 by Serhiy Storchaka 
(Toke Høiland-Jørgensen) in branch 'master':
bpo-38811: Check for presence of os.link method in pathlib. (GH-17170)
https://github.com/python/cpython/commit/111772fc27cfe388bc060f019d68a3e33481ec65


--
nosy: +serhiy.storchaka

___
Python tracker 

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



[issue37367] octal escapes applied inconsistently throughout the interpreter and lib

2019-11-17 Thread Tal Einat


Tal Einat  added the comment:

The PR looks pretty good, but the question is whether we want to break 
backwards compatibility in the name of correctness.

In this case, the silent buggy behavior of keeping the (mod 256) of the value 
seems worth fixing to me.

--
nosy: +taleinat

___
Python tracker 

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



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

2019-11-17 Thread Michael Felt


Michael Felt  added the comment:

ignore my last comment - I missed your comment about skipping the test. My 
apologies.

I'll be patient.

Thanks for the update!

--

___
Python tracker 

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



[issue38830] `A Qt GUI for logging` produces TypeError

2019-11-17 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +vinay.sajip

___
Python tracker 

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



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

2019-11-17 Thread Michael Felt


Michael Felt  added the comment:

Could PR17010 be reverted?

For 10 days now several bots, AIX and  x86-64 High Sierra - afaik, are failing 
the tests.

re: https://bugs.python.org/issue22367#msg356614 - while that may address High 
Sierra, it does not address AIX.

See message https://bugs.python.org/issue35633#msg333662 - wherein Victor 
states his preference to ignore the test (for AIX).

A additional change to your next PR could be to also ignore AIX for this test. 
AIX returns a different error, "Permission Error", iirc.

--
versions: +Python 3.7, Python 3.8, Python 3.9

___
Python tracker 

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



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

2019-11-17 Thread Paul Ganssle


Paul Ganssle  added the comment:

I do not think this is a bug in pytz, but if it's a bug in Python it's one in 
reporting what the error is.

The issue is that the time zone offset for "rules-based zones" like 
America/Denver (i.e. most time zones) is *undefined* for bare times, because 
the offset that apply depends on the *date* and the *time*.

The documentation for `tzinfo.utcoffset` specifies that if the offset is 
unknown, a time zone offset should return None: 
https://docs.python.org/3/library/datetime.html#datetime.tzinfo.utcoffset

The documentation for determining whether an object is aware or naive also 
specifies that if utcoffset() returns `None`, the object is naive (even if 
tzinfo is not None): 
https://docs.python.org/3/library/datetime.html#determining-if-an-object-is-aware-or-naive

So basically, everyone is doing the right thing except the person who attached 
this `pytz` time zone to a time object (as a side note, it may be worth reading 
this blog post that explains why the way this time zone is attached to the 
`time` object is incorrect: 
https://blog.ganssle.io/articles/2018/03/pytz-fastest-footgun.html).

That said, we may be able to improve the error message raised here by 
distinguishing between the case where there's no `tzinfo` at all and the case 
where `utcoffset()` returns `None`. I think we can change the exception message 
to have a helpful hint like, "cannot compare offset-naive and offset-aware 
times; one of the operands is offset-naive because its offset is undefined."

We could possibly be even more specific.

--
components: +Library (Lib)
versions: +Python 3.9 -Python 3.6

___
Python tracker 

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



[issue38831] urllib.request header characters being changed to lowercase

2019-11-17 Thread rosoroso


New submission from rosoroso :

When using the urllib request headers, I've found that certain letters are 
converted to their lowercase versions whilst part of a request object (H->h in 
the example, see at bottom).
Whilst this should not usually be an issue (Since headers are not supposed to 
be case sensitive), I've found an API for which that is not the case.

Options for fixing this could include, not changing the case of characters in 
header fields or updating the docs to include a warning of this behaviour 
(https://docs.python.org/3/library/urllib.request.html)

import urllib.request
header = {"Test-Header":"Value"}
requestobject = urllib.request.Request("https://www.example.com",None,header)
print ("Original header is:", header)
print ("Request header is:", requestobject.header_items())

'''
Orginal header is: {'Test-Header': 'Value'}
Request header is: [('Test-header', 'Value')]
Version was Python 3.6.5
'''

--
messages: 356813
nosy: rosoroso
priority: normal
severity: normal
status: open
title: urllib.request header characters being changed to lowercase
type: behavior
versions: Python 3.6

___
Python tracker 

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



[issue38824] sasddsdsd

2019-11-17 Thread Christian Heimes


Christian Heimes  added the comment:

The requests library is not part of Python core. Please report any bugs with 
requests at https://github.com/psf/requests/

--

___
Python tracker 

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



[issue38724] Implement subprocess.Popen.__repr__

2019-11-17 Thread Tal Einat


Tal Einat  added the comment:

Thanks for the suggestion Ram, and thanks for PR Andrey!

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

___
Python tracker 

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



[issue38724] Implement subprocess.Popen.__repr__

2019-11-17 Thread Tal Einat


Tal Einat  added the comment:


New changeset 645005e947c13c4a0706310a2a46112bf63cadc0 by Tal Einat (Andrey 
Doroschenko) in branch 'master':
bpo-38724: Implement subprocess.Popen.__repr__ (GH-17151)
https://github.com/python/cpython/commit/645005e947c13c4a0706310a2a46112bf63cadc0


--

___
Python tracker 

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



[issue38823] Improve stdlib module initialization error handling.

2019-11-17 Thread Andrew Svetlov


Andrew Svetlov  added the comment:

Is anything left to be done for the issue?

--
nosy: +asvetlov
versions: +Python 3.7, Python 3.8

___
Python tracker 

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



[issue38830] `A Qt GUI for logging` produces TypeError

2019-11-17 Thread Samuel Mathias


New submission from Samuel Mathias :

On the "logging cookbook" page:

https://docs.python.org/3/howto/logging-cookbook.html#logging-cookbook

The recipe "A Qt GUI for logging" produces the following error:

`TypeError: update_status() missing 1 required positional argument: 'record'`

--
assignee: docs@python
components: Documentation
messages: 356808
nosy: Samuel Mathias, docs@python
priority: normal
severity: normal
status: open
title: `A Qt GUI for logging` produces TypeError
type: crash
versions: Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9

___
Python tracker 

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



[issue38828] http.cookiejar handle cookie.version to be None

2019-11-17 Thread Kovid Goyal


Kovid Goyal  added the comment:

Here's a trivial script to reproduce:

from urllib.request import Request
from http.cookiejar import Cookie, CookieJar

jar = CookieJar()
jar.set_cookie(Cookie(
None, 'test', 'test',
None, False,
'.test.com', True, False,
'/', True,
False, None, False, None, None, None
))
r = Request('http://www.test.com')
jar.add_cookie_header(r)

--

___
Python tracker 

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



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

2019-11-17 Thread Mike


Mike  added the comment:

Ok. I'll file a bug on pytz. Thanks!

On Sat, Nov 16, 2019 at 11:18 PM Karthikeyan Singaravelan <
rep...@bugs.python.org> wrote:

>
> Change by Karthikeyan Singaravelan :
>
>
> --
> nosy: +p-ganssle
>
> ___
> Python tracker 
> 
> ___
>

--

___
Python tracker 

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



[issue38828] http.cookiejar handle cookie.version to be None

2019-11-17 Thread Kovid Goyal


Kovid Goyal  added the comment:

It's trivially True that it is a regression from python 2 since in python 2 
comparison to None is fine. Whether it ever worked in any python 3 version 
before 3.8 I'm not sure about.

--

___
Python tracker 

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



[issue38828] http.cookiejar handle cookie.version to be None

2019-11-17 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

You specifically mentioned Python 3.8 and I just wanted to understand the issue 
to see if it's a regression. I don't see any version related code changes in 
recent times. Hence this is not necessarily a regression in 3.8 unless there is 
a reproducible script. The code in set_ok_version for cookie.version to be None 
is not tested hence I assume there are no tests for the reported scenario that 
would be good to have. I have also changed the issue title accordingly.

--
title: cookiejar.py broken in 3.8 -> http.cookiejar handle cookie.version to be 
None

___
Python tracker 

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



[issue38829] Make the function flush_io accessible in the C-API

2019-11-17 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

PyObject_CallMethod(file, "flush", NULL)

--
nosy: +serhiy.storchaka

___
Python tracker 

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



[issue38828] cookiejar.py broken in 3.8

2019-11-17 Thread SilentGhost


Change by SilentGhost :


--
keywords: +3.8regression
stage:  -> test needed
type: crash -> behavior

___
Python tracker 

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



[issue38828] cookiejar.py broken in 3.8

2019-11-17 Thread Kovid Goyal


Kovid Goyal  added the comment:

The issue is obvious with a simple glance at the code. Either the Cookie 
constructor needs to change version = None to zero or some other integer or the 
various methods in that module need to handle a None version. I dont personally 
care about this issue any more since I have worked around it in my code, feel 
free to fix it or not, as you wish.

--

___
Python tracker 

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



[issue38829] Make the function flush_io accessible in the C-API

2019-11-17 Thread Jean-Didier


New submission from Jean-Didier :

Hello, 
when using an embedded python interpreter in a C++ program, which itself uses 
MPI, the embedded script's error messages are not flushed properly. 
(see the whole discussion in this StackOverflow : 
https://stackoverflow.com/questions/29352485/python-print-not-working-when-embedded-into-mpi-program/49076389#49076389).

The current preferred solution involves adding a few calls to flush_io in the 
C++. 
However, flush_io is a `static` function in `pythonrun.c`, and is not visible 
in the C-API.

Would it be possible to remove its static attribute, and add a reference to it 
in pythonrun.h?
Or maybe there is another method to flush IO from the C-API?

--
components: IO
messages: 356801
nosy: Jean-Didier
priority: normal
severity: normal
status: open
title: Make the function flush_io accessible in the C-API
type: enhancement
versions: Python 3.8

___
Python tracker 

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



[issue17642] IDLE add font resizing hot keys and wheel

2019-11-17 Thread Tal Einat


Change by Tal Einat :


--
nosy: +taleinat

___
Python tracker 

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



[issue38826] Regular Expression Denial of Service in urllib.request.AbstractBasicAuthHandler

2019-11-17 Thread Ben Caller


Ben Caller  added the comment:

I have been advised that DoS issues can be added to the public bug tracker  
since there is no privilege escalation, but should still have the security 
label.

--

___
Python tracker 

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



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

2019-11-17 Thread László Károlyi

László Károlyi  added the comment:

Hey,

the problem normalized after installing the newest version of cryptography, 
with which I could reproduce the same problem too.

It turned out that asn1crypto wasn't even needed in my project.

Sorry for the inconvenience, and thank you for your help.

--

___
Python tracker 

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



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

2019-11-17 Thread Kyle Stanley


Change by Kyle Stanley :


--
nosy: +aeros

___
Python tracker 

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



[issue38828] cookiejar.py broken in 3.8

2019-11-17 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

Can you please add a sample script to reproduce this that worked fine before 
Python 3.8?

--
nosy: +xtreak

___
Python tracker 

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



[issue38828] cookiejar.py broken in 3.8

2019-11-17 Thread Kovid Goyal


New submission from Kovid Goyal :

In python 3.8 cookiejar.py is full of code that compares cookie.version to 
integers, which raises as exception when cookie.version is None. For example, 
in set_ok_version() and set_ok_path(). Both the Cookie constructor and 
_cookie_from_cookie_tuple() explicitly assume version can be None and setting 
version to None worked fine in previous pythonreleases.

--
components: Library (Lib)
messages: 356797
nosy: kovid
priority: normal
severity: normal
status: open
title: cookiejar.py broken in 3.8
type: crash
versions: Python 3.8

___
Python tracker 

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



[issue38825] shutil.disk_usage - Lacking documentation

2019-11-17 Thread Lord Anton Hvornum


Lord Anton Hvornum  added the comment:

xtreak: You are correct, that was a typo. My apologies.

--

___
Python tracker 

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



[issue38615] imaplib has no timeout setting

2019-11-17 Thread Dong-hee Na


Dong-hee Na  added the comment:

@eric.smith

I 've submitted the patch, Can I get a review from you if you don't mind?
Thank you :)

--
nosy: +corona10

___
Python tracker 

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



[issue38615] imaplib has no timeout setting

2019-11-17 Thread Dong-hee Na


Change by Dong-hee Na :


--
pull_requests: +16709
pull_request: https://github.com/python/cpython/pull/17203

___
Python tracker 

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



[issue38615] imaplib has no timeout setting

2019-11-17 Thread Dong-hee Na


Change by Dong-hee Na :


--
pull_requests:  -16707

___
Python tracker 

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



[issue38616] Using Py_XDECREF to replace Py_DECREF in PyAST_FromNodeObject()

2019-11-17 Thread Dong-hee Na


Change by Dong-hee Na :


--
pull_requests:  -16708

___
Python tracker 

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



[issue38615] imaplib has no timeout setting

2019-11-17 Thread Dong-hee Na


Change by Dong-hee Na :


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

___
Python tracker 

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



[issue38616] Using Py_XDECREF to replace Py_DECREF in PyAST_FromNodeObject()

2019-11-17 Thread Dong-hee Na


Change by Dong-hee Na :


--
pull_requests: +16708
pull_request: https://github.com/python/cpython/pull/17202

___
Python tracker 

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



[issue38616] Using Py_XDECREF to replace Py_DECREF in PyAST_FromNodeObject()

2019-11-17 Thread Dong-hee Na


Change by Dong-hee Na :


--
pull_requests:  -16706

___
Python tracker 

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



[issue38616] Using Py_XDECREF to replace Py_DECREF in PyAST_FromNodeObject()

2019-11-17 Thread Dong-hee Na


Change by Dong-hee Na :


--
pull_requests: +16706
pull_request: https://github.com/python/cpython/pull/17202

___
Python tracker 

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