[issue40814] Update typing module documentation based on PEP 585

2020-05-29 Thread Florian Dahlitz


Change by Florian Dahlitz :


--
nosy: +DahlitzFlorian

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



[issue40798] The deprecated-removed Sphinx extension need to change the error message based on the Python version

2020-05-28 Thread Florian Dahlitz


Change by Florian Dahlitz :


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

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



[issue40798] The deprecated-removed Sphinx extension need to change the error message based on the Python version

2020-05-28 Thread Florian Dahlitz


Florian Dahlitz  added the comment:

I would like to submit a PR for it if possible.

--

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



[issue40798] The deprecated-removed Sphinx extension need to change the error message based on the Python version

2020-05-28 Thread Florian Dahlitz


Change by Florian Dahlitz :


--
nosy: +DahlitzFlorian

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



[issue40804] Bug report in python3.6.8 using argparse module

2020-05-28 Thread Florian Dahlitz


Change by Florian Dahlitz :


--
nosy: +DahlitzFlorian

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



[issue40283] Documentation of turtle.circle()

2020-05-24 Thread Florian Dahlitz


Florian Dahlitz  added the comment:

I tested it and can confirm the findings from @cajetan.rodrigues. However, this 
does not seem to be _not_ documented. The documentation clearly states that 
using a positive value for radius results in a counter-clockwise direction, 
whereas a negative number results in a clockwise direction. This is true.

Now, let's have a look at using radius _together_ with extent, which is not 
(clearly) documented as this point. Using a positive value results in the same 
direction, but in a not full drawn circle. This seems intuitive and is 
documented:

If extent is not given, draw the entire circle.
If extent is not a full circle, one endpoint of the arc is the current pen 
position.

Using a negative value changes the direction of radius, which does also seem 
reasonable and intuitive.

My suggestion is not to replace "radius" by "extent" as suggested by @guchao as 
it is IMHO wrong. But I agree that it would be good to leave a note there or to 
add examples demonstrating the behaviour of different (signed) values of radius 
and extent, so the intent and behaviour is clearly documented.

--
nosy: +DahlitzFlorian

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



[issue40670] supplying an empty string to timeit causes an IndentationError

2020-05-23 Thread Florian Dahlitz


Florian Dahlitz  added the comment:

@terry.reedy sorry if I misunderstood you, but it seems to me that you agree 
with the proposed changes?

--

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



[issue40568] Modify -c command-line option to accept multiple inputs

2020-05-23 Thread Florian Dahlitz


Change by Florian Dahlitz :


--
nosy:  -DahlitzFlorian

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



[issue40726] ast.Call end_lineno is defined and returns None

2020-05-23 Thread Florian Dahlitz


Change by Florian Dahlitz :


--
nosy:  -DahlitzFlorian

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



[issue40701] tempfile mixes str and bytes in an inconsistent manner

2020-05-23 Thread Florian Dahlitz


Change by Florian Dahlitz :


--
nosy:  -DahlitzFlorian

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



[issue30756] ttk: GUI tests fail on Ubuntu

2020-05-23 Thread Florian Dahlitz


Florian Dahlitz  added the comment:

I'm on Ubuntu 20.04 64-bit, ran the command provided and got

  Ran 303 tests in 18.900s
  
  OK

I was running against the master branch.

--
nosy: +DahlitzFlorian

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



[issue40640] Tutorial for Continue missing ... line

2020-05-23 Thread Florian Dahlitz


Florian Dahlitz  added the comment:

I pointed you to the quick guide. In fact, you fork the cpython repository, 
create a new branch called fix-issue-40640, change the file 
Doc/tutorial/controlflow.rst and submit a PR agains the cpython master branch. 
As Rahul as already added all the versions to the issue that need a backport, 
the cpython bot will handle it for you. So you only need to submit a PR to the 
master branch. :)

--

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



[issue40640] Tutorial for Continue missing ... line

2020-05-22 Thread Florian Dahlitz


Florian Dahlitz  added the comment:

Please go head @docor...@sonic.net! It's a good one to get familiar with the 
process of contributing. Yes, PR stands for Pull Request.

