[issue40181] IDLE: remove positional-only note from calltips

2020-09-21 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 2.0 -> 3.0
pull_requests: +21390
pull_request: https://github.com/python/cpython/pull/22351

___
Python tracker 

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



[issue40181] IDLE: remove positional-only note from calltips

2020-09-21 Thread Terry J. Reedy


Terry J. Reedy  added the comment:


New changeset 40a0625792e795cd41c4ba20475e3b770b53817a by Terry Jan Reedy in 
branch 'master':
bpo-40181: Remove '/' reminder in IDLE calltips. (GH-22350)
https://github.com/python/cpython/commit/40a0625792e795cd41c4ba20475e3b770b53817a


--

___
Python tracker 

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



[issue40181] IDLE: remove positional-only note from calltips

2020-09-21 Thread miss-islington


Change by miss-islington :


--
pull_requests: +21391
pull_request: https://github.com/python/cpython/pull/22352

___
Python tracker 

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



[issue41756] Do not always use exceptions to return result from coroutine

2020-09-21 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

I agree that we should add PyIter_Send() (the name is discussable, but 
PyIter_Send LGTM) which should support iterators and objects with the send() 
method. It would be much more useful for user, and can replace PyGen_Send() in 
the interpreter core code. But merging the PR with PyGen_Send() was not a 
mistake. It was good to split the changes on smaller steps easier to review.

Vladimir, do you mind to create a new PR for PyIter_Send()? I seen its 
implementation in one of intermediate versions of your PR.

--

___
Python tracker 

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



[issue41756] Do not always use exceptions to return result from coroutine

2020-09-21 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:


New changeset 6c33385e3a1dce31d7b9037eebfc584075795dba by Serhiy Storchaka in 
branch 'master':
bpo-41756: Refactor gen_send_ex(). (GH-22330)
https://github.com/python/cpython/commit/6c33385e3a1dce31d7b9037eebfc584075795dba


--

___
Python tracker 

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



[issue40181] IDLE: remove positional-only note from calltips

2020-09-21 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
keywords: +patch
pull_requests: +21389
stage: test needed -> patch review
pull_request: https://github.com/python/cpython/pull/22350

___
Python tracker 

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



[issue38068] clean up configure logic for gettimeofday

2020-09-21 Thread Benjamin Peterson


Change by Benjamin Peterson :


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



[issue41816] need StrEnum in enum.py

2020-09-21 Thread Ethan Furman


Change by Ethan Furman :


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



[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch

2020-09-21 Thread Bug Reporter


Bug Reporter  added the comment:

1) I downloaded openssl-1.1.1g source code, compiled, exported LD_LIBRARY_PATH, 
did sudo ldconfig - ./python Lib/test/test_ssl.py now passes. If 
LD_LIBRARY_PATH is unset, it fails. Thank you for advice.


2) Tried the following independently from (1)
./configure
make
./python Tools/ssl/multissltests.py --openssl=1.1.1g

== Tests result: SUCCESS ==

All 15 tests OK.

Total duration: 1 min 21 sec
Tests result: SUCCESS
*** INFO 
Tests finished in 0:05:52.488541
Python:  3.8.5 (default, Sep 21 2020, 23:02:31) 
[GCC 9.3.0]
Executed all SSL tests.
OpenSSL / LibreSSL versions:
* OpenSSL 1.1.1g

--

___
Python tracker 

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



[issue37062] `AutoNumber` class in enum documentation: support *args in constructor

2020-09-21 Thread Ethan Furman


Change by Ethan Furman :


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

___
Python tracker 

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



[issue41817] Incorrect types in tkinter.EventType Enum

2020-09-21 Thread Ethan Furman


Change by Ethan Furman :


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

___
Python tracker 

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



[issue38263] [Windows] multiprocessing: DupHandle.detach() race condition on DuplicateHandle(DUPLICATE_CLOSE_SOURCE)

2020-09-21 Thread Yan Ren


Yan Ren  added the comment:

append Nosy List.

--
nosy: +pemryan

___
Python tracker 

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



[issue41829] sqlite3.Row always read as tuple when supplied to executemany

2020-09-21 Thread Tony Wu


Change by Tony Wu :


--
nosy: +ghaering

___
Python tracker 

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



[issue41829] sqlite3.Row always read as tuple when supplied to executemany

2020-09-21 Thread Tony Wu


New submission from Tony Wu :

Supplying a sequence or sqlite3.Row objects to sqlite3.Connection.executemany 
will cause the Row objects to be interpreted as Sequences instead of Mappings 
even if the statement to be executed uses named parameter substitution.

That is, values in the Rows are accessed using their numerical indices instead 
of column names.

This script demonstrate how this is unexpected behavior.

Issue found in Python 3.8.5 and 3.7.6.

--
components: Extension Modules
files: row_substitution.py
messages: 377295
nosy: tony.wu
priority: normal
severity: normal
status: open
title: sqlite3.Row always read as tuple when supplied to executemany
type: behavior
versions: Python 3.8
Added file: https://bugs.python.org/file49471/row_substitution.py

___
Python tracker 

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



[issue41816] need StrEnum in enum.py

2020-09-21 Thread Ethan Furman


