[issue26510] [argparse] Add required argument to add_subparsers

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

[issue26510] [argparse] Add required argument to add_subparsers

2017-09-20 Thread Éric Araujo
Éric Araujo added the comment: New changeset aaf6fc0982c916cb71d9e0afcd7dda4ba495793b by Éric Araujo (Anthony Sottile) in branch 'master': bpo-26510: make argparse subparsers required by default (#3027) https://github.com/python/cpython/commit/aaf6fc0982c916cb71d9e0afcd7dda4ba495793b

[issue26510] [argparse] Add required argument to add_subparsers

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

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

2017-09-19 Thread Éric Araujo
Changes by Éric Araujo <mer...@netwok.org>: -- keywords: +needs review versions: +Python 3.7 -Python 3.5 ___ Python tracker <rep...@bugs.python.org> <https://bugs.pytho

[issue13224] Change str(x) to return only the qualname for some types

2017-09-19 Thread Éric Araujo
Éric Araujo added the comment: Yeah, it was interesting to explore but there are significant drawbacks and not enough benefit. Thanks for the guidance all! -- resolution: -> rejected stage: patch review -> resolved status: open -&g

[issue13224] Change str(x) to return only the qualname for some types

2017-09-18 Thread Éric Araujo
Éric Araujo added the comment: (Nick and Guido! «My proposal is to make str(x) return x.__name__ for exactly these three types of objects: modules, classes, and functions.») -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.p

[issue13224] Change str(x) to return only the qualname for some types

2017-09-18 Thread Éric Araujo
Éric Araujo added the comment: Martin Panter > I’m a bit confused. In the current patch, the new type_str() function > appears to use the “qualname” (which I support), but some of the test > changes seem to contradict this, e.g.: > >>> C.foo(1) > -classmethod

[issue13420] newer() function in dep_util.py discard changes in the same second

2017-09-15 Thread Éric Araujo
Éric Araujo added the comment: For 3.6 and 3.7, we can avoid the original float resolution issue thanks to stat_result.st_mtime_ns. Not sure if 2.7 should be changed. -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.p

[issue13420] newer() function in dep_util.py discard changes in the same second

2017-09-15 Thread Éric Araujo
Changes by Éric Araujo <mer...@netwok.org>: -- Removed message: https://bugs.python.org/msg302314 ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue13420] newer() function in dep_util.py discard changes in the same second

2017-09-15 Thread Éric Araujo
Éric Araujo added the comment: Oh well. Re-reading #11933 I see that st_mtime is a float and may not have the required precision (53 bits for Python floats vs 64 bit for timestamps), so the proposed change would not fix this issue and reopen that one

[issue13420] newer() function in dep_util.py discard changes in the same second

2017-09-15 Thread Éric Araujo
Éric Araujo added the comment: Coming back to this, I think this should be a safe change that fixes the issue without previsible downside. Jacob, you opened a bug duplicate of this one: could you say what was the undesirable behaviour caused by the coarse resolution? (I would change os.stat

[issue13487] inspect.getmodule fails when module imports change sys.modules

2017-09-15 Thread Éric Araujo
Éric Araujo added the comment: Could you give code to reproducer the problem, if possible without third-party dependencies? -- resolution: fixed -> status: closed -> open versions: +Python 3.6, Python 3.7 -Python 3.2, Python 3.3 ___ Python t

[issue13224] Change str(x) to return only the qualname for some types

2017-09-15 Thread Éric Araujo
Éric Araujo added the comment: I converted my patch to a PR. One use case mentioned on python-ideas was for reprs of PEP 384 types; need to hunt down where typing could benefit from the new str(class). The quote in my first message mentions printing err.__class__ rather than err.__class__

[issue13224] Change str(x) to return only the qualname for some types

2017-09-15 Thread Éric Araujo
Changes by Éric Araujo <mer...@netwok.org>: -- pull_requests: +3599 ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue13224> ___ _

[issue9842] Document ... used in recursive repr of containers

2017-09-15 Thread Éric Araujo
Changes by Éric Araujo <mer...@netwok.org>: -- versions: +Python 3.6, Python 3.7 -Python 3.2, Python 3.3, Python 3.4 ___ Python tracker <rep...@bugs.python.org> <https://bugs.pytho

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

2017-09-15 Thread Éric Araujo
Éric Araujo added the comment: Inclined to reject this, given the general dislike of huge low-value patches. -- keywords: -easy status: open -> pending versions: -Python 2.7, Python 3.2, Python 3.3, Python 3.4 ___ Python tracker &

[issue15472] Itertools doc summary table misdocuments some arguments

2017-09-15 Thread Éric Araujo
Éric Araujo added the comment: Per Raymond’s feedback, I will close this. The table is useful as a quick reference, seq is a shortcut, “it” or “iter” are worse names, the first doc line says this is all about iterators, and the individual function docs do use “iterable”. -- status

[issue12913] Add a debugging howto

2017-09-15 Thread Éric Araujo
Éric Araujo added the comment: Hello! I didn’t produce anything for this apart from the initial outline. Looking at it now, it looks like a talk outline! Maybe I should run with it, present at my local user group, and only write it up after collecting feedback from real beginner

[issue31466] No easy way to change float formatting when subclassing encoder.JSONEncoder

2017-09-15 Thread Éric Araujo
Éric Araujo added the comment: Hello and thanks for the patch! If you don’t get feedback, you could try the python-ideas mailing list to see if other people have the same need and if there’s already a solution for this. Serhiy, would you mind refreshing my memory about json development? I’m

[issue9253] argparse: optional subparsers

2017-09-15 Thread Éric Araujo
Éric Araujo added the comment: I am now reviewing the PR added to the other issue by Anthony. This ticket has a lot of discussion; it would be good to check which parts are addressed by the other ticket, and particularly if the problems noted by Mike and others are now fixed

[issue30096] Update examples in abc documentation to use abc.ABC

2017-09-15 Thread Éric Araujo
Éric Araujo added the comment: Keyword arguments in a class definition are supported: https://www.python.org/dev/peps/pep-3115/#specification Anyway, this ticket is closed, a mailing list such as python-ideas would be a better venue to discuss base classes vs metaclasses in a general way

[issue31454] Include "import as" in tutorial

2017-09-15 Thread Éric Araujo
Changes by Éric Araujo <mer...@netwok.org>: -- keywords: +easy ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31454> ___ __

[issue31466] No easy way to change float formatting when subclassing encoder.JSONEncoder

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

[issue31128] Allow pydoc to run with an arbitrary hostname

2017-09-14 Thread Éric Araujo
Éric Araujo added the comment: Merged, thanks! -- assignee: docs@python -> merwok resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker <rep...@bugs.python.org> <https://bugs.

[issue31128] Allow pydoc to run with an arbitrary hostname

2017-09-14 Thread Éric Araujo
Éric Araujo added the comment: New changeset 6a396c9807b1674a24e240731f18e20de97117a5 by Éric Araujo (Feanil Patel) in branch 'master': bpo-31128: Allow pydoc to bind to arbitrary hostnames (#3011) https://github.com/python/cpython/commit/6a396c9807b1674a24e240731f18e20de97117a5

[issue30096] Update examples in abc documentation to use abc.ABC

2017-09-14 Thread Éric Araujo
Éric Araujo added the comment: > "Best practices" according to whom? Well at least two senior core developers :) See the rationale in #16049 when abc.ABC was first added (with Guido approving that inheritance is nicer for

[issue29996] Use terminal width by default in pprint

2017-09-01 Thread Éric Araujo
Éric Araujo added the comment: I was about to open the same issue! I tend to print nested data structures for debugging; having lists take up a lot of vertical screen estate and leave unused all the horizontal space is an annoyance, so that I regularly have to go back and add the width param

[issue31319] Rename idlelib to just idle

2017-09-01 Thread Éric Araujo
Éric Araujo added the comment: What about adding a simple Lib/idle.py that imports and runs the main function from idlelib? -- nosy: +merwok ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue30096] Update examples in abc documentation to use abc.ABC

2017-08-30 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the patch! Raymond approved it and I merged it after a minor change. Now let me read the doc again about backports :) -- stage: needs patch -> backport needed versions: +Python 3.6 ___ Python tracker &

