New submission from George :
I have Python 2.6.1 in Windows Vista. It happened in Python 2.6 and I
hoped it would be fixed. I don't know what happenes in other versions.
When I open a file containing a python program(".py"/".pyw" and even
one compiled with py2exe) m
Changes by George :
--
title: pythonw.exe crash in GU application(PythonWX) -> pythonw.exe crash in
GUI application(PythonWX)
___
Python tracker
<http://bugs.python.org/iss
New submission from George :
Warning: There's a higher probability this is "expected" undefined behaviour or
not even undefined and I'm just a moron. In addtion, I couldn't actually
replicate it outside of the specific context it happened. But if it sounds
plausibl
New submission from George :
I tried running the following command in the interpreter, and without fail it
will completely crash my entire computer.
Python 3.8.7 (default, Jan 20 2021, 00:00:00)
[GCC 10.2.1 20201125 (Red Hat 10.2.1-9)] on linux
Type "help", "copyright", &
George added the comment:
Thanks Christian for the solutions. I am guessing that since it is my entire
machine that crashes, and python is not simply killed for requesting so much
memory, that this is an operating system problem. Should I submit this as a bug
to the kernel project then
New submission from George:
Id's with spaces in them causes a crash when using the .selection* methods
Treeview. Version of ttk.py "0.3.1" dated 12/6/2015. Traceback line numbers
are 1415 then 1395
Either of these lines of code, where the item id is "2009 Report.pdf&
New submission from George Gensure :
Instantiating an exception and raising it multiple times causes 1 frame and 2
traceback objects to remain allocated for each raise. The attached example
causes python to consume 8GB of ram after a few seconds of execution on
Windows/Linux
New submission from George Patterson :
I'm uncertain this is a bug, but it seems persistent over several machines and
I can't figure out where the issue lies.
Most of my troubleshooting has been on a MacBook Pro with Mac OS X version
10.6.7. I have a simple python script 'test
New submission from reshmi george :
The same problem that was reported in issue 9700 is appearing on AIX 7.1.
The following message has been seen when running multi-process python program:
sem_trywait: Permission denied
sem_post: Permission denied
sem_wait: Permission denied
sem_post
George Yoshida added the comment:
> Under 2.6, there's another failure:
As for 2.6/2.7 issues, changing 'assertListEqual' to 'assertEqual' should
suffice.
--
keywords: +patch
nosy: +quiver
Added file: http://bugs.p
George Yoshida added the comment:
test_initgroups fails only if the test is invoked by a root and
the user is assigned to only one group.
If I understand test_initgroups correctly, it
(1)looks for an unused gid,
(2)inits process user's group with that gid,
(3)checks if initgroups w
Changes by George Yoshida :
Removed file: http://bugs.python.org/file18498/test_setgroups.diff
___
Python tracker
<http://bugs.python.org/issue9581>
___
___
Python-bug
Changes by George Yoshida :
Added file: http://bugs.python.org/file18499/test_setgroups.diff
___
Python tracker
<http://bugs.python.org/issue9581>
___
___
Python-bug
George Yoshida added the comment:
> FAIL: test_setgroups (test.test_posix.PosixGroupsTester)
> --
> Traceback (most recent call last):
> File "/home/antoine/py3k/__svn__/Lib/test/test_posix.py", line 428
Changes by George Yoshida :
Added file: http://bugs.python.org/file18500/py3k.diff
___
Python tracker
<http://bugs.python.org/issue9581>
___
___
Python-bugs-list mailin
New submission from George Dhoore :
If the user makes a typo when setting a custom keybind (in this case
"" instead of "") IDLE will silently crash. From the
command-line the error shows as:
Traceback (most recent call last):
File "C:\Python32\Lib\idle
Changes by George Dhoore :
--
nosy: +George.Dhoore
___
Python tracker
<http://bugs.python.org/issue11072>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from George Sakkis <[EMAIL PROTECTED]>:
I'd like to propose a new function for inclusion to the inspect module
-- getcallargs(func, *args, **kwds) -- that returns a dict which maps
the formal arguments of a function (or other callable) to the values
passed as args and
George Boutsioukis <[EMAIL PROTECTED]> added the comment:
I have also come across this in the past. Although I sense that some
obscure reason might prevent time arithmetic from being included, here's
a patch to add time/timedelta addition and subtraction. It closely
follows t
George Boutsioukis <[EMAIL PROTECTED]> added the comment:
Hi Chris,
I know copy-pasted sounds horrible--perhaps I should have said 'modeled
afterwards'(better marketing;). The thing is, the datetime & time
classes share a lot of common functionality; it is inevitable that
George Boutsioukis <[EMAIL PROTECTED]> added the comment:
The issue is that the implementation of round includes multiplying the
number by 10**ndigits, thus unnecessarily losing some precision for
large numbers within the IEEE754 double limits. This means that even
smaller numbers can p
George Boutsioukis <[EMAIL PROTECTED]> added the comment:
Hi Mark,
Yes, I see where you are going with this and I agree. I think the py3k
round function is a bit more accurate, any chance this can be backported
to 2.7(after modifying the half-rounding)?
Anyway, I was just playing aroun
New submission from George Sakkis :
The following exception message seems misleading, or at least not obvious:
>>> def f(a,b,c): pass
...
>>> f(c=0,a=0)
Traceback (most recent call last):
File "", line 1, in
TypeError: f() takes exactly 3 non-keyword arguments (1
George Sakkis added the comment:
I reverted the function to the original API (return just the dict with the
bindings), cleaned it up, wrote thorough unit tests and made a patch against
Python 2.7a4.
--
keywords: +patch
Added file: http://bugs.python.org/file16579/getcallargs.patch
Changes by George Sakkis :
Removed file: http://bugs.python.org/file16579/getcallargs.patch
___
Python tracker
<http://bugs.python.org/issue3135>
___
___
Python-bug
George Sakkis added the comment:
Renamed the Testcase classes to conform with the rest in test_inspect.py, added
a few more tests for tuple args and patched against the latest trunk (r79086).
--
Added file: http://bugs.python.org/file16587/getcallargs.patch
George Sakkis added the comment:
Which version are you running ? I don't get the "positional" word in 2.6 and
2.7a4.
In my opinion it should report how many required arguments are passed,
regardless of how they are passed (positionally or by name). So in your example
it shou
George Sakkis added the comment:
Attached patch for displaying the number of missing required arguments.
--
keywords: +patch
Added file: http://bugs.python.org/file16589/6474.patch
___
Python tracker
<http://bugs.python.org/issue6
George Sakkis added the comment:
- Added docs in inspect.rst
- Fixed TypeError message for zero-arg functions ("takes no arguments" instead
of "takes exactly 0 arguments") + added test.
--
Added file: http://bugs.python.org/file1659
George Sakkis added the comment:
Uploaded at http://codereview.appspot.com/659041/show
--
___
Python tracker
<http://bugs.python.org/issue3135>
___
___
Python-bug
George Sakkis added the comment:
Is there any update on this for 2.7 ?
--
nosy: +gsakkis
___
Python tracker
<http://bugs.python.org/issue1745>
___
___
Python-bug
George Sakkis added the comment:
FWIW I updated the patch to r79264; it applies cleanly and passes the tests but
other than that I can't tell if it's ready. It would be nice to have it in 2.7
though.
--
Added file:
http://bugs.python.org/file16618/backport-keyword-only
George Boutsioukis added the comment:
Flushing stdout is still necessary, though not enough. The processes will still
have to use some kind of synchronization, and the performance toll of adding a
lock to synchronize output is negligible, given that printing to stdout takes a
tiny amount of
Changes by George Boutsioukis :
Removed file: http://bugs.python.org/file16889/output_lock.diff
___
Python tracker
<http://bugs.python.org/issue6409>
___
___
Python-bug
George Boutsioukis added the comment:
I updated the patch to keep the new code as local as possible.
--
Added file: http://bugs.python.org/file16895/output_lock.diff
___
Python tracker
<http://bugs.python.org/issue6
New submission from george hu :
Have this problem in python 2.5.4 under windows.
I'm trying to return a list of files in a directory by using glob. It keeps
returning a empty list until I tested/adjusted folder name by removing "["
character from it. Not sure if this is a bug
george hu added the comment:
Ok, what if the name of the directory contains "[]" characters? What is the
escape string for that?
--
status: closed -> open
___
Python tracker
<http://bugs.pyth
george hu added the comment:
Well, the listdir doesn't support "wildcard", for example,
listdir("*.app"). I know the glob is kind of unix shell style expanding, but
my program is running under windows, it's my tiny script to walk through a
huge directory
george hu added the comment:
Well, the listdir doesn't support "wildcard", for example, listdir("*.app"). I
know the glob is kind of unix shell style expanding, but my program is running
under windows, it's my tiny script to walk through a huge directory
George Sakkis added the comment:
Just bitten by this (through a 3rd party library that uses this pattern) and
I'm wondering why it was closed as invalid. Passing a non-empty fromlist string
also imports the tail module but without the side effect of double import, so
it's not
George Sakkis added the comment:
> When you use an empty string in fromlist you are essentially simulating
> ``from pkg import`` which makes absolutely no sense, so no one has
> cared enough to try to fix this.
``from pkg import __bogus__, 123, @$%`` doesn't make sense eith
George Sakkis added the comment:
More fun findings: dots are special-cased too, but only if they don't appear
consecutively (!);
~$ cat pkg/__init__.py
print __name__
~$ python -c "__import__('pkg', fromlist=['.'])"
pkg
pkg..
~$ python -c "__import_
George Sakkis added the comment:
FWIW attached is a patch that allows only valid identifiers before calling
import_submodule(), and returns silently otherwise (for backwards
compatibility).
For the record, the reason that empty strings and some combinations of
slashes/dots caused the double
George Sakkis added the comment:
> On the surface this seems like a potential directory traversal attack
> hole, although I couldn't get past 'pkg' by passing '../../../', so I
> guess there must be other checks before attempting the import.
I rushed to p
George Sakkis added the comment:
Just discovered this by chance; I would probably have noticed it earlier if the
docstring had been updated. Let me know if it needs a new documentation bug
ticket and I'll create one.
Pretty handy feature by the way, thanks for adding it!
--
New submission from George Sakkis :
Not sure if this has been brought before but how about extending getargspec to
work with callable instances, i.e. make it equivalent to
getargspec(obj.__call__) ?
--
components: Library (Lib)
messages: 105166
nosy: gsakkis
priority: normal
severity
George Notaras added the comment:
Indeed, I have downloaded the latest tarfile module from svn and it
works as expected. I should have done this in the first place.
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/
New submission from George Notaras:
Assume the following situation:
- a healthy and uncompressed tar file: a.tar
- the metadata of the 1st and second files within the archive start at
positions 0 and 756 (realistic example values)
I partially damage 200 bytes of metadata (byte range 0-500) of
New submission from George Notaras:
Assume a healthy uncompressed tar file: a.tar
When trying to open the tarfile using a fileobject, there is always an
exception:
>>> f_raw = open("a.tar", "rb")
>>> import tarfile
>>> f_tar = tarfile.open(mode=&
George Notaras added the comment:
Thanks for the quick fix and the workaround.
You are right about position 756. I hadn't spent enough time studying
the ''ustar'' format.
__
Tracker <[EMAIL PROTECTED]>
&l
George Castillo added the comment:
Is there still interest in implementing the inverse hyperbolic trig
functions for real numbers? I would be willing to explore this if there is.
--
nosy: +gmcastil
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.p
George Castillo added the comment:
Just a quick addition here regarding the singularities to these
functions. The atanh(x) is only defined for |x| < 1, so atanh(1) or
atanh(-1) isn't singular there so much as simply isn't defined. So,
even though the function approaches infinite
George Castillo added the comment:
I misunderstood the rationale for the function returning infinite at
those points - I didn't realize that C99 was the governing force behind
the implementation of these functions, rather than mathematical rigor.
Thanks for pointing it out. In that ca
New submission from George Verbitsky <[EMAIL PROTECTED]>:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208408368 (LWP 2816)]
0x080edccd in visit_decref (op=0xbf9289ff, data=0x0) at
Modules/gcmodule.c:270
270 if (PyObject_IS_GC(op)) {
(gdb)
George Verbitsky <[EMAIL PROTECTED]> added the comment:
Thank you, Amaury, very much for helping me with this one.
George
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> wrote:
Amaury Forgeot d'Arc added the comment:
The crash is because of an error in your C code:
in backen
New submission from George Yoshida :
Download page for 2.5.3 documantation is not ready.
---
Go to Documentation top page:
http://docs.python.org/
click "Previous versions"
click "Python 2.5.3"
click "Download all these documents"
But this URL, http://www
George Sakkis added the comment:
Agreed; package_data are also ignored by sdist. Unfortunately, neither
setuptools seems to work as expected on sdist but at least bdist_egg does.
MANIFEST.in is an ugly hack and should be deprecated; you shouldn't have
to repeat yourself in two
George Sakkis added the comment:
I didn't mean to imply that automagic discovery based on external
version control software is better than MANIFEST.in; I favor
explicitness here as well. It's just that this information can (and
often has to) be duplicated in setup.py as 'p
George Sakkis added the comment:
By an equivalent option in setup() of course. I'm not against the
*functionality* of MANIFEST.in but on that (a) it's a second file you
have to remember to write and maintain in addition to setup.py (b) has
its own ad-hoc syntax instead of pyt
New submission from George Zhang :
Congrats on adding line numbers to IDLE.
With this change, a change to add code folding could be done more easily as the
folding can reference the line numbers. Many other IDEs have code folding but
IDLE should also have it.
Code folding could be done with
Change by George Zhang :
--
type: -> enhancement
___
Python tracker
<https://bugs.python.org/issue37882>
___
___
Python-bugs-list mailing list
Unsubscrib
New submission from George Zhang :
I've just started using IDLE's module/path browsers and they offer a lot!
Putting aside the issue of them opening in separate windows, they have a small
change that could be made to improve them.
Both browsers have scrollbars, but (for me at least
Change by George Zhang :
--
keywords: +patch
pull_requests: +15072
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/15360
___
Python tracker
<https://bugs.python.org/issu
George Zhang added the comment:
I looked at the code for scrolling and moved it over to the ScrolledCanvas and
TreeNode (because it uses a Label that sits on the canvas, meaning we have to
rebind it here).
I haven't figured out how to add the scroll-by-pressing-down-and-moving way but
Change by George Zhang :
--
pull_requests: -15072
___
Python tracker
<https://bugs.python.org/issue37902>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by George Zhang :
--
pull_requests: +15076, 15077
pull_request: https://github.com/python/cpython/pull/15360
___
Python tracker
<https://bugs.python.org/issue37
Change by George Zhang :
--
pull_requests: +15076
pull_request: https://github.com/python/cpython/pull/15360
___
Python tracker
<https://bugs.python.org/issue37
Change by George Zhang :
--
pull_requests: -15077
___
Python tracker
<https://bugs.python.org/issue37902>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by George Zhang :
--
pull_requests: -15076
___
Python tracker
<https://bugs.python.org/issue37902>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by George Zhang :
--
pull_requests: +15079
pull_request: https://github.com/python/cpython/pull/15368
___
Python tracker
<https://bugs.python.org/issue37
George Zhang added the comment:
Looks like my PRs are getting out of hand... This is the final PR :P
--
___
Python tracker
<https://bugs.python.org/issue37
George Zhang added the comment:
I renamed mousescroll to handlescroll as it's an independent callback function
and I think it fits its use case better. I can keep it as mousescroll if you
like though.
The handlescroll function is now a standalone module function in tree.py and
George Zhang added the comment:
Also, how should I get the new code coverage percentage (or should it be
ignored for now)?
I'm thinking of adding a few more tests that send invalid events which would
raise KeyError but I don't think that this behaviour will be used (and
Change by George Zhang :
--
pull_requests: +15136
pull_request: https://github.com/python/cpython/pull/15430
___
Python tracker
<https://bugs.python.org/issue37
Change by George Zhang :
--
pull_requests: +15137
pull_request: https://github.com/python/cpython/pull/15432
___
Python tracker
<https://bugs.python.org/issue37
New submission from George Sovetov :
Ctrl+C alone has no effect, but Ctrl+Break works:
```
winrs -r:127.0.0.1:20465 -u:Administrator -p:qweasd123 python -c "import
sys;sys.stdin.read(1)"
```
Although, if I press Ctrl+C, type zero or more symbols and then press Enter,
KeyboardIn
New submission from George King :
`dis.findlinestarts()` has been changed to use the no `co_lines()` function.
(Blame indicates commit 877df851c3e by Mark Shannon.) However the docs
currently state that it uses the older `co_firstlineno` and `co_lnotab`:
https://docs.python.org/3.10/library
George King added the comment:
I should also mention that my reading was not exhaustive, so there may be other
docs that need updating as well.
--
___
Python tracker
<https://bugs.python.org/issue44
Damien George added the comment:
It looks like this change introduced a subtle, and maybe intended (?),
behavioural change.
Consider (from MicroPython's test suite):
def f():
n = 0
while True:
n = yield n + 1
print(n)
g = f()
try:
g.send(1)
except Type
Damien George added the comment:
Thanks for confirming the bug.
Sending non-None to a not-started generator could arguably be case (2), because
that's exactly the semantics introduced by the commit that broke the test case
:)
Honestly I don't have a strong opinion on which way
New submission from William George :
The convenience factory functions in the ipaddress module each return one of
two types (IPv4Network vs IPv6Network, etc). Modern code wants to be friendly
to either stack, and these functions are great at enabling that, but current
implementation blocks
Change by William George :
--
keywords: +patch
pull_requests: +28015
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/29778
___
Python tracker
<https://bugs.python.org/issu
New submission from George King :
Using macOS 11.6 Terminal.app with Python 3.10.0 installed directly from
python.org.
I open the REPL. If I enter `char(0xff)` I get back 'ÿ' as expected (U00FF
LATIN SMALL LETTER Y WITH DIAERESIS).
However, If I copy this character with surround
George King added the comment:
Edit: `chr(0xff)`
--
___
Python tracker
<https://bugs.python.org/issue45904>
___
___
Python-bugs-list mailing list
Unsubscribe:
George Hickman added the comment:
I came across this today with the same timeout behaviour on macOS 10.14.6.
After some digging I tracked it down to the Search Domains setting of my local
network, this was set to "local", removing that immediately fixed the issue.
--
nosy:
New submission from George Melikov :
POSIX fdatasync() is similar to fsync() but it tries not to sync non-needed
metadata. If POSIX OS doesn't have it - it's safe to use fsync() (If we need to
sync data to disk - we have to use one of these functions).
This change will help to run
Change by George Melikov :
--
keywords: +patch
pull_requests: +17893
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/18516
___
Python tracker
<https://bugs.python.org/issu
George Melikov added the comment:
If there is a way not to sync data - you should use neither fdatasync nor fsync.
So IMHO if someone wants to sync data and want to use fdatasync - I see the
only way on MacOS is to use fsync().
> Note also that this change will not help to run code w
George Melikov added the comment:
I want to add that it's a usual practice:
-
https://github.com/libuv/libuv/pull/1580/files/bdd987a9b4347164e31e22d2d5ce06fbb5ebc859
-
https://rev.ng/gitlab/revng/qemu/commit/6f1953c4c14566d3303709869fd26201828
George King added the comment:
I think we should change the documentation to expand the parenthetical "
(unless SystemExit is raised)" to a complete explanation of that special case.
--
___
Python tracker
<https://bugs.python.o
George Melikov added the comment:
PR rebased and ready to review.
--
___
Python tracker
<https://bugs.python.org/issue39640>
___
___
Python-bugs-list mailin
New submission from George Sakkis :
ThreadPoolExecutor.map() prevents interpreter exit if there is a reference to
the generator it returns. In the attached script:
- `python threadpool_map.py run1` exits as soon as the exception is raised on
the main thread. This is the desired behavior in
Change by George Stefos :
--
nosy: +stefosgiwrgos
___
Python tracker
<https://bugs.python.org/issue42409>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from George Xie :
if we create a bound method object `f` with function object `A.f` and instance
object `B()`,
when pickling this bound method object:
import pickle
class A():
def f(self):
pass
class B():
def f
Change by George Xie :
--
keywords: +patch
Added file:
https://bugs.python.org/file48424/0001-fix-bound-method-__reduce__-bug.patch
___
Python tracker
<https://bugs.python.org/issue37
New submission from George Pantazes :
IDLE crashes if the user scrolls with the Mac mousepad (using two fingers,
either up or down).
```$ python -m idlelib # Then I use the mousepad to scroll in the IDLE window
Traceback (most recent call last):
File
"/usr/local/Cellar/python/
George Pantazes added the comment:
Also happens when I plug in a conventional mouse and use the mouse scrollwheel
(so it's not just the touchpad scrolling!).
--
___
Python tracker
<https://bugs.python.org/is
George Pantazes added the comment:
Alright folks, sorry there's going to be a lot of pasted blocks of output, so
just look for where I @ your name to address your questions.
@ned.deily, here is the output of those info commands.
```
➜ python3 -m test.pytho
George Pantazes added the comment:
Checked against the python.org installation. In that installation's IDLE, About
IDLE > Tk version 8.6.8.
So my question is:
- Is it on me to fix this for my own machine because I should have gotten my
own more-up-to-date TK before installing Py
George Pantazes added the comment:
In case anyone would like to weigh in on the Homebrew side, I've filed the
homebrew issue here: https://github.com/Homebrew/homebrew-core/issues/41338 .
--
___
Python tracker
<https://bugs.python.org/is
1 - 100 of 241 matches
Mail list logo