[issue36329] use the right python "make -C Doc/ serve"

2022-04-06 Thread Hugo van Kemenade
Hugo van Kemenade added the comment: I've made PRs for this: CPython Docs: https://github.com/python/cpython/pull/32354 Devguide: https://github.com/python/devguide/pull/826 Also set this bpo for Python 3.11. -- versions: +Python 3.11 -Python 3.8

[issue36329] use the right python "make -C Doc/ serve"

2022-04-06 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- nosy: +hugovk nosy_count: 4.0 -> 5.0 pull_requests: +30406 pull_request: https://github.com/python/cpython/pull/32354 ___ Python tracker <https://bugs.python.org/issu

[issue36795] "make venv" failed in Docs

2022-04-06 Thread Hugo van Kemenade
Hugo van Kemenade added the comment: I cannot reproduce this (macOS, Python 3.10, pip 22.0.4). As xtreak said, it's probably caused by using a very old version of pip (9.0.1 from Nov 6, 2016), so let's close it. Please let us know if it happens again, and whether updating pip helps

[issue47138] Pin Jinja2 to fix docs build

2022-03-28 Thread Hugo van Kemenade
Hugo van Kemenade added the comment: I cherry picked Maciej's 3.8 commit into 3.9 and 3.10 PRs: 3.9: https://github.com/python/cpython/pull/32153 3.10: https://github.com/python/cpython/pull/32154 And marking this issue as not relevant to 3.11; instead I bumped the Sphinx version in bpo

[issue47138] Bump Sphinx or pin Jinja2 to fix docs build

2022-03-28 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- pull_requests: +30234 pull_request: https://github.com/python/cpython/pull/32153 ___ Python tracker <https://bugs.python.org/issue47

[issue47138] Bump Sphinx or pin Jinja2 to fix docs build

2022-03-28 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- pull_requests: +30235 pull_request: https://github.com/python/cpython/pull/32154 ___ Python tracker <https://bugs.python.org/issue47

[issue47138] Bump Sphinx or pin Jinja2 to fix docs build

2022-03-28 Thread Hugo van Kemenade
Hugo van Kemenade added the comment: re: https://bugs.python.org/issue45618#msg416017 Maciej Olko, please could you update these PRs to keep the Sphinx version the same and only pin Jinja2 to match? 3.7: https://github.com/python/cpython/pull/32109 3.8: https://github.com/python/cpython

[issue45618] Documentation builds fail with Sphinx 3.2.1

2022-03-28 Thread Hugo van Kemenade
Hugo van Kemenade added the comment: > > This really should be handled in a new issue since the original fixes for > > all affected releases are already in the field. > Sorry, I got suggested too much with expected fix which is common for both of > those issues. Shall I

[issue47138] Bump Sphinx to fix docs build

