[issue25592] distutils docs: data_files always uses sys.prefix

2018-10-09 Thread Éric Araujo
Éric Araujo added the comment: Did you try with a minimal project containing a C extension? Did you install in a system where sys.prefix != sys.exec_prefix? -- ___ Python tracker <https://bugs.python.org/issue25

[issue25592] distutils docs: data_files always uses sys.prefix

2018-10-09 Thread Éric Araujo
Éric Araujo added the comment: > If the docs are wrong, their history doesn't matter that much What I was saying is that I am not sure that the docs are wrong. Distutils is more touchy that the rest of the stdlib and I err on the side of caut

[issue25592] distutils docs: data_files always uses sys.prefix

2018-10-09 Thread Éric Araujo
Éric Araujo added the comment: If you’re not sure about the reason for that sentence, I think you should not remove it from the docs but investigate more (look at the history, test the conditions (package with extension module), etc

[issue34768] Add documentation explaining __init__.py in packages

2018-09-28 Thread Éric Araujo
Éric Araujo added the comment: I think the expectation is that people will know about modules and packages long before they upload things to PyPI. The import system and the packaging tools are two independent domains. For example the official tutorial has an intro: https://docs.python.org

[issue34694] Dismiss To Avoid Slave/Master wording cause it easier for non English spoken programmers

2018-09-19 Thread Éric Araujo
Éric Araujo added the comment: I think the idea here is: don’t feed the trolls. -- ___ Python tracker <https://bugs.python.org/issue34694> ___ ___ Python-bug

[issue34738] Distutils: ZIP files don't include directory entries

2018-09-19 Thread Éric Araujo
Éric Araujo added the comment: IMO inconsistency with tarfile is not very relevant. About the zip utility: are you saying that the unix unzip command is not able to inspect or extract distutils sdists? About zipimport, the question is: are sdists meant to be directly importable (IMO

[issue34678] need to remove the term "white space"

2018-09-14 Thread Éric Araujo
Éric Araujo added the comment: Trolling is not welcome. -- nosy: +eric.araujo resolution: -> rejected status: open -> closed ___ Python tracker <https://bugs.python.org/i

[issue34421] Cannot install package with unicode module names on Windows

2018-09-08 Thread Éric Araujo
Change by Éric Araujo : -- assignee: -> eric.araujo resolution: -> fixed stage: patch review -> commit review status: open -> pending type: crash -> behavior versions: +Python 3.7, Python 3.8 ___ Python tracker <https://bugs.pyt

[issue34421] Cannot install package with unicode module names on Windows

2018-09-08 Thread Éric Araujo
Éric Araujo added the comment: New changeset 0afada163c7ef25c3a9d46ed445481fb69f2ecaf by Éric Araujo (Julien Malard) in branch 'master': bpo-34421 avoid unicode error in distutils logging (GH-8799) https://github.com/python/cpython/commit/0afada163c7ef25c3a9d46ed445481fb69f2ecaf

[issue34496] Argparse library: parse --set type

2018-08-31 Thread Éric Araujo
Éric Araujo added the comment: In my experience, a more common way to say “stop parsing and take the remaining arguments as one value” is using `--`. -- nosy: +eric.araujo ___ Python tracker <https://bugs.python.org/issue34

[issue940286] pydoc.Helper.help() ignores input/output init parameters

2018-07-22 Thread Éric Araujo
Éric Araujo added the comment: Patch works! -- assignee: eric.araujo -> berker.peksag ___ Python tracker <https://bugs.python.org/issue940286> ___ ___ Python-

[issue11572] bring Lib/copy.py to 100% coverage

2018-07-09 Thread Éric Araujo
Éric Araujo added the comment: I realize now that calling self.fail at https://hg.python.org/cpython/rev/74e79b2c114a#l2.20 is a problem: self is an instance of the C class, not the TestCase instance. (The line is unreachable anyway so this doesn’t matter a lot. In other projects I’d use

[issue34032] Add platlibdir to allow distinction between /usr/lib and /usr/lib64 for Linux

2018-07-06 Thread Éric Araujo
Éric Araujo added the comment: I think there are open tickets discussing this, and the problem is more complex that a simple PR: - Debian does multiarch that’s more than just lib/lib64 - some systems have lib32 I think - recent systems merge / and /usr, is that relevant? - how does virtualenv

[issue33980] SSL Error when uploading package to your own pypi

2018-06-29 Thread Éric Araujo
Éric Araujo added the comment: I don’t think there is an option (see the --help command), but on localhost you could use http instead of https. Otherwise it’s strongly recommended to use twine to upload. -- ___ Python tracker <ht

[issue33466] Distutils does not support the compilation of Objective-C++ (“.mm”) files

2018-06-26 Thread Éric Araujo
Éric Araujo added the comment: In short: - Approve the PR (the bots will remove label «core review needed» and add «waiting for merge» - Do not add «backport» labels as this is a new feature - Push the squash and merge button - edit the commit message first line to have GH-123 instead

[issue32295] User friendly message when invoking bdist_wheel sans wheel package.

2018-06-15 Thread Éric Araujo
Change by Éric Araujo : -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue32295> ___ ___ Python-bugs-list

[issue14102] argparse: add ability to create a man page

2018-06-14 Thread Éric Araujo
Éric Araujo added the comment: Thanks Ben for expressing exactly what this ticket is about and why the code would be in argparse. (The author of argparse and Raymond a senior core dev also agree that adding a man page formatter to argparse would be useful

[issue2504] Add gettext.pgettext() and variants support

2018-05-22 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: It was an answer to «Is there anything I can do to help get this into the codebase» Feel free to take this on! I’ll try to review. -- ___ Python tracker <rep...@bugs.python.or

[issue33109] argparse: make new 'required' argument to add_subparsers default to False instead of True

2018-05-15 Thread Éric Araujo
Change by Éric Araujo <mer...@netwok.org>: -- Removed message: https://bugs.python.org/msg316703 ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue33069] Maintainer information discarded when writing PKG-INFO

2018-05-15 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: See also #33388 -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33069> ___ _

[issue33109] argparse: make new 'required' argument to add_subparsers default to False instead of True

2018-05-15 Thread Éric Araujo
Change by Éric Araujo <mer...@netwok.org>: -- Removed message: https://bugs.python.org/msg316702 ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue33109] argparse: make new 'required' argument to add_subparsers default to False instead of True

2018-05-15 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: I'm sorry I don't have the time to study this and make a judgment call. Bringing this to the release manager's attention. -- ___ Python tracker <rep...@bugs.python.org> <https://

[issue33388] Support PEP 566 metadata in dist.py

2018-05-15 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: In the early days, I think distutils was updated to support new metadata PEPs, and then it stopped. Now we have an ecosystem of tools that know how to work with metadata files created by distutils or setuptools; I worry that ch

[issue30613] Distutils register command creates non-standard multipart data

2018-04-25 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: I think this is a duplicate, could you search existing bugs? But given issue33071 , is this still relevant? -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue32933] mock_open does not support iteration around text files.

2018-04-06 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: Is this related to #33236 ? -- nosy: +eric.araujo ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue33227] Cmd do_something only accepts one argument

2018-04-06 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: I think using shlex unconditionally to parse lines sent to cmd.Cmd may not be ideal. Cmd is very generic and there are many ways to parse lines into arguments: - no parsing (think Python shells or remote command execution) - shlex (makes

[issue33235] Better help text for dict.setdefault

2018-04-06 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: Note that if we switch the order like you propose, we don’t need to use dict.get: set D[k]=d if k not in D then return D[k] I suspect the current doc was written the way it is because it matches the actual implemen

[issue33235] Better help text for dict.setdefault

2018-04-06 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: The two lines are equivalent! `d.setdefault(key, default)` does return the same thing as `d.get(key, default)`, and then sets `d[key] = default` if the get method went into the “key was not found, let’s return default”

[issue33214] join method for list and tuple

2018-04-06 Thread Éric Araujo
Change by Éric Araujo <mer...@netwok.org>: -- nosy: +eric.araujo ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33214> ___ __

[issue33189] pygettext doesn't work with f-strings

2018-04-06 Thread Éric Araujo
Change by Éric Araujo <mer...@netwok.org>: -- nosy: +eric.araujo ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33189> ___ __

[issue33069] Maintainer information discarded when writing PKG-INFO

2018-03-30 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: +1 to have a warning from distutils for cases not handled by older Metadata PEP. -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue33152] Use list comprehension in timeit module instead of loop with append

2018-03-30 Thread Éric Araujo
Change by Éric Araujo <mer...@netwok.org>: -- components: +Library (Lib) -Distutils resolution: -> not a bug stage: patch review -> resolved status: open -> closed type: behavior -> ___ Python tracker <rep...@bu

[issue33069] Maintainer information discarded when writing PKG-INFO

2018-03-14 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: I think that the proposed change is a good thing in itself, but if distutils only supports metadata 1.1 then it should comply with that spec. I expect most projects to be using setuptools these days (to support wheels for one thin

[issue29417] Sort entries in foo.dist-info/RECORD

2018-03-05 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: Hello! distutils does not write dist-info directories itself; wheel, setuptools and other build tools do that. Look at https://github.com/pypa to find the bug trackers (I forget if wheel is there or on bitbucket) -- reso

[issue32304] Upload failed (400): Digests do not match on .tar.gz ending with x0d binary code

2018-02-23 Thread Éric Araujo
Change by Éric Araujo <mer...@netwok.org>: -- stage: backport needed -> resolved status: open -> closed versions: -Python 3.8 ___ Python tracker <rep...@bugs.python.org> <https://bugs.

[issue32304] Upload failed (400): Digests do not match on .tar.gz ending with x0d binary code

2018-02-23 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: 3.5 only accepts security fixes: https://devguide.python.org/#status-of-python-branches -- versions: +Python 3.8 -Python 3.4, Python 3.5 ___ Python tracker <rep...@bugs.python.or

[issue20160] broken ctypes calling convention on MSVC / 64-bit Windows (large structs)

2018-02-18 Thread Éric Araujo
Change by Éric Araujo <mer...@netwok.org>: -- pull_requests: -5529 ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue20160> ___ _

[issue21060] Better error message for setup.py upload command without sdist/bdist

2018-02-18 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: Fixed in all branches. I messed up the ticket reference so some links are missing here. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Pyth

[issue21060] Better error message for setup.py upload command without sdist/bdist

2018-02-18 Thread Éric Araujo
Change by Éric Araujo <mer...@netwok.org>: -- pull_requests: +5525 ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue21060> ___ _

[issue31972] Inherited docstrings for pathlib classes are confusing

2018-02-18 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: Thanks for the patch! -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue31972] Inherited docstrings for pathlib classes are confusing

2018-02-18 Thread Éric Araujo
Change by Éric Araujo <mer...@netwok.org>: -- assignee: docs@python -> eric.araujo resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8 ___ Python tracker <rep...@bugs.python.org>

[issue31972] Inherited docstrings for pathlib classes are confusing

2018-02-18 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: New changeset dfa015cf77a148d229ddc0a5b063562c9f9664f2 by Éric Araujo (chason) in branch 'master': bpo-31972: Improve docstrings for pathlib classes (#5310) https://github.com/python/cpython/commit/dfa015cf77a148d229ddc0a5b063562c9f

[issue21060] Better error message for setup.py upload command without sdist/bdist

2018-02-17 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: Thanks for the feedback, I went with the cleaner phrasing. -- versions: +Python 3.8 ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue21060] Better error message for setup.py upload command without sdist/bdist

2018-02-17 Thread Éric Araujo
Change by Éric Araujo <mer...@netwok.org>: -- pull_requests: +5511 ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue21060> ___ _

[issue32716] setup.py register --repository is broken

2018-02-17 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: There are many open issues with .pypirc. I don’t think that -r URL is a supported use case though; the docs should say that the usage is to add a section in .pypirc to define a repo, then use -r repo-section-name. -- ve

[issue32304] Upload failed (400): Digests do not match on .tar.gz ending with x0d binary code

2018-01-29 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: New changeset f5a793522d539afc84ac7888c9ad189097c43a75 by Éric Araujo (Bo Bayles) in branch '2.7': bpo-32304: Fix distutils upload for tar files ending with b'\r' (GH-5264) (GH-5331) https://github.com/python/cpython/

[issue21060] Better error message for setup.py upload command without sdist/bdist

2018-01-28 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: For improving the message, I am hesitating between adding to the existing message (hoping to help search engines find their way to improved docs): «No dist file created in earlier command (e.g. setup.py sdist upload)» and rew

[issue12944] Accept arbitrary files for distutils' upload command

2018-01-28 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: A doc ticket already exists, moving this one back to a feature request and closing it. -- resolution: -> wont fix stage: needs patch -> resolved status: open -> closed superseder: -> Better error message for setup

[issue12944] Better error message for "setup.py upload" missing sdist/bdist

2018-01-28 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: I had a patch for this, but now think it would be an attractive nuisance, given that distutils does not always ensure proper HTTPS verification. Not adding the ability to build sdists/wheels, check them and then upload them will hel

[issue32304] Upload failed (400): Digests do not match on .tar.gz ending with x0d binary code

2018-01-28 Thread Éric Araujo
Change by Éric Araujo <mer...@netwok.org>: -- assignee: -> eric.araujo resolution: -> fixed stage: patch review -> backport needed ___ Python tracker <rep...@bugs.python.org> <https://bu

[issue32304] Upload failed (400): Digests do not match on .tar.gz ending with x0d binary code

2018-01-26 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: New changeset 995c60d2656c022359aac3fe713d8464c8db5716 by Éric Araujo (Bo Bayles) in branch '3.6': [3.6] bpo-32304: Fix distutils upload for tar files ending with b'\r' (GH-5264) (GH-5330) https://github.com/python/cpython/

[issue32304] Upload failed (400): Digests do not match on .tar.gz ending with x0d binary code

2018-01-25 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: New changeset 2fc98ae115e2a2095a0bcf388c27a878aafdb454 by Éric Araujo (Bo Bayles) in branch 'master': bpo-32304: Fix distutils upload for sdists ending with \x0d (GH-5264) https://github.com/python/cpython/

[issue32295] User friendly message when invoking bdist_wheel sans wheel package

2017-12-23 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: Will close soon unless someone disagrees. -- resolution: -> wont fix status: open -> pending ___ Python tracker <rep...@bugs.python.org> <https://bugs.

[issue32419] Add unittest support for pyc projects

2017-12-23 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: Could you tell more about these projects? In current Python 3 pyc files are in a __pycache__ sub-directory, not directly in the package dir; what tool produces «pyc projects»? -- nosy: +eric.

[issue32295] User friendly message when invoking bdist_wheel sans wheel package

2017-12-12 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: The devs probably choose to use distutils.Command as base class for maximum compatibility, but I suspect 99.99% of users use the setuptools integration (entry points https://github.com/pypa/wheel/blob/3a87ecebaba765475392ae2cdfa2a51cb7

[issue32295] User friendly message when invoking bdist_wheel sans wheel package

2017-12-12 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: I don’t know that bdist_wheel integrates with pure distutils without setuptools. I think this PR should target setuptools (it will also make it propagate to users faster and regardless of Python v

[issue32223] distutils doesn't correctly read UTF-8 content from config files

2017-12-08 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: `metadata` in setup.cfg is not supported directly by distutils. Can you provide a setup.py script that shows the problem without setuptools? -- ___ Python tracker <rep...@bugs.python.or

[issue32212] few discrepancy between source and docs in logging

2017-12-08 Thread Éric Araujo
Change by Éric Araujo <mer...@netwok.org>: -- keywords: +easy ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32212> ___ __

[issue31972] Inherited docstrings for pathlib classes are confusing

2017-12-06 Thread Éric Araujo
Change by Éric Araujo <mer...@netwok.org>: -- pull_requests: -4644 ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31972> ___ _

[issue32223] distutils doesn't correctly read UTF-8 content from config files

2017-12-05 Thread Éric Araujo
Change by Éric Araujo <mer...@netwok.org>: -- versions: -Python 3.4, Python 3.5, Python 3.8 ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue32223] distutils doesn't correctly read UTF-8 content from config files

2017-12-05 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: Can you give an example setup.cfg file, setup.py command and the full error message? -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue19610] Give clear error messages for invalid types used for setup.py params (e.g. tuple for classifiers)

2017-12-03 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: I am sorry this snowballed. The intent in my messages here and in my PR review was to exchange a late, unfriendly traceback with a clear, early message, but only for package authors. I forgot that a Python 3.7 could execute an i

[issue32155] Fix flake8 warning F841: local variable ... is assigned to but never used

2017-11-28 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: The best course of action would be to revert the distutils changes. There are a handful of tickets related to register/upload commands, which are funky commands with their own config file not 100% in line with other distutils co

[issue32046] 2to3 fix for operator.isCallable()

2017-11-28 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: Merged in master, I suppose stable branches should be left alone? -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue32046] 2to3 fix for operator.isCallable()

2017-11-28 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: New changeset a489599793f9b00ddc2c68e2ce3bce9cbb2c09a2 by Éric Araujo (Dong-hee Na) in branch 'master': bpo-32046: Update 2to3 when converts operator.isCallable(obj). (#4417) https://github.com/python/cpython/

[issue32112] Should uuid.UUID() accept another UUID() instance?

2017-11-24 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: I don’t see a downside in accepting the feature request here. Maybe ask on python-ideas to get more feedback? -- nosy: +eric.araujo ___ Python tracker <rep...@bugs.python.or

[issue19610] Give clear error messages for invalid types used for setup.py params (e.g. tuple for classifiers)

2017-11-22 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: Latest patch seems good. Berker, would you have the time to adapt for 3.7 and submit as a PR? -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue2504] Add gettext.pgettext() and variants support

2017-11-20 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: The patch would need to be applied on top of the current master to make a pull request. Then, the tasks outlined in that message should be addressed: https://bugs.python.org/issue2504#msg122439 -- assignee:

[issue32016] Python 3.6.3 venv FAILURE

2017-11-17 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: Can you find out the full error message from pip? -- nosy: +eric.araujo ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue32046] 2to3 fix for operator.isCallable()

2017-11-16 Thread Éric Araujo
Change by Éric Araujo <mer...@netwok.org>: -- Removed message: https://bugs.python.org/msg306393 ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue32046] 2to3 fix for operator.isCallable()

2017-11-16 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: Why about just removing the check, now that callable has been back in 3.x for a few releases? -- nosy: +eric.araujo ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue32001] @lru_cache needs to be called with ()

