[issue36085] Enable better DLL resolution

2019-07-07 Thread Steve Dower
Steve Dower added the comment: Heh, and I was so sure I'd copy pasted the right number after getting it wrong so often. Just tag it against this bug. -- ___ Python tracker

Re: Images on Dynamically Generated Buttons Glitch

2019-07-07 Thread Abdur-Rahmaan Janhangeer
Did it but that's €=€$/€*#£4×53@ Abdur-Rahmaan Janhangeer Mauritius -- https://mail.python.org/mailman/listinfo/python-list

[issue37502] Fix default argument handling for buffers argument in pickle.loads

2019-07-07 Thread Kyle Stanley
Kyle Stanley added the comment: Thanks for reporting the issue. On PR-14593 I reviewed the changes with interpreter screenshots showing the output of "pickle.loads(pickle.dumps(1, protocol=pickle.HIGHEST_PROTOCOL), buffers=None)" in the latest version of cpython master compared to the

[issue37476] Adding a unit test of unicode in test_unicode.py

2019-07-07 Thread Xiang Zhang
Change by Xiang Zhang : -- type: -> enhancement versions: +Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list

Re: Images on Dynamically Generated Buttons Glitch

2019-07-07 Thread MRAB
On 2019-07-08 03:05, Abdur-Rahmaan Janhangeer wrote: You mean we should create the image variables aside like one for each button? XD. Thanks! You need to ensure that there's a reference somewhere to every image that you're displaying, whether it's on a button or some other widget, because

[issue37521] importlib.util.module_from_spec return value is not the same as in sys.modules

2019-07-07 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

Re: Images on Dynamically Generated Buttons Glitch

2019-07-07 Thread Abdur-Rahmaan Janhangeer
You mean we should create the image variables aside like one for each button? XD. Thanks! Abdur-Rahmaan Janhangeer Mauritius -- https://mail.python.org/mailman/listinfo/python-list

[issue37521] importlib.util.module_from_spec return value is not the same as in sys.modules

2019-07-07 Thread Benjamin Mintz
Benjamin Mintz added the comment: Updated main.py. New expected output: True New actual output: == False Traceback (most recent call last): File "main.py", line 14, in print(module.sub) AttributeError: module 'testext' has no attribute 'sub'

[issue37521] importlib.util.module_from_spec return value is not the same as in sys.modules

2019-07-07 Thread Benjamin Mintz
New submission from Benjamin Mintz : unzip the attached zip file and run main.py expected output: True actual output: False So what? If you follow these directions, https://docs.python.org/3.7/library/importlib.html#checking-if-a-module-can-be-imported , you will put a stale reference

[issue37520] zipfile.Path.parent returns incorrect value (same as self) for directory ref

2019-07-07 Thread Jason R. Coombs
Change by Jason R. Coombs : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue37520] zipfile.Path.parent returns incorrect value (same as self) for directory ref

2019-07-07 Thread Jason R. Coombs
Jason R. Coombs added the comment: New changeset 66905d14672517d50dc8ba516b9839f9ddbcc131 by Jason R. Coombs (Miss Islington (bot)) in branch '3.8': bpo-37520: Correct behavior for zipfile.Path.parent (GH-14638) (GH-14641)

[issue37520] zipfile.Path.parent returns incorrect value (same as self) for directory ref

2019-07-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +14453 pull_request: https://github.com/python/cpython/pull/14641 ___ Python tracker ___

[issue37520] zipfile.Path.parent returns incorrect value (same as self) for directory ref

2019-07-07 Thread Jason R. Coombs
Jason R. Coombs added the comment: New changeset 38f44b4a4adc37e8f5f8971917d8b3145f351a56 by Jason R. Coombs in branch 'master': bpo-37520: Correct behavior for zipfile.Path.parent (GH-14638) https://github.com/python/cpython/commit/38f44b4a4adc37e8f5f8971917d8b3145f351a56 --

[issue37520] zipfile.Path.parent returns incorrect value (same as self) for directory ref

2019-07-07 Thread Jason R. Coombs
Change by Jason R. Coombs : -- keywords: +patch pull_requests: +14452 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14638 ___ Python tracker ___

[issue37520] zipfile.Path.parent returns incorrect value (same as self) for directory ref

2019-07-07 Thread Jason R. Coombs
New submission from Jason R. Coombs : Originally reported in https://github.com/jaraco/zipp/issues/7, the parent of a Path object referencing a directory is returning the incorrect result: cpython master $ docker run -it python:rc-buster