2022-03-28 Thread Hugo van Kemenade
New submission from Hugo van Kemenade : The docs build on GitHub Actions is passing on `main` but has started failing for the `3.7` - `3.10` branches: ``` Missing the required blurb or sphinx-build tools. Please run 'make venv' to install local copies. make[1]: *** [Makefile:50: build] Error

[issue47126] Update to canonical PEP URLs

2022-03-26 Thread Hugo van Kemenade
Hugo van Kemenade added the comment: Here's a devguide PR: https://github.com/python/devguide/pull/822 -- ___ Python tracker <https://bugs.python.org/issue47

[issue47126] Update to canonical PEP URLs

2022-03-26 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- assignee: hugovk -> ___ Python tracker <https://bugs.python.org/issue47126> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue47126] Update to canonical PEP URLs

2022-03-26 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- keywords: +patch pull_requests: +30203 stage: -> patch review pull_request: https://github.com/python/cpython/pull/32124 ___ Python tracker <https://bugs.python.org/issu

[issue47126] Update to canonical PEP URLs

2022-03-26 Thread Hugo van Kemenade
New submission from Hugo van Kemenade : With the recent implementation https://peps.python.org/pep-0676/ the canonical URL for PEPs has changed from, for example: https://www.python.org/dev/peps/pep-0008/ to: https://peps.python.org/pep-0008/ Redirects are in place so the old links still

[issue47061] Deprecate modules listed in PEP 594

2022-03-23 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- pull_requests: +30169 pull_request: https://github.com/python/cpython/pull/32082 ___ Python tracker <https://bugs.python.org/issue47

[issue47061] Deprecate modules listed in PEP 594

2022-03-19 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- nosy: +hugovk ___ Python tracker <https://bugs.python.org/issue47061> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue47022] PEP 594: Document removal of asynchat, asyncore and smtpd

2022-03-19 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- pull_requests: +30087 pull_request: https://github.com/python/cpython/pull/31998 ___ Python tracker <https://bugs.python.org/issue47

[issue47022] PEP 594: Document removal of asynchat, asyncore and smtpd

2022-03-19 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- pull_requests: +30086 stage: backport needed -> patch review pull_request: https://github.com/python/cpython/pull/31997 ___ Python tracker <https://bugs.python.org/issu

[issue40465] Deprecate the optional *random* argument to random.shuffle()

2022-03-17 Thread Hugo van Kemenade
Hugo van Kemenade added the comment: GH-31818 adds an entry to What's New in 3.11. -- message_count: 5.0 -> 6.0 nosy: +hugovk nosy_count: 3.0 -> 4.0 pull_requests: +30050 pull_request: https://github.com/python/cpython/pull/31818 ___ Python t

[issue43721] Documentation of property.{getter, setter, deleter} fails to mention that a *new* property is returned

2022-03-15 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- nosy: +hugovk nosy_count: 4.0 -> 5.0 pull_requests: +29991 pull_request: https://github.com/python/cpython/pull/31893 ___ Python tracker <https://bugs.python.org/issu

[issue47022] PEP 594: Document removal of asynchat, asyncore and smtpd

2022-03-15 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- keywords: +patch pull_requests: +29989 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31891 ___ Python tracker <https://bugs.python.org/issu

[issue47022] PEP 594: Document removal of asynchat, asyncore and smtpd

2022-03-15 Thread Hugo van Kemenade
New submission from Hugo van Kemenade : PEP 594 – Removing dead batteries from the standard library As mentioned in the SC acceptance: > One thing we’d like to see happen while implementing it: Document the status > of the modules being deprecated and removed and backport those depre

[issue46607] Add DeprecationWarning to configparser's LegacyInterpolation

2022-02-02 Thread Hugo van Kemenade
Hugo van Kemenade added the comment: > > Other configparser deprecations were added in 3.2, but with > > DeprecationWarnings. > Its deprecation was never documented anywhere in Doc/. Correct, only in the docstring: ``` class LegacyInterpolation(Interpolation):

[issue45173] Remove configparser deprecations

2022-02-02 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- pull_requests: +29268 pull_request: https://github.com/python/cpython/pull/31084 ___ Python tracker <https://bugs.python.org/issue45

[issue45173] Remove configparser deprecations

2022-02-01 Thread Hugo van Kemenade
Hugo van Kemenade added the comment: Sure, please see https://bugs.python.org/issue46607. I've rebased GH-30927 to use the new issue number. -- ___ Python tracker <https://bugs.python.org/issue45

[issue45173] Remove configparser deprecations

2022-02-01 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- pull_requests: -29106 ___ Python tracker <https://bugs.python.org/issue45173> ___ ___ Python-bugs-list mailing list Unsub

[issue46607] Add DeprecationWarning to configparser's LegacyInterpolation

2022-02-01 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- keywords: +patch pull_requests: +29258 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30927 ___ Python tracker <https://bugs.python.org/issu

[issue46607] Add DeprecationWarning to configparser's LegacyInterpolation