2017-11-10 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: I remember seeing code needed to make a decorator that works with and without parens and finding it quite obscure and confusing for a long time. When you understand the distinction between, things become clear and simple again. I

[issue31975] Add a default filter for DeprecationWarning in __main__

2017-11-07 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: This can’t be backported, but could the docs of 2.7 and stable 3.x version gain an example of equivalent PYTHONWARNINGS envvar? -- nosy: +eric.araujo ___ Python tracker <rep...@bugs.p

[issue31972] Inherited docstrings for pathlib classes are confusing

2017-11-07 Thread Éric Araujo
New submission from Éric Araujo <mer...@netwok.org>: pydoc pathlib.Path shows the docstring of PurePath: | PurePath represents a filesystem path and offers operations which | don't imply any actual filesystem I/O. But immediately after we see methods like chmod, exists and co

[issue31898] Add a `recommended-packages.txt` file

2017-11-03 Thread Éric Araujo
Change by Éric Araujo <mer...@netwok.org>: -- nosy: +eric.araujo ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31898> ___ __

[issue31871] Support for file descriptor params in os.path

2017-10-27 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: > support passing file descriptor instead of a path. os.path functions Are you sure about that? The docs for os.stat show the dir_fd parameter, used to avoid directory renaming issues or attacks, but it doesn’t say that the *path*

