Martin v. Löwis [EMAIL PROTECTED] added the comment:
Thanks for the patch. Committed as r67279, r67280, and r67281.
--
resolution: - accepted
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4116
Guilherme Polo [EMAIL PROTECTED] added the comment:
tk 8.4.19 here, but windows and linux almost surely uses different
window managers (you could run gnome and others under windows, but I'm
betting it is not the case).
Now, it is very hard to say that we shouldn't care about this bug here.
Tcl
Changes by Amaury Forgeot d'Arc [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file12056/distutils_upload_2.patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4338
___
Changes by Amaury Forgeot d'Arc [EMAIL PROTECTED]:
Added file: http://bugs.python.org/file12057/distutils_upload_2.patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4338
___
STINNER Victor [EMAIL PROTECTED] added the comment:
The example works correctly on Linux (py3k trunk). The problem is maybe
specific to Windows?
--
nosy: +haypo
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4352
Gregor Lingl [EMAIL PROTECTED] added the comment:
I cannot call the Canvas method _update_idletasks() from within
_Screen.setup() becaus this would contradict to the architecture of the
module which isolates all direct references to Tkinter to
TurtleScreenBase. (The idea behind this is to make
TJ Usiyan [EMAIL PROTECTED] added the comment:
same here
--
nosy: +TJ
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4017
___
___
Python-bugs-list
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:
Indeed. It happens when the filesystem encoding is not utf-8.
I have several changes in my local workspace about this, which also deal
with zipimport and other places that import modules.
I suggest to let 3.0 go out and correct all this
Martin v. Löwis [EMAIL PROTECTED] added the comment:
Thanks for the report. Fixed in r67283, r67284, and r67285.
--
resolution: - fixed
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4289
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:
To correct the reported problem, 3 lines are indeed enough.
I just wanted to test my changes, so I ran setup.py bdist upload on my
favourite package, even if I expect it to fail at the end because I
don't have a valid PyPI account.
Here
Thomas Lee [EMAIL PROTECTED] added the comment:
Updating affected versions. Probably affects 3.x too.
--
versions: +Python 2.7
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4347
___
New submission from rocky bernstein [EMAIL PROTECTED]:
This sentence:
The local trace function should return a reference to itself (or to
another function for further tracing in that scope), or None to turn off
tracing in that scope.
which appears under How it [the debugger] Works
Martin v. Löwis [EMAIL PROTECTED] added the comment:
This patch has two problems:
1. saving files fails, since there is still a call left to the function
coding_spec, but that function is removed.
2. if saving would work: it doesn't preserve the line endings of the
original file when writing it
David W. Lambert [EMAIL PROTECTED] added the comment:
Changing the string to type byte
'Works'
from ctypes import *
libc = CDLL('libc.so.6')
libc.printf(b'hello')
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4309
Hagen Fürstenau [EMAIL PROTECTED] added the comment:
I just tested Amaury's patch and it seems to work fine.
There's a similar str/bytes issue with the register command, but I'll
open another issue for that.
___
Python tracker [EMAIL PROTECTED]
New submission from Hagen Fürstenau [EMAIL PROTECTED]:
The distutils command register has two problems with Python 3.0:
1. The authentication dialog crashes because of a problem with the
functiopn raw_input defined there.
2. Uploading the data fails because of str/bytes confusion.
The
New submission from Hagen Fürstenau [EMAIL PROTECTED]:
The docs refer to urllib.urlencode instead of urllib.parse.urlencode. A
patch is attached.
--
assignee: georg.brandl
components: Documentation
files: doc_urlencode.patch
keywords: patch
messages: 76056
nosy: georg.brandl, hagen
Martin v. Löwis [EMAIL PROTECTED] added the comment:
Here is a patch that removes the entire IDLE coding option machinery,
thus implementing PEP 3120.
--
keywords: +needs review
Added file: http://bugs.python.org/file12060/remove_coding_option.py
___
Mike Watkins [EMAIL PROTECTED] added the comment:
Running the same code today passes, despite the fact I'm still running
the same svn version. Bizarre.
However the core reported issue - SlowParser being undefined in the
module, remains.
___
Python tracker
New submission from Miki Tebeka [EMAIL PROTECTED]:
It'd be helpful of the functions in the bisect modules will have a
key argument just like sort.
--
messages: 76060
nosy: tebeka
severity: normal
status: open
title: Add key argument to bisect module functions
Changes by Miki Tebeka [EMAIL PROTECTED]:
--
components: +Library (Lib)
type: - feature request
versions: +Python 2.7, Python 3.0
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4356
___
Hagen Fürstenau [EMAIL PROTECTED] added the comment:
Attached new patch without sys.
Added file: http://bugs.python.org/file12061/distutils_register_2.patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4354
New submission from Alex Samuel [EMAIL PROTECTED]:
Methods of set and frozenset that return new set or frozenset instances
return instances of subclasses, but these instances are not initialized
correctly. In the attached code sample, z is an instance of MySet but
MySet.__new__ and
Mark Dickinson [EMAIL PROTECTED] added the comment:
The bug is that the set operations return instances of the subclass,
rather than instances of set.
This is already fixed for 3.0: see issue 1721812. It was deemed too risky
to backport the change to 2.x.
--
assignee: theller -
Josiah Carlson [EMAIL PROTECTED] added the comment:
Oy. You are right. Fixed in Py3k in r67286, in trunk (2.7) in r67287,
and 2.6-maintenance in r67288.
--
resolution: - fixed
status: open - closed
___
Python tracker [EMAIL PROTECTED]
New submission from Farshad Khoshkhui [EMAIL PROTECTED]:
I'm encountering random segfaults on multiple machines. By examining
core dumps, it's all happening in stringobject.c (_PyString_Resize or
string_join).
By using pyframev I figured out it's always happening inside
xmlrpclib.py
Farshad Khoshkhui [EMAIL PROTECTED] added the comment:
Another Backtrace. I have three other core dumps with exact same
backtrace on two different machines.
Added file: http://bugs.python.org/file12064/backtrace2
___
Python tracker [EMAIL PROTECTED]
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:
Well, this was changed only three days ago.
Please wait for the next 3.0rc3...
--
nosy: +amaury.forgeotdarc
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4357
Thomas Heller [EMAIL PROTECTED] added the comment:
Has nothing to do with ctypes (the package), unassigning.
--
components: -ctypes
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4358
___
Changes by Martin v. Löwis [EMAIL PROTECTED]:
--
nosy: +loewis
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4354
___
___
Python-bugs-list mailing list
Changes by Brett Cannon [EMAIL PROTECTED]:
--
versions: +Python 3.0
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2306
___
___
Python-bugs-list mailing
Changes by Thomas Heller [EMAIL PROTECTED]:
--
assignee: theller -
nosy: -theller
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4358
___
___
Brett Cannon [EMAIL PROTECTED] added the comment:
make_sure_to_copy.patch seems fine short of adding a comment to the test
referencing this issue.
--
assignee: - benjamin.peterson
nosy: +brett.cannon
___
Python tracker [EMAIL PROTECTED]
Martin v. Löwis [EMAIL PROTECTED] added the comment:
I cannot call the Canvas method _update_idletasks() from within
_Screen.setup() becaus this would contradict to the architecture of the
module which isolates all direct references to Tkinter to
TurtleScreenBase. (The idea behind this is to
Changes by Benjamin Peterson [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file12047/make_sure_to_copy.patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4348
___
Brett Cannon [EMAIL PROTECTED] added the comment:
And it turns out I should have looked at the other patch instead. =)
The missing comment from the test still holds. I also think you did not
need to cut out the fast path from translate as much as you did when
there is no deletion. It's still
Mark Dickinson [EMAIL PROTECTED] added the comment:
This request has come up repeatedly (and been rejected) in the past. See
issues 2954, 3374, 1185383, 1462228, 1451588, 1619060.
Could you perhaps explain your particular use case for this? A few truly
convincing use-cases might increase
Benjamin Peterson [EMAIL PROTECTED] added the comment:
Fixed in r67291.
--
resolution: - fixed
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4348
___
Brett Cannon [EMAIL PROTECTED] added the comment:
So if you look at Python/pythonrun.c, there is a comment from Tim Peters
(from r34776) where he explicitly points out that this is possibility
but that it has never been reported before. Oops. =)
--
nosy: +brett.cannon
Brett Cannon [EMAIL PROTECTED] added the comment:
I don't think there is anything to fix here beyond the docs for __del__.
You should never expect anything to be working in __del__, and that
includes the import machinery. It should be bare-bones, not trying to
pull in new code!
I have attached
Gregor Lingl [EMAIL PROTECTED] added the comment:
I find that desire misguided; this is (IMO) a case of false abstraction.
Is there any kind of proof that this design actually
works, i.e. can be ported to a different GUI library (like, say,
PythonWin? or AWT, when run in Jython?)
Yes
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:
This is difficult: the backtrace only show plain python operations.
Some hints though:
One backtrace shows a memory corruption in the obmalloc data. This may come
from a
buffer overrun.
You initially selected ctypes in Components,
Roumen Petrov [EMAIL PROTECTED] added the comment:
I'm not sure that reported issue is openssl bug.
Just tested a GCC(mingw) build of test case reproduce.zip with
openssl(0.9.8i) and pthreads-w32. The test run without problems on
nt5.1(xp).
--
nosy: +rpetrov
Brett Cannon [EMAIL PROTECTED] added the comment:
If you look at the 2.7 code all it requires of keys and values in
__setitem__ is that they are strings; there is nothing about Latin-1 in
terms of specific encoding (must be a 3.0 addition to make the
str/unicode transition the easiest). That
Martin v. Löwis [EMAIL PROTECTED] added the comment:
2. Is it really fruitful to discuss general design issues along with
(comparatively) small problems like this one - in the sense of
alternative ways to fix that problem?
Most definitely. The module went into Python without any review
Brett Cannon [EMAIL PROTECTED] added the comment:
OK, now I see why it is called 'dumb'; the thing literally just dumps
out the repr of two strings on each line for key/value pairs. To read it
just evals each line in the string. And whichdb detects this format by
looking for ' or as the first
New submission from Toshio Kuratomi [EMAIL PROTECTED]:
When using some distutils functions, distutils attempts to use buildtime
files like Makefile and pyconfig*.h as data sources. For instance, this
snippet::
from distutils.command.install import install
from distutils.core import
Raymond Hettinger [EMAIL PROTECTED] added the comment:
Miki, the issue is that bisect calls tend to be made repeatedly, so the
key function can be called over and over again for the same argument.
It is almost always a better design to simply decorate the list so the
key function never gets
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:
With cygwin, calling sem_wait() in the DLL_THREAD_DETACH section of a DllMain
function
can crash the program.
See attached zip file, it contains two C files which only include pthread.h and
semaphore.h (no python, no openssl). The
Gregor Lingl [EMAIL PROTECTED] added the comment:
Most definitely. The module went into Python without any review
whatsoever. Nobody (but you) has ever looked at the code in detail.
That's not True! Brad Miller, for example, who also had submitted
patches to the pythontracker, coauthor of
David W. Lambert [EMAIL PROTECTED] added the comment:
When patching py3k/Doc/library/ctypes.rst or ctypes module tree please
consider
uWorld! produces a syntax error.
These wide character formats produce unintelligible output:
for n in range(3,6):
code = 'utf_%s'%2**n
Benjamin Peterson [EMAIL PROTECTED] added the comment:
Thanks for the suggestion! Done in r67205.
--
nosy: +benjamin.peterson
resolution: - accepted
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4353
Hirokazu Yamamoto [EMAIL PROTECTED] added the comment:
OK, I'll close this entry, and I'll post message to cygwin ml about this
issue.
# I already posted it to openssl-dev, but there was no response.
Farshad Khoshkhui [EMAIL PROTECTED] added the comment:
No, there isn't any custom made C extension, nor I'm using ctypes. (It
was a mistake selecting ctypes).
The application is a web service with postgresql backend, so it heavily
uses pyexpat and pygresql in a threaded environment.
I'll
54 matches
Mail list logo