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
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
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
>
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
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
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
Change by Guy Kogan :
--
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue40189>
___
___
Python-bugs-list
Guy Kogan added the comment:
I have fixed the issue
--
resolution: -> fixed
___
Python tracker
<https://bugs.python.org/issue40189>
___
___
Python-bugs-lis
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
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
Guy Kogan added the comment:
I still dont understand what do you mean?
Can you please elaborate?
--
___
Python tracker
<https://bugs.python.org/issue40
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
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
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():
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
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
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
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
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}
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
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
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
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
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
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
Changes by Guy Rozendorn :
--
nosy: +guyrozendorn
___
Python tracker
<http://bugs.python.org/issue10760>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
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
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.
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
33 matches
Mail list logo