Ethan Furman  added the comment:


New changeset 0063ff4e583505e69473caa978e476ea4c559b83 by Ethan Furman in 
branch 'master':
bpo-41816: add `StrEnum` (GH-22337)
https://github.com/python/cpython/commit/0063ff4e583505e69473caa978e476ea4c559b83


--

___
Python tracker 

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



[issue41828] No longer able to override DATA_UPLOAD_MAX_MEMORY_SIZE outside of settings.py

2020-09-21 Thread Drew Scholz


New submission from Drew Scholz :

After upgrading our Django 1.11 project from Python 2.7 to 3.7, our single 
endpoint decorator to override django conf settings no longer works. 
requests.py inside the virtual environment 
/lib/python3.7/site-packages/django/http triggers the RequestDataTooBig 
exception (~line 271) before the change to DATA_UPLOAD_MAX_MEMORY_SIZE has been 
increased by our decorator. We are able to make the change global inside 
settings.py however we are concerned with the security vulnerabilities due to 
the size we want to allow for the single endpoint.

--
files: decorators.py
messages: 377293
nosy: drew.scholz
priority: normal
severity: normal
status: open
title: No longer able to override DATA_UPLOAD_MAX_MEMORY_SIZE outside of 
settings.py
type: security
versions: Python 3.7
Added file: https://bugs.python.org/file49470/decorators.py

___
Python tracker 

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



[issue37062] `AutoNumber` class in enum documentation: support *args in constructor

2020-09-21 Thread Reuben Thomas


Reuben Thomas  added the comment:

That's the one I was thinking of: the example in the docs.

--

___
Python tracker 

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



[issue37062] `AutoNumber` class in enum documentation: support *args in constructor

2020-09-21 Thread Ethan Furman


Ethan Furman  added the comment:

The only `AutoNumber` in the stdlib is as an example in the docs.  Were you 
thinking of something else?

--
versions: +Python 3.10 -Python 3.9

___
Python tracker 

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



[issue30700] fileinput inplace clobbers file without leaving backup on decode errors

2020-09-21 Thread Irit Katriel


Change by Irit Katriel :


--
components: +IO

___
Python tracker 

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



[issue38445] os.path.exists() takes bool as argument and returns True

2020-09-21 Thread Irit Katriel


Change by Irit Katriel :


--
components: +IO
versions: +Python 3.10, Python 3.9 -Python 3.7

___
Python tracker 

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



[issue41815] SQLite: segfault if backup called on closed database

2020-09-21 Thread Kyle Stanley


Kyle Stanley  added the comment:

I've received approval from Lukasz to backport to 3.9 and 3.8, and have now 
merged the PRs.

It could use a post-commit review from a core dev that has some additional 
experience with SQLite3, but it can be de-escalated from release blocker.

--
priority: release blocker -> normal
stage: patch review -> commit review
status: open -> closed

___
Python tracker 

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



[issue41815] SQLite: segfault if backup called on closed database

2020-09-21 Thread miss-islington


miss-islington  added the comment:


New changeset 4ee30c42441c3e5066d5080a22da53675aeae716 by Miss Islington (bot) 
in branch '3.9':
bpo-41815: SQLite: segfault if backup called on closed database (GH-22322)
https://github.com/python/cpython/commit/4ee30c42441c3e5066d5080a22da53675aeae716


--

___
Python tracker 

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



[issue41737] Improper NotADirectoryError when opening a file in a fake directory

2020-09-21 Thread Irit Katriel


Irit Katriel  added the comment:

The documentation for open says "If the file cannot be opened, an OSError is 
raised."

NotADirectoryError and FileNotFoundError are both OSErrors.

So the correct way to write Danny's code snippet, according to the 
documentation, is:

try:
open('/path/to/file/somename.txt')
except OSError:
"""do something"""

--
components: +IO
nosy: +iritkatriel

___
Python tracker 

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



[issue41815] SQLite: segfault if backup called on closed database

2020-09-21 Thread miss-islington


miss-islington  added the comment:


New changeset ca2d99d091a5b7768e92ee5ce7104aa6d8a3ed86 by Miss Islington (bot) 
in branch '3.8':
bpo-41815: SQLite: segfault if backup called on closed database (GH-22322)
https://github.com/python/cpython/commit/ca2d99d091a5b7768e92ee5ce7104aa6d8a3ed86


--

___
Python tracker 

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



[issue41815] SQLite: segfault if backup called on closed database

2020-09-21 Thread miss-islington


Change by miss-islington :


--
pull_requests: +21385
pull_request: https://github.com/python/cpython/pull/22344

___
Python tracker 

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



[issue41815] SQLite: segfault if backup called on closed database

2020-09-21 Thread miss-islington


Change by miss-islington :


--
pull_requests: +21386
pull_request: https://github.com/python/cpython/pull/22345

___
Python tracker 

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



[issue41827] 2D array issue

2020-09-21 Thread Eric V. Smith


Eric V. Smith  added the comment:

Your example is too complex to work through in my head, but I suspect this is 
the issue you're seeing: 
https://docs.python.org/3/faq/programming.html#why-did-changing-list-y-also-change-list-x