[issue30096] Update examples in abc documentation to use abc.ABC

2017-08-30 Thread Éric Araujo
Éric Araujo added the comment: New changeset 122e88a8354e3f75aeaf6211232dac88ac296d54 by Éric Araujo (Eric Appelt) in branch 'master': bpo-30096: Use ABC in abc reference examples (#1220) https://github.com/python/cpython/commit/122e88a8354e3f75aeaf6211232dac88ac296d54 -- nosy

[issue31211] distutils/util.py get_platform() does not identify linux-i686 platforms

2017-08-18 Thread Éric Araujo
Éric Araujo added the comment: > both wheel/pip makes calls to distutils.util.get_platform(). Fixing it in one > location > would fix it across the board. True, but it may have unintended effects in other places that disrupt or break parts of the CPython build process, or downstream

[issue31211] distutils/util.py get_platform() does not identify linux-i686 platforms

2017-08-15 Thread Éric Araujo
Éric Araujo added the comment: Hello! Your analysis sounds right, but this is the wrong place. distutils doesn’t know about wheels, it’s setuptools and/or the wheel module that generate them, and pip and others who consumes them. Please report the issue to the setuptools and/or wheel bug

[issue29585] site.py imports relatively large `sysconfig` module.

2017-02-17 Thread Éric Araujo
Changes by Éric Araujo <mer...@netwok.org>: -- nosy: +merwok ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29585> ___ __

[issue28383] __hash__ documentation recommends naive XOR to combine but this is suboptimal

2016-10-07 Thread Éric Araujo
Changes by Éric Araujo <mer...@netwok.org>: -- nosy: +eric.araujo ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28383> ___ __

[issue13317] building with 2to3 generates wrong import paths because build_ext is run after build_py

2015-12-21 Thread Éric Araujo
Éric Araujo added the comment: I’m not active in python-dev anymore. The fix was noted in a previous comment: build.sub_commands in distutils.command.build should list "build_ext" before "build_py". lib2to3.fixes.fix_import will write global instead of local imp

[issue12300] Document pydoc.help

2015-11-03 Thread Éric Araujo
Éric Araujo added the comment: Works for me. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12300> ___ ___ Python-bugs-list

[issue25303] py_compile disregards PYTHONDONTWRITEBYTECODE and -B

2015-10-09 Thread Éric Araujo
Éric Araujo added the comment: I had the same reasoning as RDM when I worked on byte-compilation in distutils2: https://hg.python.org/distutils2/rev/7c0a88497b5c Using py_compile or compileall means that you want to create pyc or pyo files. Defining PYTHONDONTWRITEBYTECODE or -B means that you

[issue25316] distutils: broken error reporting about vcvarsall.bat

2015-10-05 Thread Éric Araujo
Changes by Éric Araujo <mer...@netwok.org>: -- nosy: +steve.dower -eric.araujo ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue12885] distutils.filelist.findall() fails on broken symlink in Py2.x