[issue37510] argparse removing more "--" than it should

2019-07-07 Thread paul j3
paul j3 added the comment: https://bugs.python.org/file29845/dbldash.patch while written against an earlier version of `argparse`, does what you want. I moved the '--' removal out of `_get_values` and into `consume_positionals`. Note that a full patch should include test cases and

Re: Images on Dynamically Generated Buttons Glitch

2019-07-07 Thread MRAB
On 2019-07-07 19:28, Abdur-Rahmaan Janhangeer wrote: Greetings, i have this snippet: --- import json import os from tkinter import * from tkinter.ttk import * root = Tk() jload = json.load buttons = list() programs = os.listdir('programs') for i, program in enumerate(programs): jsonpath =

Images on Dynamically Generated Buttons Glitch

2019-07-07 Thread Abdur-Rahmaan Janhangeer
Greetings, i have this snippet: --- import json import os from tkinter import * from tkinter.ttk import * root = Tk() jload = json.load buttons = list() programs = os.listdir('programs') for i, program in enumerate(programs): jsonpath = 'programs/{}/cmdlaunch.json'.format(program) info =

Re: how to setup for localhost:8000

2019-07-07 Thread Alister via Python-list
On Sun, 07 Jul 2019 16:57:12 +, nabru wrote: > jaymoyer44 [jaymoye...@gmail.com] wrote: > >> On Thursday, April 14, 2016 at 1:47:03 PM UTC-4, wrh...@gmail.com >> wrote: >>> Hi, >>> >>> I am working on window 7 and Python 3.5 to setup a localhost:8000 but >>> it did not get through as shown

[issue26952] argparse help formatter crashes

2019-07-07 Thread paul j3
paul j3 added the comment: Xiang Zhang pointed out that the immediate error in this case was caused by the empty mutually exclusive group: https://bugs.python.org/issue26952#msg264835 The nesting fails because adding actions to the argument_group does not enroll them in the mutually

Re: how to setup for localhost:8000

2019-07-07 Thread nabru
jaymoyer44 [jaymoye...@gmail.com] wrote: > On Thursday, April 14, 2016 at 1:47:03 PM UTC-4, wrh...@gmail.com wrote: >> Hi, >> >> I am working on window 7 and Python 3.5 to setup a localhost:8000 but >> it did not get through as shown below: >> > python -m http.server >> Serving HTTP on 0.0.0.0

[issue37513] Fix a wrong exception type in ctypes documentation

2019-07-07 Thread Xiang Zhang
Change by Xiang Zhang : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed title: Fix a type error in ctypes.rst -> Fix a wrong exception type in ctypes documentation versions: +Python 2.7, Python 3.7, Python 3.8, Python 3.9

[issue37513] Fix a type error in ctypes.rst

2019-07-07 Thread miss-islington
miss-islington added the comment: New changeset 00bf4d64ecb01027be40c32d822e47e55d6b5c76 by Miss Islington (bot) in branch '2.7': bpo-37513: Change ValueError to TypeError in an example in ctypes doc (GH-14615) https://github.com/python/cpython/commit/00bf4d64ecb01027be40c32d822e47e55d6b5c76

[issue34446] ambiguous _max_size parameter in SpooledTemporaryFile

2019-07-07 Thread Andrew Scheller
Andrew Scheller added the comment: I agree that this is ambiguous behaviour. The docs at https://docs.python.org/3/library/tempfile.html#tempfile.SpooledTemporaryFile say "This function operates exactly as TemporaryFile() does, except that data is spooled in memory until the file size

[issue37513] Fix a type error in ctypes.rst

2019-07-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +14451 pull_request: https://github.com/python/cpython/pull/14637 ___ Python tracker ___

[issue37513] Fix a type error in ctypes.rst

2019-07-07 Thread miss-islington
miss-islington added the comment: New changeset 3f7d0c9665ca546bb0073376cb83e31dd13b48d9 by Miss Islington (bot) in branch '3.8': bpo-37513: Change ValueError to TypeError in an example in ctypes doc (GH-14615) https://github.com/python/cpython/commit/3f7d0c9665ca546bb0073376cb83e31dd13b48d9

[issue37513] Fix a type error in ctypes.rst

2019-07-07 Thread miss-islington
miss-islington added the comment: New changeset bc0a6ced30267d4e21e7566bfd6d14b30d6d1604 by Miss Islington (bot) in branch '3.7': bpo-37513: Change ValueError to TypeError in an example in ctypes doc (GH-14615) https://github.com/python/cpython/commit/bc0a6ced30267d4e21e7566bfd6d14b30d6d1604