[issue31822] Document that urllib.parse.{Defrag, Split, Parse}Result are namedtuples

2017-10-23 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: I suggest using :term:`named tuple` for the link (+ an example of using _replace as Mike said) -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue31822] Document that urllib.parse.{Defrag, Split, Parse}Result are namedtuples

2017-10-23 Thread Éric Araujo
Change by Éric Araujo <mer...@netwok.org>: -- keywords: +easy nosy: +eric.araujo stage: -> needs patch versions: +Python 3.7 ___ Python tracker <rep...@bugs.python.org> <https://bugs.pyt

[issue31826] Misleading __version__ attribute of modules in standard library

2017-10-23 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: The version in distutils is derived from sys.version and should be left as is too. Thanks! -- nosy: +eric.araujo ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue31738] Lib/site.py: method `abs_paths` is not documented

2017-10-16 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: Thanks for wanting to help! This function is not meant to be public, which explains why it’s not documented. Please see the devguide and the core-mentorship mailing list to find ways to contribute! -- nosy: +merwok reso

[issue31567] Inconsistent documentation around decorators

2017-10-12 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: Cheers! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <rep...@bugs.python.org> <https://bu

[issue31567] Inconsistent documentation around decorators

2017-10-12 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: New changeset 205dd4e14de77f9c8ed2903ddebbcf9968bbb6a9 by Éric Araujo (Miss Islington (bot)) in branch '3.6': [3.6] bpo-31567: add or fix decorator markup in docs (GH-3959) (GH-3966) https://github.com/python/cpython/

