Julien Palard added the comment:
Another true positive for make suspicious:
WARNING: [c-api/apiabiversion:70] ":macro" found in "the same format as the
c:macro:"
I'm working on implementing it on rstlint, in the meantime I opened:
=> https://github.com/pytho
New submission from Julien Palard :
Originally opened at: https://github.com/aio-libs/aiohttp/issues/6071
Reproducer:
import asyncio
class DumbProtocol(asyncio.Protocol):
def connection_made(self, transport):
print("Connection made")
self
Julien Palard added the comment:
Related to: https://bugs.python.org/issue23243
--
___
Python tracker
<https://bugs.python.org/issue46318>
___
___
Python-bug
Julien Palard added the comment:
Feel like SSLProtocol's connection_lost should "bubble up" the info by calling
SSLProtocolTransport's close.
But I'm no familiar with this stack.
--
___
Python tracker
<https:
Julien Palard added the comment:
This should be fixed in python-docs-theme==2022.1.
I'll close the issue when I actually see the fix applied on docs.python.org.
--
nosy: +mdk
___
Python tracker
<https://bugs.python.org/is
Change by Julien Palard :
--
keywords: +patch
pull_requests: +28728
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30527
___
Python tracker
<https://bugs.python.org/issu
Julien Palard added the comment:
I checked on docs.python.org and it's fixed.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.pyth
Julien Palard added the comment:
I don't know if it's related but _SSLPipe._shutdown_cb looks never called, in:
self._sslobj.unwrap()
self._sslobj = None
self._state = _UNWRAPPED
if self._shutdown_cb:
self._shutdown_cb()
the unwrap() call seems to always
Julien Palard added the comment:
> dev docs direct to `/license.html` which redirects to `/3/license.html`
All docs are redirecting to `/license.html`, this allow it to work also out of
docs.python.org.
> 3.9 docs have the same; wouldn’t it be better to have `/3.9/license.html`?
It
Julien Palard added the comment:
Probably related to https://bugs.python.org/issue44011 and
https://github.com/MagicStack/uvloop/pull/385
--
___
Python tracker
<https://bugs.python.org/issue46
Change by Julien Palard :
--
pull_requests: +29059
pull_request: https://github.com/python/cpython/pull/30879
___
Python tracker
<https://bugs.python.org/issue42
Julien Palard added the comment:
I slowly started to work on rstlint in its own tree because working in a single
file felt inconfortable.
The more I advanced in this direction the more it made sense to me:
- I first added tests, I may have been able to do so in the cpython tree though.
- It
Change by Julien Palard :
--
pull_requests: +29160
pull_request: https://github.com/python/cpython/pull/30981
___
Python tracker
<https://bugs.python.org/issue42
Julien Palard added the comment:
New changeset 44afdbd5af4503e376148e9404b9c7a4f595b1fe by Julien Palard in
branch 'main':
bpo-42238: [doc] Avoid hardcoding fast-moving lines in susp-ignored.csv.
(GH-30981)
https://github.com/python/cpython/commit/44afdbd5af4503e376148e9404b9c7
Julien Palard added the comment:
> You gave me a small shock, but I checked and it was only 11/12 years ago :D
HAha! Either I misstyped 12 as 21, either I'm bad at math, sorry for the shock
;)
> I'm fine with moving this out of tree; please coordinate with the Sphinx
>
Julien Palard added the comment:
OK, we have: https://github.com/sphinx-contrib/sphinx-lint
Ping me if you want rights :)
--
___
Python tracker
<https://bugs.python.org/issue42
Julien Palard added the comment:
Georg, I was able to move forward:
- https://github.com/sphinx-contrib/sphinx-lint
- https://pypi.org/project/sphinx-lint/
Does everything looks good to you?
Next step would be to remove rstlint.py from Docs/tools and add a dependency to
rstlint from the
Change by Julien Palard :
--
pull_requests: +29282
pull_request: https://github.com/python/cpython/pull/31097
___
Python tracker
<https://bugs.python.org/issue42
Julien Palard added the comment:
Oh, it's ~unrelated, but thanks for the heads up, I overlooked a Sentry error :D
It's related to: https://github.com/python/docsbuild-scripts/issues/122, let's
track it there.
(The visible effects are the same: the full build, reponsible f
Julien Palard added the comment:
New changeset b878b3af0b3a9e3ab3ffcaf90a4066dfb3bb7cac by Julien Palard in
branch 'main':
bpo-42238: [doc] moving from rstlint.py to sphinx-lint. (GH-31097)
https://github.com/python/cpython/commit/b878b3af0b3a9e3ab3ffcaf90a4066
Julien Palard added the comment:
News:
Hitting 3 months without a true positive from `make suspicious`, looks like
sphinxlint starting to take over properly, I hope to close this issue soon
(like in a few months maybe).
Also sphinxlint attracted some contributors [1] \o/
[1] https
Change by Julien Palard :
--
pull_requests: +30067
pull_request: https://github.com/python/cpython/pull/31977
___
Python tracker
<https://bugs.python.org/issue42
Change by Julien Palard :
--
pull_requests: +30159
pull_request: https://github.com/python/cpython/pull/32070
___
Python tracker
<https://bugs.python.org/issue42
Julien Palard added the comment:
New changeset ec8906fb5930b1f078e2a2170cdf445e6c6faf57 by Julien Palard in
branch 'main':
bpo-42238: [doc] Some lines moved in rst, but had hardcoded lineno in
susp-ignored.csv. (GH-32070)
https://github.com/python/cpyt
Julien Palard added the comment:
Since
https://github.com/python/cpython/commit/121f1f893a39d0b58d3d2b5597505c154ecaac2a,
`sys.getrefcount(1)` is surprising:
>>> __import__("sys").getrefcount(1)
100210
Should sys.getrefcount try to "fix" the value
Julien Palard added the comment:
Hum, and why 9? I am probably missing something obvious but 1 should be
enough to ensure the value never hits 0. Except for refcount bugs obviously,
but I don't think this is the right r
Julien Palard added the comment:
> Since you seem to be challenging the value of 9, my question to you
> is, why do you care what the refcount of 1 is?
Yesterday I was teaching Python, and we were speaking of integer immutability,
names being "labels to objects" and
Change by Julien Palard :
--
pull_requests: +30354
pull_request: https://github.com/python/cpython/pull/32292
___
Python tracker
<https://bugs.python.org/issue42
Julien Palard added the comment:
One true positive and one false positive this week, see:
- 7f9c084fdec7ddcfe8855aa79f98545591ae2261
- ec8906fb5930b1f078e2a2170cdf445e6c6faf57
--
___
Python tracker
<https://bugs.python.org/issue42
Julien Palard added the comment:
New changeset bdc497496548e30fa208a8d98c30bf6d1833ac4c by Julien Palard in
branch 'main':
bpo-42238: [doc]: make suspicious: false positive. (GH-32292)
https://github.com/python/cpython/commit/bdc497496548e30fa208a8d98c30bf
Change by Julien Palard :
--
pull_requests: +30388
pull_request: https://github.com/python/cpython/pull/32329
___
Python tracker
<https://bugs.python.org/issue42
Julien Palard added the comment:
New changeset d0e696e05d4aaca1f1cde72a5c3326ca3d0f5c24 by Julien Palard in
branch 'main':
bpo-42238: [doc]: A make sucpicious false positive. (GH-32329)
https://github.com/python/cpython/commit/d0e696e05d4aaca1f1cde72a5c3326
Julien Palard added the comment:
This is resolved since https://github.com/python/docsbuild-scripts/pull/28.
It could still happen in very specific conditions, but not for a long time, see:
https://github.com/python/docs-community/issues/41#issuecomment-1088462199=
--
nosy: +mdk
Julien Palard added the comment:
One true positive today: https://github.com/python/cpython/pull/32355
--
___
Python tracker
<https://bugs.python.org/issue42
Julien Palard added the comment:
This FAQ entry has been deleted.
--
nosy: +mdk
resolution: -> out of date
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Julien Palard added the comment:
All those functions has already been documented.
--
dependencies: -Make test.script_helper more comprehensive, and use it in the
test suite
nosy: +mdk
resolution: -> out of date
stage: patch review -> resolved
status: open -&g
Change by Julien Palard :
--
stage: patch review -> resolved
___
Python tracker
<https://bugs.python.org/issue37597>
___
___
Python-bugs-list mailing list
Un
Julien Palard added the comment:
New changeset 80428ed4e19b31071433806b4d89465c88e084c6 by Julien Palard
(Nikhil) in branch 'master':
bpo-25237: Documentation for tkinter modules (GH-1870)
https://github.com/python/cpython/commit/80428ed4e19b31071433806b4d89465c88e084c6
-
Change by Julien Palard :
--
resolution: -> fixed
stage: needs patch -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Julien Palard added the comment:
New changeset 9a94093189417a6b59d6c80cc5544630c8aa by Julien Palard (Arun
Persaud) in branch 'master':
bpo-21018: added missing documentation about escaping characters for
configparser (GH-6137)
https://github.com/python/cpyt
Julien Palard added the comment:
Thanks!
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Julien Palard added the comment:
New changeset 122bbf7f8ac2cef4368e3601af593a027dc62ccf by Julien Palard (Miss
Islington (bot)) in branch '3.7':
bpo-21018: added missing documentation about escaping characters for
configparser (GH-6137) (GH-15845)
https://github.com/python/cpyt
Julien Palard added the comment:
New changeset 5cf8155bbd2c65572295b26e96c221763b3322f0 by Julien Palard (Miss
Islington (bot)) in branch '3.8':
bpo-21018: added missing documentation about escaping characters for
configparser (GH-6137) (GH-15846)
https://github.com/python/cpyt
Julien Palard added the comment:
New changeset 912108891db52c2067889be1f4ce5713839807cd by Julien Palard (Andre
Delfino) in branch 'master':
bpo-33602: Doc: Remove set and queue references from Data Types (GH-7055)
https://github.com/python/cpyt
Julien Palard added the comment:
New changeset 58ef7d341c79f649da275bb1d5c11f668d7bac9e by Julien Palard (Miss
Islington (bot)) in branch '3.8':
bpo-33602: Doc: Remove set and queue references from Data Types (GH-7055)
(GH-15875)
https://github.com/python/cpyt
Julien Palard added the comment:
New changeset 816825e192ed430438c613d52a58fb9e1a8d90f4 by Julien Palard (Miss
Islington (bot)) in branch '3.7':
bpo-33602: Doc: Remove set and queue references from Data Types (GH-7055)
(GH-15876)
https://github.com/python/cpyt
Change by Julien Palard :
--
nosy: -mdk
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Julien Palard added the comment:
New changeset 4576b5431bd597df7581fe3c852b315e47e4b230 by Julien Palard
(Anjali) in branch 'master':
bpo-16438: Doc: confusing text regarding numeric precedence corrected (GH-10521)
https://github.com/python/cpyt
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 c78dae8d2b890d487e428dce00c7f600612cce7b by Julien Palard
(Xtreak) in branch 'master':
bpo-35603: Add a note on difflib table header interpreted as HTML (GH-11439)
https://github.com/python/cpython/commit/c78dae8d2b890d487e428dce00c7f6
Julien Palard added the comment:
New changeset 62cf6981425c6a6b136c5e2abef853364f535e9d by Julien Palard (Ashwin
Ramaswami) in branch 'master':
bpo-35649: update http client example (GH-11441)
https://github.com/python/cpython/commit/62cf6981425c6a6b136c5e2abef853364f535e9d
-
Julien Palard added the comment:
New changeset 43fb3bb223338511a7aee9b55d75af4a415134dc by Julien Palard (Miss
Islington (bot)) in branch '3.8':
bpo-35649: update http client example (GH-11441) (GH-15930)
https://github.com/python/cpython/commit/43fb3bb223338511a7aee9b55d75af
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 0fd8c0560b2099d2c976b17cf01cb596badc1ec6 by Julien Palard (Miss
Islington (bot)) in branch '3.7':
bpo-35649: update http client example (GH-11441) (GH-15931)
https://github.com/python/cpython/commit/0fd8c0560b2099d2c976b17cf01cb5
Julien Palard added the comment:
New changeset 1660a61a105bcd62e2dfa77885959a8992e9f14e by Julien Palard
(Brennan D Baraban) in branch 'master':
bpo-23460: Fix documentation for decimal string :g formatting (GH-11850)
https://github.com/python/cpyt
Julien Palard added the comment:
New changeset 629f1f87e9b0bfd9f1dc3d02f966decde5c65201 by Julien Palard (Miss
Islington (bot)) in branch '3.8':
bpo-23460: Fix documentation for decimal string :g formatting (GH-11850)
(GH-15954)
https://github.com/python/cpyt
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 af636f4f91b8289b6dad95cb84123f6e22fd7f4f by Julien Palard
(Lysandros Nikolaou) in branch 'master':
bpo-36182: Update pathlib.Path.write_text() docs (GH-12161)
https://github.com/python/cpython/commit/af636f4f91b8289b6dad95cb84123f
Julien Palard added the comment:
New changeset 893653357cc83d49049debfeb9074a4ce99cd478 by Julien Palard (Miss
Islington (bot)) in branch '3.8':
bpo-36182: Update pathlib.Path.write_text() docs (GH-12161) (GH-15977)
https://github.com/python/cpyt
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 9936371af298d465095ae70bc9c2943b4b16eac4 by Julien Palard (Björn
Meier) in branch 'master':
bpo-36270: Doc: add link to traceback object reference (GH-13119)
https://github.com/python/cpython/commit/9936371af298d465095ae70bc9c294
Julien Palard added the comment:
I opened an issue on the sphinx-doc repo [1] to check if it would be possible
to have an option in doctest blocks to not trim them.
We previously had a hack in Doc/tools/extensions/pyspecific.py to patch sphinx
to not trim them for the doctest.rst file. But
Change by Julien Palard :
--
pull_requests: +15647
pull_request: https://github.com/python/cpython/pull/16024
___
Python tracker
<https://bugs.python.org/issue36
Julien Palard added the comment:
We're using assert instead of assertEqual to denote that we're not "testing
unittest" but asserting that unittest work as documented. Whch is semantically
a bit different.
Unittesting unittest using unittest works, but using unittest te
Julien Palard added the comment:
New changeset 31a82e25b6044a5b5ee25246bad3eb7b873cf5ec by Julien Palard
(Emmanuel Arias) in branch 'master':
bpo-35685: Add examples of unittest.mock.patch.dict usage (GH-11456)
https://github.com/python/cpython/commit/31a82e25b6044a5b5ee25246bad3eb
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 967b84c913c7b09ae2fc86272cb9373415e2beaf by Julien Palard
(Windson yang) in branch 'master':
bpo-35325: Doc: imp.find_module() return value documentation discrepancy
(GH-11040)
https://github.com/python/cpyt
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: +15667
pull_request: https://github.com/python/cpython/pull/16045
___
Python tracker
<https://bugs.python.org/issue13
Change by Julien Palard :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Julien Palard :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Julien Palard :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Julien Palard added the comment:
Hi Jon, thanks for trying to enhance Python.
You should start by reading the devguide [1]. We'd like to enhance the style
and may or may not do it in the future, but if we do I'll be all in the single
conmit, and I bet using black. We do not a
Julien Palard added the comment:
New changeset 42671aea2db6cbc54369617da0fd3545048e0a45 by Julien Palard (Jakub
Kulík) in branch 'master':
bpo-37785: Fix xgettext warning in argparse (GH-15161)
https://github.com/python/cpython/commit/42671aea2db6cbc54369617da0fd3545048e0a45
-
Julien Palard added the comment:
I think we should deprecate calling `add_type` with an empty `ext`, as I don't
think it's a feature, more a side effect of the current implementation.
But as some may use it like a feature, I asked the current PR to emit a
warning, to not break t
Change by Julien Palard :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Julien Palard added the comment:
OK to revert in 3.7, got your point.
--
___
Python tracker
<https://bugs.python.org/issue37785>
___
___
Python-bugs-list mailin
Julien Palard added the comment:
Thanks for noticing Serhiy!
--
___
Python tracker
<https://bugs.python.org/issue37785>
___
___
Python-bugs-list mailin
Change by Julien Palard :
--
pull_requests: +15704
stage: resolved -> patch review
pull_request: https://github.com/python/cpython/pull/16082
___
Python tracker
<https://bugs.python.org/issu
Julien Palard added the comment:
New changeset f14fcbf2995b43c8607a1448402633ac558a745f by Julien Palard in
branch '3.7':
Revert "bpo-37785: Fix xgettext warning in argparse (GH-15161)" (GH-16082)
https://github.com/python/cpython/commit/f14fcbf2995b43c8607a
Julien Palard added the comment:
I checked conversation in #7951, tells about an ambiguity because it could be
an index from a sequence or a key for a dict, like {-1: "foo"}.
Here there is no such confusion.
Confusion *may* arrise from the fact that it's not composed of
Julien Palard added the comment:
Just commented on the related issue:
https://bugs.python.org/issue21041#msg352281
My question is: Why would you need to slice parents? parents already looks like
the result of some slice.
--
nosy: +mdk
Change by Julien Palard :
--
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue37785>
___
___
Pyth
Julien Palard added the comment:
I just found a case where the empty mime type is actually usefull, it's in
Lib/http/server.py:
extensions_map = mimetypes.types_map.copy()
extensions_map.update({
'': 'application/octet-stream', # Default
Julien Palard added the comment:
It looks like a revert of 47404f3e36699786082d0ee6565872d627e1
Which is the fix for https://bugs.python.org/issue723962 which I'm currently
reading.
--
nosy: +mdk
___
Python tracker
<https://bugs.py
Change by Julien Palard :
--
keywords: +patch
pull_requests: +15716
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/16095
___
Python tracker
<https://bugs.python.org/issu
Julien Palard added the comment:
New changeset 375a3e2bdbeb4dce69aba4b5bc90f55fe27e81b4 by Julien Palard in
branch 'master':
bpo-29986: Doc: Delete tip to raise TypeError from tp_richcompare. (GH-16095)
https://github.com/python/cpython/commit/375a3e2bdbeb4dce69aba4b5bc90f5
Julien Palard added the comment:
I'd wait for Davin's review, but I'd keep the documentation as they are.
--
___
Python tracker
<https://bugs.pyt
Julien Palard added the comment:
I agree Antoine on this one, if one want the result, It'll get it from the
returned value (.get method in the example), or simply by using the not-async
versions and directly get the results as a return value of the call.
Also the given example i
Change by Julien Palard :
--
pull_requests: +15791
pull_request: https://github.com/python/cpython/pull/16181
___
Python tracker
<https://bugs.python.org/issue33
Julien Palard added the comment:
New changeset 210dc3bb37ec57a8b8b16ffe0881181138a6e973 by Julien Palard in
branch '3.7':
[3.7] bpo-33095: Add reference to isolated mode in -m and script option
(GH-7764) (GH-16181)
https://github.com/python/cpyt
Julien Palard added the comment:
I tried again with the same version of pip and cffi on cpython 2.7.16 (no 13, I
have no VM atm to compile a 2.7.13) but no segfault this time.
--
___
Python tracker
<https://bugs.python.org/issue27
New submission from Julien Palard :
In the following snippet:
>>> class Ror:
... def __ror__(self, other):
... return set()
...
>>> {}.keys() | Ror()
Traceback (most recent call last):
File "", line 1, in
TypeError:
Julien Palard added the comment:
> It is not strange since dict.keys() in Python 2.7 returns list.
Oh, ok thanks :)
Do you think that it should be fixed? As it works with sets, I think so:
>>> set() | Ror()
set()
but it's not that simple as the __or__ of dictviews is les
Julien Palard added the comment:
New changeset 85c6f8c65cd4f7219522c1f304bdfff19f785e7a by Julien Palard (Marco
Rougeth) in branch 'master':
bpo-38592 Add pt-br switcher to Python Docs website (GH-16924)
https://github.com/python/cpython/commit/85c6f8c65cd4f7219522c1f304bdff
Julien Palard added the comment:
New changeset 955f96f6aae7c1a54d88c3f7a51c2e142ac7e4d4 by Julien Palard (Miss
Skeleton (bot)) in branch '3.8':
bpo-38592 Add pt-br switcher to Python Docs website (GH-16924) (GH-16953)
https://github.com/python/cpyt
Julien Palard added the comment:
New changeset 155a9dc129c129270763525cd3eb2704990e406d by Julien Palard (Miss
Skeleton (bot)) in branch '3.7':
bpo-38592 Add pt-br switcher to Python Docs website (GH-16924) (GH-16954)
https://github.com/python/cpyt
Julien Palard added the comment:
New changeset 0269ce87c9347542c54a653dd78b9f60bb9fa822 by Chavdar Yotov in
branch 'master':
bpo-41933: Clarify wording for s * n in Common Sequence Operations (GH-22570)
https://github.com/python/cpython/commit/0269ce87c9347542c54a653dd78b9f
Change by Julien Palard :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
New submission from Julien Palard :
effbot.org is down, it's currently displaying:
> effbot.org on hiatus
>
> effbot.org is taking a break. We’ll be back, in some form or another.
But docs.python.org have a few links pointing to it, `git grep effbot` finds 11
of them in the
1 - 100 of 685 matches
Mail list logo