[issue37513] Fix a type error in ctypes.rst

2019-07-07 Thread Xiang Zhang
Xiang Zhang added the comment: New changeset f6cdd3ff687ebbf8209d793a18a042ea495c4aeb by Xiang Zhang (Hai Shi) in branch 'master': bpo-37513: Change ValueError to TypeError in an example in ctypes doc (GH-14615)

[issue37513] Fix a type error in ctypes.rst

2019-07-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +14450 pull_request: https://github.com/python/cpython/pull/14636 ___ Python tracker ___

[issue37513] Fix a type error in ctypes.rst

2019-07-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +14449 pull_request: https://github.com/python/cpython/pull/14635 ___ Python tracker ___

[issue37513] Fix a type error in ctypes.rst

2019-07-07 Thread Xiang Zhang
Xiang Zhang added the comment: Should be TypeError. It's changed from ValueError to TypeError in https://bugs.python.org/issue1831. -- nosy: +xiang.zhang ___ Python tracker

[issue37519] Three inconsistent module attributes

2019-07-07 Thread Géry
New submission from Géry : Analysis In the next two sections showing the module attributes and corresponding spec attributes of imported modules and run modules, we notice the following rule (which is in accordance with this `PEP 451 section

Re: What's wrong on using Popen's communicate method?

2019-07-07 Thread jfong
eryk sun於 2019年7月7日星期日 UTC+8下午3時51分57秒寫道: > On 7/6/19, jf...@ms4.hinet.net wrote: > > > > I turn off the anti-virus and tried v3.6.8, get the same result. Usually the > > anti-virus program will warn me if something was blocked. > > In case the executable is corrupt, clear your browser cache and

Re: how to setup for localhost:8000

2019-07-07 Thread jaymoyer44
On Thursday, April 14, 2016 at 1:47:03 PM UTC-4, wrh...@gmail.com wrote: > Hi, > > I am working on window 7 and Python 3.5 to setup a localhost:8000 but it did > not get through as shown below: > > python -m http.server > Serving HTTP on 0.0.0.0 port 8000 ... > > But it did not show the

Re: how to setup for localhost:8000

2019-07-07 Thread jaymoyer44
On Thursday, April 14, 2016 at 1:47:03 PM UTC-4, wrh...@gmail.com wrote: > Hi, > > I am working on window 7 and Python 3.5 to setup a localhost:8000 but it did > not get through as shown below: > > python -m http.server > Serving HTTP on 0.0.0.0 port 8000 ... > > But it did not show the

[issue26952] argparse help formatter crashes

2019-07-07 Thread Alexander Kapshuna
Alexander Kapshuna added the comment: I have a feeling that nesting groups has nothing to do with it. Got same traceback when I forgot to fill my mutually exclusive groups with arguments. import argparse parser = argparse.ArgumentParser() group = parser.add_mutually_exclusive_group()

[issue21120] PyArena type is used in headers from the limited API

2019-07-07 Thread Zackery Spytz
Change by Zackery Spytz : -- components: +Build -Library (Lib) nosy: +ZackerySpytz versions: +Python 3.9 -Python 3.5 ___ Python tracker ___

[issue37221] PyCode_New API change breaks backwards compatibility policy

2019-07-07 Thread Stefan Behnel
Stefan Behnel added the comment: No need to keep this bug open on CPython side. The backwards compatibility has been restored (and I'll release Cython 0.29.12 today to resolve the issue on that side.) -- resolution: -> fixed status: open -> closed

Re: What's wrong on using Popen's communicate method?

2019-07-07 Thread jfong
eryk sun於 2019年7月7日星期日 UTC+8下午3時51分57秒寫道: > On 7/6/19, jf...@ms4.hinet.net wrote: > > > > I turn off the anti-virus and tried v3.6.8, get the same result. Usually the > > anti-virus program will warn me if something was blocked. > > In case the executable is corrupt, clear your browser cache and

Re: What's wrong on using Popen's communicate method?

2019-07-07 Thread eryk sun
On 7/6/19, jf...@ms4.hinet.net wrote: > > I turn off the anti-virus and tried v3.6.8, get the same result. Usually the > anti-virus program will warn me if something was blocked. In case the executable is corrupt, clear your browser cache and download the 32-bit version again: