[issue32802] Travis does not compile Python if there is one change in the Documentation

2018-02-08 Thread Stéphane Wirtel
New submission from Stéphane Wirtel : If there is one .rst file in a commit, Travis does not compile Python, since this commit https://github.com/python/cpython/commit/b2ec3615c81ca4f3c938245842a45956da8d5acb Here is a fix. -- messages: 311841 nosy: matrixise priority: normal

[issue32802] Travis does not compile Python if there is one change in the Documentation

2018-02-08 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- keywords: +patch pull_requests: +5406 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue32802> ___ ___ Py

[issue32804] urllib.retrieve documentation doesn't mention context parameter

2018-02-08 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: effectively, there is no documentation about this new parameter. -- nosy: +matrixise ___ Python tracker <https://bugs.python.org/issue32

[issue32804] urllib.retrieve documentation doesn't mention context parameter

2018-02-08 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- keywords: +easy ___ Python tracker <https://bugs.python.org/issue32804> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32807] Add 'str' property to PathLib

2018-02-09 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I have seen your PR, why did you close it? -- nosy: +matrixise ___ Python tracker <https://bugs.python.org/issue32807> ___ ___

[issue32807] Add 'str' property to PathLib

2018-02-09 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: and currently for the feature, the PR should be based on master and not 3.5 or 3.6. because these branch are only for the security and bugfix modes. Read the devguide at this url: https://devguide.python.org/#status-of-python-branches -- versions

[issue1100942] Add datetime.time.strptime and datetime.date.strptime

2018-03-16 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hello, just a small reminder for this issue and the PR ;-) when you have time -- ___ Python tracker <https://bugs.python.org/issue1100

[issue33370] Addition of mypy cache to gitignore

2018-04-28 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: you could use a feature of git for the global .gitignore file git config --global core.excludesfile ~/.gitignore source: https://git-scm.com/docs/gitignore/2.17.0 -- nosy: +matrixise ___ Python tracker <ht

[issue31607] Add listsize in pdb.py

2018-05-14 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I close this issue because I think we need to use a pair of set/get and not a new command like 'listsize'. -- stage: patch review -> resolved status: open -> closed ___ Python tracker <http

[issue33503] use pypi.org instead of pypi.python.org

2018-05-14 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- nosy: matrixise priority: normal severity: normal status: open title: use pypi.org instead of pypi.python.org versions: Python 3.8 ___ Python tracker <https://bugs.python.org/issue33

[issue33503] use pypi.org instead of pypi.python.org

2018-05-14 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- keywords: +patch pull_requests: +6500 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33503> ___ ___ Py

[issue33483] build system requires explicit compiler, but should discover it

2018-05-14 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Do you have an example where your patch will work and not the current configure.ac. Thank you. -- nosy: +matrixise ___ Python tracker <https://bugs.python.org/issue33

[issue32731] getpass.getuser() raises an unspecified exceptions (ImportError, OSError, etc)

2018-05-14 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi, For the wording, I have no suggestions but seems to be fine. For the rest, I think you have modified the documentation and it's fine and we don't talk about the code. We could merge the PR for the documentation and maybe you could create a n

[issue32534] Speed-up list.insert: use memmove()

2018-05-15 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi, just a small reminder for this issue because I was reviewing the PR. what is the status? Thanks -- nosy: +matrixise ___ Python tracker <https://bugs.python.org/issue32

[issue29640] _PyThreadState_Init and fork race leads to inconsistent key list

2018-05-15 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Petr, Do you continue this patch/issue? Thank you -- nosy: +matrixise ___ Python tracker <https://bugs.python.org/issue29

[issue33503] use pypi.org instead of pypi.python.org

2018-05-15 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- pull_requests: +6559 ___ Python tracker <https://bugs.python.org/issue33503> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31607] Add listsize in pdb.py

2017-09-27 Thread Stéphane Wirtel
New submission from Stéphane Wirtel : I just added a new command for the prompt of Pdb. (Pdb) listsize List size: 10 (Pdb) listsize 5 List size: 5 (Pdb) listsize List size: 5 I will publish a PR -- messages: 303123 nosy: matrixise priority: normal severity: normal status: open title

