[issue43668] Segfault with for fresh ubuntu 20.04 install

2021-03-30 Thread axel
axel added the comment: Thanks for the reply, I don't know exactly what you mean by making a simpler reproducer, but as I wrote in the original post, just using pip will cause this issue to happen from time to time, which is why I find it unlikely to be caused by third party libs. I

[issue43668] Segfault with for fresh ubuntu 20.04 install

2021-03-30 Thread axel
New submission from axel : The python interpreter segfaults when running in a miniconda environment on a fresh install of ubuntu 20.04.2. This seems to happen intermittently, both while running "pip" during the conda setup of an environment and during the execution of code

[issue42267] Python 3.9 broken installer

2020-11-04 Thread Axel Grullón
New submission from Axel Grullón : Initially the Python 3.9 installer worked perfectly, I had every tool at my disposal and every component installed. After I tried installing discord.py an error was shown and it was about certain components that were missing. To my ignorance I uninstalled

[issue36078] argparse: positional with type=int, default=SUPPRESS raise ValueError

2019-02-25 Thread Axel
Axel added the comment: Thanks for so fast looking into this. Good idea to use the workaround with a own conversion function. I'll use this for now. To see what's happening, I tried a own Action with print in __call__ and a own conversion function with printing. I found following workflow

[issue36078] argparse: positional with type=int, default=SUPPRESS raise ValueError

2019-02-22 Thread Axel
Change by Axel : -- nosy: +paul.j3 ___ Python tracker <https://bugs.python.org/issue36078> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue36078] argparse: positional with type=int, default=SUPPRESS raise ValueError

2019-02-22 Thread Axel
Axel added the comment: Some more details: The problem is not the order of assignment in take_action: Defaults have been set by: def parse_known_args(self, args=None, namespace=None): ... # add any action defaults that aren't present for action in self._actions

[issue36078] argparse: positional with type=int, default=SUPPRESS raise ValueError

2019-02-22 Thread Axel
New submission from Axel : Example source: from argparse import ArgumentParser, SUPPRESS == parser = ArgumentParser() parser.add_argument('i', nargs='?', type=int, default=SUPPRESS) args = parser.parse_args([]) == results in: error: argument integer: invalid int value

[issue35404] Document how to import _structure in email.message

2018-12-04 Thread Charles-Axel Dein
New submission from Charles-Axel Dein : The example for `walk()` in `email.message.EmailMessage` makes use of the `_structure` function but does not clarify how to import it. I can make a patch adding a line: from email.iterators import _structure -- assignee: docs@python

[issue20754] Distribution.parse_config_files uses interpolation since Python 3

2016-12-12 Thread Axel Haustant
Axel Haustant added the comment: I just attached the patch submitted on issue28935. The fix is to simply give interpolation=None as ConfigParser parameter (as documented in the official Python 3.x ConfigParser documentation) -- keywords: +patch nosy: +noirbizarre Added file: http

[issue28935] distutils use ConfigParser in Python 3.x and fails to parse setup.cfg with percent sign

