[issue45488] Powershell Commands no Longer Recognised

2021-10-15 Thread The Guy
New submission from The Guy : I am using pyinstaller to port my python programs into windows executables so that I can distribute them among my friends, and I recently assigned python to my windows PATH (I'm still not 100% sure what that means so idk if im even saying that right) and

[issue44828] Using tkinter.filedialog crashes on macOS Python 3.9.6

2021-10-11 Thread Guy DeStefano
Guy DeStefano added the comment: I appreciate the information, In the future I will do as is stated. Thanks for the reply. Guy DeStefano On Mon, Oct 11, 2021 at 2:24 PM Ned Deily wrote: > > Ned Deily added the comment: > > @Guy, thanks for your interest but in the future plea

[issue44828] Using tkinter.filedialog crashes on macOS Python 3.9.6

2021-10-11 Thread Guy DeStefano
Guy DeStefano added the comment: Thank you very much for the reply. Sorry for previous text. Guy DeStefano On Mon, Oct 11, 2021 at 2:10 PM Marc Culler wrote: > > Marc Culler added the comment: > > No, Apple is not going to do away with their NSOpenPanel. There is always >

[issue44828] Using tkinter.filedialog crashes on macOS Python 3.9.6

2021-10-11 Thread Guy DeStefano
Guy DeStefano added the comment: Thank you very Guy DeStefano On Mon, Oct 11, 2021 at 2:10 PM Marc Culler wrote: > > Marc Culler added the comment: > > No, Apple is not going to do away with their NSOpenPanel. There is always > some churn when they release a new OS. Su

[issue44828] Using tkinter.filedialog crashes on macOS Python 3.9.6

2021-10-11 Thread Guy DeStefano
Guy DeStefano added the comment: Please help me. Am new to Python, and don't know enough to post here, but I will try. Have written a couple of programs that use tkinter, especially tkinter.filedialog.askopenfilenames, and as everyone else mine has quit working since Monterey. I h

[issue43807] JSONDecodeError: Extra Data Raised on Long Valid JSON

2021-04-11 Thread Unknown Retired Guy
New submission from Unknown Retired Guy : https://i.ibb.co/tYqBsQ8/pico-hard.png That JSONDecodeError: Extra Data is raised when the Valid JSON is too long or over than 25000 bytes, I don't know what caused this, can you fix it? The code and the traceback is in that picture/link abo

[issue40189] MultiProcessing Subclass - overrides run method issue

2020-04-04 Thread Guy Kogan
Change by Guy Kogan : -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue40189> ___ ___ Python-bugs-list

[issue40189] MultiProcessing Subclass - overrides run method issue

2020-04-04 Thread Guy Kogan
Guy Kogan added the comment: I have fixed the issue -- resolution: -> fixed ___ Python tracker <https://bugs.python.org/issue40189> ___ ___ Python-bugs-lis

[issue40189] MultiProcessing Subclass - overrides run method issue

2020-04-04 Thread Guy Kogan
New submission from Guy Kogan : unable to override run method. when running the code i am unable to run the "run" function output from the code: Process 0 has been created Process 1 has been created Join for process is done Join for process is done Test Done -- fi

[issue40097] Queue.Empty issue - Python3.8

2020-03-28 Thread Guy Kogan
Guy Kogan added the comment: Thanks Tim Peters and Raymond Hettinger, the issue has been resolved. Have a nice day! -- resolution: -> works for me stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue40097] Queue.Empty issue - Python3.8

2020-03-28 Thread Guy Kogan
Guy Kogan added the comment: I still dont understand what do you mean? Can you please elaborate? -- ___ Python tracker <https://bugs.python.org/issue40

[issue40097] Queue.Empty issue - Python3.8

2020-03-28 Thread Guy Kogan
New submission from Guy Kogan : Python 3.8 Queue module is unable to handle the expection: error: Exception in thread Thread-5: Traceback (most recent call last): File "FTP_multithreading.py", line 17, in run new_connection = self.queue.get(timeout=2) File "/usr/loca

[issue39331] 2to3 mishandles indented imports

2020-01-14 Thread Guy Galun
New submission from Guy Galun : When encountering an import that should be removed in Python 3 (e.g. "from itertools import izip"), 2to3 changes it a blank line, which may cause a runtime error if that import was indented: error: module importing failed: expected an indented block

[issue32218] add __iter__ to enum.Flag members

2017-12-04 Thread Guy Gangemi
New submission from Guy Gangemi : I'm proposing to extend enum.Flag member functionality so it is iterable in a manner similar to enum.Flag subclasses. from enum import Flag, auto class FlagIter(Flag): def __iter__(self): for memeber in self._member_map_.values():

[issue29481] 3.6.0 doc describes 3.6.1 feature - typing.Deque

2017-02-08 Thread Guy Arad
New submission from Guy Arad: See: - https://docs.python.org/3.6/library/typing.html#typing.Deque - https://docs.python.org/3.5/library/typing.html#typing.Deque `typing.Deque` is expected to be included in 3.6.1: https://docs.python.org/3/whatsnew/changelog.html#python-3-6-1-release-candidate-1

[issue20476] If new email policies are used, default message factory should be EmailMessage

2015-10-01 Thread aj guy
Changes by aj guy : -- assignee: -> docs@python components: +Documentation, Library (Lib) nosy: +aj guy, docs@python type: behavior -> resource usage ___ Python tracker <http://bugs.python.org/i

[issue20809] isabspath fails if path is None

2014-02-28 Thread <--This Guy
Changes by <--This Guy : -- keywords: +patch Added file: http://bugs.python.org/file34255/issue20809-nontype-object-has-no-attribute-startswith.patch ___ Python tracker <http://bugs.python.org/issu