2015-08-31 Thread Éric Araujo
Éric Araujo added the comment: Patch looks good and would fix the reported problem. Being a backport from setuptools also gives confidence. Does the patch change the behaviour for the handling of the MANIFEST file (not MANIFEST.in)? My previous message mentions that the docs say that one

[issue24685] collections.OrderedDict collaborative subclassing

2015-07-24 Thread Éric Araujo
Éric Araujo added the comment: FWIW I once helped a friend combine OrderedDict and defaultdict: https://gist.github.com/merwok/11268759 The behavior can be surprising if we don’t know what Raymond said about design choices in OrderedDict, but it was not hard (in the default+ordered case

[issue16574] clarify policy on updates to final peps

2015-04-20 Thread Éric Araujo
Éric Araujo added the comment: Patch LGTM. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16574 ___ ___ Python-bugs-list mailing list

[issue23955] Add python.ini file for embedded/applocal installs

2015-04-17 Thread Éric Araujo
Éric Araujo added the comment: Hm, could you reuse the venv config file with use-site-packages=true? -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23955

[issue16108] Include maintainer information in register/upload

2015-04-16 Thread Éric Araujo
Éric Araujo added the comment: Again, if PyPI can display both pieces of information, then it will be okay to send both. The change should not break third-party indexes like devpi-server. Is there a PyPI ticket for this? -- ___ Python tracker rep

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