[issue31607] Add listsize in pdb.py

2017-09-27 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- keywords: +patch pull_requests: +3772 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue31607> ___ ___ Py

[issue31607] Add listsize in pdb.py

2017-09-27 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi David, It's my fault and you are right, I didn't give the right description. By default when you want to list the source code with pdb, you will use the list command but this one is just limited to the 10 next lines and there is no possibility

[issue31607] Add listsize in pdb.py

2017-09-28 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Raymond, +1 for the set/get commands for the parameters. I could update my PR with your suggestions. Stephane -- ___ Python tracker <https://bugs.python.org/issue31

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

2017-10-09 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi, Your bug is related to Pandas and not to Python 3.6. Maybe you need to post your issue to the bug tracker of Pandas. You need to install pandas-datareader pip install pandas-datareader But it is not an issue with Python. Have a nice day

[issue31760] Re-definition of _POSIX_C_SOURCE with Fedora 26.

2017-10-11 Thread Stéphane Wirtel
New submission from Stéphane Wirtel : Hi all, Is it problematic ? if it is not the case, we can close it. In file included from /home/stephane/src/github.com/python/cpython/Modules/expat/expat_config.h:8:0, from /home/stephane/src/github.com/python/cpython/Modules/expat

[issue31327] bug in dateutil\tz\tz.py

2017-10-11 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Steve, I have added you on this issue because it's related to Windows. Maybe you could check it. -- nosy: +matrixise, steve.dower ___ Python tracker <https://bugs.python.org/is

[issue31327] bug in dateutil\tz\tz.py

2017-10-11 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Thank you Tim, In this case, the documentation seems to be correct, maybe we could close this issue because it's independent of Python. What's your opinion on this point? Close it or Improve the doc

[issue31327] bug in dateutil\tz\tz.py

2017-10-11 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Thank you, I will provide a PR for this issue and close it once it's over. -- ___ Python tracker <https://bugs.python.org/is

[issue33503] use pypi.org instead of pypi.python.org

2018-05-16 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- pull_requests: +6573 ___ Python tracker <https://bugs.python.org/issue33503> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33522] Enable CI builds on Visual Studio Team Services

2018-05-18 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Steve I just saw VSTS in action, it's a great job, thank you. Compared to Travis-CI: * is there more computers for the tests on VSTS? * with time, what will be the reference if there is a 'green' build? TravisCI or VSTS? Thank you ag

[issue33682] Optimize the bytecode for float(0) ?

2018-05-29 Thread Stéphane Wirtel
New submission from Stéphane Wirtel : Hi, Maybe already discussed with Victor but I think there is no optimization when we have this simple case for float(X) and int(X) Example: >>> import dis >>> dis.dis("x = float(0)") 1 0 LOAD_NAME

[issue33682] Optimize the bytecode for float(0) ?

2018-05-29 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Victor, if you confirm, maybe you could help me for a mentoring for this issue? -- ___ Python tracker <https://bugs.python.org/issue33

[issue33682] Optimize the bytecode for float(0) ?

2018-05-29 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue33682] Optimize the bytecode for float(0) ?

2018-05-29 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: @Victor, Thanks and you are right, int and float are not keywords of Python, in this case, we can override them. @Steven, in fact, the optimization was, when you see float/int (if they are keywords), don't call the function via the bytecode. Thanks

[issue33856] Type "help" is not present on win32

2018-06-14 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- nosy: matrixise priority: normal severity: normal status: open title: Type "help" is not present on win32 versions: Python 3.6 ___ Python tracker <https://bugs.python.o

[issue33856] Type "help" is not present on win32

2018-06-16 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Steven, On Thursday, I gave a python training with some Windows computers and I have executer python, just the REPL, normally, you have Python 3.6.5 (default, Apr 4 2018, 15:01:18) [GCC 7.3.1 20180303 (Red Hat 7.3.1-5)] on linux Type "

[issue33856] Type "help" is not present on win32

2018-06-16 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Zach, in fact, it's not a problem with Python itself, but with Idle. I just downloaded a virtualbox image via (https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/) and started the installation of Python 3.6.5 and when you execute IDLE,

