[issue42238] Deprecate suspicious.py?

2021-12-16 Thread Julien Palard
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

[issue46318] asyncio and ssl: ResourceWarning: unclosed transport

2022-01-09 Thread Julien Palard
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

[issue46318] asyncio and ssl: ResourceWarning: unclosed transport

2022-01-10 Thread Julien Palard
Julien Palard added the comment: Related to: https://bugs.python.org/issue23243 -- ___ Python tracker <https://bugs.python.org/issue46318> ___ ___ Python-bug

[issue46318] asyncio and ssl: ResourceWarning: unclosed transport

2022-01-10 Thread Julien Palard
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:

[issue45729] [doc] "history and license" link has wrong target

2022-01-11 Thread Julien Palard
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

[issue45729] [doc] "history and license" link has wrong target

2022-01-11 Thread Julien Palard
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

[issue45729] [doc] "history and license" link has wrong target

2022-01-12 Thread Julien Palard
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

[issue46318] asyncio and ssl: ResourceWarning: unclosed transport

2022-01-12 Thread Julien Palard
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

[issue45729] [doc] "history and license" link has wrong target

2022-01-13 Thread Julien Palard
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&#

[issue46318] asyncio and ssl: ResourceWarning: unclosed transport

2022-01-13 Thread Julien Palard
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

[issue42238] Deprecate suspicious.py?

2022-01-25 Thread Julien Palard
Change by Julien Palard : -- pull_requests: +29059 pull_request: https://github.com/python/cpython/pull/30879 ___ Python tracker <https://bugs.python.org/issue42

[issue42238] Deprecate suspicious.py?

2022-01-25 Thread Julien Palard
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

[issue42238] Deprecate suspicious.py?

2022-01-27 Thread Julien Palard
Change by Julien Palard : -- pull_requests: +29160 pull_request: https://github.com/python/cpython/pull/30981 ___ Python tracker <https://bugs.python.org/issue42

[issue42238] Deprecate suspicious.py?

2022-01-28 Thread Julien Palard
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

[issue42238] Deprecate suspicious.py?

2022-01-30 Thread Julien Palard
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 >

[issue42238] Deprecate suspicious.py?

2022-02-02 Thread Julien Palard
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

[issue42238] Deprecate suspicious.py?

2022-02-02 Thread Julien Palard
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

[issue42238] Deprecate suspicious.py?

2022-02-03 Thread Julien Palard
Change by Julien Palard : -- pull_requests: +29282 pull_request: https://github.com/python/cpython/pull/31097 ___ Python tracker <https://bugs.python.org/issue42

[issue44006] symbol documentation still exists

2022-02-08 Thread Julien Palard
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

[issue42238] Deprecate suspicious.py?

2022-02-09 Thread Julien Palard
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

[issue42238] Deprecate suspicious.py?

2022-03-12 Thread Julien Palard
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

[issue42238] Deprecate suspicious.py?

2022-03-18 Thread Julien Palard
Change by Julien Palard : -- pull_requests: +30067 pull_request: https://github.com/python/cpython/pull/31977 ___ Python tracker <https://bugs.python.org/issue42

[issue42238] Deprecate suspicious.py?

2022-03-22 Thread Julien Palard
Change by Julien Palard : -- pull_requests: +30159 pull_request: https://github.com/python/cpython/pull/32070 ___ Python tracker <https://bugs.python.org/issue42

[issue42238] Deprecate suspicious.py?

2022-03-23 Thread Julien Palard
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

[issue45953] Statically allocate interpreter states as much as possible.

2022-03-28 Thread Julien Palard
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

[issue45953] Statically allocate interpreter states as much as possible.

2022-03-28 Thread Julien Palard
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

[issue45953] Statically allocate interpreter states as much as possible.

2022-03-29 Thread Julien Palard
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

[issue42238] Deprecate suspicious.py?

2022-04-03 Thread Julien Palard
Change by Julien Palard : -- pull_requests: +30354 pull_request: https://github.com/python/cpython/pull/32292 ___ Python tracker <https://bugs.python.org/issue42

[issue42238] Deprecate suspicious.py?

2022-04-03 Thread Julien Palard
Julien Palard added the comment: One true positive and one false positive this week, see: - 7f9c084fdec7ddcfe8855aa79f98545591ae2261 - ec8906fb5930b1f078e2a2170cdf445e6c6faf57 -- ___ Python tracker <https://bugs.python.org/issue42

[issue42238] Deprecate suspicious.py?

2022-04-03 Thread Julien Palard
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

[issue42238] Deprecate suspicious.py?

2022-04-05 Thread Julien Palard
Change by Julien Palard : -- pull_requests: +30388 pull_request: https://github.com/python/cpython/pull/32329 ___ Python tracker <https://bugs.python.org/issue42