[issue20809] isabspath fails if path is None

2014-02-28 Thread <--This Guy
New submission from <--This Guy: So far I've noticed this is only reproducible when running quickly with python2.7. Still, the error message seems like it would be confusing to new users to Python. user@host:~/foo/bar/project$ sudo python setup.py install DEBUG: Adding /foo/bar/pr

[issue10760] tarfile doesn't handle sysfs well

2012-09-23 Thread Guy Rozendorn
Guy Rozendorn added the comment: Here's a test case that re-creates this issue. I chose to use mocks instead of sample files from sysfs so it would be simpler to run, it can be easily changed to use a file from sysfs. The following code runs on Python2.7, requires the mock library {code}

[issue14586] TypeError: truncate() takes no keyword arguments

2012-04-17 Thread Guy Taylor
Guy Taylor added the comment: @Brandl truncate() was the issue I ran into, no other reason. I have started on the rest of the IO module tho. I know the patch is not working but I ran into problems with getting cpython to change functions from positional to keyword. @all cpython

[issue14586] TypeError: truncate() takes no keyword arguments

2012-04-16 Thread Guy Taylor
Guy Taylor added the comment: Sorry had not refreshed the page to pick up the last comment. After reading more the cpython code I get what you are saying now. Not a fan of that syntax but consistency is best. This is my first time working with cpython directly, I have only worked on small

[issue14586] TypeError: truncate() takes no keyword arguments

2012-04-16 Thread Guy Taylor
Guy Taylor added the comment: Looking through cpython and trying to form a patch I found several differing interpretations of truncate: Lib/_pyio.py def truncate(self, pos=None): Modules/_io/fileio.c PyDoc_STRVAR(truncate_doc, "truncate([size: int]) ..."); A first semi-workin

[issue14586] TypeError: truncate() takes no keyword arguments

2012-04-16 Thread Guy Taylor
Guy Taylor added the comment: @murray The thing I would be worried at in both supporting truncate(0) and truncate(size=0) would be truncate(0, size=1). This could throw an exception but causes the need for extra sanity checks and introduces ambiguity in the otherwise 'only one way

[issue14586] TypeError: truncate() takes no keyword arguments

2012-04-16 Thread Guy Taylor
Guy Taylor added the comment: What ever change is made to the new CPythons the old docs should be updated to prevent confusion, with truncate([size]). On fixing it for the future I would agree that supporting it as a keyword argument is preferred, as it is more pythonic (in my opinion

[issue14586] TypeError: truncate() takes no keyword arguments

2012-04-14 Thread Guy Taylor
New submission from Guy Taylor : The Python docs suggest that io.IOBase.truncate' should take a keyword argument of 'size'. However this causes a 'TypeError': TypeError: truncate() takes no keyword arguments Suggest that the docs are changed to 'truncate(s

[issue10760] tarfile doesn't handle sysfs well

2011-06-26 Thread Guy Rozendorn
Changes by Guy Rozendorn : -- nosy: +guyrozendorn ___ Python tracker <http://bugs.python.org/issue10760> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5542] Socket is closed prematurely in httplib, if server sends response before request body has been sent

2011-02-28 Thread Guy Kloss
Guy Kloss added the comment: I would open a new issue if I had it verified. But I can't verify it right now, as I cannot install the dependencies for a Py2.7 (or 3.x) for running my failing code on the server (running Ubuntu Lucid/LTS). Unless you're saying I should open an is

[issue5542] Socket is closed prematurely in httplib, if server sends response before request body has been sent

2011-02-23 Thread Guy Kloss
Guy Kloss added the comment: I know this issue is marked as fixed, and won't be backported to 2.6. But the fix is simple enough to self perform on 2.6. Doing that I have discovered an issue that might still be present with the fix, as it was not discussed here, yet, but is still re

[issue11235] Source files with date modifed in 2106 cause OverflowError

2011-02-17 Thread Guy Kisel
New submission from Guy Kisel : Tested in Python 2.7.1 (r271:86832, Nov 27 2010, 18:30:46) [MSC v.1500 32 bit (Intel)] on win32 Exception thrown: OverflowError: modification time overflows a 4 byte field Steps to reproduce: 1. Set system time to 2/8/2106 or later and modify a .py file (or use

[issue9389] Traceback: Exception Shows Code that's On-Disk (Not in memory)

2010-07-27 Thread Guy
Guy added the comment: I was running a script that I was editing, and, after making changes, the code wasn't reinterpreted, but listed the line that the "error" occured on (I had corrected the error on the file that was on disk, but yet, Python didn't reinterpret the c

[issue9389] Traceback: Exception Shows Code that's On-Disk (Not in memory)

2010-07-26 Thread Guy
New submission from Guy : When an exception is raised and Python's showing a traceback, the lines of the Python scripts are that of those on-disk, not in memory. For example, if I run a Python script which raises an exception, but I edit the line the exception occurs on and save the scri

[issue1524] os.system() fails for commands with multiple quoted file names

2007-11-29 Thread Guy Mott
Guy Mott added the comment: > Are you sure that the exact command line works in a Windows shell? Yes, I tried running the exact same command line in a Windows shell and it worked fine. Note that the buggy.py script echoes the command line and then immediately calls os.system with it.

[issue1524] os.system() fails for commands with multiple quoted file names

2007-11-29 Thread Guy Mott
New submission from Guy Mott: Given a call to os.system() with a command string like this: os.system('"TheCommand" > "MyOutput"') # fails then the call fails with the following error message on the console: 'TheCommand" > "MyOutput