In any event, this is almost certainly not a bug in Python, but rather in your 
code. You might want to ask this question on the python-list mailing list 
https://mail.python.org/mailman/listinfo/python-list or on Stack Overflow, 
which are more appropriate venues than the bug tracker.

--

___
Python tracker 

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



[issue40181] IDLE: remove positional-only note from calltips

2020-09-21 Thread Raymond Hettinger


Raymond Hettinger  added the comment:

My students find the note to be very distracting.  It is something that is 
needed no more than once.  Afterwards, it becomes something that you have to 
train yourself to ignore.

--
nosy: +rhettinger

___
Python tracker 

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



[issue41823] Add more fields to sys.float_info

2020-09-21 Thread Raymond Hettinger


Raymond Hettinger  added the comment:

[Dong-hee Na]
> However, since the type is the structsequence the 
> change can cause the ValueError: too many values 
> to unpack when the variable is used as a tuple

Structseq also allows named fields that aren't part of the tuple.  That is why 
I suggested, "consider adding new non-sequence fields ..."

For example, the Posix stat result struct seq has optional fields (
st_blksize, st_blocks, st_rdev, and st_flags) that are available as attributes 
only.

--

___
Python tracker 

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



[issue41827] 2D array issue

2020-09-21 Thread jeet shah


jeet shah  added the comment:

after = [[1,2],[3,4]]
rows, cols = (len(after), len(after[0])) 

before = [[0]*cols]*rows

# before = [[0 for i in range(cols)] for j in range(rows)]  #uncomment this 
array definition and comment above one... see difference in output.

print(before)

def calculation(a,b):
s = after[0][0]
for x in range(a+1):
for y in range(b+1):
s += before[x][y]
before[a][b] = after[a][b] - s

def cal2():
for x in range(len(after)):
for y in range(len(after[0])):
calculation(x,y)
before[0][0] = after[0][0]
print(before)
cal2()


#expected output: [[1, 1], [2, 0]]

--

___
Python tracker 

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



[issue41810] Consider reintroducing `types.EllipsisType` for the sake of typing

2020-09-21 Thread Raymond Hettinger


Raymond Hettinger  added the comment:

> Do any of the other deleted types strike you as possibly
> needing to come back?

Yes.  NoneType would be useful.

--
nosy: +rhettinger

___
Python tracker 

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



[issue41810] Consider reintroducing `types.EllipsisType` for the sake of typing

2020-09-21 Thread Eric V. Smith


Eric V. Smith  added the comment:

Thanks for doing the research, Bas! It sounds like adding back in NoneType, 
NotImplementedType, and EllipsisType is appropriate, then.

+1

The commit should have a comment about the reason: for type checkers which 
can't use type(Ellipsis), etc. I'll add a comment on the PR about adding a 
similar note to the blurb.

--

___
Python tracker 

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



[issue41810] Consider reintroducing `types.EllipsisType` for the sake of typing

2020-09-21 Thread Bas van Beek


Bas van Beek  added the comment:

> Do any of the other deleted types strike you as possibly needing to come back?

I don't think so, no. The only other one that stands out to me is 
`DictProxyType`, which has already been reintroduced as `MappingProxyType`.

--

___
Python tracker 

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



[issue29745] asyncio: Make pause/resume_reading idepotent and no-op for closed transports

2020-09-21 Thread Irit Katriel


Change by Irit Katriel :


--
components: +asyncio
nosy: +asvetlov, yselivanov
type:  -> behavior

___
Python tracker 

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



[issue29745] asyncio: Make pause/resume_reading idepotent and no-op for closed transports

2020-09-21 Thread Irit Katriel


Irit Katriel  added the comment:

Looks like this was done under issue32356, so this issue can be closed.

--
nosy: +iritkatriel

___
Python tracker 

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



[issue35767] unittest loader doesn't work with partial test functions

2020-09-21 Thread Irit Katriel


Irit Katriel  added the comment:

Can this be closed now?

--
components: +Tests
nosy: +iritkatriel
type:  -> behavior

___
Python tracker 

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



[issue41810] Consider reintroducing `types.EllipsisType` for the sake of typing

2020-09-21 Thread Guido van Rossum


Guido van Rossum  added the comment:

Thanks! Most of the deleted types *are* builtins (e.g. object, int). I assume 
the reasoning was just that if you wanted the type you could just write 
type(Ellipsis), type(None) etc.

But that's too dynamic for static checkers, so we want *some* stable name for 
those back. Do any of the other deleted types strike you as possibly needing to 
come back?

--

___
Python tracker 

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



[issue37263] spawn asyncio subprocesses in a thread pool

2020-09-21 Thread Irit Katriel


Change by Irit Katriel :


--
components: +asyncio
nosy: +yselivanov
type:  -> performance

___
Python tracker 

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



[issue38068] clean up configure logic for gettimeofday

2020-09-21 Thread Irit Katriel


Irit Katriel  added the comment:

Can this be closed now?

--
nosy: +iritkatriel

___
Python tracker 

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



[issue41810] Consider reintroducing `types.EllipsisType` for the sake of typing

2020-09-21 Thread Bas van Beek


Bas van Beek  added the comment:

According to the relevant commit 
(https://github.com/python/cpython/commit/c9543e42330e5f339d6419eba6a8c5a61a39aeca):
"Removed all types from the 'types' module that are easily accessible through 
builtins."

--

___
Python tracker 

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



[issue41810] Consider reintroducing `types.EllipsisType` for the sake of typing

2020-09-21 Thread Guido van Rossum


Guido van Rossum  added the comment:

Bas can you do some research to answer Eric's question? In theory it should be 
possible to use git bisect to find it. I see it in 2.7 but not in 3.4. That's a 
fairly large interval, alas.

--

___
Python tracker 

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



[issue40181] IDLE: remove positional-only note from calltips

2020-09-21 Thread Irit Katriel


Change by Irit Katriel :


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

___
Python tracker 

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



[issue40935] Links to Python3 docs for some libs return 404

2020-09-21 Thread Irit Katriel


Change by Irit Katriel :


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

___
Python tracker 

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



[issue41820] ipaddress allows "00" in ipv4 address octets

2020-09-21 Thread Eric V. Smith


Eric V. Smith  added the comment:

The first point should have been "RFC 790 uses 000 in examples, so I think 
ipaddress is doing the correct thing already."

--

___
Python tracker 

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



[issue41820] ipaddress allows "00" in ipv4 address octets

2020-09-21 Thread Eric V. Smith


Eric V. Smith  added the comment:

I'm going to close this, for two reasons:
- RFC 790 uses 000 in examples, do I think ipaddress is doing the correct thing 
already.
- We'd be unlikely to change this in any event, for fear of breaking existing, 
working code.

@anudeepballa07: if you find an RFC or other authoritative source that says 00 
or 000 are not to be used, feel free to reopen this issue and we can discuss 
next steps.

I'm also changing the title to make it easier to search for this issue in the 
future.

--
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed
title: ipaddress Library gives me incorrect results -> ipaddress allows "00" in 
ipv4 address octets

___
Python tracker 

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



[issue41826] test_peg_generator compilation warnings

2020-09-21 Thread Pablo Galindo Salgado


Pablo Galindo Salgado  added the comment:

This is because the types of the grammars in 
Lib/test/test_peg_generator/test_c_parser.py needs to be updated to use the new 
sequences

--

___
Python tracker 

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



[issue41827] 2D array issue

2020-09-21 Thread Eric V. Smith


Eric V. Smith  added the comment:

Please provide the output you see and the output you expect.

And it would be better if you could just post the code into the comment window. 
I, for one, cannot run your .ipynb file.

--
nosy: +eric.smith

___
Python tracker 

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



[issue41810] Consider reintroducing `types.EllipsisType` for the sake of typing

2020-09-21 Thread Eric V. Smith


Eric V. Smith  added the comment:

Does anyone know why types.EllipsisType was removed to begin with? I just want 
to make sure we're not repeating some mistake of the past.

--
nosy: +eric.smith

___
Python tracker 

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



[issue35328] Set a environment variable for venv prompt

2020-09-21 Thread Brett Cannon


Change by Brett Cannon :


--
resolution: fixed -> 
status: closed -> open
versions: +Python 3.10 -Python 3.9

___
Python tracker 

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



[issue41827] 2D array issue

2020-09-21 Thread jeet shah


New submission from jeet shah :

See difference in output by changing array definition.

--
files: matrix summation-Copy1.ipynb
messages: 377268
nosy: jeetshahj12375
priority: normal
severity: normal
status: open
title: 2D array issue
type: behavior
versions: Python 3.10
Added file: https://bugs.python.org/file49469/matrix summation-Copy1.ipynb

___
Python tracker 

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



[issue41810] Consider reintroducing `types.EllipsisType` for the sake of typing

2020-09-21 Thread Bas van Beek


Bas van Beek  added the comment:

`NoneType` and `NotImplementedType` have been added to the PR as of the latest 
set of pushes.

--

___
Python tracker 

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



[issue41826] test_peg_generator compilation warnings

2020-09-21 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +pablogsal

___
Python tracker 

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



[issue41756] Do not always use exceptions to return result from coroutine

2020-09-21 Thread Yury Selivanov


Yury Selivanov  added the comment:

> If you disagree with me, please say why, don't just merge the PR.

Apologies, Mark. I didn't intend to merge something bypassing your opinion; 
just missed your comment between reviewing multiple PRs in a few unrelated 
repos. I'm sorry.

On the actual naming subject, you proposed:

> `PySendResult PyIter_Send(PyObject *obj, PyObject *arg, PyObject **result);`

The problem with using this name is that ideally we should also support 
non-native coroutine and generator implementations (i.e. resolve the "send" 
attribute and call it using Python calling convention). Ideally we should have 
two C APIs: one low-level supporting only native objects and a high level one, 
supporting all kinds of them.

Can we perhaps add both `PyGen_Send()` and `PyCoro_Send()` for now that would 
only accept generators and coroutines respectively? After that we can discuss 
adding a more generic `PyIter_Send`?


> Would you revert the PR, please.

Since this is in 3.10/master that nobody uses right now except us (Python core 
devs), can we just issue a follow up PR to fix whatever is there to fix? I'd 
like to avoid the churn of reverting, and again, I apologize for pushing this a 
bit hastily.  Let me know if you actually want a revert and I'll do that.

--

___
Python tracker 

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



[issue5811] io.BufferedReader.peek(): Documentation differs from Implementation

2020-09-21 Thread desbma


Change by desbma :


--
nosy: +desbma

___
Python tracker 

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



[issue41826] test_peg_generator compilation warnings

2020-09-21 Thread Skip Montanaro

New submission from Skip Montanaro :

I don't see anything like this while building Python proper, but when 
test_peg_generator is run, it spews a few compiler warnings. Platform is Ubuntu 
20.04. Seems low-ish priority, but I saw no mention of it in a quick bpo 
search, so thought I would toss it out there.

-
% ./python ./Tools/scripts/run_tests.py test_peg_generator
/home/skip/src/python/cpython/python -u -W default -bb -E -m test -r -w -j 0 -u 
all,-largefile,-audio,-gui test_peg_generator
Using random seed 1793668
0:00:00 load avg: 0.09 Run tests in parallel using 10 child processes
0:00:30 load avg: 0.45 running: test_peg_generator (30.0 sec)
0:00:54 load avg: 0.64 [1/1] test_peg_generator passed (54.8 sec)
In file included from /home/skip/src/python/cpython/Parser/pegen.h:7,
 from /tmp/tmp3fq3wryo/parse.c:2:
/tmp/tmp3fq3wryo/parse.c: In function ‘start_rule’:
/tmp/tmp3fq3wryo/parse.c:59:29: warning: passing argument 1 of ‘_Py_Module’ 
from incompatible pointer type [-Wincompatible-pointer-types]
   59 | _res = Module ( a , NULL , p -> arena );
  | ^
  | |
  | asdl_seq * {aka struct  *}
/home/skip/src/python/cpython/Include/Python-ast.h:541:39: note: in definition 
of macro ‘Module’
  541 | #define Module(a0, a1, a2) _Py_Module(a0, a1, a2)
  |   ^~
/home/skip/src/python/cpython/Include/Python-ast.h:542:35: note: expected 
‘asdl_stmt_seq *’ {aka ‘struct  *’} but argument is of type 
‘asdl_seq *’ {aka ‘struct  *’}
  542 | mod_ty _Py_Module(asdl_stmt_seq * body, asdl_type_ignore_seq * 
type_ignores,
  |   ^~~~
In file included from /home/skip/src/python/cpython/Parser/pegen.h:7,
 from /tmp/tmpybnujtsb/parse.c:2:
/tmp/tmpybnujtsb/parse.c: In function ‘start_rule’:
/tmp/tmpybnujtsb/parse.c:61:29: warning: passing argument 1 of ‘_Py_Module’ 
from incompatible pointer type [-Wincompatible-pointer-types]
   61 | _res = Module ( a , NULL , p -> arena );
  | ^
  | |
  | asdl_seq * {aka struct  *}
/home/skip/src/python/cpython/Include/Python-ast.h:541:39: note: in definition 
of macro ‘Module’
  541 | #define Module(a0, a1, a2) _Py_Module(a0, a1, a2)
  |   ^~
/home/skip/src/python/cpython/Include/Python-ast.h:542:35: note: expected 
‘asdl_stmt_seq *’ {aka ‘struct  *’} but argument is of type 
‘asdl_seq *’ {aka ‘struct  *’}
  542 | mod_ty _Py_Module(asdl_stmt_seq * body, asdl_type_ignore_seq * 
type_ignores,
  |   ^~~~
In file included from /home/skip/src/python/cpython/Parser/pegen.h:7,
 from /tmp/tmpgbehpd3_/parse.c:2:
/tmp/tmpgbehpd3_/parse.c: In function ‘start_rule’:
/tmp/tmpgbehpd3_/parse.c:77:29: warning: passing argument 1 of ‘_Py_Module’ 
from incompatible pointer type [-Wincompatible-pointer-types]
   77 | _res = Module ( a , NULL , p -> arena );
  | ^
  | |
  | asdl_seq * {aka struct  *}
/home/skip/src/python/cpython/Include/Python-ast.h:541:39: note: in definition 
of macro ‘Module’
  541 | #define Module(a0, a1, a2) _Py_Module(a0, a1, a2)
  |   ^~
/home/skip/src/python/cpython/Include/Python-ast.h:542:35: note: expected 
‘asdl_stmt_seq *’ {aka ‘struct  *’} but argument is of type 
‘asdl_seq *’ {aka ‘struct  *’}
  542 | mod_ty _Py_Module(asdl_stmt_seq * body, asdl_type_ignore_seq * 
type_ignores,
  |   ^~~~
/tmp/tmpgbehpd3_/parse.c: In function ‘import_from_rule’:
/tmp/tmpgbehpd3_/parse.c:148:58: warning: passing argument 2 of 
‘_Py_ImportFrom’ from incompatible pointer type [-Wincompatible-pointer-types]
  148 | _res = _Py_ImportFrom ( c -> v . Name . id , d , 0 , EXTRA 
);
  |  ^
  |  |
  |  asdl_seq * 
{aka struct  *}
In file included from /home/skip/src/python/cpython/Parser/pegen.h:7,
 from /tmp/tmpgbehpd3_/parse.c:2:
/home/skip/src/python/cpython/Include/Python-ast.h:625:60: note: expected 
‘asdl_alias_seq *’ {aka ‘struct  *’} but argument is of type 
‘asdl_seq *’ {aka ‘struct  *’}
  625 | stmt_ty _Py_ImportFrom(identifier module, asdl_alias_seq * names, int 
level,
  |   ~^
/tmp/tmpgbehpd3_/parse.c:190:44: warning: passing argument 2 of 
‘_Py_ImportFrom’ from incompatible pointer type [-Wincompatible-pointer-types]
  190 | _res = _Py_ImportFrom ( NULL , c , 1 , EXTRA );
  | 

[issue41824] Docs for typing.ForwardRef don't state that it was added in 3.7

2020-09-21 Thread Irit Katriel


Change by Irit Katriel :


--
assignee:  -> docs@python
components: +Documentation -Library (Lib)
nosy: +docs@python
title: Docs for typing.ForwardRef don't state that is was added in 3.7 -> Docs 
for typing.ForwardRef don't state that it was added in 3.7

___
Python tracker 

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



[issue41810] Consider reintroducing `types.EllipsisType` for the sake of typing

2020-09-21 Thread Guido van Rossum


Guido van Rossum  added the comment:

> In any case, I'm ok with adding `NoneType` and `NotImplementedType` to the PR.

Please do.

--

___
Python tracker 

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



[issue41825] os.waitid() documentation needs TLC

2020-09-21 Thread Georg Brandl


New submission from Georg Brandl :

There are a few points where `os.waitid()` docs need improvement. Current text:

Wait for the completion of one or more child processes. idtype can be P_PID, 
P_PGID or P_ALL. id specifies the pid to wait on. options is constructed from 
the ORing of one or more of WEXITED, WSTOPPED or WCONTINUED and additionally 
may be ORed with WNOHANG or WNOWAIT. The return value is an object representing 
the data contained in the siginfo_t structure, namely: si_pid, si_uid, 
si_signo, si_status, si_code or None if WNOHANG is specified and there are no 
children in a waitable state.

Problems are:

* The given use of the *pid* argument is only for the case of `idtype=P_PID`.  
For `P_ALL` it is ignored, and for `P_PGID` it specifies that the child's PGID 
must be *pid*.

* "One or more child processes" is misleading -- the function waits for until 
exactly one child process to exit (or aborts with WNOHANG).  Sure, there can be 
multiple candidate processes, but this should be formulated differently.

* The explanation of *options* is quite cumbersome, it seems to be copied 
directly from the manpage (where it is laid out much more clearly and with 
explanation of the different options).

Additionally the flags P_*, W* and CLD_* are just stated as-is, and need 
explanation in the docs. You should not need to consult the manpage to be able 
to use the function at all.

--
assignee: docs@python
components: Documentation
keywords: easy
messages: 377263
nosy: docs@python, georg.brandl
priority: normal
severity: normal
stage: needs patch
status: open
title: os.waitid() documentation needs TLC
type: enhancement
versions: Python 3.10, 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



[issue41824] Docs for typing.ForwardRef don't state that is was added in 3.7

2020-09-21 Thread Dominic Davis-Foster


New submission from Dominic Davis-Foster :

typing.ForwardRef was first documented in GH-14216 but there's no mention that 
the class was only added in Python 3.7.

In Python 3.6 there's no typing.ForwardRef; there is a typing._ForwardRef which 
seems to be the same thing from before it was made public.


What I don't know is whether the change of name was made in 3.7 or in a point 
release.

--
components: Library (Lib)
messages: 377262
nosy: dom1310df
priority: normal
severity: normal
status: open
title: Docs for typing.ForwardRef don't state that is was added in 3.7
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



[issue30974] Update os.samefile docstring to match documentation

2020-09-21 Thread Steve Dower


Change by Steve Dower :


--
resolution:  -> fixed
stage: backport needed -> 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



[issue41800] Python installation fails when run under system account if there is already an existing installation on the system already

2020-09-21 Thread Steve Dower


Steve Dower  added the comment:

Python's installer doesn't change that often ;)

Without some information about your scenario, I can't make a recommendation.

However, I will say that if you are including any of your own Python code with 
your application, and especially any compiled modules, you probably don't want 
to give users the ability to independently remove or modify your Python 
install. Much better to include the runtime you have tested with and only 
update your users to a newer version once you have tested with that one.

--

___
Python tracker 

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



[issue41807] Warnings when installing Linter on VS code on Linux and Windows.

2020-09-21 Thread Steve Dower


Steve Dower  added the comment:

This warning is coming from pip, and it's because it has detected that your 
system configuration doesn't match what many Python developers assume. 
Specifically, that you've configured PATH to include both Python and any 
package scripts you happen to install.

We don't recommend adding these to PATH on Windows for your default install, so 
it's safe to ignore these warnings (provided you use a tool like VS Code or 
"python -m ..." to launch the scripts).

However, if you need these for a particular environment, when you create a 
virtual environment and activate it, your current session settings will be 
updated to put them on PATH and you should not see this error.

If you need further help, please visit the pip repository at 
https://github.com/PyPA/pip

--
resolution:  -> third party
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



[issue41810] Consider reintroducing `types.EllipsisType` for the sake of typing

2020-09-21 Thread Bas van Beek


Bas van Beek  added the comment:

Apparently pyright has some interest in `NoneType` 
(https://github.com/python/typeshed/pull/4519), so it seems there are already 
some actual use cases.

In any case, I'm ok with adding `NoneType` and `NotImplementedType` to the PR.

--

___
Python tracker 

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



[issue41769] Positional arguments with boolean actions behave differently

2020-09-21 Thread Rafael Guterres Jeffman


Rafael Guterres Jeffman  added the comment:

I don't think many users will try to use a boolean positional argument. I only 
excited this behavior because I was writing an abstraction over argparse to 
define the command line interface based on a configuration file, and I was 
trying to add some type checking.

I think documenting the behavior is enough.

--

___
Python tracker 

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



[issue40213] contextlib.aclosing()

2020-09-21 Thread Dong-hee Na


Dong-hee Na  added the comment:

see https://bugs.python.org/issue41229

--
nosy: +corona10

___
Python tracker 

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



[issue41823] Add more fields to sys.float_info

2020-09-21 Thread Dong-hee Na


Dong-hee Na  added the comment:

@rhettinger

I like the idea to add more informative information,


However, since the type is the structsequence the change can cause the
ValueError: too many values to unpack when the variable is used as a tuple.


But the if such use case is not often used, it will be okay

--
nosy: +corona10

___
Python tracker 

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



[issue41810] Consider reintroducing `types.EllipsisType` for the sake of typing

2020-09-21 Thread Guido van Rossum

Guido van Rossum  added the comment:

I’m okay with adding those (even though NoneType might not work in mypy, given 
the special-casing for None, per PEP 484).

--

___
Python tracker 

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



[issue40213] contextlib.aclosing()

2020-09-21 Thread Nikolay Bryskin


Change by Nikolay Bryskin :


--
nosy: +nikicat

___
Python tracker 

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



[issue40084] HTTPStatus has incomplete dir() listing

2020-09-21 Thread miss-islington


Change by miss-islington :


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

___
Python tracker 

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



[issue40084] HTTPStatus has incomplete dir() listing

2020-09-21 Thread Ethan Furman


Ethan Furman  added the comment:


New changeset 68526fe258da8c01196fd7cf48e8e5f1280bf8fd by Angelin BOOZ in 
branch 'master':
bpo-40084: Enum - dir() includes member attributes (GH-19219)
https://github.com/python/cpython/commit/68526fe258da8c01196fd7cf48e8e5f1280bf8fd


--

___
Python tracker 

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



[issue40084] HTTPStatus has incomplete dir() listing

2020-09-21 Thread miss-islington


Change by miss-islington :


--
pull_requests: +21384
pull_request: https://github.com/python/cpython/pull/22339

___
Python tracker 

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



[issue41816] need StrEnum in enum.py

2020-09-21 Thread Ethan Furman


Change by Ethan Furman :


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

___
Python tracker 

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



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

2020-09-21 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 1b328ea9a7d15de4a8c9d0eb8aee94f6c75c1b46 by Mohamed Koubaa in 
branch 'master':
bpo-1635741: Convert an  _lsprof method to argument clinic (GH-22240)
https://github.com/python/cpython/commit/1b328ea9a7d15de4a8c9d0eb8aee94f6c75c1b46


--

___
Python tracker 

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



[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch

2020-09-21 Thread Christian Heimes


Christian Heimes  added the comment:

Did you set an rpath, reconfigure ldconfig, or LD_LIBRARY_PATH env var? If not 
then you compiled Python with an alternative OpenSSL installation but did not 
instruct the ld to load the alternative shared libraries. --with-openssl only 
modifies header and linker search, not dynamic loader options.

The command

ldd $(find build -name '_ssl*.so')

will should you what shared OpenSSL libraries the dynamic linker will load.

I wrote a script to download and compile OpenSSL and then run Python's test 
suite with exactly that OpenSSL build:

./configure
make
./python Tools/ssl/multissltests.py --openssl=1.1.1g

--

___
Python tracker 

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



[issue40084] HTTPStatus has incomplete dir() listing

2020-09-21 Thread Ethan Furman


Change by Ethan Furman :


--
versions: +Python 3.10 -Python 3.7

___
Python tracker 

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



[issue41758] turtledemo.colormixer crashes with a stack overflow

2020-09-21 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

Without a reproducible error, we cannot do anything.

--
resolution:  -> works for me
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



[issue41810] Consider reintroducing `types.EllipsisType` for the sake of typing

2020-09-21 Thread Mark Shannon


Mark Shannon  added the comment:

I can't resist the pun on typing.
`type(...)` is the least typing :)

More seriously,

>From a general consistency point of view,
if this is to be added, shouldn't `types.NoneType` and 
`types.NotImplementedType` be added as well?

--
nosy: +Mark.Shannon

___
Python tracker 

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



[issue41756] Do not always use exceptions to return result from coroutine

2020-09-21 Thread Mark Shannon


Mark Shannon  added the comment:

Yury,

Why was the PR merged with a new API function `PyGen_Send`?

I explicitly said that any new API function should *not* start with `PyGen`, 
nor should any function rely on generators and async "coroutines" sharing the 
same memory layout.

If you disagree with me, please say why, don't just merge the PR.

The name `PyGen` is misleading as it can handle coroutines as well as 
generators.
There is no performance advantage to only handling these two types.
Worse, it requires that a `PyCoroObject` can always be cast to a `PyGenObject`, 
preventing better layout of either object in the future.


Would you revert the PR, please.

--

___
Python tracker 

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



[issue41810] Consider reintroducing `types.EllipsisType` for the sake of typing

2020-09-21 Thread Bas van Beek


Bas van Beek  added the comment:

If we're going ahead with this: PR https://github.com/python/cpython/pull/22336 
contains a concrete implementation of the proposed changes.

--

___
Python tracker 

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



[issue41821] Printing specific Unicode characters causes unwanted beeping in Windows 7 console

2020-09-21 Thread Eryk Sun


Eryk Sun  added the comment:

I've decided to close this issue since extending the "Using Python on Windows" 
section of the docs to recommend using a TrueType font in the console would 
only be generally useful for people using Python 3.8 with Windows 7. Python 
3.9+ requires Windows 8.1+, which defaults to using a TrueType font in console 
windows. In Windows 10, the console doesn't even support OEM "Raster Fonts", 
unless the option is selected to use the legacy console.

--
resolution:  -> third party
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



[issue41810] Consider reintroducing `types.EllipsisType` for the sake of typing

2020-09-21 Thread Bas van Beek


Change by Bas van Beek :


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

___
Python tracker 

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



[issue41819] Fix some compiler warnings

2020-09-21 Thread miss-islington


miss-islington  added the comment:


New changeset 7aa534c9567201d896408bc7d5a718b529868540 by Miss Islington (bot) 
in branch '3.9':
bpo-41819: Fix compiler warning in init_dump_ascii_wstr() (GH-22332)
https://github.com/python/cpython/commit/7aa534c9567201d896408bc7d5a718b529868540


--

___
Python tracker 

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



[issue35247] test.test_socket.RDSTest.testPeek hangs indefinitely

2020-09-21 Thread STINNER Victor


STINNER Victor  added the comment:

I don't know what is RDS. How can I enable it on my Fedora?

10:54:43 vstinner@apu$ ./python -m test test_socket -m RDSTest -v

testPeek (test.test_socket.RDSTest) ... skipped 'RDS sockets required for this 
test.'
testSelect (test.test_socket.RDSTest) ... skipped 'RDS sockets required for 
this test.'
testSendAndRecv (test.test_socket.RDSTest) ... skipped 'RDS sockets required 
for this test.'
testSendAndRecvMsg (test.test_socket.RDSTest) ... skipped 'RDS sockets required 
for this test.'
testSendAndRecvMulti (test.test_socket.RDSTest) ... skipped 'RDS sockets 
required for this test.'

$ ./python
Python 3.8.6rc1+ (heads/3.8:e3d0e9bab9, Sep 10 2020, 16:05:50) 
[GCC 10.2.1 20200723 (Red Hat 10.2.1-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import socket; socket.socket(socket.PF_RDS, socket.SOCK_SEQPACKET, 0)
(...)
OSError: [Errno 97] Address family not supported by protocol

--

___
Python tracker 

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



[issue1823] Possible to set invalid Content-Transfer-Encoding on email.mime.multipart.MIMEMultipart

2020-09-21 Thread STINNER Victor


Change by STINNER Victor :


--
nosy:  -vstinner

___
Python tracker 

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



[issue41819] Fix some compiler warnings

2020-09-21 Thread STINNER Victor


STINNER Victor  added the comment:

> ./Python/initconfig.c:2677:38: warning: format specifies type 'wint_t' (...)

Is there the only warning that you want to fix? Can we close the issue? Or are 
there other remaining warnings?

--

___
Python tracker 

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



[issue41819] Fix some compiler warnings

2020-09-21 Thread miss-islington


Change by miss-islington :


--
pull_requests: +21380
pull_request: https://github.com/python/cpython/pull/22335

___
Python tracker 

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



[issue41819] Fix some compiler warnings

2020-09-21 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 3.0 -> 4.0
pull_requests: +21379
pull_request: https://github.com/python/cpython/pull/22334

___
Python tracker 

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



[issue41819] Fix some compiler warnings

2020-09-21 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset c322948892438a387d752ec18d1eb512699a4d67 by Samuel Marks in 
branch 'master':
bpo-41819: Fix compiler warning in init_dump_ascii_wstr() (GH-22332)
https://github.com/python/cpython/commit/c322948892438a387d752ec18d1eb512699a4d67


--

___
Python tracker 

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



[issue24403] Missing fixer for changed round() behavior

2020-09-21 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


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



[issue41819] Fix some compiler warnings

2020-09-21 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
nosy: +vstinner

___
Python tracker 

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