[issue29022] Aritmetic error

2016-12-20 Thread Jacopo
New submission from Jacopo: $ python Python 2.7.3 (default, Jun 21 2016, 18:38:19) [GCC 4.7.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> 69.90 + 2.90 72.81 -- components: Inter

[issue38799] race condition in multiprocessing.Pool with maxtasksperchild=1

2020-01-18 Thread Jacopo Tediosi
Jacopo Tediosi added the comment: Happening to me on Python3.9 too Also when calling pool.terminate(), causing my script to hang -- nosy: +Jacopo Tediosi versions: +Python 3.9 -Python 3.6 ___ Python tracker <https://bugs.python.org/issue38

[issue22672] float arguments in scientific notation not supported by argparse

2014-10-19 Thread Jacopo Nespolo
New submission from Jacopo Nespolo: Argparse fails to recognise negative numbers in scientific notation as valid numbers. Example: Suppose the program test.py has this option. par.add_argument('-a', type=float) then './test.py -a -1e5' will fail, as well as -1.0e-4, -

[issue22672] float arguments in scientific notation not supported by argparse

2014-10-22 Thread Jacopo Nespolo
Changes by Jacopo Nespolo : -- nosy: +bethard ___ Python tracker <http://bugs.python.org/issue22672> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22672] float arguments in scientific notation not supported by argparse

2014-10-24 Thread Jacopo Nespolo
Jacopo Nespolo added the comment: a better patch -- Added file: http://bugs.python.org/file37007/argparse.patch ___ Python tracker <http://bugs.python.org/issue22

[issue22672] float arguments in scientific notation not supported by argparse

2014-10-24 Thread Jacopo Nespolo
Jacopo Nespolo added the comment: test program that checks handling of a bunch of numbers. -- Added file: http://bugs.python.org/file37008/test_argparse.py ___ Python tracker <http://bugs.python.org/issue22

[issue22672] float arguments in scientific notation not supported by argparse

2014-10-25 Thread Jacopo Nespolo
Jacopo Nespolo added the comment: Ned Deily: I don't quite know how to use unittest, but I'll try to look into it. paul j3: > There I proposed leaving '_negative_number_matcher' unchanged, > but only use it to set '_has_negative_number_optionals'. I don