Mark Hammond skippy.hamm...@gmail.com added the comment:
This is biting people (including me :) so I'm going to try hard to get this
fixed. One user on the python-win32 mailing list resorts to rebuilding every
3rd party module he uses with this patch to get things working again (although
Terry J. Reedy tjre...@udel.edu added the comment:
Are you using the .msi installer from python.org?
Or one from activestate or enthought?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13071
Ezio Melotti ezio.melo...@gmail.com added the comment:
Are you using some unusual keyboard layout?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13071
___
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
This issue is very similar to issue5707: it is possible to define a custom key
binding to Alt or Control: just click the Alt box and don't select a
letter.
There is no check, it's possible to save this buggy key binding, and IDLE won't
Ezio Melotti ezio.melo...@gmail.com added the comment:
FWIW there's also support.open_urlresource that can be used to download test
data. open_urlresouce calls requires('urlfetch') and skips the test when the
resource is not enabled. For instance, test_normalization uses it:
try:
Ned Deily n...@acm.org added the comment:
It turns out that the proposed fix here for pydoc was independently added in
the early days of Python 3 but was not backported. That fix for 2.7 plus a
fix-in-progress for Issue7367 (for both 2.7 and 3.x) and additional test cases
(also in progress)
Stefan Krah stefan-use...@bytereef.org added the comment:
The automatic conversion of 'u' to 'I' or 'L' causes test_buffer
(PEP-3118 repo) to fail:
# Not implemented formats. Ugly, but inevitable. This is the same as
# issue #2531: equality is also used for membership testing and must
# return
Changes by Stefan Krah stefan-use...@bytereef.org:
--
nosy: +meador.inge
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13072
___
___
Ezio Melotti ezio.melo...@gmail.com added the comment:
This is an interesting proposal.
The line number comes from Python/traceback.c:120:
tb-tb_lineno = PyFrame_GetLineNumber(frame);
and this function is defined in Objects/frameobject.c:35:
int PyFrame_GetLineNumber(PyFrameObject *f) {
Stefan Krah stefan-use...@bytereef.org added the comment:
It would be better to use a format for a Py_UCS4 string, but struct doesn't
support such type.
PEP-3118 suggests for the extended struct syntax:
'c' - ucs-1 (latin-1) encoding
'u' - ucs-2
'w' - ucs-4
--
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +tchrist
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6632
___
___
Python-bugs-list
Martin v. Löwis mar...@v.loewis.de added the comment:
It's not a container type, just a small C struct that
gets allocated on the stack. Think of it as a library, like stringlib.
That's what I call a container type: a structure with a library :-)
That's another possibility. But we'd have
Antoine Pitrou pit...@free.fr added the comment:
That's another possibility. But we'd have to expose a
C API anyway, and this one is as good as any other.
No, it's not: it's additional clutter. If new API needs to be added,
adding it for existing structures is better. Notice that you
Changes by Fred L. Drake, Jr. f...@fdrake.net:
--
nosy: -fdrake
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue670664
___
___
Python-bugs-list
STINNER Victor victor.stin...@haypocalc.com added the comment:
The automatic conversion of 'u' to 'I' or 'L' causes test_buffer
(PEP-3118 repo) to fail:
# Not implemented formats. Ugly, but inevitable. This is the same as
# issue #2531: equality is also used for membership testing and must
Stefan Krah stefan-use...@bytereef.org added the comment:
STINNER Victor rep...@bugs.python.org wrote:
# Not implemented formats. Ugly, but inevitable. This is the same as
# issue #2531: equality is also used for membership testing and must
# return a result.
a = array.array('u', 'xyz')
New submission from Tomáš Dvořák dvto...@gmail.com:
I have this python script, and run it in python 2.7.2 (installed from EPD_free
7.1-2 (32-bit), but I guess this has nothing to do with EPD.
8---fail.py--
class X(object):
pass
x = X()
items = [foo, bar, baz]
for each in items:
R. David Murray rdmur...@bitdance.com added the comment:
Sorry. It is intended behavior. The lambda 'each' is bound to the local
'each', and by the time the lambda's execute, the value of 'each' is 'baz'.
I'm going to turn this into a doc bug, because while I'm pretty sure this is
Changes by R. David Murray rdmur...@bitdance.com:
--
title: setattr misbehaves when used with lambdas inside for loop - Need
Programming FAQ entry for the behavior of closures
___
Python tracker rep...@bugs.python.org
Ezio Melotti ezio.melo...@gmail.com added the comment:
To understand better what's going on, try to change the value of 'each' after
the 3 prints and then call again the 3 methods: you will see that they now
return the new value of each. This is because the lambdas refer to global
'each'
Tomáš Dvořák dvto...@gmail.com added the comment:
Thank you all very much for the super-quick responses. I'm used to smalltalk,
so the python variable binding behaviour is unnatural to me, but I guess there
must have been some reasons for making it behave this way.
Ezio, the
lambda
Changes by Artyom Gavrichenkov xima...@highloadlab.com:
--
nosy: +python-dev
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13045
___
___
Ezio Melotti ezio.melo...@gmail.com added the comment:
Maybe with a different name is less confusing: lambda return_value=each:
return_value
This copies the value of 'each' in a variable called 'return_value' that is
local to the lambda. Since the copy happens when the lambdas are defined,
Changes by Eric Snow ericsnowcurren...@gmail.com:
--
nosy: +eric.snow
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11816
___
___
Python-bugs-list
Changes by Artyom Gavrichenkov xima...@highloadlab.com:
--
nosy: +neologix
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13045
___
___
Changes by Artyom Gavrichenkov xima...@highloadlab.com:
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13045
___
___
Charles-François Natali neolo...@free.fr added the comment:
Hello,
method:: socket.getsockopt(level, optname[, optarg])
The overloading of the third parameter is confusing: it can already be an
integer value or a buffer size, I don't think that adding a third possibility
is a good idea. It
Martin v. Löwis mar...@v.loewis.de added the comment:
There are no official English titling rules and as you noted,
publishers vary.
If there aren't any rules, then how come all book and movie titles always
look the same? :)
Can we please leave the English language out of this issue?
Ezio Melotti ezio.melo...@gmail.com added the comment:
The patch is pretty much complete, it just needs a review (I left some comments
on the review page).
One thing that can be added is some compression for the names of the named
sequences. I'm not sure I can reuse the same compression used
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 4378bae6b8dc by Charles-François Natali in branch 'default':
Issue #13001: Fix test_socket.testRecvmsgTrunc failure on FreeBSD 8, which
http://hg.python.org/cpython/rev/4378bae6b8dc
--
nosy: +python-dev
Artyom Gavrichenkov xima...@highloadlab.com added the comment:
Hi Charles-François,
I've attached an update for the previous patch. Now there's no more overloading
for the third argument and socket.getsockopt accepts one more optional argument
-- a buffer to use as an input to kernel.
I can
Antoine Pitrou pit...@free.fr added the comment:
Should the input of OSError be checked?
It could, but pre-PEP it is not, so I assumed it's better to minimize
compatibility-breaking changes.
--
___
Python tracker rep...@bugs.python.org
Changes by Antoine Pitrou pit...@free.fr:
Added file: http://bugs.python.org/file23307/554524a74bbe.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12555
___
Antoine Pitrou pit...@free.fr added the comment:
Patch update against latest default. There shouldn't be anything interesting to
see.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12555
New submission from Cal Leeming cal.leem...@simplicitymedialtd.co.uk:
After a while of digging around, I noticed that the core libs don't provide an
easy way of splitting a list/tuple into chunks - as per the following
discussion:
Martin v. Löwis mar...@v.loewis.de added the comment:
The patch needs to take versioning into account. It seems that NamedSequences
where added in 4.1, and NameAliases in 5.0. So for the moment, when using 3.2
(i.e. when self is not NULL), it is fine to lookup neither. Please put an
assertion
Ezio Melotti ezio.melo...@gmail.com added the comment:
This sounds like the grouper() recipe of itertools. You could try to convince
Raymond and see if he wants to include it in itertools.
--
nosy: +ezio.melotti, rhettinger
versions: +Python 3.3
Cal Leeming cal.leem...@simplicitymedialtd.co.uk added the comment:
Oh - and while we are at it - how about having merge_list() and unique_list()
as part of the core too??
def unique_list(seq): # Dave Kirby
# Order preserving
seen = set()
return [x for x in seq if x not in seen
Tom Christiansen tchr...@perl.com added the comment:
Ezio Melotti rep...@bugs.python.org wrote
on Mon, 03 Oct 2011 04:15:51 -:
But it still has to happen at compile time, of course, so I don't know
what you could do in Python. Is there any way to change how the compiler
behaves even
Amorilia amorilia.game...@gmail.com added the comment:
I'm the author of the application. The tool is written in pure Python, and only
uses libraries from stdlib.
It would be really nice to have a simple standalone script to reproduce the
crash, however I am still trying to reproduce it
Brian Curtin br...@python.org added the comment:
I recently created minidumper to write Visual Studio MiniDump files of
interpreter crashes, but it's currently only available on 3.x. If I port it to
2.x, you could add import minidumper;minidumper.enable() to the top of your
script, then we
Victor Semionov vsemio...@gmail.com added the comment:
Any plans to fix this in the next release?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13070
___
Martin v. Löwis mar...@v.loewis.de added the comment:
The main underlying problem is that the internal macros are defined in a
way that made sense a long time ago, but no longer do ever since (for
example) the Unicode lowercase property stopped being synonymous with
GC=Ll and started also
Changes by Charles-François Natali neolo...@free.fr:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13001
Charles-François Natali neolo...@free.fr added the comment:
test_multiprocessing frequently hangs on FreeBSD 8 buildbots, and this
probably has to do with the limit on the max number of POSIX semaphores:
==
ERROR:
Stefan Krah stefan-use...@bytereef.org added the comment:
I haven't seen this in a while, so let's assume it's fixed.
--
resolution: - out of date
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
jfalskfjdsl;akfdjsa;l laksfj;aslkfdj;sal christopherdar...@gmail.com added
the comment:
ok i have solved the problem it was the same as issue 4765
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13071
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
What did you do to solve the problem?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13071
___
Changes by Brent Payne brent.pa...@gmail.com:
--
nosy: +Brent.Payne
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7689
___
___
Python-bugs-list
Santoso Wijaya santoso.wij...@gmail.com added the comment:
Without the aforementioned minidump library, you can also kick off the Python
interpreter using a debugger (or have a debugger break into an already-running
one) [1]. When the crash happens--presumably the debugger will break at this
Terry J. Reedy tjre...@udel.edu added the comment:
While this issue and #4765 are about the same effect, with a similar
workaround, Amaury has indentified a separate bug in the custom key mechanism.
So I retitled it to refer to that bug.
--
title: IDLE refuses to open on windows 7 -
Terry J. Reedy tjre...@udel.edu added the comment:
Note the config-main.cfg contains all custom configurations and appears if you
make any one of them. Mine currently says
[EditorWindow]
font = lucida sans unicode
[General]
autosave = 1
So deleting it is a hack workaround until the bug is
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
These have been rejected before. There is always a trade-off in adding tools
such as this -- it can take more time to learn and remember them than to write
a trivial piece of code to do it yourself. Another issue is that people
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
type: - crash
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13081
___
___
Python-bugs-list
John O'Connor tehj...@gmail.com added the comment:
Here is an update with the C implementation. I think a working prototype will
be helpful before another round on python-dev.
I'm not sure how to handle unseekable, non-blocking streams where the read
returns before `skip` bytes are
Changes by Matt Joiner anacro...@gmail.com:
--
nosy: +anacrolix
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1887
___
___
Python-bugs-list
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset aa3ebc2dfc15 by Meador Inge in branch '2.7':
Issue #12881: ctypes: Fix segfault with large structure field names.
http://hg.python.org/cpython/rev/aa3ebc2dfc15
New changeset d05350c14e77 by Meador Inge in branch
New submission from Meador Inge mead...@gmail.com:
Reproducible in 2.7 and tip:
[meadori@motherbrain cpython]$ ./python
Python 3.3.0a0 (default:61de28fa5537+d05350c14e77+, Oct 3 2011, 21:47:04)
[GCC 4.6.0 20110603 (Red Hat 4.6.0-10)] on linux
Type help, copyright, credits or license for more
Meador Inge mead...@gmail.com added the comment:
There is similar crasher to this one that can be reproduced like:
[meadori@motherbrain cpython]$ ./python
Python 3.3.0a0 (default:61de28fa5537+d05350c14e77+, Oct 3 2011, 21:47:04)
[GCC 4.6.0 20110603 (Red Hat 4.6.0-10)] on linux
Type help,
New submission from Meador Inge mead...@gmail.com:
Reproducible in 2.7 and tip:
[meadori@motherbrain cpython]$ ./python
Python 3.3.0a0 (default:61de28fa5537+d05350c14e77+, Oct 3 2011, 21:47:04)
[GCC 4.6.0 20110603 (Red Hat 4.6.0-10)] on linux
Type help, copyright, credits or license for more
Meador Inge mead...@gmail.com added the comment:
Fixed. Opened issue13096 and issue13097 for the other crashers.
--
resolution: - fixed
stage: commit review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Meador Inge mead...@gmail.com added the comment:
On Fri, Sep 30, 2011 at 12:19 PM, Vlad Riscutia rep...@bugs.python.org wrote:
I believe this is the better thing to do rather than detailing how GCC and
MSVC allocated their bitfields because that would just
encourage people to use this
Meador Inge mead...@gmail.com added the comment:
Added some comments in rietveld. P.S. watch out for trailing whitespace
when writing patches. Use 'make patchcheck' to help find bad whitespace
formatting.
--
___
Python tracker
Lance Hepler nlhep...@gmail.com added the comment:
Hello all, sorry to be a bother, but what's the progress on this issue? I have
a codebase that requires resolution of this issue to enable multiprocessing.
What are the remaining outstanding problems herein preventing the attached
patches
64 matches
Mail list logo