2015-04-02 Thread Éric Araujo
Éric Araujo added the comment: Thanks, reviewed. When running a setup.py that uses a tuple for classifiers, is the error message in the terminal user-friendly, or do we get a full traceback? -- title: setup.py does not allow a tuple for classifiers - Give clear error messages

[issue23671] string.Template doesn't work with the self keyword argument

2015-03-27 Thread Éric Araujo
Éric Araujo added the comment: descriptor 'substitute' of 'Template' object needs an argument These error messages don’t seem very user-friendly. I think the style in the rest of the module is like substitute method wants x y z. -- nosy: +eric.araujo

[issue16314] Support xz compression in distutils

2015-03-19 Thread Éric Araujo
Éric Araujo added the comment: Code and doc changes look good. Will you add tests? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16314

[issue11344] Add os.path.splitpath(path) function

2015-03-19 Thread Éric Araujo
Éric Araujo added the comment: pathlib is in the stdlib now (see previous comments), maybe this should be closed as obsolete. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11344

[issue23171] csv.writer.writerow() does not accept generator (must be coerced to list)

2015-03-19 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23171 ___ ___ Python-bugs-list

[issue8027] distutils fail to determine c++ linker with unixcompiler if using ccache

2015-03-18 Thread Éric Araujo
Éric Araujo added the comment: Does the patch fix things on Mac OS X and Linux? -- assignee: eric.araujo - versions: -3rd party, Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8027

[issue8027] distutils fail to determine c++ linker with unixcompiler if using ccache

2015-03-18 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the patch and the testing. I’m not in a position to commit the patch; if no core developer does it in the coming week, feel free to ping python-dev to get action. You can also hop onto IRC at any time and see if someone here can finish

[issue23639] Not documented special names

2015-03-11 Thread Éric Araujo
Éric Araujo added the comment: I think like Ezio does. Python covers itself by saying that all names starting and ending with two underscores are reserved, and documents those that are interesting for users. On the other hand, many third-party frameworks/libs/apps invent their own __names__

[issue19610] setup.py does not allow a tuple for classifiers

2015-03-09 Thread Éric Araujo
Éric Araujo added the comment: I think classifiers and keywords are the only commonly used fields. This issue could be limited to classifiers, or also include other list fields. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue19610] setup.py does not allow a tuple for classifiers

2015-03-08 Thread Éric Araujo
Éric Araujo added the comment: I think the change is acceptable. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19610 ___ ___ Python-bugs-list

[issue23512] The list of built-in functions is not alphabetical on https://docs.python.org/2/library/functions.html

2015-03-01 Thread Éric Araujo
Éric Araujo added the comment: IIRC the table was added in a 3.x branch and backported to 2.7; the developer doing the backport added the functions missing in 3.x to the end of the table, thinking that re-ordering was not worth the trouble. -- nosy: +eric.araujo

[issue23348] distutils.LooseVersion fails to compare two valid versions

2015-01-30 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the report. I think there’s already a long discussion in another ticket but don’t have time to search right now. -- resolution: - duplicate ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue14894] distutils.LooseVersion fails to compare number and a word

