[issue33283] Mention PNG as a supported image format by Tcl/Tk

2018-04-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +6197 ___ Python tracker ___

[issue33283] Mention PNG as a supported image format by Tcl/Tk

2018-04-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +6196 ___ Python tracker ___

[issue33283] Mention PNG as a supported image format by Tcl/Tk

2018-04-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 4b685bf7192fff48c8effeeae4f4d64f9420ec0f by Serhiy Storchaka (Andrés Delfino) in branch 'master': bpo-33283: Mention PNG as a supported format by Tcl/Tk. (GH-6479)

[issue33292] Fix secrets.randbelow docstring

2018-04-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What is wrong with the current docstring? -- nosy: +serhiy.storchaka, steven.daprano ___ Python tracker

[issue33293] Using datetime.datetime.utcnow().timestamp() in Python3.6.0 can't get correct UTC timestamp.

2018-04-16 Thread Han Shaowen
New submission from Han Shaowen : What I am talking is like: Python 3.6.0 (default, Feb 28 2018, 15:41:04) [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.39.2)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import time >>> from

[issue33292] Fix secrets.randbelow docstring

2018-04-16 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +6194 stage: -> patch review ___ Python tracker ___

[issue33292] Fix secrets.randbelow docstring

2018-04-16 Thread Vex Woo
New submission from Vex Woo : - https://github.com/python/cpython/blob/master/Lib/secrets.py#L28 Please fix """Return a random int in the range [0, n).""" to """Return a random int in the range(0, n).""" -- components: Library (Lib) messages: 315376

[issue33251] ConfigParser.items returns items present in vars

2018-04-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +6193 ___ Python tracker ___

[issue33251] ConfigParser.items returns items present in vars

2018-04-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +6192 ___ Python tracker ___

[issue33251] ConfigParser.items returns items present in vars

2018-04-16 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +6191 ___ Python tracker ___ ___

[issue33251] ConfigParser.items returns items present in vars

2018-04-16 Thread Łukasz Langa
Łukasz Langa added the comment: Well, now that I think about it, this is not even a *bug* fix since it's behavior that configparser had since 1997. So that will have to go straight to 3.8. -- versions: +Python 3.8 -Python 3.6 ___

[issue33251] ConfigParser.items returns items present in vars

2018-04-16 Thread Łukasz Langa
Łukasz Langa added the comment: Hm. The documentation change was done in issue12036 but it seems this was actually never the case, contrary to what the conversation on that other issue there states. I wouldn't change it for 3.6.6 anymore since it's pretty late in the release

[issue33291] issue in the default setup.py which comes with the Python 3.6.5 installer

2018-04-16 Thread Adam Klinger
Change by Adam Klinger : -- title: Cannot Install Stegano Package - Python 3.6.5 Base -> issue in the default setup.py which comes with the Python 3.6.5 installer ___ Python tracker

[issue33291] Cannot Install Stegano Package - Python 3.6.5 Base

2018-04-16 Thread Adam Klinger
New submission from Adam Klinger : There seems to be an issue in the default setup.py which comes with the Python 3.6.5 installer. Upon trying to install an additional package through pip the below is observed: C:\Users\adamj\Desktop>pip install stegano Collecting

[issue33234] Improve list() pre-sizing for inputs with known lengths

2018-04-16 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +6190 stage: -> patch review ___ Python tracker ___

[issue33290] Python.org macOS pkg installs pip3 as pip

2018-04-16 Thread Ned Deily
Ned Deily added the comment: P.S. Of course, you'll probably need to manually remove that spurious pip command. -- ___ Python tracker

[issue33290] Python.org macOS pkg installs pip3 as pip

2018-04-16 Thread Ned Deily
Ned Deily added the comment: Actually, this appears to be a pip upgrade issue. If you install 3.6.5 from the python.org installers, there is no pip link there, only pip3: $ cd /Library/Frameworks/Python.framework/Versions/3.6/bin $ ls -l total 272 lrwxr-xr-x 1 root admin

[issue23403] Use pickle protocol 4 by default?

2018-04-16 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +6189 ___ Python tracker ___ ___

[issue32232] building extensions as builtins is broken in 3.7

2018-04-16 Thread Ned Deily
Ned Deily added the comment: Thanks, Xavier, for your analysis and your PR! We definitely meed to get this resolved before 3.7.0b4. Given the complexity and potential impact on this area and that we are approaching the final beta, I think we need a few pairs of eyes to

[issue33290] Python.org macOS pkg installs pip3 as pip

2018-04-16 Thread Gilbert Wilson
New submission from Gilbert Wilson : The python-3.6.5-macosx10.6.pkg installs pip3 as pip. This means if you have both python2.7.x and 3.6.x you get unexpected and undesirable behavior. According to the release notes in 3.6.5: Python 3 and Python 2 Co-existence Python.org

[issue32232] building extensions as builtins is broken in 3.7

2018-04-16 Thread Xavier de Gaye
Xavier de Gaye added the comment: The compilation failure is a consequence of the changes made in issue 30860. Simply adding '#include "internal/pystate.h"' in Modules/_elementtree.c fixes the compilation although this is not the correct fix. The modules configured in

[issue32232] building extensions as builtins is broken in 3.7

2018-04-16 Thread Xavier de Gaye
Change by Xavier de Gaye : -- pull_requests: +6188 ___ Python tracker ___ ___

[issue33266] 2to3 doesn't parse all valid string literals

2018-04-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +6187 ___ Python tracker ___

[issue33289] askcolor is returning floats for r, g, b values instead of ints

2018-04-16 Thread Bryan Oakley
New submission from Bryan Oakley : Even though the underlying tcl/tk interpreter is returning ints, askcolor is converting the values to floats. My guess is this is an oversight related to the change in functionality of the / operator in python3. this: return