There is the devguide (https://devguide.python.org/), which documents how to 
contribute. In fact, the quick guide may be sufficient. Feel free to ask any 
further questions, I'm eager to help!

--

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



[issue40730] Odd sentence in 3.9 What's New

2020-05-22 Thread Florian Dahlitz


Change by Florian Dahlitz :


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

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



[issue40730] Odd sentence in 3.9 What's New

2020-05-22 Thread Florian Dahlitz


Florian Dahlitz  added the comment:

Hi @eric.smith. I'm sure the first "to" can be removed. It sounds better this 
way. Am I free to open a PR?

--
nosy: +DahlitzFlorian

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



[issue40723] IDLE: make autocomplete test run without __main__.__file__

2020-05-22 Thread Florian Dahlitz


Florian Dahlitz  added the comment:

I added a news entry to idlelib/NEWS.txt but don't know, where to add an 
additional note. The documentation of IDLE doesn't seem to be the right place. 
Should a note be added to Misc/NEWS.d/next or would it be redundant, because it 
is already added to idlelib/NEWS.txt?

Sorry, if I misunderstood you, but it is my first contribution to IDLE. Thanks 
for the guidance, I really appreciate it!

--

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



[issue40568] Modify -c command-line option to accept multiple inputs

2020-05-22 Thread Florian Dahlitz


Change by Florian Dahlitz :


--
nosy: +DahlitzFlorian

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



[issue40640] Tutorial for Continue missing ... line

2020-05-22 Thread Florian Dahlitz


Florian Dahlitz  added the comment:

@docor...@sonic.net are you going to submit a PR for it or am I free to do it?

--
nosy: +DahlitzFlorian

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



[issue40726] ast.Call end_lineno is defined and returns None

2020-05-22 Thread Florian Dahlitz


Change by Florian Dahlitz :


--
nosy: +DahlitzFlorian

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



[issue40723] IDLE: make autocomplete test run without __main__.__file__

2020-05-22 Thread Florian Dahlitz


Change by Florian Dahlitz :


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

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



[issue40721] PEP0435 (enums) -- there is no standard on enum item letters case

2020-05-22 Thread Florian Dahlitz


Florian Dahlitz  added the comment:

Should we add a note that there is no preferred way of naming enum members and 
provide a few examples or define some naming conventions?

--
nosy: +DahlitzFlorian

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



[issue40723] IDLE: make autocomplete test run without __main__.__file__

2020-05-22 Thread Florian Dahlitz


Florian Dahlitz  added the comment:

I was able to reproduce the reported issue and the suggested fix worked fine. 
Is there anything else missing like documentation note?

I would like to submit a PR for this @terry.reedy

--
nosy: +DahlitzFlorian

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



[issue40670] supplying an empty string to timeit causes an IndentationError

2020-05-21 Thread Florian Dahlitz


Florian Dahlitz  added the comment:

I see your point and agree with you. However, IMHO the CLI and the direct 
function call should behave the same way to not confuse users. The opened PR 
ensures that.

--

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



[issue40701] tempfile mixes str and bytes in an inconsistent manner

2020-05-21 Thread Florian Dahlitz


Change by Florian Dahlitz :


--
nosy: +DahlitzFlorian

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



[issue40691] misleading output from difflib unified_diff

2020-05-21 Thread Florian Dahlitz


Change by Florian Dahlitz :


--
nosy: +DahlitzFlorian

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



[issue40670] supplying an empty string to timeit causes an IndentationError

2020-05-21 Thread Florian Dahlitz


Change by Florian Dahlitz :


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

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



[issue40670] supplying an empty string to timeit causes an IndentationError

2020-05-21 Thread Florian Dahlitz


Florian Dahlitz  added the comment:

Calling timeit from command-line with the empty string defaults to 'pass'. I 
suggest to adopt this behaviour for calling timeit.timeit in the REPL as 
@edison.abahurire already suggested. I would be happy to submit a PR for it.

--

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



[issue29981] Update Index for set, dict, and generator 'comprehensions'

2020-05-21 Thread Florian Dahlitz


Florian Dahlitz  added the comment:

I guess it would have been good if I waited submitting a PR until you replied 
to my message. This way, I would have known that two separate PRs would be 
better suited here - sorry for that.

Nevertheless, I read the discussions here and in PR #995 and I'm pretty sure 
that the proposed changes do fit into the documentation (pretty similar to 
those from PR #995).

I'm eager to hear your or other people's feedback - thanks!

--

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



[issue40670] supplying an empty string to timeit causes an IndentationError

2020-05-21 Thread Florian Dahlitz


Change by Florian Dahlitz :


--
nosy: +DahlitzFlorian

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



[issue29981] Update Index for set, dict, and generator 'comprehensions'

2020-05-20 Thread Florian Dahlitz


Change by Florian Dahlitz :


--
keywords: +patch
pull_requests: +19552
pull_request: https://github.com/python/cpython/pull/20272

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



[issue29981] Update Index for set, dict, and generator 'comprehensions'

2020-05-20 Thread Florian Dahlitz


Florian Dahlitz  added the comment:

I would like to work on this issue if it is still open.

--
nosy: +DahlitzFlorian

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



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

2020-05-20 Thread Florian Dahlitz


Florian Dahlitz  added the comment:

Are you still working on this @Manjusaka?
If not, I would like to submit a patch for it.

--
nosy: +DahlitzFlorian

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



[issue40563] Support pathlike objects on dbm/shelve

2020-05-20 Thread Florian Dahlitz


Florian Dahlitz  added the comment:

Are you still working on this @hakancelik?

--
nosy: +DahlitzFlorian

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



[issue38979] ContextVar[str] should return ContextVar class, not None

2019-12-05 Thread Florian Dahlitz


Florian Dahlitz  added the comment:

I'd be happy to work on this!

--
nosy: +DahlitzFlorian

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



[issue38902] image/webp support in mimetypes

2019-11-29 Thread Florian Dahlitz


Change by Florian Dahlitz :


--
nosy: +DahlitzFlorian

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



[issue38901] Add a CLI flag to venv to use the pwd basename as the prompt

2019-11-24 Thread Florian Dahlitz


Change by Florian Dahlitz :


--
nosy: +DahlitzFlorian

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



[issue38524] functools.cached_property is not supported for setattr

2019-11-23 Thread Florian Dahlitz


Change by Florian Dahlitz :


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

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



[issue38524] functools.cached_property is not supported for setattr

2019-11-22 Thread Florian Dahlitz


Florian Dahlitz  added the comment:

It would be an honor for me to work on this issue (updating the docs) as my 
first CPython contribution.

--
nosy: +DahlitzFlorian

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



[issue38877] Python 3.9 build fails under Debian 9.11

2019-11-22 Thread Florian Dahlitz


Florian Dahlitz  added the comment:

My commands were as follows:

$ ./configure
$ make &> output_without.txt
$ ./configure --enable-optimizations
$ make &> output.txt

Doing a make clean before each make resolved the issue. Thanks Ned!
I searched through the README.md on GitHub and found a note about make clean. 
However, the Developer's Guide at python.org doesn't mention it in the Quick 
References. Should it be added?

--

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



[issue38877] Python 3.9 build fails under Debian 9.11

2019-11-21 Thread Florian Dahlitz


Change by Florian Dahlitz :


Added file: https://bugs.python.org/file48730/output_without.txt

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



[issue38877] Python 3.9 build fails under Debian 9.11

2019-11-21 Thread Florian Dahlitz


New submission from Florian Dahlitz :

Today, I tried to build Python 3.9 from source, which failed. Building it 
without optimizations enabled fails due to an Segmentation fault 
(output_without.txt) and building with optimizations fails with a profile-opt 
error (output.txt).

$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:Debian GNU/Linux bullseye/sid
Release:9.11
Codename:   stretch

--
components: Build
files: output.txt
messages: 357168
nosy: DahlitzFlorian
priority: normal
severity: normal
status: open
title: Python 3.9 build fails under Debian 9.11
type: compile error
versions: Python 3.9
Added file: https://bugs.python.org/file48729/output.txt

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