[issue33856] Type "help" is not present on win32

2018-06-16 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- pull_requests: +7363 ___ Python tracker <https://bugs.python.org/issue33856> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33856] Type "help" is not present on win32

2018-06-16 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: PR proposed -- ___ Python tracker <https://bugs.python.org/issue33856> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33821] IDLE subsection of What's New 3.7

2018-06-16 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Terry, not sure, but your PR have been merged, but this issue should be closed, do you confirm? -- nosy: +matrixise ___ Python tracker <https://bugs.python.org/issue33

[issue33927] Allow json.tool to have identical infile and outfile

2018-06-21 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: yep, or you could use sponge cat example.json | python3 -m json.tool | sponge example.json a small workaround ;-) -- nosy: +matrixise ___ Python tracker <https://bugs.python.org/issue33

[issue34231] PYTHONBREAKPOINT is not documented with python --help

2018-07-26 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- assignee: matrixise nosy: matrixise priority: normal severity: normal status: open title: PYTHONBREAKPOINT is not documented with python --help versions: Python 3.7, Python 3.8 ___ Python tracker <ht

[issue34231] PYTHONBREAKPOINT is not documented with python --help

2018-07-26 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- keywords: +patch pull_requests: +7999 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34231> ___ ___ Py

[issue34231] PYTHONBREAKPOINT is not documented with python --help

2018-07-26 Thread Stéphane Wirtel
New submission from Stéphane Wirtel : there is no documentation about PYTHONBREAKPOINT when we execute python --help. -- ___ Python tracker <https://bugs.python.org/issue34

[issue34231] PYTHONBREAKPOINT is not documented with python --help

2018-07-26 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: just updated the python man page -- ___ Python tracker <https://bugs.python.org/issue34231> ___ ___ Python-bugs-list mailin

[issue34231] PYTHONBREAKPOINT is not documented with python --help

2018-07-26 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- components: +Documentation ___ Python tracker <https://bugs.python.org/issue34231> ___ ___ Python-bugs-list mailing list Unsub

[issue34289] System can't find the path of Python

2018-07-31 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: and about $PATH? -- nosy: +matrixise ___ Python tracker <https://bugs.python.org/issue34289> ___ ___ Python-bugs-list mailin

[issue34289] System can't find the path of Python

2018-07-31 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: So in this case, it's not an issue with the Python interpreter, but I am going to close this issue. Please for the help about Python, you can subscribe this mailing list https://mail.python.org/mailman/listinfo/python-list Have a nic

[issue24218] Also support SMTPUTF8 in smtplib's send_message method.

2018-07-31 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi David, What is the related issue with the new lines? > On 31 Jul 2018, at 15:18, R. David Murray wrote: > > > R. David Murray added the comment: > > Well, posting on a closed issue is generally not the best way :) > > T

[issue34327] test_subprocess fails

2018-08-02 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: It's a duplicate of this issue: https://bugs.python.org/issue34326 I close this issue. Thank you for your feedback. -- nosy: +matrixise resolution: -> duplicate stage: -> resolved status: ope

[issue34328] Incorrect URL for the Visual C++ Build Tools

2018-08-02 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- status: open -> pending ___ Python tracker <https://bugs.python.org/issue34328> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue34312] Allow str.endswith and str.startswith to accept an iterable

2018-08-02 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I also agree with the problem of performance, tuple and str are immutables and from that, we can optimize the generation of the bytecode. Raymond, @Brett & @Serhiy, Can we close this issue? -- nosy: +matri

[issue34324] Doc README wrong directory name for venv

2018-08-02 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I just pushed a PR. -- nosy: +matrixise ___ Python tracker <https://bugs.python.org/issue34324> ___ ___ Python-bugs-list mailin

[issue34324] Doc README wrong directory name for venv

2018-08-02 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- keywords: +patch pull_requests: +8149 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34324> ___ ___ Py

[issue34323] False timeout log message on proactor close

2018-08-03 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi johnboy2, thank you for your issue, but could you send us more information about your platform? thank you -- nosy: +matrixise ___ Python tracker <https://bugs.python.org/issue34

