[issue41331] Sphinx can't find asdl.py when not started from the Doc/ directory

2020-07-20 Thread Julien Palard


Change by Julien Palard :


--
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



[issue10879] cgi memory usage

2020-07-20 Thread Inada Naoki


Change by Inada Naoki :


--
resolution:  -> fixed
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



[issue41300] IDLE: add missing import io in iomenu.py

2020-07-20 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
nosy:  -lukasz.langa

___
Python tracker 

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



[issue41300] IDLE: add missing import io in iomenu.py

2020-07-20 Thread Terry J. Reedy

Terry J. Reedy  added the comment:

The fix is in both 3.8.5 and 3.9.0b5, both released today.
"print('eyes ∢∢ snake ')", for instance, in the editor, can be saved and run.  
(Note that astral chars like the snake disrupt editing a bit, but once there, 
can be saved and will print.

Łukasz, thanks for getting this in.  I am leaving this open to add tests, but 
will remove you as nosy.

--
priority: critical -> normal

___
Python tracker 

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



[issue40932] subprocess docs should warn of shlex use on Windows

2020-07-20 Thread Ammar Askar


Ammar Askar  added the comment:

Hmm, it'd be hard to enumerate them all. The module does say, "...simple 
syntaxes resembling that of the Unix shell" but that's it.

Distinguishing at the OS level for shlex does seem a bit weird given the 
existence of WSL and non-compliant shells on Linux like xonsh. I think it'd be 
nice if we could be a bit more specific on whats supported, maybe it covers all 
POSIX compliant shells?

For the subprocess warning I think it's fine to talk about the OS since it 
looks like the shell used are hard-coded in:

* 
https://github.com/python/cpython/blob/5241e189e77972d3a07acbbb3f0c0cbc2aeeb681/Lib/subprocess.py#L1403-L1407
* 
https://github.com/python/cpython/blob/5241e189e77972d3a07acbbb3f0c0cbc2aeeb681/Lib/subprocess.py#L1680-L1686

--

___
Python tracker 

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



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

2020-07-20 Thread Raymond Hettinger


Raymond Hettinger  added the comment:

This organization makes good sense to me.   Hopefully, we can get Guido and 
Ivan to take a look at it.

--
nosy: +gvanrossum, levkivskyi

___
Python tracker 

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



[issue18875] Idle: Auto insertion of the closing parens, brackets, and braces

2020-07-20 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

I found this in Notepad++ under Settings -> Preferences -> Auto-completion -> 
Auto-insert with separate checkboxes for (, {, [, ', ", html/xml tags, and up 
to 3 custom pairs.  Way too elaborate for IDLE.  The only question to me is 
whether to have just one option for all 5 openers or separate option to 
complete ([{ versus quotes.

Concerns: a) matching triple quotes is a bit baroque, though possible the most 
useful part of the feature; b) except for completing tripple quotes, no 
keystrokes are saved, and then only if one used End to skip three chars at 
once.  On the other hand, at least some people who have use the feather 
elsewhere consider it a net win.

Implementation notes: 1. IDLE editors uses two mechanisms to respond to 
keystrokes.  The delegator mechanism checks all keystrokes and responds to 
some.  IDLE otherwise binds keystrokes to event-handlers or to pseudoevent 
bound to event-handlers.  Perhaps these could be unified and made more 
efficient.

2. In the meanwhile... Menu items are bound to pseudoevents, along with 
corresponding hot heys.  This issue will *not* add a menu entry "Add matching 
closer".  So the openers can be bound directly to event handlers that look at 
the opener.

--
versions: +Python 3.10 -Python 3.6, 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



[issue41100] Build failure on macOS 11 (beta)

2020-07-20 Thread Lawrence D'Anna


Change by Lawrence D'Anna :


--
pull_requests: +20720
pull_request: https://github.com/python/cpython/pull/21576

___
Python tracker 

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



[issue41347] collections.deque.count performance enhancement

2020-07-20 Thread Dong-hee Na


Change by Dong-hee Na :


--
resolution:  -> wont fix
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



[issue41353] Indicate supported sound header formats

2020-07-20 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


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

___
Python tracker 

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



[issue41347] collections.deque.count performance enhancement

2020-07-20 Thread Dong-hee Na


Dong-hee Na  added the comment:

> I would rather not do this.

I would not like to say this change should be applied ;)
I found this point during I converting deque methods by using 
Argument Clinic(I will ping you later ;)


https://bugs.python.org/issue39425 was applied since PyObject_RichCompareBool 
requires reference counting and it caused performance regression. 

Know I remember, why we applied this micro-optimization.

So my conclusion is that don't apply this change.
We don't have to apply this change since PyObject_RichCompareBool does not 
cause a performance regression.

Thank you for your comment, Raymond.

--

___
Python tracker 

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



[issue41353] Indicate supported sound header formats

2020-07-20 Thread Joannah Nanjekye


New submission from Joannah Nanjekye :

The documentation for the sndhdr module does not have supported file formats. 
Something like below could help:

+++
| Value  | Sound header format|
+++
| ``'aifc'`` | Compressed Audio Interchange Files |
+++
| ``'aiff'`` | Audio Interchange Files|
+++
| ``'au'``   | AU Files   |
+++
| ``'hcom'`` | HCOM Files |
+++
| ``'sndr'`` | SNDR Files |
+++
| ``'sndt'`` | SNDT Files |
+++
| ``'voc'``  | VOC Files  |
+++
| ``'wav'``  | WAV Files  |
+++
| ``'8svx'`` | 8SVX Files |
+++
| ``'sb'``   | SB Files   |
+++
| ``'ub'``   | UB Files   |
+++
| ``'ul'``   | uLAW Audio Files   |
+++

--
messages: 374047
nosy: nanjekyejoannah
priority: normal
severity: normal
status: open
title: Indicate supported sound header formats

___
Python tracker 

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



[issue41353] Indicate supported sound header formats

2020-07-20 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


--
assignee:  -> docs@python
components: +Documentation
nosy: +docs@python
type:  -> enhancement

___
Python tracker 

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



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

2020-07-20 Thread Luciano Ramalho


Luciano Ramalho  added the comment:

Reviewers, besides adding section titles and reordering the entries, I made 
only these changes to the text:

- entry for IO, TextIO, BinaryIO: added sentence "These types are in the 
``typing.io`` namespace."

- entry for Pattern, Match: added sentence "These types are in the 
``typing.re`` namespace."

- entry for TypedDict: removed the words "equivalent to" from the sentence "At 
runtime it is  a plain dict."

--

___
Python tracker 

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



[issue41351] IDLE does not close the brackets and does not insert the closing quotes

2020-07-20 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

Please don't state opinions as facts.

--
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> Idle: Auto insertion of the closing parens, brackets, and braces
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



[issue30044] shutil.copystat should (allow to) copy ownership, and other attributes

2020-07-20 Thread Eryk Sun


Eryk Sun  added the comment:

> Since the need to copy file ownership is common, I think there could
> be space for a new copy3() function which copies ownership + extended
> attributes (where possible).

FYI, Windows and POSIX have significantly different concepts about file 
(object) ownership. In Windows:

* Any type of SID can be set as the owner, such as a user, global
  group, local group, well-known group, domain, or logon session. All
  of these SID types, except for user SIDs, are commonly set in the
  groups of a token. Also, the token user is not limited to just users.
  It's commonly set to a well-known group such as SYSTEM, LOCAL
  SERVICE, or NETWORK SERVICE.

* The effective access token of a thread is granted owner rights to
  an object if the token user or any of the token's enabled groups is
  the owner of the object. For example, if an object is owned by the
  "BUILTIN\Users" local group, then all access tokens for standard-user
  logons will be granted owner rights as long as they have the
  "BUILTIN\Users" group enabled, which it is by default.
  
* If not set explicitly via "OWNER RIGHTS" (i.e. S-1-3-4), the 
  owner is implicitly granted the READ_CONTROL right to query the
  object security and the WRITE_DAC right to modify the object's
  resource attributes and discretionary access-control list. As 
  long as these rights are granted implicitly, they cannot be
  denied by deny access-control entries. However, implicit owner
  rights may be denied if an object has an implicit (by object 
  type) or explicit (by label) no-read-up or no-write-up mandatory
  policy, and the token's integrity level is less than that of the
  object.

* An explicit "OWNER RIGHTS" entry can be set in the discretionary
  access control list in order to override the implicit owner rights.
  This is not the same as setting owner rights in POSIX, since other
  ACL entries may grant or deny rights. Given the canonical priority 
  of deny access-control entries and also mandatory access control
  based on the integrity level of the object vs the token, granting
  explicit access to "OWNER RIGHTS" does not necessarily ensure the
  owner will even be granted at least the desired access in all
  contexts. Also, unlike the implicit case, if an "OWNER RIGHTS"
  entry grants READ_CONTROL and/or WRITE_DAC access, either right 
  may be denied by deny access-control entries.

--

___
Python tracker 

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



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

2020-07-20 Thread Roundup Robot


Change by Roundup Robot :


--
keywords: +patch
nosy: +python-dev
nosy_count: 3.0 -> 4.0
pull_requests: +20717
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/21574

___
Python tracker 

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



[issue41283] The parameter name for imghdr.what in the documentation is wrong

2020-07-20 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


--
pull_requests: +20716
pull_request: https://github.com/python/cpython/pull/21573

___
Python tracker 

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



[issue9694] argparse required arguments displayed under "optional arguments"

2020-07-20 Thread Raymond Hettinger


Raymond Hettinger  added the comment:

I'll put together a patch this week to address the terminology problem.

--
assignee: docs@python -> rhettinger
priority: normal -> low
versions: +Python 3.10, 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



[issue41349] idle not going full screen when I rotate screen 90° on mac

2020-07-20 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

On Windows, right clicking on the desktop produces a context menu with Display 
Settings.  The dialog has an Orientation pulldown menu with the 4 choices.  
Without actually rotating my screen, I clicked Portrait and managed to start 
IDLE and click the full-screen box.  It worked.

I could not find a similar option on my Macbook.  Since the screen is attached 
to the keyboard, it would be pretty useless.

IDLE has some control over whether the full screen button appears on the window 
title bar, but has nothing to do with what happens when you click it.  So this 
is almost certainly a python-on-macOS installation issue or more likely a 
tck/tk-on-macOS issue.  (One could eliminate IDLE for sure with a minimal 
tkinter program creating an empty window: "import tkinter; tkinter.Tk()".  If 
that worked, as a Text widget.

Kevin, is not maximizing in portrait mode a known issue with tk on macOS?

--
components:  -IDLE

___
Python tracker 

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



[issue41283] The parameter name for imghdr.what in the documentation is wrong

2020-07-20 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:


New changeset 5241e189e77972d3a07acbbb3f0c0cbc2aeeb681 by Ammar Askar in branch 
'master':
bpo-41283: Fix mismatched argument name for imghdr.what (GH-21501)
https://github.com/python/cpython/commit/5241e189e77972d3a07acbbb3f0c0cbc2aeeb681


--
nosy: +nanjekyejoannah

___
Python tracker 

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



[issue40741] Upgrade to SQLite v3.32 in Windows and macOS builds

2020-07-20 Thread miss-islington


miss-islington  added the comment:


New changeset d6ba8c8e16b844e2c21bfe96217dd62dc50e9014 by Miss Islington (bot) 
in branch '3.9':
bpo-40741: Update Windows build to include SQLite 3.32.3 (GH-21570)
https://github.com/python/cpython/commit/d6ba8c8e16b844e2c21bfe96217dd62dc50e9014


--

___
Python tracker 

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



[issue40741] Upgrade to SQLite v3.32 in Windows and macOS builds

2020-07-20 Thread miss-islington


miss-islington  added the comment:


New changeset f599f9ea3cdcf280cdf3a72272148895d8fcb3a4 by Miss Islington (bot) 
in branch '3.8':
bpo-40741: Update Windows build to include SQLite 3.32.3 (GH-21570)
https://github.com/python/cpython/commit/f599f9ea3cdcf280cdf3a72272148895d8fcb3a4


--

___
Python tracker 

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



[issue41347] collections.deque.count performance enhancement

2020-07-20 Thread Raymond Hettinger


Raymond Hettinger  added the comment:

I would rather not do this.   It optimizes for the uncommon case where all the 
objects are identical.  The common case is slightly worse off because the 
identity test is performed twice, once before the call to Py_RichCompareBool() 
and again inside it.  Also, the PR adds a little clutter which obscures the 
business logic.  

Another thought, micro-benchmarks on the identity tests require some extra care 
because they are super sensitive to branch prediction failures (See 
https://stackoverflow.com/questions/11227809 ).  A more realistic dataset would 
be:

  x = 12345
  data = [x] * 100 + list(range(500))
  random.shuffle(data)
  data.count(x)

--

___
Python tracker 

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



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

2020-07-20 Thread ramalho


ramalho  added the comment:

This is my proposal for sections to replace the existing "Classes, functions, 
and decorators" section. The names are sorted within each section.

# Special typing primitives 
Any
Callable
ClassVar
ForwardRef
Generic
Literal
NamedTuple
NewType
NoReturn
Optional
Type
TypedDict
TypeVar
Union

# Generic ABCs  
AbstractSet
AsyncContextManager
AsyncGenerator
AsyncIterable
AsyncIterator
Awaitable
ByteString
Collection
Container
ContextManager
Coroutine
Generator
Hashable
io.IO
io.BytesIO
io.TextIO
ItemsView
Iterable
Iterator
KeysView
Mapping
MappingView
MutableMapping
MutableSequence
MutableSet
re.Pattern
re.Match
Sequence
Sized
ValuesView  

# Generic Concrete Collections  
ChainMap
Counter
DefaultDict
Deque
Dict
FrozenSet
List
OrderedDict
Set
Tuple

# Structural checks, a.k.a. protocols.  
Reversible
SupportsAbs
SupportsBytes
SupportsComplex
SupportsFloat
SupportsInt
SupportsRound   

# Functions and decorators  
cast
final
get_args
get_origin
get_type_hints
no_type_check
no_type_check_decorator
overload
runtime_checkable
type_check_only

# Aliases and constants 
AnyStr
Text
TYPE_CHECKING

--

___
Python tracker 

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



[issue40741] Upgrade to SQLite v3.32 in Windows and macOS builds

2020-07-20 Thread Steve Dower


Steve Dower  added the comment:

Closing this one now.

Let's use a new issue next time there's a need to update SQLite.

--
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



[issue41345] Remote end closed connection without response

2020-07-20 Thread Ilia Androshchuk


Ilia Androshchuk  added the comment:

Hi, Michal
It took a lot of time, but I achieved exactly the same behavior.

My Traceback :

DEBUG:urllib3.connectionpool:Resetting dropped connection: localhost
DEBUG:urllib3.connectionpool:http://localhost:80 "POST / HTTP/1.1" 200 3138
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 665, in 
urlopen
httplib_response = self._make_request(
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 421, in 
_make_request
six.raise_from(e, None)
  File "", line 3, in raise_from
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 416, in 
_make_request
httplib_response = conn.getresponse()
  File "/usr/lib/python3.8/http/client.py", line 1332, in getresponse
response.begin()
  File "/usr/lib/python3.8/http/client.py", line 303, in begin
version, status, reason = self._read_status()
  File "/usr/lib/python3.8/http/client.py", line 272, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 719, in 
urlopen
retries = retries.increment(
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 400, in 
increment
raise six.reraise(type(error), error, _stacktrace)
  File "/usr/lib/python3/dist-packages/six.py", line 702, in reraise
raise value.with_traceback(tb)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 665, in 
urlopen
httplib_response = self._make_request(
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 421, in 
_make_request
six.raise_from(e, None)
  File "", line 3, in raise_from
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 416, in 
_make_request
httplib_response = conn.getresponse()
  File "/usr/lib/python3.8/http/client.py", line 1332, in getresponse
response.begin()
  File "/usr/lib/python3.8/http/client.py", line 303, in begin
version, status, reason = self._read_status()
  File "/usr/lib/python3.8/http/client.py", line 272, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
urllib3.exceptions.ProtocolError: ('Connection aborted.', 
RemoteDisconnected('Remote end closed connection without response'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "test1.py", line 14, in 
s.post('http://localhost', data={counter:txt})
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 581, in post
return self.request('POST', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in 
request
resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 498, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', 
RemoteDisconnected('Remote end closed connection without response'))

I'm using same dist and settings:

lerfi@UbuntuVM:~/work/psf/41345$ uname -a
Linux UbuntuVM 5.4.0-40-generic #44-Ubuntu SMP Tue Jun 23 00:01:04 UTC 2020 
x86_64 x86_64 x86_64 GNU/Linux
erfi@UbuntuVM:~/work/psf/41345$ dpkg -l | grep apache
ii  apache22.4.41-4ubuntu3  
 amd64Apache HTTP Server
ii  apache2-bin2.4.41-4ubuntu3  
 amd64Apache HTTP Server (modules and other binary files)
ii  apache2-data   2.4.41-4ubuntu3  
 all  Apache HTTP Server (common files)
ii  apache2-utils  2.4.41-4ubuntu3  
 amd64Apache HTTP Server (utility programs for web servers)
pip3 requests==2.22.0

it looks like there's a problem with this urllib3 package

--

___
Python tracker 

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



[issue40741] Upgrade to SQLite v3.32 in Windows and macOS builds

2020-07-20 Thread miss-islington


Change by miss-islington :


--
pull_requests: +20715
pull_request: https://github.com/python/cpython/pull/21572

___
Python tracker 

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



[issue40741] Upgrade to SQLite v3.32 in Windows and macOS builds

2020-07-20 Thread miss-islington


Change by miss-islington :


--
pull_requests: +20714
pull_request: https://github.com/python/cpython/pull/21571

___
Python tracker 

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



[issue40741] Upgrade to SQLite v3.32 in Windows and macOS builds

2020-07-20 Thread Steve Dower


Steve Dower  added the comment:


New changeset 84761c3cc4bac31d471e371c53a338686d4b0241 by Steve Dower in branch 
'master':
bpo-40741: Update Windows build to include SQLite 3.32.3 (GH-21570)
https://github.com/python/cpython/commit/84761c3cc4bac31d471e371c53a338686d4b0241


--

___
Python tracker 

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



[issue40741] Upgrade to SQLite v3.32 in Windows and macOS builds

2020-07-20 Thread Steve Dower


Change by Steve Dower :


--
pull_requests: +20713
pull_request: https://github.com/python/cpython/pull/21570

___
Python tracker 

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



[issue40741] Upgrade to SQLite v3.32 in Windows and macOS builds

2020-07-20 Thread Steve Dower


Steve Dower  added the comment:

> Python-3.8.4rc1 and Python-3.9.0b4 are still with SQLite-3.31.1.

Someone still had to send a PR to update the main build. It's not automatic, 
otherwise you wouldn't be able to reproduce older builds.

I'll do it now. It'll be in 3.8.6 and 3.9.0b6.

--

___
Python tracker 

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



[issue40932] subprocess docs should warn of shlex use on Windows

2020-07-20 Thread Steve Dower


Steve Dower  added the comment:

I wonder whether we should be more specific about the shells that shlex works 
for? Since WSL makes *sh (Bash, Dash, Sh, etc.) easily available on Windows, 
and I believe PowerShell on Linux keeps its own quoting rules.

--

___
Python tracker 

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



[issue41327] Windows Store "stub" Python executables give confusing behaviour

2020-07-20 Thread Steve Dower


Steve Dower  added the comment:

It's already gone through the correct channels, so any other submissions will 
be duped by the triagers.

The best person to post at is me, but I've suffered enough for it :) I'm 
pushing.

--

___
Python tracker 

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



[issue38156] input fucntion raises SystemError after specific input.

2020-07-20 Thread Benjamin Peterson


Change by Benjamin Peterson :


--
keywords: +patch
nosy: +benjamin.peterson
nosy_count: 1.0 -> 2.0
pull_requests: +20712
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/21569

___
Python tracker 

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



[issue29778] [CVE-2020-15523] _Py_CheckPython3 uses uninitialized dllpath when embedder sets module path with Py_SetPath

2020-07-20 Thread Eryk Sun


Eryk Sun  added the comment:

> I still don't understand why this is considered a Python security problem.
> If the user can put a malicious "python3.dll" at some arbitrary spot in 
> the filesystem (e.g. a USB flash drive), and fool Python.exe into loading
> it, then surely they could put an arbitrary executable at that same spot 
> and launch it directly.

What would be the point of adding an arbitrary executable in "C:\spam" or 
"D:\"? It's not in the system PATH, "App Paths", or any file-association 
template command. But if you can inject code into vulnerable processes that 
embed Python by simply creating "C:\DLLs\python3.dll", that seems like 
low-hanging fruit to me. Just wait for it to be run with administrator access, 
and then you can own the entire system.

--

___
Python tracker 

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



[issue41327] Windows Store "stub" Python executables give confusing behaviour

2020-07-20 Thread Tzu-ping Chung

Tzu-ping Chung  added the comment:

What would be the best channel to raise this issue to the Windows team from the 
outside? It does not need to be a spam campaign, but it’d be nice if we could 
direct the affected users somewhere instead of pypa/packaging-problems and 
various issue trackers, where the Windows team wouldn’t see.

--

___
Python tracker 

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



[issue41352] FileIO.readall() should raise "UnsupportedOperation" when in "w" mode

2020-07-20 Thread Roundup Robot


Change by Roundup Robot :


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

___
Python tracker 

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



[issue41352] FileIO.readall() should raise "UnsupportedOperation" when in "w" mode

2020-07-20 Thread Ziyi Wang


New submission from Ziyi Wang :

Here are the two test cases: the one with FileIO.readall() fails

def testReadWithWritingMode(self):
r, w = os.pipe()
w = os.fdopen(w, "w")
w.write("hello")
w.close()
with io.FileIO(r, mode="w") as f:
with self.assertRaises(_io.UnsupportedOperation):
f.read()

def testReadallWithWritingMode(self):
r, w = os.pipe()
w = os.fdopen(w, "w")
w.write("hello")
w.close()
with io.FileIO(r, mode="w") as f:
with self.assertRaises(_io.UnsupportedOperation):
f.readall()

With FileIO.read() raises "UnsupportedOperation" in "w" mode, I expect 
FileIO.readall() do the same. But in fact FileIO.readall() does not check for 
readable and does not raise "UnsupportedOperation" in "w"mode.

I'm happy to write a pull request if you want.

--
components: IO, Library (Lib)
messages: 374027
nosy: Ziyi Wang
priority: normal
severity: normal
status: open
title: FileIO.readall() should raise "UnsupportedOperation" when in "w" mode
type: behavior
versions: Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9

___
Python tracker 

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



[issue41327] Windows Store "stub" Python executables give confusing behaviour

2020-07-20 Thread Steve Dower


Steve Dower  added the comment:

It already returns a non-zero exit code (should be (IIRC) 9009 to match the 
built-in cmd.exe result), and I've been trying to get the message added for at 
least a year now.

Unfortunately, I can only push it so far before it has to work through the 
Windows team's process, and then there's nobody to push it along. All that 
could really be done from outside is to organise a "why don't you fix the dev 
experience" spam campaign, but I'm not going to condone that ;)

--

___
Python tracker 

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



[issue38863] Improve is_cgi() in http.server

2020-07-20 Thread Rhodri James


Change by Rhodri James :


--
nosy:  -Rhodri James

___
Python tracker 

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



[issue40744] Explicitly drop support for SQLite version < 3.7.3

2020-07-20 Thread Erlend Egeberg Aasland

Erlend Egeberg Aasland  added the comment:

Łukasz, pinging you, since you are the release manager of 3.9.

Without PR 20909, 3.9 will be released without explicitly requiring SQLite 
3.7.3 (setup.py looks for SQLite >= 3.7.2), compiling python 3.9 against SQLite 
3.7.2 will fail at build time because of commit b9a0376, and it will also be 
possible to compile with SQLite 3.7.3 but run with pre SQLite 3.7.3 libraries, 
which could end up with a core dump.

With PR 20909, we explicitly state, in the docs, that SQLite 3.7.3 is required, 
and we explicitly check the SQLite version at configure time (setup.py), 
compile time (#ifdef => #error), and run time (if sqlite3_libversion_number() < 
...) to prevent CPython from being configured, build, or run against 
unsupported SQLite versions.

I might be overestimating the severity of this issue, but I thought you would 
be interested this, as the release manager of 3.9 :)

--
nosy: +lukasz.langa

___
Python tracker 

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



[issue24764] cgi.FieldStorage can't parse multipart part headers with Content-Length and no filename in Content-Disposition

2020-07-20 Thread Rhodri James


Change by Rhodri James :


--
nosy:  -Rhodri James

___
Python tracker 

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



[issue21705] cgi.py: Multipart with more than one file is misparsed

2020-07-20 Thread Rhodri James


Change by Rhodri James :


--
nosy:  -Rhodri James

___
Python tracker 

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



[issue1047397] cgitb failures

2020-07-20 Thread Rhodri James


Change by Rhodri James :


--
nosy:  -Rhodri James

___
Python tracker 

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



[issue39727] cgi.parse() fatally attempts str.decode when handling multipart/form-data

2020-07-20 Thread Rhodri James


Change by Rhodri James :


--
nosy:  -Rhodri James

___
Python tracker 

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



[issue10879] cgi memory usage

2020-07-20 Thread Rhodri James


Change by Rhodri James :


--
nosy:  -Rhodri James

___
Python tracker 

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



[issue9968] Let cgi.FieldStorage have named uploaded file

2020-07-20 Thread Rhodri James


Change by Rhodri James :


--
nosy:  -Rhodri James

___
Python tracker 

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



[issue41140] cgitb uses the locale encoding for log files

2020-07-20 Thread Rhodri James


Change by Rhodri James :


--
nosy:  -Rhodri James

___
Python tracker 

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



[issue41139] cgi uses the locale encoding for log files

2020-07-20 Thread Rhodri James


Change by Rhodri James :


--
nosy:  -Rhodri James

___
Python tracker 

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



[issue27777] cgi.FieldStorage can't parse simple body with Content-Length and no Content-Disposition

2020-07-20 Thread Rhodri James


Change by Rhodri James :


--
nosy:  -Rhodri James

___
Python tracker 

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



[issue29778] [CVE-2020-15523] _Py_CheckPython3 uses uninitialized dllpath when embedder sets module path with Py_SetPath

2020-07-20 Thread Larry Hastings


Larry Hastings  added the comment:

I still don't understand why this is considered a Python security problem.  If 
the user can put a malicious "python3.dll" at some arbitrary spot in the 
filesystem (e.g. a USB flash drive), and fool Python.exe into loading it, then 
surely they could put an arbitrary executable at that same spot and launch it 
directly.  And that seems way more straightforward.  Why would anyone bother 
with this?

--

___
Python tracker 

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



[issue41321] Calculate timestamp is wrong in datetime.datetime

2020-07-20 Thread SilentGhost


Change by SilentGhost :


--
status: open -> closed

___
Python tracker 

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



[issue41014] warning: 'sqlite3_trace' is deprecated

2020-07-20 Thread Erlend Egeberg Aasland


Erlend Egeberg Aasland  added the comment:

According to the SQLite documentation, sqlite3_trace() is deprecated. See 
https://sqlite.org/c3ref/profile.html

See also:
https://bugs.python.org/issue40318
https://github.com/python/cpython/pull/19581

--
nosy: +erlendaasland

___
Python tracker 

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



[issue41351] IDLE does not close the brackets and does not insert the closing quotes

2020-07-20 Thread Saumitra Verma


New submission from Saumitra Verma :

This feature must be added

--
assignee: terry.reedy
components: IDLE
messages: 374021
nosy: Saumitra Verma, terry.reedy
priority: normal
severity: normal
status: open
title: IDLE does not close the brackets and does not insert the closing quotes
type: enhancement
versions: Python 3.10, 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



[issue41288] Pickle crashes unpickling invalid NEWOBJ_EX opcode

2020-07-20 Thread Łukasz Langa

Łukasz Langa  added the comment:

Is this fix causing the refleak build to fail on 3.8? See: 
https://buildbot.python.org/all/#/builders/484/builds/149

--
nosy: +lukasz.langa

___
Python tracker 

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



[issue39603] [security] http.client: HTTP Header Injection in the HTTP method

2020-07-20 Thread Łukasz Langa

Łukasz Langa  added the comment:


New changeset 580fbb018fd0844806119614d752b41fc69660f9 by Łukasz Langa in 
branch '3.8':
Python 3.8.5
https://github.com/python/cpython/commit/580fbb018fd0844806119614d752b41fc69660f9


--
nosy: +lukasz.langa

___
Python tracker 

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



[issue41295] CPython 3.8.4 regression on __setattr__ in multiinheritance with metaclasses

2020-07-20 Thread Łukasz Langa

Łukasz Langa  added the comment:

Released.

--
priority: release blocker -> critical

___
Python tracker 

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



[issue41300] IDLE: add missing import io in iomenu.py

2020-07-20 Thread Łukasz Langa

Łukasz Langa  added the comment:

Released.

--
priority: release blocker -> critical

___
Python tracker 

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



[issue41254] Add to/from string methods to datetime.timedelta

2020-07-20 Thread Paul Ganssle


Paul Ganssle  added the comment:

I think it is unlikely that we'll want to experiment with this directly in 
CPython. I don't think a fixed format (other than the annoying one that you 
already get from calling `str` on a timedelta) is appropriate, but designing a 
modular format for time differences is more complicated than it might seem. I 
have had an open issue on dateutil to implement this for ages, but I haven't 
seen or come up with any proposals for a DSL for specifying timedelta formats: 
https://github.com/dateutil/dateutil/issues/444

It is annoyingly complicated to do this, and I'd rather it be tried out in 
other libraries with more flexibility to make breaking changes and a shorter 
release cadence. Dateutil is a good choice, but a clear and thorough proposal 
(or at least examples of this done well in other ecosystems we can crib from) 
is necessary.

--

___
Python tracker 

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



[issue41321] Calculate timestamp is wrong in datetime.datetime

2020-07-20 Thread Paul Ganssle

Paul Ganssle  added the comment:

Hi dh4931 — this is the expected result, assuming that the offsets changed 
between those two dates in your system local time.

The .timestamp() method returns an epoch time, which is the number of seconds 
since 1970-01-01T00:00:00 UTC, and so it is inherently timezone-aware. In 
Python 3, naïve datetimes went from being "unitless datetimes" to representing 
"local datetimes", and in certain situations (like calling `.timestamp()`), 
your system's time zone is used.

If you want something that gives the number of seconds that has elapsed between 
two naïve datetimes on the calendar and ignoring any daylight saving time 
transitions, subtract them directly to get a timedelta, then divide the result 
by a timedelta representing 1 second, like so:

>>> (datetime.datetime(1986, 5, 4, 7, 13, 22) - datetime.datetime(1986, 5, 
4, 0, 0, 0)) / datetime.timedelta(seconds=1)
26002.0


>>> (datetime.datetime(1986, 5, 2, 7, 13, 22) - datetime.datetime(1986, 5, 
2, 0, 0, 0)) / datetime.timedelta(seconds=1)
26002.0

--
resolution:  -> not a bug
stage:  -> resolved
type:  -> behavior

___
Python tracker 

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



[issue41350] Use of zipfile.Path causes attempt to write after ZipFile is closed

2020-07-20 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +jaraco

___
Python tracker 

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



[issue41350] Use of zipfile.Path causes attempt to write after ZipFile is closed

2020-07-20 Thread Nick Henderson


New submission from Nick Henderson :

In both Python 3.8.3 and 3.9.0b3, using zipfile.Path to write a file in a 
context manager results in an attempt to write to the zip file after it is 
closed.

In Python 3.9.0b3:

import io
from zipfile import ZipFile, Path

def make_zip():
"""Make zip file and return bytes."""
bytes_io = io.BytesIO()
zip_file = ZipFile(bytes_io, mode="w")
zip_path = Path(zip_file, "file-a")

# use zipp.Path.open
with zip_path.open(mode="wb") as fp:
fp.write(b"contents of file-a")

zip_file.close()

data = bytes_io.getvalue()

bytes_io.close()

return data

zip_data = make_zip()
# Exception ignored in: 
# Traceback (most recent call last):
#   File "/Users/nick/.pyenv/versions/3.9.0b3/lib/python3.9/zipfile.py", line 
1807, in __del__
# self.close()
#   File "/Users/nick/.pyenv/versions/3.9.0b3/lib/python3.9/zipfile.py", line 
1824, in close
# self.fp.seek(self.start_dir)
# ValueError: I/O operation on closed file.


In Python 3.8.3:

import io
from zipfile import ZipFile, Path

def make_zip():
"""Make zip file and return bytes."""
bytes_io = io.BytesIO()
zip_file = ZipFile(bytes_io, mode="w")
zip_path = Path(zip_file, "file-a")

# use zipp.Path.open
with zip_path.open(mode="w") as fp:
fp.write(b"contents of file-a")

zip_file.close()

data = bytes_io.getvalue()

bytes_io.close()

return data

zip_data = make_zip()
# Exception ignored in: 
# Traceback (most recent call last):
#   File "/Users/nick/.pyenv/versions/3.8.3/lib/python3.8/zipfile.py", line 
1820, in __del__
# self.close()
#   File "/Users/nick/.pyenv/versions/3.8.3/lib/python3.8/zipfile.py", line 
1837, in close
# self.fp.seek(self.start_dir)
# ValueError: I/O operation on closed file.

In the Python 3.8 example, mode="w" is used in the open method on zip_path.

--
components: Library (Lib)
files: zippath_bug_39.py
messages: 374015
nosy: Nick Henderson
priority: normal
severity: normal
status: open
title: Use of zipfile.Path causes attempt to write after ZipFile is closed
type: behavior
versions: Python 3.8, Python 3.9
Added file: https://bugs.python.org/file49329/zippath_bug_39.py

___
Python tracker 

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



[issue41349] idle not going full screen when I rotate screen 90° on mac

2020-07-20 Thread Ned Deily


Change by Ned Deily :


--
assignee:  -> terry.reedy
components: +IDLE
nosy: +terry.reedy

___
Python tracker 

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



[issue41349] idle not going full screen when I rotate screen 90° on mac

2020-07-20 Thread Tim Z

New submission from Tim Z :

It refuses to go full screen when I rotate screen 90° on mac

--
components: macOS
messages: 374014
nosy: Tim Z, ned.deily, ronaldoussoren
priority: normal
severity: normal
status: open
title: idle not going full screen when I rotate screen 90° on mac
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



[issue41348] Support replacing global function pointers in a shared library

2020-07-20 Thread Unai Martinez


New submission from Unai Martinez :

As discussed in 
https://stackoverflow.com/questions/62947076/replace-a-function-pointer-in-a-shared-library-with-ctypes,
 it seems currently not possible to replace an existing global variable in a 
shared library which contains a function pointer, with a callback defined in 
Python (through ctypes). However, it is possible to replace global variables of 
other types, such as `int`.

--
components: ctypes
messages: 374013
nosy: Unai Martinez
priority: normal
severity: normal
status: open
title: Support replacing global function pointers in a shared library
type: behavior

___
Python tracker 

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



[issue41347] collections.deque.count performance enhancement

2020-07-20 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +rhettinger

___
Python tracker 

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



[issue41324] Add a minimal decimal capsule API

2020-07-20 Thread Stefan Krah


Stefan Krah  added the comment:

I'm happy with the API, except that --with-system-libmpdec is naturally
broken.  So I've to release a new libmpdec, which I'd rather do soon
because I don't want to revisit this later.

Antoine has looked at the API.  If anyone else has requests or objections,
now would be a good time to raise concerns.  These two functions are
the centerpiece of the PR:

   mpd_uint128_triple_t PyDec_AsUint128Triple(const PyObject *dec)
   PyObject *PyDec_FromUint128Triple(const mpd_uint128_triple_t *triple)

--

___
Python tracker 

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



[issue41347] collections.deque.count performance enhancement

2020-07-20 Thread Dong-hee Na


Change by Dong-hee Na :


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

___
Python tracker 

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



[issue41347] collections.deque.count performance enhancement

2020-07-20 Thread Dong-hee Na


New submission from Dong-hee Na :

Same situation as: https://bugs.python.org/issue39425

Mean +- std dev: [master_count] 946 ns +- 14 ns -> [ac_count] 427 ns +- 7 ns: 
2.22x faster (-55%)

--
assignee: corona10
components: Extension Modules
messages: 374010
nosy: corona10
priority: normal
severity: normal
status: open
title: collections.deque.count performance enhancement
type: performance
versions: Python 3.10

___
Python tracker 

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



[issue41347] collections.deque.count performance enhancement

2020-07-20 Thread Dong-hee Na


Dong-hee Na  added the comment:

Benchmark file

--
Added file: https://bugs.python.org/file49328/bench_deque_count.py

___
Python tracker 

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



[issue30155] Add ability to get tzinfo from a datetime instance in C API

2020-07-20 Thread Antoine Pitrou


Antoine Pitrou  added the comment:

> I'm going to rename this bug to focus only on issue #1. I think we can accept 
> a PR adding two new macros. I would suggest calling them:
> - PyDateTime_DATE_GET_TZINFO
> - PyDateTime_TIME_GET_TZINFO

+1 for this.

--
nosy: +pitrou

___
Python tracker 

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



[issue39604] Document PyDateTimeAPI / PyDateTime_CAPI struct

2020-07-20 Thread Antoine Pitrou


Change by Antoine Pitrou :


--
stage:  -> needs patch
type:  -> behavior
versions: +Python 3.10

___
Python tracker 

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



[issue41100] Build failure on macOS 11 (beta)

2020-07-20 Thread Ronald Oussoren


Change by Ronald Oussoren :


--
pull_requests: +20709
pull_request: https://github.com/python/cpython/pull/21564

___
Python tracker 

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



[issue41345] Remote end closed connection without response

2020-07-20 Thread Michal Arbet

Michal Arbet  added the comment:

I'm using  Ubuntu 20.04 with dist apache2 and default settings :

michalarbet@pixla:~/work$ dpkg -l | grep apache
ii  apache22.4.41-4ubuntu3
  amd64Apache HTTP Server
ii  apache2-bin2.4.41-4ubuntu3
  amd64Apache HTTP Server (modules and other binary files)
ii  apache2-data   2.4.41-4ubuntu3
  all  Apache HTTP Server (common files)
ii  apache2-utils  2.4.41-4ubuntu3
  amd64Apache HTTP Server (utility programs for web servers)
ii  libapache2-mod-php 2:7.4+75
 all  server-side, HTML-embedded scripting language (Apache
2 module) (default)
ii  libapache2-mod-php7.4  7.4.3-4ubuntu2.2
 amd64server-side, HTML-embedded scripting language (Apache
2 module)

michalarbet@pixla:~/work$ uname -a
Linux pixla 5.4.0-40-generic #44-Ubuntu SMP Tue Jun 23 00:01:04 UTC 2020
x86_64 x86_64 x86_64 GNU/Linux

When reproducing issue, be patient , you have to wait several iterations
before it will fail.
Some bug reports and discussion related to :

https://bugs.python.org/issue41345
https://github.com/psf/requests/issues/4664
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=899406

po 20. 7. 2020 v 14:54 odesílatel Ilia Androshchuk 
napsal:

>
> Ilia Androshchuk  added the comment:
>
> Hi Michal,
> Which version of operating system and apache are you running?
> I'll try to reproduce
>
> --
> nosy: +an7e
>
> ___
> Python tracker 
> 
> ___
>

--

___
Python tracker 

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



[issue41336] Sporadic segfaults during zoneinfo object creation stopped using Ctrl-C

2020-07-20 Thread miss-islington


miss-islington  added the comment:


New changeset add7cfc4c63f2ce2e8649906e6c8d902e95d8701 by Miss Islington (bot) 
in branch '3.9':
bpo-41336: Fix the error handling in zoneinfo_new_instance() (GH-21546)
https://github.com/python/cpython/commit/add7cfc4c63f2ce2e8649906e6c8d902e95d8701


--

___
Python tracker 

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



[issue41334] Convert str(), bytes() and bytearray() to Argument Clinic

2020-07-20 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
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



[issue41342] Convert int.__round__ to Argument Clinic

2020-07-20 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
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



[issue41343] Convert complex methods to Argument Clinic

2020-07-20 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
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



[issue41342] Convert int.__round__ to Argument Clinic

2020-07-20 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:


New changeset 5a2bac7fe0e7a2b67fd57c7a9176a50feed0d7a0 by Serhiy Storchaka in 
branch 'master':
bpo-41342: Convert int.__round__ to Argument Clinic (GH-21549)
https://github.com/python/cpython/commit/5a2bac7fe0e7a2b67fd57c7a9176a50feed0d7a0


--

___
Python tracker 

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



[issue41346] test_thousand and compileall hangs on riscv64

2020-07-20 Thread Felix Yan


New submission from Felix Yan :

In my riscv64 build, test_thousand 
(test.test_multiprocessing_forkserver.WithProcessesTestBarrier) always hangs on 
some locking thing, and the compileall part during installation hangs the same 
way. I am not sure if it's toolchain related or something else, though.

Some relevant versions:

Linux riscv64-unknown-linux-gnu
Python 3.8.4
glibc 2.31
gcc 10.1.0

configure switches:

  ./configure --prefix=/usr \
  --enable-shared \
  --with-computed-gotos \
  --enable-optimizations \
  --with-lto \
  --enable-ipv6 \
  --with-system-expat \
  --with-dbmliborder=gdbm:ndbm \
  --with-system-ffi \
  --with-system-libmpdec \
  --enable-loadable-sqlite-extensions \
  --without-ensurepip

When Ctrl-C:

test_thousand (test.test_multiprocessing_forkserver.WithProcessesTestBarrier) 
... ^CProcess Process-1305:
Traceback (most recent call last):
  File "/build/python/src/Python-3.8.4/Lib/multiprocessing/process.py", line 
315, in _bootstrap
self.run()
  File "/build/python/src/Python-3.8.4/Lib/multiprocessing/process.py", line 
108, in run
self._target(*self._args, **self._kwargs)
  File "/build/python/src/Python-3.8.4/Lib/test/_test_multiprocessing.py", line 
1970, in _test_thousand_f
barrier.wait()
  File "/build/python/src/Python-3.8.4/Lib/threading.py", line 610, in wait
self._enter() # Block while the barrier drains.
  File "/build/python/src/Python-3.8.4/Lib/threading.py", line 631, in _enter
self._cond.wait()
  File "/build/python/src/Python-3.8.4/Lib/multiprocessing/synchronize.py", 
line 261, in wait
return self._wait_semaphore.acquire(True, timeout)
KeyboardInterrupt
Process Process-1304:
Traceback (most recent call last):
  File "/build/python/src/Python-3.8.4/Lib/multiprocessing/process.py", line 
315, in _bootstrap
self.run()
  File "/build/python/src/Python-3.8.4/Lib/multiprocessing/process.py", line 
108, in run
self._target(*self._args, **self._kwargs)
  File "/build/python/src/Python-3.8.4/Lib/test/_test_multiprocessing.py", line 
1970, in _test_thousand_f
barrier.wait()
  File "/build/python/src/Python-3.8.4/Lib/threading.py", line 610, in wait
self._enter() # Block while the barrier drains.
  File "/build/python/src/Python-3.8.4/Lib/threading.py", line 631, in _enter
self._cond.wait()
  File "/build/python/src/Python-3.8.4/Lib/multiprocessing/synchronize.py", 
line 261, in wait
return self._wait_semaphore.acquire(True, timeout)
KeyboardInterrupt
Process Process-1306:
Traceback (most recent call last):
  File "/build/python/src/Python-3.8.4/Lib/multiprocessing/process.py", line 
315, in _bootstrap
self.run()
  File "/build/python/src/Python-3.8.4/Lib/multiprocessing/process.py", line 
108, in run
self._target(*self._args, **self._kwargs)
  File "/build/python/src/Python-3.8.4/Lib/test/_test_multiprocessing.py", line 
1970, in _test_thousand_f
barrier.wait()
  File "/build/python/src/Python-3.8.4/Lib/threading.py", line 610, in wait
self._enter() # Block while the barrier drains.
  File "/build/python/src/Python-3.8.4/Lib/threading.py", line 631, in _enter
self._cond.wait()
  File "/build/python/src/Python-3.8.4/Lib/multiprocessing/synchronize.py", 
line 261, in wait
return self._wait_semaphore.acquire(True, timeout)
KeyboardInterrupt
Process Process-1302:
Traceback (most recent call last):
  File "/build/python/src/Python-3.8.4/Lib/multiprocessing/process.py", line 
315, in _bootstrap
self.run()
  File "/build/python/src/Python-3.8.4/Lib/multiprocessing/process.py", line 
108, in run
self._target(*self._args, **self._kwargs)
  File "/build/python/src/Python-3.8.4/Lib/test/_test_multiprocessing.py", line 
1970, in _test_thousand_f
barrier.wait()
  File "/build/python/src/Python-3.8.4/Lib/threading.py", line 610, in wait
self._enter() # Block while the barrier drains.
  File "/build/python/src/Python-3.8.4/Lib/threading.py", line 631, in _enter
self._cond.wait()
  File "/build/python/src/Python-3.8.4/Lib/multiprocessing/synchronize.py", 
line 261, in wait
return self._wait_semaphore.acquire(True, timeout)
KeyboardInterrupt
Process Process-1303:
Traceback (most recent call last):
  File "/build/python/src/Python-3.8.4/Lib/multiprocessing/process.py", line 
315, in _bootstrap
self.run()
  File "/build/python/src/Python-3.8.4/Lib/multiprocessing/process.py", line 
108, in run
self._target(*self._args, **self._kwargs)
  File "/build/python/src/Python-3.8.4/Lib/test/_test_multiprocessing.py", line 
1970, in _test_thousand_f
barrier.wait()
  File "/build/python/src/Python-3.8.4/Lib/threading.py", line 610, in wait
self._enter() # Block while the barrier drains.
  File "/build/python/src/Python-3.8.4/Lib/threading.py", line 631, in _enter
self._cond.wait()
  File "/build/python/src/Python-3.8.4/Lib/multiprocessing/synchronize.py", 

[issue41345] Remote end closed connection without response

2020-07-20 Thread Ilia Androshchuk


Ilia Androshchuk  added the comment:

Hi Michal,
Which version of operating system and apache are you running?
I'll try to reproduce

--
nosy: +an7e

___
Python tracker 

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



[issue41343] Convert complex methods to Argument Clinic

2020-07-20 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:


New changeset e123012d79121ab543583631bb84c7fc27d06338 by Dong-hee Na in branch 
'master':
bpo-41343: Convert methods of complex to Argument Clinic (GH-21550)
https://github.com/python/cpython/commit/e123012d79121ab543583631bb84c7fc27d06338


--

___
Python tracker 

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



[issue41336] Sporadic segfaults during zoneinfo object creation stopped using Ctrl-C

2020-07-20 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:


New changeset eca2549f5a5048b44ca88b9555f1c62f094e3c12 by Zackery Spytz in 
branch 'master':
bpo-41336: Fix the error handling in zoneinfo_new_instance() (GH-21546)
https://github.com/python/cpython/commit/eca2549f5a5048b44ca88b9555f1c62f094e3c12


--

___
Python tracker 

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



[issue41334] Convert str(), bytes() and bytearray() to Argument Clinic

2020-07-20 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:


New changeset 12f433411bba8a0cdc4f09ba34472745ae9da0d1 by Serhiy Storchaka in 
branch 'master':
bpo-41334: Convert constructors of str, bytes and bytearray to Argument Clinic 
(GH-21535)
https://github.com/python/cpython/commit/12f433411bba8a0cdc4f09ba34472745ae9da0d1


--

___
Python tracker 

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



[issue41336] Sporadic segfaults during zoneinfo object creation stopped using Ctrl-C

2020-07-20 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 5.0 -> 6.0
pull_requests: +20708
pull_request: https://github.com/python/cpython/pull/21563

___
Python tracker 

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



[issue39093] tkinter objects garbage collected from non-tkinter thread cause crash

2020-07-20 Thread E. Paine


Change by E. Paine :


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

___
Python tracker 

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



[issue41345] Remote end closed connection without response

2020-07-20 Thread Michal Arbet


New submission from Michal Arbet :

Hi,

I'm not sure if this is really python bug, but I hope that you can check the 
issue.

Issue is that from time to time i'm getting exception from python when sending 
request to server which has http keepalive option turned on.

Requests send a request but in few miliseconds apache2 server is closing 
persistent connection by sending FIN packet which generate traceback.

I can reproduce it by following simple script.

#!/usr/bin/python3

import requests
from time import sleep

import logging
logging.basicConfig(level=logging.DEBUG)

s = requests.Session()
s.verify = False  # self-signed cert

counter = 0
txt = "test"
while True:
counter = counter + 1
s.post('http://localhost', data={counter:txt})
sleep(5)

Everything is working fine, but from time to time I get following traceback. 
When FIN is received right after request was sent.

michalarbet@pixla:~/work$ ./request_test.py 
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): localhost:80
DEBUG:urllib3.connectionpool:http://localhost:80 "POST / HTTP/1.1" 200 0
DEBUG:urllib3.connectionpool:Resetting dropped connection: localhost
DEBUG:urllib3.connectionpool:http://localhost:80 "POST / HTTP/1.1" 200 0
DEBUG:urllib3.connectionpool:Resetting dropped connection: localhost
DEBUG:urllib3.connectionpool:http://localhost:80 "POST / HTTP/1.1" 200 0
DEBUG:urllib3.connectionpool:Resetting dropped connection: localhost
DEBUG:urllib3.connectionpool:http://localhost:80 "POST / HTTP/1.1" 200 0
DEBUG:urllib3.connectionpool:Resetting dropped connection: localhost
DEBUG:urllib3.connectionpool:http://localhost:80 "POST / HTTP/1.1" 200 0
DEBUG:urllib3.connectionpool:Resetting dropped connection: localhost
DEBUG:urllib3.connectionpool:http://localhost:80 "POST / HTTP/1.1" 200 0
DEBUG:urllib3.connectionpool:Resetting dropped connection: localhost
DEBUG:urllib3.connectionpool:http://localhost:80 "POST / HTTP/1.1" 200 0
DEBUG:urllib3.connectionpool:Resetting dropped connection: localhost
DEBUG:urllib3.connectionpool:http://localhost:80 "POST / HTTP/1.1" 200 0
DEBUG:urllib3.connectionpool:Resetting dropped connection: localhost
DEBUG:urllib3.connectionpool:http://localhost:80 "POST / HTTP/1.1" 200 0
DEBUG:urllib3.connectionpool:Resetting dropped connection: localhost
DEBUG:urllib3.connectionpool:http://localhost:80 "POST / HTTP/1.1" 200 0
DEBUG:urllib3.connectionpool:Resetting dropped connection: localhost
DEBUG:urllib3.connectionpool:http://localhost:80 "POST / HTTP/1.1" 200 0
DEBUG:urllib3.connectionpool:Resetting dropped connection: localhost
DEBUG:urllib3.connectionpool:http://localhost:80 "POST / HTTP/1.1" 200 0
DEBUG:urllib3.connectionpool:Resetting dropped connection: localhost
DEBUG:urllib3.connectionpool:http://localhost:80 "POST / HTTP/1.1" 200 0
DEBUG:urllib3.connectionpool:Resetting dropped connection: localhost
DEBUG:urllib3.connectionpool:http://localhost:80 "POST / HTTP/1.1" 200 0
DEBUG:urllib3.connectionpool:Resetting dropped connection: localhost
DEBUG:urllib3.connectionpool:http://localhost:80 "POST / HTTP/1.1" 200 0
DEBUG:urllib3.connectionpool:Resetting dropped connection: localhost
DEBUG:urllib3.connectionpool:http://localhost:80 "POST / HTTP/1.1" 200 0
DEBUG:urllib3.connectionpool:Resetting dropped connection: localhost
DEBUG:urllib3.connectionpool:http://localhost:80 "POST / HTTP/1.1" 200 0
DEBUG:urllib3.connectionpool:Resetting dropped connection: localhost
DEBUG:urllib3.connectionpool:http://localhost:80 "POST / HTTP/1.1" 200 0
DEBUG:urllib3.connectionpool:Resetting dropped connection: localhost
DEBUG:urllib3.connectionpool:http://localhost:80 "POST / HTTP/1.1" 200 0
DEBUG:urllib3.connectionpool:Resetting dropped connection: localhost
DEBUG:urllib3.connectionpool:http://localhost:80 "POST / HTTP/1.1" 200 0
DEBUG:urllib3.connectionpool:Resetting dropped connection: localhost
DEBUG:urllib3.connectionpool:http://localhost:80 "POST / HTTP/1.1" 200 0
DEBUG:urllib3.connectionpool:Resetting dropped connection: localhost
DEBUG:urllib3.connectionpool:http://localhost:80 "POST / HTTP/1.1" 200 0
DEBUG:urllib3.connectionpool:Resetting dropped connection: localhost
DEBUG:urllib3.connectionpool:http://localhost:80 "POST / HTTP/1.1" 200 0
DEBUG:urllib3.connectionpool:Resetting dropped connection: localhost
DEBUG:urllib3.connectionpool:http://localhost:80 "POST / HTTP/1.1" 200 0
DEBUG:urllib3.connectionpool:Resetting dropped connection: localhost
DEBUG:urllib3.connectionpool:http://localhost:80 "POST / HTTP/1.1" 200 0
DEBUG:urllib3.connectionpool:Resetting dropped connection: localhost
DEBUG:urllib3.connectionpool:http://localhost:80 "POST / HTTP/1.1" 200 0
DEBUG:urllib3.connectionpool:Resetting dropped connection: localhost
DEBUG:urllib3.connectionpool:http://localhost:80 "POST / HTTP/1.1" 200 0
DEBUG:urllib3.connectionpool:Resetting dropped connection: localhost
DEBUG:urllib3.connectionpool:http://localhost:80 "POST / HTTP/1.1" 200 0
DEBUG:urllib3.connectionpool:Resetting dropped connection: localhost

[issue30044] shutil.copystat should (allow to) copy ownership, and other attributes

2020-07-20 Thread Giampaolo Rodola'


Giampaolo Rodola'  added the comment:

Sorry, after re-reading Eryk's comment, it seems I'm not correct about 
CopyFileEx.

--

___
Python tracker 

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



[issue30044] shutil.copystat should (allow to) copy ownership, and other attributes

2020-07-20 Thread Giampaolo Rodola'


Giampaolo Rodola'  added the comment:

Since the need to copy file ownership is common, I think there could be space 
for a new copy3() function which copies ownership + extended attributes (where 
possible). In detail:

- on Windows this can be achieved by using CopyFileEx, which would also provide 
better overall performances than the current readinto() implementation. This 
was the original approach used in BPO-33671, discarded after Eryk pointed out 
that ACLs should not be copied.

- on macOS we can use fcopyfile() (which is already exposed privately) + 
COPYFILE_ALL, see http://www.manpagez.com/man/3/fcopyfile/

- on all other UNIX we can use the current shutil.copystat() (which already 
copies xattrs) + os.chown(). I am not entirely sure this would achieve a "full 
ACLs copy" though, or what would be needed exactly to achieve that.

--

___
Python tracker 

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



[issue9694] argparse required arguments displayed under "optional arguments"

2020-07-20 Thread Krzysiek


Krzysiek  added the comment:

It seems the discussion has so far revolved around 'optional' arguments with 
`required=True`.

What about the other way around?

While trying to set `required=False` for a positional argument raises an 
exception, it is still possible to make the positional argument effectively 
optional by `nargs='?'` (it is then printed in brackets in usage message).

--
nosy: +kkarbowiak

___
Python tracker 

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



[issue41273] asyncio: proactor read transport: use recv_into instead of recv

2020-07-20 Thread Tony


Tony  added the comment:

If the error is not resolved yet, I would prefer if we revert this change then.

The new PR is kinda big I don't know when it will be merged.

--

___
Python tracker 

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



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

2020-07-20 Thread Vinay Sharma


Change by Vinay Sharma :


--
nosy: +pitrou

___
Python tracker 

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



[issue38018] Increase Code Coverage for multiprocessing.shared_memory

2020-07-20 Thread Vinay Sharma


Vinay Sharma  added the comment:

Closing this, as all the necessary PRs have been merged.

--
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



[issue23882] unittest discovery doesn't detect namespace packages when given no parameters

2020-07-20 Thread Inada Naoki


Change by Inada Naoki :


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

___
Python tracker 

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



[issue39093] tkinter objects garbage collected from non-tkinter thread cause crash

2020-07-20 Thread E. Paine


E. Paine  added the comment:

Trying to manually link the PR to this issue, I have opened 
https://github.com/python/cpython/pull/21532

--

___
Python tracker 

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



[issue37703] Inconsistent gather with child exception

2020-07-20 Thread miss-islington


miss-islington  added the comment:


New changeset 58f59a962180123a6d29ece512d198b365726b33 by Miss Islington (bot) 
in branch '3.8':
bpo-37703: improve asyncio.gather documentation regarding cancellation 
(GH-15312)
https://github.com/python/cpython/commit/58f59a962180123a6d29ece512d198b365726b33


--

___
Python tracker 

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



[issue37703] Inconsistent gather with child exception

2020-07-20 Thread miss-islington


miss-islington  added the comment:


New changeset 46634b7aa82f014cd0039afb7f0ed860605beb9d by Miss Islington (bot) 
in branch '3.9':
bpo-37703: improve asyncio.gather documentation regarding cancellation 
(GH-15312)
https://github.com/python/cpython/commit/46634b7aa82f014cd0039afb7f0ed860605beb9d


--

___
Python tracker 

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



[issue41344] SharedMemory crash when size is 0

2020-07-20 Thread SilentGhost


Change by SilentGhost :


--
nosy: +davin, pitrou
type: crash -> behavior

___
Python tracker 

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



[issue37703] Inconsistent gather with child exception

2020-07-20 Thread Andrew Svetlov


Change by Andrew Svetlov :


--
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



  1   2   >