2022-02-01 Thread Hugo van Kemenade
New submission from Hugo van Kemenade : The LegacyInterpolation class of configparser has been deprecated in docs since 3.2, but without raising a DeprecationWarning. The 3.2 HISTORY file says: > - configparser: the SafeConfigParser class has been renamed to ConfigParser. > The

[issue45173] Remove configparser deprecations

2022-01-27 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- pull_requests: +29131 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/30952 ___ Python tracker <https://bugs.python.org/issu

[issue46285] protocol_version in http.server.test can be ignored

2022-01-26 Thread Hugo Almeida
Hugo Almeida added the comment: Hi Éric, thank you so much. I know only a little usage of closure and functools.partial but not the historical/relative knowledge of their design/feature, I mean this issue have 2 visual, the partical object not working as it expected or we are not calling

[issue45173] Remove configparser deprecations

2022-01-26 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- pull_requests: +29106 pull_request: https://github.com/python/cpython/pull/30927 ___ Python tracker <https://bugs.python.org/issue45

[issue46285] http/server.py wont respect its protocol_version

2022-01-09 Thread Hugo Almeida
Hugo Almeida added the comment: Hi, buddy, there is no problem if invoke the http.server.test function as its designed, I mean the function iteself is okay, thus http/server.py invoked it via the functools.partial wrapper (handler_class) only will case this issue, which technically ignored

[issue46285] http/server.py wont respect its protocol_version

2022-01-08 Thread Hugo Almeida
Hugo Almeida added the comment: The short story is, everything is okay, its my bad to taken the test function out of context, sorry about that of issue report. # just for details review (related file attached): # # check line 1277 to line 1278 (main branch of Python currently): # https

[issue46285] http/server.py wont respect its protocol_version

2022-01-06 Thread Hugo Almeida
Hugo Almeida added the comment: update == It seems I've found the problem, http/server.py#L1277-L1288: ``` handler_class = partial(SimpleHTTPRequestHandler, directory=args.directory) ``` Because of `partial` (provide by the functools module

[issue46285] http/server.py wont respect its protocol_version

2022-01-06 Thread Hugo Almeida
New submission from Hugo Almeida : Hi, Sorry for my poor English, this is not a spam issue. How to reproduce File about `http/server.py`, line 1235 at main branch. 1st, change `protocol_version`, e.g. from "HTTP/1.0" to "HTTP/1.1": --- proto

[issue45173] Remove configparser deprecations

2022-01-04 Thread Hugo van Kemenade
Hugo van Kemenade added the comment: Searching 4,764 sdists from the top 5,000 PyPI packages, these 13 contain "LegacyInterpolation": configparser-5.1.0.tar.gz configparser2-4.0.0.tar.gz eth_abi-2.1.1.tar.gz eth-account-0.5.6.tar.gz eth-hash-0.3.2.tar.gz eth-utils-1.10.0.tar.g

[issue34538] Remove encouragement to author a base class for all Exception subclasses in a module

2022-01-03 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- keywords: +patch nosy: +hugovk nosy_count: 9.0 -> 10.0 pull_requests: +28575 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30361 ___ Python tracker <https://bugs.python.org/i

[issue28546] [doc] Clarify setting pdb breakpoints

2022-01-03 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- keywords: +patch nosy: +hugovk nosy_count: 4.0 -> 5.0 pull_requests: +28574 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30360 ___ Python tracker <https://bugs.python.org/i

[issue23183] timeit CLI best of 3: undocumented output format

2022-01-03 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- keywords: +patch nosy: +hugovk nosy_count: 5.0 -> 6.0 pull_requests: +28573 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/30359 ___ Python tracker <https://bugs.p

[issue33252] [doc] Clarify ResourceWarning documentation

2022-01-03 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- keywords: +patch nosy: +hugovk nosy_count: 4.0 -> 5.0 pull_requests: +28572 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30358 ___ Python tracker <https://bugs.python.org/i

[issue29964] [doc] %z directive has no effect on the output of time.strptime

2022-01-03 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- keywords: +patch nosy: +hugovk nosy_count: 6.0 -> 7.0 pull_requests: +28568 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/30354 ___ Python tracker <https://bugs.p