2015-01-30 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- assignee: eric.araujo - versions: +Python 3.5 -Python 3.3, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14894

[issue23348] distutils.LooseVersion fails to compare two valid versions

2015-01-30 Thread Éric Araujo
Éric Araujo added the comment: Yes, thanks. Please weigh in on the other ticket. -- status: open - closed superseder: - distutils.LooseVersion fails to compare number and a word ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue2292] Missing *-unpacking generalizations

2015-01-30 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: -eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2292 ___ ___ Python-bugs-list

[issue23102] distutils: tip-toe around quirks owing to setuptools monkey-patching Extension

2014-12-26 Thread Éric Araujo
Éric Araujo added the comment: IMO this would be best fixed in setuptools, but it may not be possible. -- versions: -Python 3.2, Python 3.3, Python 3.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23102

[issue23114] dist must be a Distribution instance check fails with setuptools

2014-12-26 Thread Éric Araujo
Éric Araujo added the comment: Can this ticket be merged into #23102 ? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23114 ___ ___ Python-bugs

[issue23114] dist must be a Distribution instance check fails with setuptools

2014-12-26 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- resolution: - duplicate stage: - resolved status: open - closed superseder: - distutils: tip-toe around quirks owing to setuptools monkey-patching Extension ___ Python tracker rep...@bugs.python.org

[issue23102] distutils: isinstance checks fail with setuptools-monkeypatched Extension/Distribution

2014-12-26 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- title: distutils: tip-toe around quirks owing to setuptools monkey-patching Extension - distutils: isinstance checks fail with setuptools-monkeypatched Extension/Distribution ___ Python tracker rep

[issue22231] httplib: unicode url will cause an ascii codec error when combined with a utf-8 string header

2014-12-24 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22231 ___ ___ Python-bugs-list mailing

[issue23101] bleh, sorry, my cat reported this non-bug :)

2014-12-22 Thread Éric Araujo
New submission from Éric Araujo: :-) -- resolution: - not a bug stage: - resolved ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23101

[issue23063] `python setup.py check --restructuredtext --strict --metadata` fails with: `warning: check: Could not finish the parsing.` if the RST document uses code or code-block directives.

2014-12-19 Thread Éric Araujo
Éric Araujo added the comment: An active core developer needs to see this and decide to commit the patch. You can see if there’s someone on IRC. If there’s no action in a week or two, feel free to ask on python-dev (maybe listing more than one waiting patch, or offering reviews in exchange

[issue23063] `python setup.py check --restructuredtext --strict --metadata` fails with: `warning: check: Could not finish the parsing.` if the RST document uses code or code-block directives.

2014-12-16 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- hgrepos: +288 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23063 ___ ___ Python-bugs-list mailing

[issue23063] `python setup.py check --restructuredtext --strict --metadata` fails with: `warning: check: Could not finish the parsing.` if the RST document uses code or code-block directives.

2014-12-16 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: Added file: http://bugs.python.org/file37471/9b8f6812ff69.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23063

[issue23063] `python setup.py check --restructuredtext --strict --metadata` fails with: `warning: check: Could not finish the parsing.` if the RST document uses code or code-block directives.

2014-12-16 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- hgrepos: -286 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23063 ___ ___ Python-bugs-list mailing

[issue23063] `python setup.py check --restructuredtext --strict --metadata` fails with: `warning: check: Could not finish the parsing.` if the RST document uses code or code-block directives.

2014-12-16 Thread Éric Araujo
Éric Araujo added the comment: The Mercurial integration lets you update the patch with one click. Decentralized VCSes are nice :‑) Patch looks good to me. Thank you. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23063

[issue1703178] link_objects in setup.cfg crashes build

2014-12-08 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the patch. It looks good to me. -- assignee: eric.araujo - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1703178

[issue12987] Demo/scripts/newslist.py has non-free licensing terms