[issue42238] Deprecate suspicious.py?

2022-04-05 Thread Julien Palard
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

[issue21956] Doc files deleted from repo are not deleted from docs.python.org.

2022-04-05 Thread Julien Palard
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

[issue42238] Deprecate suspicious.py?

2022-04-06 Thread Julien Palard
Julien Palard added the comment: One true positive today: https://github.com/python/cpython/pull/32355 -- ___ Python tracker <https://bugs.python.org/issue42

[issue30122] Added missing archive programs.

2019-09-09 Thread Julien Palard
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

[issue18576] Document test.support.script_helper

2019-09-09 Thread Julien Palard
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

[issue37597] audit event table breaks PDF sphinx build

2019-09-10 Thread Julien Palard
Change by Julien Palard : -- stage: patch review -> resolved ___ Python tracker <https://bugs.python.org/issue37597> ___ ___ Python-bugs-list mailing list Un

[issue25237] Add doc for tkinter commondialog.Dialog and subclasses

2019-09-10 Thread Julien Palard
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 -

[issue25237] Add doc for tkinter commondialog.Dialog and subclasses

2019-09-10 Thread Julien Palard
Change by Julien Palard : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue21018] [patch] added missing documentation about escaping characters for configparser

2019-09-10 Thread Julien Palard
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

[issue21018] [patch] added missing documentation about escaping characters for configparser

2019-09-10 Thread Julien Palard
Julien Palard added the comment: Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue21018] [patch] added missing documentation about escaping characters for configparser

2019-09-10 Thread Julien Palard
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

[issue21018] [patch] added missing documentation about escaping characters for configparser

2019-09-10 Thread Julien Palard
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

[issue33602] Remove set and queue references from Data Types

2019-09-10 Thread Julien Palard
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

[issue33602] Remove set and queue references from Data Types

2019-09-10 Thread Julien Palard
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

[issue33602] Remove set and queue references from Data Types

2019-09-10 Thread Julien Palard
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

[issue33602] Remove set and queue references from Data Types

2019-09-10 Thread Julien Palard
Change by Julien Palard : -- nosy: -mdk resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue16438] Numeric operator predecence confusing

2019-09-11 Thread Julien Palard
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

[issue16438] Numeric operator predecence confusing

2019-09-11 Thread Julien Palard
Change by Julien Palard : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue35603] table header in output of difflib.HtmlDiff.make_table is not escaped and can be rendered as code in the browser

2019-09-11 Thread Julien Palard
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

[issue35649] http.client doesn't close. Infinite loop

2019-09-11 Thread Julien Palard
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 -

[issue35649] http.client doesn't close. Infinite loop

2019-09-11 Thread Julien Palard
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

[issue35649] http.client doesn't close. Infinite loop

2019-09-11 Thread Julien Palard
Change by Julien Palard : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue35649] http.client doesn't close. Infinite loop

2019-09-11 Thread Julien Palard
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

[issue23460] Decimals do not obey ':g' exponential notation formatting rules

2019-09-11 Thread Julien Palard
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

[issue23460] Decimals do not obey ':g' exponential notation formatting rules

2019-09-11 Thread Julien Palard
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

[issue23460] Decimals do not obey ':g' exponential notation formatting rules

2019-09-11 Thread Julien Palard
Change by Julien Palard : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue36182] Path.write_text() docs do not include the case that a file exists

2019-09-11 Thread Julien Palard
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

[issue36182] Path.write_text() docs do not include the case that a file exists

2019-09-11 Thread Julien Palard
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

[issue36182] Path.write_text() docs do not include the case that a file exists

2019-09-11 Thread Julien Palard
Change by Julien Palard : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue36270] DOC: Add link to sys.exc_info for "Reference Manual"

2019-09-11 Thread Julien Palard
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

[issue36675] Doctest directives and comments missing from code samples

2019-09-12 Thread Julien Palard
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

[issue36675] Doctest directives and comments missing from code samples

2019-09-12 Thread Julien Palard
Change by Julien Palard : -- pull_requests: +15647 pull_request: https://github.com/python/cpython/pull/16024 ___ Python tracker <https://bugs.python.org/issue36

[issue35685] Add samples on patch.dict of the use of decorator and in class

2019-09-12 Thread Julien Palard
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

[issue35685] Add samples on patch.dict of the use of decorator and in class

2019-09-12 Thread Julien Palard
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

[issue35685] Add samples on patch.dict of the use of decorator and in class

2019-09-12 Thread Julien Palard
Change by Julien Palard : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue35325] imp.find_module() return value documentation discrepancy