[issue20281] [doc] time.strftime %z format specifier is the same as %Z

2022-01-03 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- keywords: +patch nosy: +hugovk nosy_count: 6.0 -> 7.0 pull_requests: +28567 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/30354 ___ Python tracker <https://bugs.p

[issue4849] instantiating and populating xml.dom.minidom.Element is cumbersome

2022-01-02 Thread Hugo van Kemenade
Hugo van Kemenade added the comment: Hi Mike, "patch review" means: "A patch or pull request exists, but it needs review. Any triager or core developer may do the review." https://devguide.python.org/triaging/#stage So we were waiting for someone to review patche

[issue23952] cgi: Document the 'maxlen' member of the cgi module

2022-01-02 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- keywords: +patch nosy: +hugovk nosy_count: 4.0 -> 5.0 pull_requests: +28550 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/30338 ___ Python tracker <https://bugs.p

[issue46208] os.path.normpath change between 3.11.0a2 and 3.11.0a3+

2022-01-02 Thread Hugo van Kemenade
Hugo van Kemenade added the comment: Here's a branch with a passing ntpath.normpath test and a failing posixpath.normpath test: https://github.com/hugovk/cpython/tree/issue-46208-tests https://github.com/hugovk/cpython/commit/d7e8da179adce51a8f63d2dbd062a272dda826bc

[issue33937] test_socket: SendmsgSCTPStreamTest.testSendmsgTimeout() failed on Travis CI with: [Errno 12] Cannot allocate memory

2021-12-30 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- nosy: +hugovk nosy_count: 2.0 -> 3.0 pull_requests: +28523 pull_request: https://github.com/python/cpython/pull/30309 ___ Python tracker <https://bugs.python.org/issu

[issue46178] Remove `.travis.yml`?

2021-12-30 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- nosy: +hugovk nosy_count: 2.0 -> 3.0 pull_requests: +28522 pull_request: https://github.com/python/cpython/pull/30309 ___ Python tracker <https://bugs.python.org/issu

[issue46208] os.path.normpath change between 3.11.0a2 and 3.11.0a3+

2021-12-30 Thread Hugo van Kemenade
Hugo van Kemenade added the comment: git bisect between v3.11.0a2 and v3.11.0a3 points to the same commit, 99fcf1505218464c489d419d4500f126b6d6dc28. -- ___ Python tracker <https://bugs.python.org/issue46

[issue46208] os.path.normpath change between 3.11.0a2 and 3.11.0a3+

2021-12-30 Thread Hugo van Kemenade
New submission from Hugo van Kemenade : The behaviour of os.path.normpath appears to have changed between Python 3.10/Python 3.11.0a2 and 3.11.0a3+. I don't see anything mentioned in https://docs.python.org/3.11/whatsnew/3.11.html Is this intentional? Old behaviour: Python 3.10.1

[issue45903] What’s New In Python 3.11: wrong reference to Signature.from_callable

2021-11-27 Thread Hugo van Kemenade
Hugo van Kemenade added the comment: Thanks Jakub! I've made https://github.com/python/cpython/pull/29813 to fix it. -- ___ Python tracker <https://bugs.python.org/issue45

[issue45320] Remove deprecated inspect functions

2021-11-27 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- pull_requests: +28046 pull_request: https://github.com/python/cpython/pull/29813 ___ Python tracker <https://bugs.python.org/issue45

[issue45903] What’s New In Python 3.11: wrong reference to Signature.from_callable

2021-11-27 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- keywords: +patch pull_requests: +28045 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29813 ___ Python tracker <https://bugs.python.org/issu

[issue45837] Fix turtle deprecations

2021-11-18 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- pull_requests: +27862 pull_request: https://github.com/python/cpython/pull/29630 ___ Python tracker <https://bugs.python.org/issue45

[issue45837] Fix turtle deprecations

