New submission from Michael Wayne Goodman :
Both the Python and C versions of xml.etree.ElementTree allow Element.extend()
to accept a sequence or an iterable, such as a generator expression (although
the docs only mention "sequence"; that's a separate problem):
>>> fr
Michael Wayne Goodman added the comment:
Also, the first sentences of third paragraph have some problems:
> For both the Unix and Windows versions of the constructor,
> access may be specified as an optional keyword
> parameter. access accepts one of four values: ACCESS_READ,
>
Michael Wayne Goodman added the comment:
I have added a draft PR on GitHub that adds the lists of constants. As
mentioned in the PR, there are a few things that I think could be added before
merging:
1. Update descriptions in mmap.mmap, and maybe the intro, to link to relevant
sections.
2
Change by Michael Wayne Goodman :
--
keywords: +patch
pull_requests: +27343
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/29075
___
Python tracker
<https://bugs.python.org/issu
New submission from Michael Wayne Goodman :
Some constants mentioned in the mmap module documentation are not listed as
module contents (i.e., with permalinks), so the mentions do not appear as links
and it's not explicit that they are in the mmap module namespace. For instance,
ACCESS_READ
Michael Wayne Goodman added the comment:
Sorry, typo in my last statement. I did *not* verify if the behavior is the
same with earlier/later versions.
--
___
Python tracker
<https://bugs.python.org/issue20
Michael Wayne Goodman added the comment:
Sorry to resurrect an old bug, but I've also found the docs lacking and I can
fill in some gaps with some experimental results. Setup:
>>> import sqlite3
>>> conn = sqlite3.connect(':memory:')
>>> conn.execute('
Change by Michael Wayne Goodman :
--
keywords: +patch
pull_requests: +22738
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/23876
___
Python tracker
<https://bugs.python.org/issu
New submission from Michael Wayne Goodman :
The documentation for xml.parsers.expat.errors.codes says:
A dictionary mapping numeric error codes to their string descriptions.
But this is backwards. It should say it maps the string descriptions to the
error codes. Likewise, the docs
Change by Michael Wayne Goodman :
--
keywords: +patch
pull_requests: +17154
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/17709
___
Python tracker
<https://bugs.python.org/issu
Michael Wayne Goodman added the comment:
Sure, no problem. I've just signed the CLA and forked the code. I'll wait a day
for the CLA check to clear then submit.
--
___
Python tracker
<https://bugs.python.org/issue39
New submission from Michael Wayne Goodman :
The documentation for Python 3.8 and higher still refer to 'clock' as an
accepted 'name' argument for time.get_clock_info() that returns a namespace
readable by time.clock(), despite time.clock() being removed since Python 3.8.
See the first bullet
12 matches
Mail list logo