New submission from Julien Palard :
In case an `.. audit-event::` has a content, Sphinx gets confused:
It will provide both "auto-generated" and the content in po files, for
interactivehook for example we have:
#: library/sys.rst:953
msgid ""
"Raise
Change by Julien Palard :
--
keywords: +patch
pull_requests: +23704
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/24945
___
Python tracker
<https://bugs.python.org/issu
New submission from Julien Palard :
In https://docs.python.org/3/library/unittest.html I see:
> Note that you need to the top level directory too.
Trying to guess, the missing word may be "specify":
> Changed in version 3.4: Test discovery supports namespace packages for st
Julien Palard added the comment:
I should have monitored this more closely, I started monitoring it weekly, then
life got over until today when I'm even surprised to see activity on the issue,
sry!
(Surprise leading me to investigate why I had not received notifications from
bpo, le
Julien Palard added the comment:
> I propose to remove the namespace package support entirely.
I'm no unittest expert, but I have nothing against removing it.
I totally agree to at least remove it from the doc while it does
Julien Palard added the comment:
New changeset 2abbd8f2add5e80b86a965625b9a77ae94a101cd by Zackery Spytz in
branch 'master':
bpo-43954: Fix a missing word in the unittest docs (GH-25672)
https://github.com/python/cpython/commit/2abbd8f2add5e80b86a965625b9a77
Julien Palard added the comment:
As far as this issue is concerned, it's fixed.
The discussion about this feature not working can continue in the appropriate
issue (23882)
--
resolution: -> fixed
stage: patch review -> resolved
status: ope
Julien Palard added the comment:
Thanks Mohamed for the issue and Terry for fixing it.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Julien Palard added the comment:
This is interesting!
Also notice the footer: Last updated on Jul 26, 2020.
I checked on the docsbuild server and found the `symbol.html` file was marked
as modified today (probably by the build cron) (and it contains the "Last
updated on Jul 26,
Julien Palard added the comment:
After the cron passed, and after purging the HTTP cache, it now 404:
$ curl https://docs.python.org/3.10/library/symbol.html
404 Not Found
Thanks for noticing!
--
resolution: -> fixed
stage: -> resolved
status: open -&g
Julien Palard added the comment:
I `rm -fr 3.10` on the doc server yesterday, so it started 3.10 from scratch
today and the file were properly removed.
--
___
Python tracker
<https://bugs.python.org/issue44
Change by Julien Palard :
--
keywords: +easy, newcomer friendly
___
Python tracker
<https://bugs.python.org/issue43504>
___
___
Python-bugs-list mailin
Change by Julien Palard :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Julien Palard :
--
pull_requests: +25163
pull_request: https://github.com/python/cpython/pull/26575
___
Python tracker
<https://bugs.python.org/issue42
Julien Palard added the comment:
New changeset 227a09325e7bf82ecd303b4696c054a086b29a00 by Julien Palard in
branch 'main':
bpo-42238: Doc CI: Disable suspicious checks. (GH-26575)
https://github.com/python/cpython/commit/227a09325e7bf82ecd303b4696c054
Julien Palard added the comment:
Hi all! Thanks for reporting! I'm taking a look at it.
--
assignee: docs@python -> mdk
___
Python tracker
<https://bugs.python.org
Julien Palard added the comment:
I added a git clean in docsbuild scripts to switch from one version to another:
https://github.com/python/docsbuild-scripts/commit/1397a8dbe4c73744757ad24764baeb393842f30b
It should be enough to correctly start fresh from one lang to another and from
one
Julien Palard added the comment:
Spotted a true positive in b19f45533942e4ad7ddf9d2d94f8b87c6f746bce:
:const:``None``
(I'm trying to build a true positive list, to have usefull cases where
suspicious is usefull, so in the long term I can maybe implement those cases in
rslint in
Julien Palard added the comment:
The previous one could probably be implemented in rstlint using (an equivalent
of):
git grep ':[a-z]\+:``[^:` ]+``' Doc/
Maybe specialized to known roles, like the script specializes to known
Julien Palard added the comment:
Thanks all for reporting and following on the issue.
The fix on docsbuild script worked as expected and the page now 404 as expected
as it does no logner exists in 3.11:
https://docs.python.org/3.11/library/parser.html
--
resolution: -> fixed
st
Julien Palard added the comment:
> My computer is only configured for English. Running Firefox 90.0b9 (64-bit)
> on macOS 11.4 (20F71).
To add to this, it had nothing to do with your setup, the file was just lying
here on the server due to the previous build happening on the same hie
Julien Palard added the comment:
Another true positive:
... versionchanged:: 3.11
from : 6cb145d23f5cf69b6d7414877d142747cd3d134c /
https://github.com/python/cpython/pull/26820
I also think it can be implemented in rstlint.
--
___
Python
Change by Julien Palard :
--
pull_requests: +25530
pull_request: https://github.com/python/cpython/pull/26966
___
Python tracker
<https://bugs.python.org/issue42
Julien Palard added the comment:
New changeset 01331f1a3cf86fd308e9a134bb867bf01fb191f5 by Julien Palard in
branch 'main':
bpo-42238: rstlint: Add two new checks. (GH-26966)
https://github.com/python/cpython/commit/01331f1a3cf86fd308e9a134bb867b
Change by Julien Palard :
--
pull_requests: +25787
pull_request: https://github.com/python/cpython/pull/27238
___
Python tracker
<https://bugs.python.org/issue42
Julien Palard added the comment:
Another one \o/
Fix in: https://github.com/python/cpython/pull/27238
It is:
:func:pdb.main
Detected by make suspicious as:
WARNING: [whatsnew/changelog:320] ":func" found in ": Refactor argument
processing in :func:pdb.m
Change by Julien Palard :
--
pull_requests: +26391
pull_request: https://github.com/python/cpython/pull/27945
___
Python tracker
<https://bugs.python.org/issue42
Julien Palard added the comment:
10 false positives today, see:
https://github.com/python/cpython/pull/27945/files
I think I now need to put a deadline on this issue, let's say: one year without
true positives and I drop it, so 2021-07-19 for now.
(In the meantime, I continue to co
Julien Palard added the comment:
New changeset 21fa8547921d28b80b8a88d034081cab000d5480 by Julien Palard in
branch 'main':
bpo-42238: [doc] Some more make suspicious false positives. (GH-27945)
https://github.com/python/cpython/commit/21fa8547921d28b80b8a88d034081c
Change by Julien Palard :
--
pull_requests: +26576
pull_request: https://github.com/python/cpython/pull/28137
___
Python tracker
<https://bugs.python.org/issue42
Julien Palard added the comment:
New changeset 37272f5800ee1e9fcb2da4a1766366519b9b3d94 by Julien Palard in
branch 'main':
bpo-42238: [doc] remove unused, and deduplicate, suspicious ignore rules.
(GH-28137)
https://github.com/python/cpython/commit/37272f5800ee1e9fcb2da4a1766366
Change by Julien Palard :
--
pull_requests: +27019
pull_request: https://github.com/python/cpython/pull/28651
___
Python tracker
<https://bugs.python.org/issue10
Julien Palard added the comment:
Tried myself at it.
I'm not a front-end guy, fasten your seatbelts.
I tried to keep it minimal, but after some work the change is not that small, I
focused on the HTML modernization only, not the design (to try to land at least
a first step t
Julien Palard added the comment:
This still happen, but it's hard to tell if it'll happen from blurb, as when
it's two paragraphs consisting of a text and a list it does not happen, sphinx
just put the list as a sublist and it's clean.
I don't want to tell people s
Julien Palard added the comment:
New changeset 9be930f9b169fb3d92693670ae069df902709b83 by Bibo-Joshi in branch
'main':
bpo-28206: Document signals Handlers, Sigmasks and Signals enums (GH-28628)
https://github.com/python/cpython/commit/9be930f9b169fb3d92693670ae069d
Julien Palard added the comment:
Does someone want to review https://github.com/python/cpython/pull/28651?
--
___
Python tracker
<https://bugs.python.org/issue10
Julien Palard added the comment:
Those two looks legit to me.
--
nosy: +mdk
___
Python tracker
<https://bugs.python.org/issue45411>
___
___
Python-bugs-list m
Julien Palard added the comment:
New changeset c91b6f57f3f75b482e4a9d30ad2afe37892a8ceb by Julien Palard in
branch 'main':
bpo-10716: Migrating pydoc to html5. (GH-28651)
https://github.com/python/cpython/commit/c91b6f57f3f75b482e4a9d30ad2afe
Change by Julien Palard :
--
pull_requests: +27143
pull_request: https://github.com/python/cpython/pull/28827
___
Python tracker
<https://bugs.python.org/issue42
Julien Palard added the comment:
New suspicious today:
[library/typing:1011] "`" found in "# Type of ``val`` is narrowed
to ``list[str]``."
But it's only because the old one with List[str] instead of list[str] was in
susp-ignored.csv, so I just fixed s
Julien Palard added the comment:
New changeset d74da9e140441135a4eddaef9a37f00f32579038 by Josephine-Marie in
branch 'main':
bpo-45411: Update mimetypes.py (GH-28792)
https://github.com/python/cpython/commit/d74da9e140441135a4eddaef9a37f0
Julien Palard added the comment:
DING DING DING DING DING DING, a new one today, and a true positive for `make
suspicious`, fixed in:
https://github.com/python/cpython/pull/28988/files
(along with the test added to rstlint)
--
___
Python tracker
New submission from Julien Palard :
In IDLE, when hitting Ctrl-space on `matc` or `cas`, there's no completion to
`match` and `case.
References:
https://mail.python.org/archives/list/d...@python.org/thread/DRZIHLQU25JUD7IQKCOIIKI4ADB746MA/
--
assignee: terry.reedy
components:
New submission from Julien Palard :
I realized that many students get surprised by `python -m venv .venv` not
printing anything, a few even think it completly failed.
I'm OK teaching them this is normal, as `mv`, `cp`, `rm`, `django-admin
startproject`, ... does not print neither when
New submission from Julien Palard :
When running `python -c 'raise ValueError'` Python tries to open the ''
file, so:
$ echo Coucou > ''
$ python -c 'raise ValueError'
Traceback (most recent call last):
File "", line 1, i
New submission from Julien Palard :
In Doc/extending/newtypes one can read:
> This function is called with two Python objects and the operator as
> arguments, where the operator is one of Py_EQ, Py_NE, Py_LE, Py_GT, Py_LT or
> Py_GT.
It bet one of them should be Py_GE.
(I let th
New submission from Julien Palard :
Currently if ensurepip fails for a reason or another, for example if a wrong
module gets imported:
$ touch http.py
$ python3.10 -m venv .venv
Error: Command '['/tmp/.venv/bin/python3.10', '-Im', 'ensurepip', '--upgrad
Julien Palard added the comment:
A new false positive today from 31b3a70edb1216bdc8fab3b2eafd8ddb00487f41:
https://docs.python.org/dev/reference/datamodel.html#class-getitem-versus-getitem
in:
should be called::
from inspect import isclass
def subscribe(obj, x
Change by Julien Palard :
--
pull_requests: +27867
pull_request: https://github.com/python/cpython/pull/29636
___
Python tracker
<https://bugs.python.org/issue42
Change by Julien Palard :
--
pull_requests: +27893
pull_request: https://github.com/python/cpython/pull/29652
___
Python tracker
<https://bugs.python.org/issue42
Julien Palard added the comment:
/!\ rstlint did triggered some false positive:
https://github.com/python/cpython/pull/29389/commits/f8ea20a0b51711b1c352c4aa4663cb953e7ebdc8
--
___
Python tracker
<https://bugs.python.org/issue42
Julien Palard added the comment:
A new false positive in b48ac6fe38b2fca9963b097c04cdecfc6083104e:
+++ b/Misc/NEWS.d/next/Tests/2021-11-23-12-36-21.bpo-45878.eOs_Mp.rst
@@ -0,0 +1,2 @@
+Test ``Lib/ctypes/test/test_functions.py::test_mro`` now uses
+``self.assertRaises
Julien Palard added the comment:
So, for newcomers finding this via "easy issues", go for it, you can fix this
one :)
On the different subjects discussed:
# Mass-edit the stdlib
We all agree that we should not mass-edit stdlib, (yet upgrading %-formatting
to a newer syntax when
Julien Palard added the comment:
Let's start slowly by warning when a non-set is given to the __or__ of dictview?
I think it is just a side effect of the current implementation, not a feature.
--
___
Python tracker
<https://bugs.py
Julien Palard added the comment:
I like the idea and I think I will use it!
As it's a bit long to type, I'm searching if other shorter variants could be
usefull like:
python3 -m venv --here
python3 -m venv --cwd
python3 -m venv --project
being the equivalent of `pytho
Julien Palard added the comment:
I've already seen Sphinx giving inconsistent warnings about inconsistent terms
references, see https://github.com/sphinx-doc/sphinx/issues/3985.
I would recommand fixing all other warnings in the file first, then tell us how
it
Change by Julien Palard :
--
nosy: +mdk
___
Python tracker
<https://bugs.python.org/issue1681671>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Julien Palard :
see: https://github.com/sphinx-doc/sphinx/pull/6970
--
assignee: mdk
components: Documentation
messages: 359996
nosy: mdk
priority: normal
severity: normal
status: open
title: python specific index directives in our doc has been deprecated 10 years
Change by Julien Palard :
--
keywords: +patch
pull_requests: +17405
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/18004
___
Python tracker
<https://bugs.python.org/issu
Julien Palard added the comment:
PR 17062 about stating it's a space by default has been rejected.
I also feel we should just enhance the space width in the prototype.
I personally see the space, but as it's in italic, I can understand it's very
easy to miss it.
I like t
New submission from Julien Palard :
Currently the curses module can raise some `_curses.error` exception directly
inheriting `Exception`.
This make it non-trivial for a newcomer to catch (they think they need a `from
_curses import error`, or an `except Exception`, but in fact `error` is
New submission from Julien Palard :
According to [1][2] the documentation about return in finally statement is
missleading in [3].
It currently states:
> If a finally clause includes a return statement, the finally clause’s return
> statement will execute before, and instead of, the
Change by Julien Palard :
--
keywords: +patch
pull_requests: +17697
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/18324
___
Python tracker
<https://bugs.python.org/issu
Julien Palard added the comment:
New changeset 5807efd4c396d5718325e21f5a14e324a77ff77c by Adorilson Bezerra in
branch 'master':
bpo-38558: Link to further docs from walrus operator mention in tutorial
(GH-16973)
https://github.com/python/cpyt
Julien Palard added the comment:
New changeset 446463f8dbce0556be8020914f37089b63bb8ab6 by Julien Palard in
branch 'master':
bpo-39534: Doc: Clarify return in finally (GH-18324)
https://github.com/python/cpython/commit/446463f8dbce0556be8020914f3708
Julien Palard added the comment:
New changeset 5305cc9dbfe8a5a0ab666511f3ba7f026c8983f8 by idomic in branch
'master':
bpo-39128: Added happy_eyeballs_delay, interleave to function signature
(GH-18315)
https://github.com/python/cpython/commit/5305cc9dbfe8a5a0ab666511f3ba7f
Julien Palard added the comment:
I merged the first PR about adding parameter, but I'm not closing this issue
yet, as Andrew said, a small chapter with a description of Happy Eyeballs
algorithm would be nice, if anyone want to write a PR, go f
Change by Julien Palard :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Julien Palard added the comment:
Asked on gh:
> this is a "security guidance for standard library modules" index?
(I'm not sure to understand the question exactly)
I think it could be usefull from a reviewer point of view to have such index so
he can iterate over it
Julien Palard added the comment:
This has been resolved in https://github.com/python/python-docs-fr/pull/1153 I
bet Frédéric is the author so thank you for the PR.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -&g
Julien Palard added the comment:
Merged Cheryl's patch (thanks Cheryl!).
pengyu.ut if you want to test it you'll be able to see generated PDF in a
maximum of 24h from now on [1].
Don't hesitate to ask if you need them for 3.8 we can backport it.
[1]: https://docs
New submission from Julien Palard :
In https://docs.python.org/3/library/calendar.html#calendar.LocaleTextCalendar
I read "If this locale includes an encoding all strings containing month and
weekday names will be returned as unicode."
`unicode` here is a mention of the `unicode`
Julien Palard added the comment:
Can reproduce in:
- 3.8.0
- 3.8.2
- 3.7.6
--
nosy: +mdk
___
Python tracker
<https://bugs.python.org/issue39758>
___
___
Pytho
New submission from Julien Palard :
During the past few weeks we got two reports of an example not working in the
tutorial: [1], [2].
[1]:
https://mail.python.org/archives/list/d...@python.org/message/ZJM3S2TE5UPFYIII5R4VQ4KY2WN4TKVO/
[2]:
https://mail.python.org/archives/list/d
New submission from Julien Palard :
Geoff Cutter noticed via docs@ that escape is not defined in the glossary.
I concur with the idea of adding it, opening as an "easy" issue, even if
finding a good definition might not be that easy.
--
assignee: docs@python
components: Doc
Julien Palard added the comment:
Hi Chris, which exception did you got exactly? Was it caused by the r| mode or
by a symlink (or file) already existing?
--
nosy: +mdk
___
Python tracker
<https://bugs.python.org/issue12
Julien Palard added the comment:
I'll try to track this closely, the drop of `make suspicious` has been merged
in master, but not backported yet, one week ago.
Up to today, no commit has introduced suspicious warnings (0 false positive, 0
false negative).
I think I'll soon backp
Change by Julien Palard :
--
pull_requests: +22488
pull_request: https://github.com/python/cpython/pull/23620
___
Python tracker
<https://bugs.python.org/issue36
Julien Palard added the comment:
Thanks for reporting!
This will be fixed soon: https://github.com/python/cpython/pull/23620
I'm marking issue42324 as duplicate of issue36675.
--
nosy: +mdk
resolution: -> duplicate
stage: -> resolved
status: open -> closed
supersede
Julien Palard added the comment:
New changeset c8a10d2fabff492ab352501c316baf5f2fc6510e by Julien Palard in
branch 'master':
bpo-36675: Doc: Reveal doctest directives (GH-23620)
https://github.com/python/cpython/commit/c8a10d2fabff492ab352501c316baf
Julien Palard added the comment:
Today I spotted one error that suspicious could have spotted:
-both ``Callable``s no longer validate their ``argtypes``, in
+both ``Callable``\ s no longer validate their ``argtypes``, in
I'm fixing it in https://github.com/python/cpython/pull/
Change by Julien Palard :
--
pull_requests: +22662
pull_request: https://github.com/python/cpython/pull/23802
___
Python tracker
<https://bugs.python.org/issue42
Julien Palard added the comment:
I created https://github.com/python/cpython/pull/23802 with a port of the
"wrong backtick detector" (at least, one aspect from it) from suspicious to
rstlint.
I dropped the suspicious check three weeks ago, and found a single committed
issue
Julien Palard added the comment:
New changeset c590c2338e5a36cf3ce5b55e6d366a0675ed1db5 by Irit Katriel in
branch 'master':
bpo-23915: update and elucidate documentation of with_traceback (GH-23680)
https://github.com/python/cpython/commit/c590c2338e5a36cf3ce5b55e6d366a
Change by Julien Palard :
--
resolution: -> not a bug
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue23915>
___
___
Python-bugs-
Julien Palard added the comment:
New changeset 886b2e5c7a2caf87070728dba8f18c3d65e51071 by Mark Dickinson in
branch 'master':
bpo-39096: Format specification documentation fixes for numeric types (GH-23575)
https://github.com/python/cpython/commit/886b2e5c7a2caf87070728dba8f18c
Change by Julien Palard :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Julien Palard added the comment:
New changeset b9735420aa8ecd2555fe3dc000863bc50487334b by Julien Palard in
branch 'master':
bpo-42238: Check Misc/NEWS.d/next/ for reStructuredText issues. (GH-23802)
https://github.com/python/cpython/commit/b9735420aa8ecd2555fe3dc000863b
Change by Julien Palard :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Julien Palard added the comment:
Is it fixed?
--
___
Python tracker
<https://bugs.python.org/issue42042>
___
___
Python-bugs-list mailing list
Unsubscribe:
Julien Palard added the comment:
New changeset 8c5d0347efd16f16dfb9596715e449cd928b89c8 by Ammar Askar in branch
'master':
bpo-34398: Allow glossary results to show up on search page (GH-8773)
https://github.com/python/cpython/commit/8c5d0347efd16f16dfb9596715e449
Julien Palard added the comment:
New changeset e8d22642105d57007ab1242848a8cbadc7f179df by Andre Delfino in
branch 'master':
bpo-36769: Document that fnmatch.filter supports any kind of iterable (#13039)
https://github.com/python/cpython/commit/e8d22642105d57007ab1242848a8cb
Julien Palard added the comment:
New changeset d515c610c61b9a8c40c037a3dc3bfc8d67563658 by Géry Ogam in branch
'master':
bpo-35790: Correct the description of sys.exc_info() and add a code example
(GH-11625)
https://github.com/python/cpython/commit/d515c610c61b9a8c40c037a3dc3bfc
Change by Julien Palard :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Julien Palard added the comment:
Happy Christmas, everybody involved in this issue! I'm happy to announce this
issue is resolved since a few days \o/
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
Change by Julien Palard :
--
keywords: +patch
pull_requests: +22924
stage: commit review -> patch review
pull_request: https://github.com/python/cpython/pull/24093
___
Python tracker
<https://bugs.python.org/issu
New submission from Julien Palard :
This is just to track the issue, initially reported here:
https://github.com/python/python-docs-theme/issues/63
Then discussed here:
https://github.com/python/cpython/pull/23827#issuecomment-753598860
Then reverted:
- in 3.8 https://github.com/python
Change by Julien Palard :
--
pull_requests: +22925
pull_request: https://github.com/python/cpython/pull/24092
___
Python tracker
<https://bugs.python.org/issue42
New submission from Julien Palard :
Tested in 3.9.0 and master (127dde5916):
$ cat test.py
eval(
"""[file for str(file) in []
]
"""
)
$ ./python test.py
python: Parser/pegen.c:149: byte_offset_to_character_offset: Assertion
`col_offset >= 0 &&
Julien Palard added the comment:
According to git bisect it come from 01ece63d42b830df106948db0aefa6c1ba24416a,
thanks Victor for adding Lysandros, you had a good feeling :)
--
___
Python tracker
<https://bugs.python.org/issue42
101 - 200 of 685 matches
Mail list logo