2021-11-18 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- pull_requests: +27861 pull_request: https://github.com/python/cpython/pull/29629 ___ Python tracker <https://bugs.python.org/issue45

[issue45837] Fix turtle deprecations

2021-11-18 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- keywords: +patch pull_requests: +27853 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29618 ___ Python tracker <https://bugs.python.org/issu

[issue45837] Fix turtle deprecations

2021-11-18 Thread Hugo van Kemenade
New submission from Hugo van Kemenade : turtle's settiltangle was deprecated in Python 3.1: "Deprecated since version 3.1." https://docs.python.org/3.10/library/turtle.html#turtle.settiltangle says of settiltangle: And the reason: "`Turtle.tiltangle()` has been enhanced i

[issue45320] Remove deprecated inspect functions

2021-09-29 Thread Hugo van Kemenade
Hugo van Kemenade added the comment: Of the 188 repos I managed to clone of 200 top PyPI packages, looks like these 9 are still calling them: botocore client_python cython google-api-python-client grpc ipython pycodestyle pyrsistent wrapt Details at https://github.com/python/cpython/pull

[issue20438] inspect: Deprecate getfullargspec?

2021-09-29 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- nosy: +hugovk nosy_count: 11.0 -> 12.0 pull_requests: +26990 pull_request: https://github.com/python/cpython/pull/28618 ___ Python tracker <https://bugs.python.org/issu

[issue33582] formatargspec deprecated but does not emit DeprecationWarning.

2021-09-29 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- nosy: +hugovk nosy_count: 6.0 -> 7.0 pull_requests: +26991 pull_request: https://github.com/python/cpython/pull/28618 ___ Python tracker <https://bugs.python.org/issu

[issue45320] Remove deprecated inspect functions

2021-09-29 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- keywords: +patch pull_requests: +26989 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28618 ___ Python tracker <https://bugs.python.org/issu

[issue45320] Remove deprecated inspect functions