[issue34207] test_cmd_line test_utf8_mode test_warnings fail in all FreeBSD 3.x (3.8) buildbots

2018-08-03 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: xtreak in this case, it's an issue on the buildbot cluster, we have to be sure that we don't have this error again. and for that, we have to find the origin of the crash on buildbot. -- nosy:

[issue34326] test_subprocess.POSIXProcessTestCase fails in AMD64 Ubuntu 3.x

2018-08-03 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Same issue with my builds : * Linux -> https://python.visualstudio.com/cpython/_build/results?buildId=21273&view=logs * macOS -> https://python.visualstudio.com/cpython/_build/results?buildId=21274&view=logs -- nosy: +matri

[issue34326] test_subprocess.POSIXProcessTestCase fails in AMD64 Ubuntu 3.x

2018-08-03 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: same problem here: linux: https://python.visualstudio.com/8e426817-76c0-4b99-ba9e-a48a1e4bd5db/_build/index?buildId=21241 macOS: https://python.visualstudio.com/8e426817-76c0-4b99-ba9e-a48a1e4bd5db/_build/index?buildId=21242

[issue34326] test_subprocess.POSIXProcessTestCase fails in AMD64 Ubuntu 3.x

2018-08-03 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: When I try to find the issue with git bisect, I have one commit. 72ec3193b5118a2ccc8be8bf03d7b74691c6a264 is the first bad commit commit 72ec3193b5118a2ccc8be8bf03d7b74691c6a264 Author: Victor Stinner Date: Thu Aug 2 19:34:20 2018 +0200 bpo-34170

[issue34326] test_subprocess.POSIXProcessTestCase fails in AMD64 Ubuntu 3.x

2018-08-03 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I continue to work on this issue -- ___ Python tracker <https://bugs.python.org/issue34326> ___ ___ Python-bugs-list mailin

[issue34326] test_subprocess.POSIXProcessTestCase fails in AMD64 Ubuntu 3.x

2018-08-03 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I think there is an issue with pymain_run_file, in the new code of Victor, a file descriptor is not closed but I don't know why. -- ___ Python tracker <https://bugs.python.org/is

[issue34326] test_subprocess.POSIXProcessTestCase fails in AMD64 Ubuntu 3.x

2018-08-03 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Pablo, the main issue comes after this commit, you can strace the call for example ./python -m unittest test.test_subprocess.POSIXProcessTestCase.test_pass_fds on this test function and you will see than there is a opened file descriptor. I tried to

[issue34329] Document how to remove a suffix with pathlib.Path.with_suffix

2018-08-03 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Good catch, thank you. Could you sign the CLA, without the CLA, we can't process your PR. Thank you -- nosy: +matrixise ___ Python tracker <https://bugs.python.org/is

[issue34329] Document how to remove a suffix with pathlib.Path.with_suffix

2018-08-03 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: yep, it's a manual modification in b.p.o but after that, we can check your PR. thank you for your patience. -- ___ Python tracker <https://bugs.python.org/is

[issue34329] Document how to remove a suffix with pathlib.Path.with_suffix

2018-08-03 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: It's the same thing for everything, for example, in Karate, you will start with the white belt and with practice, you will get the black belt. Thank you again for your contribution. -- ___ Python tracker &

[issue34326] test_subprocess.POSIXProcessTestCase fails in AMD64 Ubuntu 3.x

2018-08-03 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Thanks Victor, I don't know enough the API C-Python :/ -- ___ Python tracker <https://bugs.python.org/issue34326> ___ ___

[issue34326] test_subprocess.POSIXProcessTestCase fails in AMD64 Ubuntu 3.x

2018-08-03 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue34326> ___ ___ Pyth

[issue34332] Suggestion for a new loop type

2018-08-04 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: You can also use a context manager and the `with` statement. -- nosy: +matrixise ___ Python tracker <https://bugs.python.org/issue34

[issue34310] Build error with option "--with-pydebug" on Mac OS 10.13.6

2018-08-05 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Could you retry with a make distclean && ./configure --with-debug && make ? To be sure. -- nosy: +matrixise ___ Python tracker <https://bugs.py