[issue31567] Inconsistent documentation around decorators

2017-10-12 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: New changeset 03b9537dc515d10528f83c920d38910b95755aff by Éric Araujo in branch 'master': bpo-31567: more decorator markup fixes in docs (GH-3959) (#3966) https://github.com/python/cpython/commit/03b9537dc515d10528f83c920d38910b95

[issue31567] Inconsistent documentation around decorators

2017-10-12 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: I think existing uses of the decorator markup rely on the reader’s understanding that it’s syntactic sugar for a call and an assignment, and they don’t have decorator+function markup. The PRs for this ticket follow that. Tha

[issue31567] Inconsistent documentation around decorators

2017-10-12 Thread Éric Araujo
Change by Éric Araujo <mer...@netwok.org>: -- pull_requests: +3945 ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31567> ___ _

[issue31567] Inconsistent documentation around decorators

2017-10-12 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: New changeset 0e61e67a57deb4abc677808201d7cf3c38138e02 by Éric Araujo (Daisuke Miyakawa) in branch 'master': bpo-31567: add or fix decorator markup in docs (#3959) https://github.com/python/cpython/

[issue31681] pkgutil.get_data() leaks open files in Python 2.7

2017-10-09 Thread Éric Araujo
Change by Éric Araujo <mer...@netwok.org>: -- assignee: -> merwok resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <rep...@bugs.python.org> <https:/

[issue31681] pkgutil.get_data() leaks open files in Python 2.7

2017-10-09 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: New changeset cfe1aefcbd2534ddc1059a7332842644e6c8d1e4 by Éric Araujo (Elvis Pranskevichus) in branch '2.7': bpo-31681: Make sure pkgutil.get_data closes files properly (#3875) https://github.com/python/cpython/

[issue31666] Pandas_datareader Error Message - ModuleNotFoundError: No module named 'pandas_datareader' with module in folder

2017-10-06 Thread Éric Araujo
New submission from Éric Araujo <mer...@netwok.org>: Hello! Your bug report gives very little information for us to help you. Can you give details such as: your environement / setup, your code, expected result and full error message? https://devguide.python.org/tracker/#reporting-an

[issue31567] Inconsistent documentation around decorators

2017-10-02 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: > What does @ mean here? If there's some meaning, the next question is, why doc > for staticmethod() > (and classmethod() in the same page) does not have it? @ means that the function is meant to be used as a decorator (the mar

[issue31638] zipapp module should support compression

2017-09-29 Thread Éric Araujo
Change by Éric Araujo <mer...@netwok.org>: -- keywords: +needs review nosy: +paul.moore versions: -Python 3.8 ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue31634] Consider installing wheel in ensurepip by default

2017-09-29 Thread Éric Araujo
Change by Éric Araujo <mer...@netwok.org>: -- nosy: +dstufft, merwok, ncoghlan versions: -Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.8 ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue31582] Add _pth breadcrumb to sys.path documentation

2017-09-29 Thread Éric Araujo
Change by Éric Araujo <mer...@netwok.org>: -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue31638] zipapp module should support compression