[issue31947] names=None case is not handled by EnumMeta._create_ method

2018-04-16 Thread miss-islington
miss-islington added the comment: New changeset 3bcca488fe753ae8cef9178e32237f84927c938e by Miss Islington (bot) in branch '3.7': bpo-31947: remove None default for names param in Enum._create_ (GH-4288)

[issue31904] Python should support VxWorks RTOS

2018-04-16 Thread Ned Deily
Ned Deily added the comment: As I commented on the PR, I think this PR should not be merged until and if there is a consensus that this support belongs in the standard cpython repo and there is an agreed-upon plan how this platform would be supported on going. I think it

[issue33288] Spam

2018-04-16 Thread Zachary Ware
Change by Zachary Ware : -- Removed message: https://bugs.python.org/msg315364 ___ Python tracker ___

[issue33288] Spam

2018-04-16 Thread Zachary Ware
Change by Zachary Ware : -- Removed message: https://bugs.python.org/msg315363 ___ Python tracker ___

[issue33288] Spam

2018-04-16 Thread Zachary Ware
Change by Zachary Ware : -- nosy: -stevensalbert resolution: -> not a bug stage: -> resolved status: open -> closed title: Diethealth -> Spam ___ Python tracker

[issue33288] Diethealth

2018-04-16 Thread Steven Steven
Steven Steven added the comment: http://www.diethealthsupplements.com/ -- ___ Python tracker ___

[issue33288] Diethealth

2018-04-16 Thread Steven Steven
New submission from Steven Steven : sue -- messages: 315363 nosy: stevensalbert priority: normal severity: normal status: open title: Diethealth ___ Python tracker

[issue21475] Support the Sitemap extension in robotparser

2018-04-16 Thread Steven Steven
Steven Steven added the comment: Kindly add a test for this issue -- nosy: +stevensalbert ___ Python tracker ___

[issue33286] Conflict between tqdm and multiprocessing on windows

2018-04-16 Thread schwemro
schwemro added the comment: On macOS it works perfectly for me as well. The issue is about running it on windows 10... -- ___ Python tracker

[issue33286] Conflict between tqdm and multiprocessing on windows

2018-04-16 Thread Ronald Oussoren
Ronald Oussoren added the comment: Multiprocessing by default uses the fork system call to start new processes on Linux. This system call is not available on Windows, and there multiprocessing starts a fresh interpreter (see

[issue33264] Remove to-be-deprecated urllib.request.urlretrieve function reference from HOWTO

2018-04-16 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thank you, Andrés and Terry. This is merged in 3.8 and backported to 3.7 and 3.6 too. -- versions: +Python 3.6, Python 3.7 ___ Python tracker

[issue4806] Function calls taking a generator as star argument can mask TypeErrors in the generator

2018-04-16 Thread Jason R. Coombs
Jason R. Coombs added the comment: I believe I encountered this issue today on Python 2.7.14 (https://ci.appveyor.com/project/jaraco/jaraco-windows/build/31/job/lenh5l4dcmj137b9). In this case, I have an iterable (in itertools.imap) that raises a TypeError when evaluated,

[issue33264] Remove to-be-deprecated urllib.request.urlretrieve function reference from HOWTO

2018-04-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +6185 ___ Python tracker ___

[issue33264] Remove to-be-deprecated urllib.request.urlretrieve function reference from HOWTO

2018-04-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +6186 ___ Python tracker ___

[issue33287] "pip iinstall packageName.py" fails

2018-04-16 Thread Berker Peksag
Berker Peksag added the comment: There are two different problems here: 1. There is a possible networking issue. I'd try to use a proxy or something like that. 2. You are using a pip patched by Ubuntu/Debian developers. pip is normally a self-contained package and

[issue33286] Conflict between tqdm and multiprocessing on windows

2018-04-16 Thread schwemro
schwemro added the comment: Here is the traceback: Python 3.6.5 | packaged by conda-forge | (default, Apr 6 2018, 16:13:55) [MSC v.1900 64 bit (AMD64)] Type "copyright", "credits" or "license" for more information. IPython 6.3.1 -- An enhanced Interactive Python.

[issue33286] Conflict between tqdm and multiprocessing on windows

2018-04-16 Thread Ronald Oussoren
Ronald Oussoren added the comment: What's the specific exception you are getting? BTW. This involves third-party code and this may be a bug in that code. An important difference between linux and windows is how multiprocessing launches additional processes.

[issue33287] "pip iinstall packageName.py" fails

2018-04-16 Thread antonio95100
New submission from antonio95100 : Hi all. I'm struggling with the installation of a pyton package under Ubuntu 16.4 and Python 7. I follow the statements of the pakage authors, but I obtaint the following errors (note that I have the same error for different packages

[issue33286] Conflict between tqdm and multiprocessing on windows

2018-04-16 Thread schwemro
New submission from schwemro : Apparently, there occurs a conflict between tqdm and multiprocessing. There is an AttributeError displayed. I provide here an minimal working example. It works on UNIX but unfortunately not on windows. -- components: Windows files:

[issue33285] pip upgrade runtime crash

2018-04-16 Thread Paul Moore
Paul Moore added the comment: Issues with pip should be reported at https://github.com/pypa/pip/issues rather than here. However, in this case, the issue is that you ran the command "pip install --upgrade pip" which will use the pip executable to upgrade itself,

[issue33205] GROWTH_RATE prevents dict shrinking

2018-04-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The capacity of the dict is 2/3 of its hashtable size: dk_usable < 2/3 * dk_size. Currently the dict grows if dk_usable > 1/4 * dk_size, and preserves the size if dk_usable < 1/4 * dk_size. Note that it it can grow twice if