[issue34310] Build error with option "--with-pydebug" on Mac OS 10.13.6

2018-08-05 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Yu, I am going to close this issue because 1. there is no master-dirty branch 2. your hash commit: d17fe275a3 does not exist in the CPython repository 3. I just downloaded the last revision of CPython and compile it on a 10.13.4 OSX and I don't have

[issue34355] SIGSEGV (Address boundary error)

2018-08-08 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: With the last revision of 3.7 (w/o --with-debug), I don't get this issue on Fedora 28 :/ -- nosy: +matrixise ___ Python tracker <https://bugs.python.org/is

[issue34355] SIGSEGV (Address boundary error)

2018-08-08 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: and what's the issue with asyncio ? -- ___ Python tracker <https://bugs.python.org/issue34355> ___ ___ Python-bugs-list m

[issue34355] SIGSEGV (Address boundary error)

2018-08-08 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- components: -asyncio nosy: -asvetlov, yselivanov ___ Python tracker <https://bugs.python.org/issue34355> ___ ___ Python-bug

[issue34359] Wrong virtual environment found

2018-08-08 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: And the Shebang is specific to the Unix-like systems, the loader from the operating system, will read the first line and will try to execute the defined interpreter. https://en.wikipedia.org/wiki/Shebang_(Unix) On Windows, I am not sure, but like Paul

[issue34359] Wrong virtual environment found

2018-08-08 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Now, you could use a Windows shortcut where you specify the version of Python when you execute your script. F:\python\scripts3\.venv\bin\python myscript.py For example. -- nosy: +matrixise resolution: not a bug -> stage: resolved ->

[issue34359] Wrong virtual environment found

2018-08-08 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: it's normal because this path is in the PATH env variable. so in this case, I think we can close this issue. -- ___ Python tracker <https://bugs.python.org/is

[issue14886] json C vs pure-python implementation difference

2018-08-17 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: We have received a notification about this bug for 3.5 -- nosy: +matrixise versions: +Python 3.5, Python 3.6, Python 3.7, Python 3.8 -Python 2.7, Python 3.2, Python 3.3 ___ Python tracker <https://bugs.python.

[issue34903] strptime %d handling of single digit day of month

2018-10-05 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Mike, Thank you for your issue, but could you add the link to the documentation, just because we have time.strptime and datetime.datetime.strptime. Thank you, -- nosy: +matrixise ___ Python tracker <ht

[issue34906] Fix typo in the documentation

2018-10-05 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- assignee: matrixise nosy: matrixise priority: normal severity: normal status: open title: Fix typo in the documentation versions: Python 3.8 ___ Python tracker <https://bugs.python.org/issue34

[issue34906] Fix typo in the documentation

2018-10-05 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- keywords: +patch pull_requests: +9095 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34906> ___ ___ Py

[issue34907] calculation not working properly

2018-10-05 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: because you have the round with the float type. you could use the decimal module with Decimal In [1]: import decimal In [2]: decimal.Decimal('15.06') + 5 Out[2]: Decimal('20.06') -- nosy: +matrixise stage: -> resolved

[issue34907] calculation not working properly

2018-10-05 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: and you can read this link where we explain the limits of the float type: https://docs.python.org/3/tutorial/floatingpoint.html -- status: closed -> open ___ Python tracker <https://bugs.python.org/issu

[issue34906] Fix typo in the documentation

2018-10-05 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- pull_requests: +9122 ___ Python tracker <https://bugs.python.org/issue34906> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34906] Fix typo in the documentation

2018-10-05 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I just created a new PR where I fix typos in the Misc directory (mainly). -- ___ Python tracker <https://bugs.python.org/issue34

[issue34909] StrEnum subclasses cannot be created

2018-10-05 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Ethan, the issue appears with your patch 0c076caaa82a9c6596e1fe1dbe6384d53f30a1a3 is the first bad commit commit 0c076caaa82a9c6596e1fe1dbe6384d53f30a1a3 Author: Ethan Furman Date: Fri Sep 21 22:26:32 2018 -0700 [3.7] bpo-29577: Enum: mixin

[issue34909] StrEnum subclasses cannot be created