2021-09-29 Thread Hugo van Kemenade
New submission from Hugo van Kemenade : inspect.getargspec was deprecated in docs since 3.0 (https://docs.python.org/3.0/library/inspect.html?highlight=getargspec#inspect.getargspec), raising a DeprecationWarning since 3.5 (bpo-20438, https://github.com/python/cpython/commit

[issue42135] [importlib] Deprecate find_module() & find_loader() mplementations

2021-09-13 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- nosy: +hugovk nosy_count: 1.0 -> 2.0 pull_requests: +26725 pull_request: https://github.com/python/cpython/pull/28312 ___ Python tracker <https://bugs.python.org/issu

[issue45173] Remove configparser deprecations

2021-09-11 Thread Hugo van Kemenade
Hugo van Kemenade added the comment: Also, the LegacyInterpolation class is deprecated since Python 3.2 but with no DeprecationWarning. A quick sampling of GitHub results shows only copies of CPython's configparser.py and test_configparser.py https://github.com/search?l=Python=1

[issue45173] Remove configparser deprecations

2021-09-11 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- keywords: +patch pull_requests: +26708 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28292 ___ Python tracker <https://bugs.python.org/issu

[issue45173] Remove configparser deprecations

2021-09-11 Thread Hugo van Kemenade
New submission from Hugo van Kemenade : In the configparser module, these have been deprecated since Python 3.2: * the SafeConfigParser class, * the filename property of the ParsingError class, * the readfp method of the ConfigParser class, They can be removed in Python 3.11

[issue45132] Remove deprecated __getitem__ methods

2021-09-07 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- keywords: +patch pull_requests: +26647 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28225 ___ Python tracker <https://bugs.python.org/issu

[issue45132] Remove deprecated __getitem__ methods

2021-09-07 Thread Hugo van Kemenade
New submission from Hugo van Kemenade : The __getitem__ methods of xml.dom.pulldom.DOMEventStream, wsgiref.util.FileWrapper and were deprecated in Python 3.8 by bpo-9372 / GH-8609. They can be removed in Python 3.11. -- components: Library (Lib) messages: 401322 nosy: hugovk

[issue45129] Remove deprecated reuse_address parameter from create_datagram_endpoint()

2021-09-07 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- keywords: +patch pull_requests: +26632 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28207 ___ Python tracker <https://bugs.python.org/issu

[issue45129] Remove deprecated reuse_address parameter from create_datagram_endpoint()

2021-09-07 Thread Hugo van Kemenade
New submission from Hugo van Kemenade : The reuse_address parameter was deprecated in Python 3.9 by bpo-37228. It can be removed in Python 3.11. PR to follow. -- components: asyncio messages: 401290 nosy: asvetlov, hugovk, yselivanov priority: normal severity: normal status: open

[issue39586] Deprecate bdist_msi: use bdist_wheel instead

2021-09-07 Thread Hugo van Kemenade
Hugo van Kemenade added the comment: Following this deprecation in Python 3.9, please see https://bugs.python.org/issue45124 / https://github.com/python/cpython/pull/28195 to remove the deprecation in Python 3.11. -- ___ Python tracker <ht

[issue45124] Remove deprecated bdist_msi command

2021-09-07 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- keywords: +patch pull_requests: +26619 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28195 ___ Python tracker <https://bugs.python.org/issu

[issue45124] Remove deprecated bdist_msi command

2021-09-07 Thread Hugo van Kemenade
New submission from Hugo van Kemenade : The bdist_msi command was deprecated in Python 3.9 by bpo-39586 (commit 2d65fc940b897958e6e4470578be1c5df78e319a). It can be removed in Python 3.11. PR to follow. -- components: Distutils messages: 401216 nosy: dstufft, eric.araujo, hugovk

[issue41165] [Python 3.10] Remove APIs deprecated long enough

2021-08-18 Thread Hugo van Kemenade
Hugo van Kemenade added the comment: ## unittest What's needed to move forward with removing the deprecated aliases? A deprecation warning is shown for `python3 -m unittest test_bar` and `python3 test_bar.py` (tested Python 3.6-3.10). No deprecation warning is shown for `python setup.py

[issue24955] webbrowser broken on Mac OS X when using the BROWSER variable

2021-08-12 Thread Hugo Delgado
Hugo Delgado added the comment: Yes, I've created a PR for it. https://github.com/python/cpython/pull/27751 Happy to adapt it as needed. Thanks -- ___ Python tracker <https://bugs.python.org/issue24

[issue24955] webbrowser broken on Mac OS X when using the BROWSER variable

2021-08-12 Thread Hugo Delgado
Change by Hugo Delgado : -- pull_requests: +26228 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/27751 ___ Python tracker <https://bugs.python.org/issu

[issue43418] FTPLib module crashes when server returns byte message instead of string

2021-03-06 Thread Hugo Chia
New submission from Hugo Chia : https://github.com/cowrie/cowrie/issues/1394 https://github.com/cowrie/cowrie/pull/1396 Above are some of the links mentioning the issue with the FTPLib module. It happens when the FTP server returns a byte message instead of a string. Ftplib expects a string

[issue43402] IDLE shell adds newline after print even when `end=''` is specificied

2021-03-04 Thread Hugo Nobrega
Hugo Nobrega added the comment: I see, thank you. But, in that case, shouldn't the interactive `python -i` shell have the same (now seen as desired) behavior as the IDLE shell? -- ___ Python tracker <https://bugs.python.org/issue43

[issue43402] IDLE shell adds newline after print even when `end=''` is specificied

2021-03-04 Thread Hugo Nobrega
New submission from Hugo Nobrega : When evaluting a call to the `print` function with argument `end=''` in the IDLE shell, a newline is unexpectedly added at the end, before the next shell prompt. The expected behavior is to have the shell prompt next to the last printed line. The expected

[issue37324] collections: remove deprecated aliases to ABC classes

2020-12-13 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- nosy: +hugovk nosy_count: 4.0 -> 5.0 pull_requests: +22611 pull_request: https://github.com/python/cpython/pull/23754 ___ Python tracker <https://bugs.python.org/issu

[issue41917] Python 3.9rc2 fails to install matplotlib

2020-10-05 Thread Hugo van Kemenade
Hugo van Kemenade added the comment: This probably isn't an issue with CPython 3.9.0 itself, but rather third-party libraries needing to add 3.9 support and provide wheels, and they may be waiting for 3.9.0 to be officially released (due out today!). Here's a PR to add Python 3.9 support

[issue41282] Deprecate and remove distutils

2020-07-29 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- nosy: +hugovk ___ Python tracker <https://bugs.python.org/issue41282> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24955] webbrowser broken on Mac OS X when using the BROWSER variable

2020-07-24 Thread Hugo Delgado
Hugo Delgado added the comment: I've bumped into this and won't mind working on it, is it ok for me to try to finish it? -- nosy: +Hugo Delgado ___ Python tracker <https://bugs.python.org/issue24

[issue4928] tempfile.NamedTemporaryFile: automatic cleanup by OS

2020-07-21 Thread Hugo
Hugo added the comment: It would seem that the main issue here lies in the documentation not being obvious enough for some of us. If you're familiar with lower level OS APIs, it might be clear, but as an app developer, some things slip by. The key difference is that TemporaryFile

[issue41268] 3.9-dev regression? TypeError: exec_module() missing 1 required positional argument: 'module'

2020-07-11 Thread Hugo van Kemenade
Hugo van Kemenade added the comment: Okay, looks like this is actually a setuptools issue, introduced in version 47.3.2. Reported: https://github.com/pypa/setuptools/issues/2246 -- ___ Python tracker <https://bugs.python.org/issue41

[issue41268] 3.9-dev regression? TypeError: exec_module() missing 1 required positional argument: 'module'

2020-07-10 Thread Hugo van Kemenade
New submission from Hugo van Kemenade : For the past 3 months we've been testing Pillow on Travis CI using 3.9-dev, which Travis builds nightly from the 3.9 branch. Two days ago the 3.9-dev build passed, but it failed yesterday with the same Pillow commit, and all subsequent builds. * Last

[issue40461] execution of file with pictures doesn't work in command --onefile in pyinstaller

2020-04-30 Thread Hugo Benavides
New submission from Hugo Benavides : hi, I have a problem to crete an executable using the command pyinstaller at the time of use the helper --onefile I've created an executable using the next instruction: pyinstaller --windowed --add-data "Rute PC to my Folder\Imagen&quo

[issue39586] Deprecate bdist_msi: use bdist_wheel instead

2020-02-08 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- keywords: +patch pull_requests: +17790 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18415 ___ Python tracker <https://bugs.python.org/issu

[issue39586] Deprecate bdist_msi: use bdist_wheel instead

2020-02-08 Thread Hugo van Kemenade
New submission from Hugo van Kemenade : According to the "Deprecate bdist_wininst" discussion (July 2019), bdist_msi can be deprecated: https://discuss.python.org/t/deprecate-bdist-wininst/1929 Victor Stinner wrote: "Now the question is if someone here wants to go further i

[issue39443] Inhomogeneous behaviour for descriptors in between the class-instance and metaclass-class pairs

2020-01-25 Thread Hugo Ricateau
Hugo Ricateau added the comment: Thanks for this detailed answer; very instructive :) > the descriptor protocol is only triggered by "dotted access" Indeed; this is what I was missing... despite it is indirectly mentioned in the documentation. Nonetheless, it could be worth