2017-09-29 Thread Éric Araujo
Change by Éric Araujo <mer...@netwok.org>: -- nosy: +merwok ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31638> ___ __

[issue1649329] Extract file-finding and language-handling code from gettext.find

2017-09-27 Thread Éric Araujo
Éric Araujo <mer...@netwok.org> added the comment: Reopening. Eggs are still not officially blessed, but zipapps are. -- resolution: rejected -> stage: resolved -> status: closed -> open versions: +Python 3.7 -Python 3.2 ___ Pyth

[issue12301] Use :role:`sys.thing` instead of ``sys.thing`` throughout

2017-09-22 Thread Éric Araujo
Changes by Éric Araujo <mer...@netwok.org>: -- resolution: -> rejected stage: patch review -> resolved status: pending -> closed ___ Python tracker <rep...@bugs.python.org> <https://bu

[issue31544] gettext.Catalog title is not flagged as a class

2017-09-21 Thread Éric Araujo
Éric Araujo added the comment: Are you talking about https://docs.python.org/3/library/gettext.html#the-catalog-constructor ? I think the lack of markup is on purpose, since the text explains that this is a compatibility measure (mostly obsolete nowadays). For future bug reports, please

[issue29298] argparse fails with required subparsers, un-named dest, and empty argv

2017-09-20 Thread Éric Araujo
Changes by Éric Araujo <mer...@netwok.org>: -- assignee: -> merwok nosy: +merwok versions: +Python 2.7, Python 3.7 ___ Python tracker <rep...@bugs.python.org> <https://bugs.pyt

[issue9253] argparse: optional subparsers

2017-09-20 Thread Éric Araujo
Éric Araujo added the comment: The other PR is now merged in 3.7, and won’t be backported (it changes default behaviour and adds a new param). -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/

[issue9253] argparse: optional subparsers

2017-09-20 Thread Éric Araujo
Changes by Éric Araujo <mer...@netwok.org>: -- dependencies: +[argparse] Add required argument to add_subparsers versions: +Python 3.7 -Python 3.3 ___ Python tracker <rep...@bugs.python.org> <https://bugs.pytho

<    1   2   3   4   5   6   7   8   9   10   >