2014-12-01 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +barry, doko ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12987 ___ ___ Python-bugs-list

[issue22918] Doc for __iter__ makes inexact comment about dict.__iter__

2014-11-23 Thread Éric Araujo
Éric Araujo added the comment: I think the first half of the sentence is enough: “For mappings, it should iterate over the keys of the container.” -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22918

[issue22918] Doc for __iter__ makes inexact comment about dict.__iter__

2014-11-22 Thread Éric Araujo
New submission from Éric Araujo: https://docs.python.org/3/reference/datamodel#object.__iter__ This method should return a new iterator object that can iterate over all the objects in the container. For mappings, it should iterate over the keys of the container, and should also be made

[issue22918] Doc for __iter__ makes inexact comment about dict.__iter__

2014-11-22 Thread Éric Araujo
Éric Araujo added the comment: The Python 2 doc is alright, the same line says that d.__iter__() is equivalent to d.iterkeys(). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22918

[issue22895] test failure introduced by the fix for issue #22462

2014-11-22 Thread Éric Araujo
Éric Araujo added the comment: What about using “not sysconfig.is_python_build()”? -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22895

[issue10510] distutils upload/register should use CRLF in HTTP requests

2014-11-21 Thread Éric Araujo
Éric Araujo added the comment: Thanks bitdancer for applying this. FTR I just stumbled on code extracted from chishop that shows Django had issues with the non-CRLF requests sent by distutils: https://github.com/disqus/djangopypi/blob/master/djangopypi/http.py#L19

[issue17311] use distutils terminology in PyPI package display section

2014-11-21 Thread Éric Araujo
Éric Araujo added the comment: Nick being the current shepherd for packaging discussions and the instigator of the new version-independent documentation, I’d like to let him take a decision on this. -- assignee: eric.araujo - ncoghlan nosy: +ncoghlan versions: +Python 3.5 -Python 3.2

[issue22825] Modernize TextFile

2014-11-19 Thread Éric Araujo
Éric Araujo added the comment: Thank you for your effort! Note that distutils uses try:... finally: fp.close(), so it tries to avoid the FD leak issues. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22825

[issue20106] warn_dir is always true for install_data, even if an install_dir is specified

2014-11-19 Thread Éric Araujo
Éric Araujo added the comment: Does this cause a warning to be printed out when it should not? Or did you find this by reading the code? [I think I remember this code being changed in the (now defunct) distutils2 project.] -- versions: +Python 3.5 -Python 3.3

[issue20106] warn_dir is always true for install_data, even if an install_dir is specified

2014-11-19 Thread Éric Araujo
Éric Araujo added the comment: Can you give us steps to reproduce the issue? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20106 ___ ___ Python

[issue22825] Modernize TextFile

2014-11-18 Thread Éric Araujo
Éric Araujo added the comment: Yes. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22825 ___ ___ Python-bugs-list mailing list Unsubscribe

[issue22825] Modernize TextFile

2014-11-15 Thread Éric Araujo
Éric Araujo added the comment: I would not touch any internal parts of distutils, such as TextFile. It is not a public class meant for general usage. The code is not ideal but not broken. -- ___ Python tracker rep...@bugs.python.org http

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

2014-11-03 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- stage: patch review - needs patch versions: -Python 3.2, Python 3.3, Python 3.4, Python 3.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2504

[issue8876] distutils should not assume that hardlinks will work

2014-10-30 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the patches folks! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8876 ___ ___ Python-bugs-list

[issue8876] distutils should not assume that hardlinks will work

