[issue43970] Optimize Path.cwd() in pathlib

2021-04-28 Thread Kevin Follstad


New submission from Kevin Follstad :

python3.10 -m timeit -r 5 -n 10 -s 'from pathlib import Path' 'Path.cwd()'
10 loops, best of 5: 206 usec per loop

python3.10-mypatch -m timeit -r 5 -n 10 -s 'from pathlib import Path' 
'Path.cwd()'
10 loops, best of 5: 156 usec per loop

--
components: Library (Lib)
messages: 392255
nosy: kfollstad
priority: normal
severity: normal
status: open
title: Optimize Path.cwd() in pathlib
type: performance
versions: Python 3.10

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



[issue43970] Optimize Path.cwd() in pathlib

2021-04-28 Thread Kevin Follstad


Change by Kevin Follstad :


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

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



[issue44040] Update broken link in pathlib source

2021-05-04 Thread Kevin Follstad


New submission from Kevin Follstad :

Update broken link (repeated in several places) in pathlib sources.

- # (see https://bitbucket.org/pitrou/pathlib/issue/12/)
+ # (see 
http://web.archive.org/web/20200623061726/https://bitbucket.org/pitrou/pathlib/issues/12/
 )

--
assignee: docs@python
components: Documentation
messages: 392960
nosy: docs@python, kfollstad
priority: normal
severity: normal
status: open
title: Update broken link in pathlib source
versions: Python 3.10

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



[issue44040] Update broken link in pathlib source

2021-05-04 Thread Kevin Follstad


Change by Kevin Follstad :


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

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



[issue24132] Direct sub-classing of pathlib.Path

2021-05-28 Thread Kevin Follstad


Change by Kevin Follstad :


--
nosy: +kfollstad
nosy_count: 11.0 -> 12.0
pull_requests: +25030
pull_request: https://github.com/python/cpython/pull/26438

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



[issue24132] Direct sub-classing of pathlib.Path

2021-06-24 Thread Kevin Follstad


Change by Kevin Follstad :


--
pull_requests: +25482
pull_request: https://github.com/python/cpython/pull/26906

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



[issue44514] configparser.rst & bz2.rst leave temp files after 'make doctest'

2021-06-25 Thread Kevin Follstad


New submission from Kevin Follstad :

Both Docs/library/configparser.rst and Docs/library/bz2.rst create untracked 
temp files on the filesystem when 'make doctest' is run because testcleanup 
directives are absent in these files.

--
assignee: docs@python
components: Documentation
messages: 396541
nosy: docs@python, kfollstad
priority: normal
severity: normal
status: open
title: configparser.rst & bz2.rst leave temp files after 'make doctest'
type: behavior
versions: Python 3.10, Python 3.11, Python 3.8, Python 3.9

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



[issue44514] configparser.rst & bz2.rst leave temp files after 'make doctest'

2021-06-25 Thread Kevin Follstad


Change by Kevin Follstad :


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

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