2016-12-12 Thread Axel Haustant
Axel Haustant added the comment: Sorry, it is effectively a duplicate of the second one. But I submitted a patch which is not present in the other. What should I do ? (I'll attach the patch to the other one instead) -- ___ Python tracker <

[issue28935] distutils use ConfigParser in Python 3.x and fails to parse setup.cfg with percent sign

2016-12-12 Thread Axel Haustant
Axel Haustant added the comment: No it's not. Same problem but on a different part: the two cited issues are about the .pypirc file not the setup.cfg. The parsing does not occurs at the same place and the fix does not works for setup.cfg (I tried before submitting this issue

[issue28935] distutils use ConfigParser in Python 3.x and fails to parse setup.cfg with percent sign

2016-12-12 Thread Axel Haustant
Axel Haustant added the comment: You're welcome. I understand the backward compatibility point. But I think that the current state is breaking existing code as it's not documented anywhere and it's a side-effect of another change, not something intentionnal. (this is why I submitted

[issue28935] distutils use ConfigParser in Python 3.x and fails to parse setup.cfg with percent sign

2016-12-10 Thread Axel Haustant
New submission from Axel Haustant: Because of the Python 3.2 configparser renaming/refactoring, string interpolation has been enabled into distutils config parsing and so fails to read any setup.cfg with percent signs (try to perform string interpolation and fails). To reproduce: create

[issue26672] regrtest missing in the module name

2016-03-30 Thread Axel Luttgens
New submission from Axel Luttgens: Relevant page: https://docs.python.org/2/library/test.html One may read (section 25.5.2): Specifying all as the value for the -u option enables all possible resources: python -m test -uall. I guess this should be: Specifying all

[issue26665] pip is not bootstrapped by default

2016-03-29 Thread Axel Luttgens
New submission from Axel Luttgens: Relevant page: https://docs.python.org/2/library/ensurepip.html One may read: In most cases, end users of Python shouldn’t need to invoke this module directly (as pip should be bootstrapped by default), but it may be needed if installing pip

[issue23586] Add classproperty to the builtin functions

2015-03-04 Thread Charles-Axel Dein
New submission from Charles-Axel Dein: Similar to http://bugs.python.org/issue20659 Having a behavior that is similar to a property on a class seems intuitive enough. Is there any specific reason why it does not exist? -- messages: 237227 nosy: charlax priority: normal severity

[issue20351] Add doc examples for DictReader and DictWriter

2014-11-02 Thread Charles-Axel Dein
Charles-Axel Dein added the comment: Sounds good. Do you know when this will get merged? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20351

[issue20351] Add doc examples for DictReader and DictWriter

2014-07-28 Thread Charles-Axel Dein
Charles-Axel Dein added the comment: Anything else I need to do? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20351 ___ ___ Python-bugs-list

[issue20351] Add doc examples for DictReader and DictWriter

2014-06-26 Thread Charles-Axel Dein
Charles-Axel Dein added the comment: Updated patch following review. -- Added file: http://bugs.python.org/file35790/add_csvdict_examples.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20351

[issue20351] Add doc examples for DictReader and DictWriter

2014-04-18 Thread Charles-Axel Dein
Charles-Axel Dein added the comment: New version of the patch. -- Added file: http://bugs.python.org/file34969/add_csvdict_examples.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20351

[issue20351] Add doc examples for DictReader and DictWriter

2014-04-10 Thread Charles-Axel Dein
Charles-Axel Dein added the comment: Hey - is there anything else I need to do here? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20351

[issue20351] Add doc examples for DictReader and DictWriter

2014-03-04 Thread Charles-Axel Dein
Charles-Axel Dein added the comment: Any update? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20351 ___ ___ Python-bugs-list mailing list

[issue20351] Add doc examples for DictReader and DictWriter

2014-02-16 Thread Charles-Axel Dein
Charles-Axel Dein added the comment: Updated patch following review. -- Added file: http://bugs.python.org/file34110/add_csvdict_examples.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20351

[issue20351] Add doc examples for DictReader and DictWriter

2014-01-22 Thread Charles-Axel Dein
New submission from Charles-Axel Dein: IMO csv.DictWriter and csv.DictReader provides a nicer interface for complex CSV file. I see some people reinventing the DictReader and DictWriter pretty frequently, because when they rapidly scan the documentation all examples are about csv.reader

[issue20310] Recommend using pprint for deterministic doctest

2014-01-19 Thread Charles-Axel Dein
New submission from Charles-Axel Dein: I just thought that using pprint.pprint was an elegant solution to the non-deterministic order of repr(dict) in doctest. See for instance http://bugs.python.org/issue3332 Contrary to sorted(foo().items()): - It provides a nice output that is exactly

[issue13498] os.makedirs exist_ok documentation is incorrect, as is some of the behavior

2012-07-02 Thread Axel Wegen
Changes by Axel Wegen axel.we...@googlemail.com: -- nosy: +Axel.Wegen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13498 ___ ___ Python-bugs-list

[issue12716] Reorganize os docs for files/dirs/fds

2012-07-02 Thread Axel Wegen
Changes by Axel Wegen axel.we...@googlemail.com: -- nosy: +Axel.Wegen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12716 ___ ___ Python-bugs-list

[issue11837] smtplib._quote_periods triggers spurious type error in re.sub

2011-04-19 Thread Axel Rau
Axel Rau axel@chaos1.de added the comment: One more hint: The bug does not happen with plain text mails, but can easily be reproduced with MIME attachments. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11837

[issue11837] smtplib._quote_periods triggers spurious type error in re.sub

2011-04-12 Thread Axel Rau
New submission from Axel Rau axel@chaos1.de: While debugging this http://article.gmane.org/gmane.comp.python.general/687767 email problem, I'm getting: --- File /Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/smtplib.py, line 794, in send_message rcpt_options) File

[issue11837] smtplib._quote_periods triggers spurious type error in re.sub

2011-04-12 Thread Axel Rau
Changes by Axel Rau axel@chaos1.de: -- type: behavior - crash ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11837 ___ ___ Python-bugs-list

[issue3722] print followed by exception eats print with doctest

2008-12-05 Thread Charles-Axel Dein
Charles-Axel Dein [EMAIL PROTECTED] added the comment: This is a bug. This is not a good behavior. If I would like to temporarily print a variable to see its content, in order to debug my code, doctest will eat its output. Thus I will be make to use pdb or to use logging, or to get rid