2014-10-29 Thread Éric Araujo
Éric Araujo added the comment: I can’t make any commitment to core Python at this time. I still read all email and can be available for guidance or questions about obscure parts of distutils. (Ideally I would find someone willing to be mentored to take over maintenance

[issue22665] shutil.__all__ incomplete

2014-10-24 Thread Éric Araujo
Éric Araujo added the comment: IIRC test___all__ can be used for this. -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22665

[issue5309] distutils doesn't parallelize extension module compilation

2014-09-07 Thread Éric Araujo
Éric Araujo added the comment: self.parallel = int(self.parallel) would raise ValueError when a non-number is passed. I suggest to print user-friendly error message. The distutils idiom would be to catch the TypeError/ValueError and raise DistutilsOptionError. Higher layers convert

[issue7918] distutils always ignores byte compilation errors

2014-09-02 Thread Éric Araujo
Éric Araujo added the comment: Again, I think this behaviour was a deliberate decision, not a patch. Developers should use tests to detect syntax errors in their code, not rely on distutils byte compilation. -- ___ Python tracker rep

[issue7918] distutils always ignores byte compilation errors

2014-09-02 Thread Éric Araujo
Éric Araujo added the comment: a deliberate decision, not a bug* -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7918 ___ ___ Python-bugs-list

[issue22199] 2.7 sysconfig._get_makefile_filename should be sysconfig.get_makefile_filename

2014-08-22 Thread Éric Araujo
Éric Araujo added the comment: Thanks Ned for analysing and cleanin up the mess :-) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22199

[issue22162] Activating a venv - Dash doesn't understand source

2014-08-07 Thread Éric Araujo
Éric Araujo added the comment: dash is the default system shell used to execute scripts (i.e. /bin/sh), not the default shell used for users login shell and terminal emulators. The venv/scripts/poxis/activate file seems to require bash anyway: running checkbashisms on it warns about “hash -r

[issue22132] Cannot copy the same directory structure to the same destination more than once

2014-08-07 Thread Éric Araujo
Éric Araujo added the comment: Thanks. There is a function intended for general use: shutil.copytree; it may have the same behavior (not a bug if it's documented). -- resolution: - wont fix stage: - resolved status: open - closed ___ Python

[issue1011113] Make “install” find the build_base directory

2014-08-04 Thread Éric Araujo
Éric Araujo added the comment: In my previous message I meant that I agreed with the original request, i.e. add --build-base to install. I will probably never have the time to write a patch. -- dependencies: -write a configure command status: pending - open

[issue22132] Cannot copy the same directory structure to the same destination more than once

2014-08-04 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the report. Did you find this issue with a setup.py file or with direct usage of dir_utils.copy_tree? These distutils modules are not meant for general use, so bugs that don’t occur during regular use of setup.py files will probably not get fixed

[issue5411] Add xz support to shutil

2014-08-04 Thread Éric Araujo
Éric Araujo added the comment: I’m afraid I changed computers once or twice since I worked on that, so I can’t readily find my clone and get the latest patch. I know where the hard drives are but I can’t say when I will have time to search them. -- assignee: eric.araujo

[issue22014] Add summary table for OS exception - errno mapping

2014-07-26 Thread Éric Araujo
Éric Araujo added the comment: literalinclude lets you select only some lines of the file: http://sphinx-doc.org/markup/code.html#includes -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22014

[issue16729] Document how to provide defaults for setup.py commands options

2014-07-15 Thread Éric Araujo
Éric Araujo added the comment: In my opinion it's easier and more common to put default options in a setup.cfg file, rather than in the Python code. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16729

[issue10395] new os.path function to extract common prefix based on path components

2014-07-05 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- stage: patch review - commit review versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10395

[issue21911] IndexError: tuple index out of range should include the requested index and tuple length

2014-07-04 Thread Éric Araujo
Éric Araujo added the comment: Mark, could you please not phrase your messages as if you were speaking for the whole core team, and be more friendly with other contributors (or reply less)? -- nosy: +eric.araujo ___ Python tracker rep

[issue2571] can cmd.py's API/docs for the use of an alternate stdin be improved?

2014-06-29 Thread Éric Araujo
Éric Araujo added the comment: I won’t have the time to do the docs/tests inspection I wanted to do. -- assignee: eric.araujo - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2571

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