[issue39443] Inhomogeneous behaviour for descriptors in between the class-instance and metaclass-class pairs

2020-01-24 Thread Hugo Ricateau
New submission from Hugo Ricateau : Assume one has defined the following descriptor: ``` class Descriptor: def __set__(self, instance, value): print('SET') ``` On the one hand, for the class-instance pair, the behaviour is as follows: ``` class FirstClass: descriptor

[issue38640] while False: break => SyntaxError: 'break' outside loop

2019-10-30 Thread Hugo Dupras
New submission from Hugo Dupras : In python 3.8 the following code raises an exception, which was not the case with previous python. ``` while False: ... break ``` It raises the following exception: SyntaxError: 'break' outside loop. This `while False` loop was used to temporary

[issue29526] Documenting format() function

2017-02-10 Thread Hugo Prod'homme
Hugo Prod'homme added the comment: +1 : Adding the reference to help('FORMATTING') will indeed solve all the problems I was thinking about at first. -- I realized I was thinking only about a small part of the problem thanks to your answers. I wasn't even thinking about the dates and other

[issue29526] Documenting format() function

2017-02-10 Thread Hugo Prod'homme
New submission from Hugo Prod'homme: Hello python contributors, this is my first time on python.org and I am coming with a suggestion. The idea is to help people that have to format strings containing numbers of various kinds, I am from the scientific domain but this should help everybody

[issue29457] strftime('%x') does not use my locale

2017-02-05 Thread Hugo Osvaldo Barrera
Hugo Osvaldo Barrera added the comment: The problem is that the datetime/strftime documentation describes "%c" as: Locale’s appropriate date and time representation. However, this is not really accurate (this is not the *default* behaviour), that's why I was mentioning the cla

[issue29457] strftime('%x') does not use my locale

2017-02-05 Thread Hugo Osvaldo Barrera
Hugo Osvaldo Barrera added the comment: It would seem that locale.setlocale(locale.LC_TIME, "") fixes the issue. However, there seems to be no mention on this on the relevant documentation page[1], which is actually the source of my confusion. As a "fix" to this issue

[issue29457] strftime('%x') does not use my locale

2017-02-05 Thread Hugo Osvaldo Barrera
New submission from Hugo Osvaldo Barrera: As the the posix spec for strftime: %c The preferred date and time representation for the current locale. %x The preferred date representation for the current locale without the time. However, python doesn't seem to respect this: $ python3.5 -c

[issue11549] Build-out an AST optimizer, moving some functionality out of the peephole optimizer

2017-01-31 Thread Hugo Geoffroy
Hugo Geoffroy added the comment: I would like to point out that the changes in `ast.literal_eval` may have some security risk for code that do not expect this function to return an object with user-controlled length (for example, with `2**32*'X'`). AFAIK, this is not possible with the current

[issue25532] infinite loop when running inspect.unwrap over unittest.mock.call

2016-08-21 Thread Hugo Geoffroy
Hugo Geoffroy added the comment: Another argument for having the fix in `unwrap` rather than `signature` is that this bug does not actually seem to be called by `signature`, as the doctest module calls `unwrap` for "inspect.isroutine(inspect.unwrap(val))". Also, this call does not

[issue25532] infinite loop when running inspect.unwrap over unittest.mock.call

2016-08-21 Thread Hugo Geoffroy
Hugo Geoffroy added the comment: You are right, the fix would be better suited in `unwrap`. But, still, shouldn't any `__getattr__` implementation take care of not returning, for the `__wrapped__` attribute, a dynamic wrapper that provides the same attribute ? `__wrapped__` is commonly

[issue25532] infinite loop when running inspect.unwrap over unittest.mock.call

2016-08-20 Thread Hugo Geoffroy
Hugo Geoffroy added the comment: This patch blacklists `__wrapped__` (using the same form as the first comment, with a more explicit exception message) in `unittest.mock._Call.__getattr__`. I also documented the change and added a tests that checks `assertFalse(hasattr(call, '__wrapped__

[issue4773] HTTPMessage not documented and has inconsistent API across Py2/Py3

2013-03-28 Thread Hugo Lopes Tavares
Hugo Lopes Tavares added the comment: I just caught a bug because on Python 3 `HTTPMessage` has `get_param`, while on Python 2 there is `getparam`, with a different method signature. I am trying to figure out a solution so my code can run in both python 2 and 3 without ifs on python version

  1   2   >