2018-10-05 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: git bisect start # bad: [1596fea0a329e1f5e4cce0135724881ca5f1d341] bpo-34899: Fix a possible assertion failure due to int_from_bytes_impl() (GH-9705) git bisect bad 1596fea0a329e1f5e4cce0135724881ca5f1d341 # good: [84b0129b5e0a0e22aad22ae8db2e3833a228aa57

[issue34839] doctest: Change example under warnings section

2018-10-05 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Terry, You say we need to keep this illustration with a section 'before 3.6' but in think it's a bad thing. 1. when you read a documentation, you just copy the example, and sometimes you don't read the requirements. 2. why d

[issue34839] doctest: Change example under warnings section

2018-10-05 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- keywords: +patch pull_requests: +9123 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue34839] doctest: Change example under warnings section

2018-10-05 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Raymond, Ok, if you agree with Tim, I just created a PR. Have a nice day, -- keywords: -patch stage: patch review -> needs patch ___ Python tracker <https://bugs.python.org/issu

[issue34839] doctest: Change example under warnings section

2018-10-05 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Tim, I understand. It's just my experience, I have seen a lot of new comers (in my python trainings), they just copy the examples and don't read the total explanation. sometimes, because english is not their native language and in this case, t

[issue34909] StrEnum subclasses cannot be created

2018-10-06 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Ethan, I think you have fixed the issue, could you close this issue? Thank you -- ___ Python tracker <https://bugs.python.org/issue34

[issue33643] Mock functions with autospec STILL don't support assert_called_once, assert_called, assert_not_called

2018-10-08 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: There is a problem with your code, you use `mock` library but this one does not exist in the standard library. You should use `unittest.mock` Because this issue is not related with the unittest.mock library, I am going to close this issue

[issue34945] regression with ./python -m test

2018-10-09 Thread Stéphane Wirtel
New submission from Stéphane Wirtel : Hi Steve, I have a regression since the commit d0f49d2f5085ca68e3dc8725f1fb1c9674bfb5ed, commit d0f49d2f5085ca68e3dc8725f1fb1c9674bfb5ed (HEAD) Author: Steve Dower Date: Tue Sep 18 09:10:26 2018 -0700 bpo-34582: Adds JUnit XML output for regression

[issue34945] regression with ./python -m test and pdb

2018-10-09 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- title: regression with ./python -m test -> regression with ./python -m test and pdb ___ Python tracker <https://bugs.python.org/issu

[issue23596] gzip argparse interface

2018-10-09 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- pull_requests: +9162 ___ Python tracker <https://bugs.python.org/issue23596> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23596] gzip argparse interface

2018-10-09 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Berker, Here is my PR for this issue. >From this PR, I will add the new CLI with argparse. And after this issue, I will work on https://bugs.python.org/issue34913 -- nosy: +matrixise ___ Python trac

[issue23596] gzip argparse interface

2018-10-09 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: And now, I am going to work on the refactoring with argparse -- ___ Python tracker <https://bugs.python.org/issue23

[issue23596] gzip argparse interface

2018-10-09 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- pull_requests: +9167 ___ Python tracker <https://bugs.python.org/issue23596> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23596] gzip argparse interface

2018-10-09 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I have added some tests for 3.6, 3.7 and 3.8. But for the new CLI, just for 3.8 now, I am going to close this issue. -- stage: patch review -> resolved status: open -> closed versions: +Python 3.6, Python 3.7, Python 3.8 -Pyth

[issue34913] Document gzip command line interface

2018-10-09 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- keywords: +patch pull_requests: +9168 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34913> ___ ___ Py

[issue34906] Fix typo in the documentation

2018-10-09 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- pull_requests: +9169 ___ Python tracker <https://bugs.python.org/issue34906> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34906] Fix typo in the documentation

2018-10-10 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- pull_requests: +9172 ___ Python tracker <https://bugs.python.org/issue34906> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34906] Fix typo in the documentation

2018-10-10 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- pull_requests: +9173 ___ Python tracker <https://bugs.python.org/issue34906> ___ ___ Python-bugs-list mailing list Unsubscribe:

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