2019-09-12 Thread Julien Palard
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

[issue35325] imp.find_module() return value documentation discrepancy

2019-09-12 Thread Julien Palard
Change by Julien Palard : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue13474] Mention of "-m" Flag Missing From Doc on Execution Model

2019-09-12 Thread Julien Palard
Change by Julien Palard : -- pull_requests: +15667 pull_request: https://github.com/python/cpython/pull/16045 ___ Python tracker <https://bugs.python.org/issue13

[issue13474] Mention of "-m" Flag Missing From Doc on Execution Model

2019-09-12 Thread Julien Palard
Change by Julien Palard : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue36270] DOC: Add link to sys.exc_info for "Reference Manual"

2019-09-12 Thread Julien Palard
Change by Julien Palard : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue33459] Fix "tuple display" mention in Expressions

2019-09-12 Thread Julien Palard
Change by Julien Palard : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue38143] plistlib: cleanup PEP8 violations

2019-09-12 Thread Julien Palard
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

[issue37785] argparse uses %s in gettext calls causing xgettext warnings

2019-09-13 Thread Julien Palard
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 -

[issue31040] mimetypes.add_type should complain when you give it an undotted ext

2019-09-13 Thread Julien Palard
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

[issue37785] argparse uses %s in gettext calls causing xgettext warnings

2019-09-13 Thread Julien Palard
Change by Julien Palard : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue37785] argparse uses %s in gettext calls causing xgettext warnings

2019-09-13 Thread Julien Palard
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

[issue37785] argparse uses %s in gettext calls causing xgettext warnings

2019-09-13 Thread Julien Palard
Julien Palard added the comment: Thanks for noticing Serhiy! -- ___ Python tracker <https://bugs.python.org/issue37785> ___ ___ Python-bugs-list mailin

[issue37785] argparse uses %s in gettext calls causing xgettext warnings

2019-09-13 Thread Julien Palard
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

[issue37785] argparse uses %s in gettext calls causing xgettext warnings

2019-09-13 Thread Julien Palard
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

[issue21041] pathlib.PurePath.parents rejects negative indexes

2019-09-13 Thread Julien Palard
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

[issue35498] Parents objects in pathlib.Path don't support slices as __getitem__ arguments

2019-09-13 Thread Julien Palard
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

[issue37785] argparse uses %s in gettext calls causing xgettext warnings

2019-09-13 Thread Julien Palard
Change by Julien Palard : -- stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue37785> ___ ___ Pyth

[issue31040] mimetypes.add_type should complain when you give it an undotted ext

2019-09-13 Thread Julien Palard
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

[issue5430] imaplib: must not replace LF or CR by CRLF in literals

2019-09-13 Thread Julien Palard
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

[issue29986] Documentation recommends raising TypeError from tp_richcompare

2019-09-13 Thread Julien Palard
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

[issue29986] Documentation recommends raising TypeError from tp_richcompare

2019-09-13 Thread Julien Palard
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

[issue33082] multiprocessing docs bury very important 'callback=' args

2019-09-13 Thread Julien Palard
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

[issue33082] multiprocessing docs bury very important 'callback=' args

2019-09-13 Thread Julien Palard
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

[issue33095] Cross-reference isolated mode from relevant locations

2019-09-16 Thread Julien Palard
Change by Julien Palard : -- pull_requests: +15791 pull_request: https://github.com/python/cpython/pull/16181 ___ Python tracker <https://bugs.python.org/issue33

[issue33095] Cross-reference isolated mode from relevant locations

2019-09-16 Thread Julien Palard
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

[issue27542] Segfault in gcmodule.c:360 visit_decref

2019-10-08 Thread Julien Palard
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

[issue38538] dictobject dictviews don't return NotImplemented for unrecognized types.

2019-10-20 Thread Julien Palard
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: &#x

[issue38538] dictobject dictviews don't return NotImplemented for unrecognized types.

2019-10-22 Thread Julien Palard
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

[issue38592] Add pt-br to the language switcher at the Python docs website

2019-10-27 Thread Julien Palard
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

[issue38592] Add pt-br to the language switcher at the Python docs website

2019-10-27 Thread Julien Palard
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

[issue38592] Add pt-br to the language switcher at the Python docs website

2019-10-27 Thread Julien Palard
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

[issue41933] Wording of s * n in Common Sequence Operations is not optimal

2021-03-15 Thread Julien Palard
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

[issue41933] Wording of s * n in Common Sequence Operations is not optimal

2021-03-15 Thread Julien Palard
Change by Julien Palard : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue43504] effbot.org down

2021-03-15 Thread Julien Palard
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   2   3   4   5   6   7   >