Changes by Daniel Urban urban.dani...@gmail.com:
--
nosy: +daniel.urban
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16546
___
___
Changes by Daniel Urban urban.dani...@gmail.com:
--
nosy: +daniel.urban
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16545
___
___
Serhiy Storchaka added the comment:
The bug is somewhere in print_exception() function in Lib/idlelib/run.py.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16491
___
Serhiy Storchaka added the comment:
Serhiy, was msg176255 meant for issue16491?
Yes, sorry.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16504
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
Removed message: http://bugs.python.org/msg176255
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16504
___
Mark Dickinson added the comment:
Brett: can you clarify---in what sense is the argument optional? I see that
there's a doc issue at http://docs.python.org/dev/library/ast.html, where it's
marked as optional but shouldn't but. Is there something more that's wrong?
If you mean that
Xavier de Gaye added the comment:
It is not only the up and down commands; the where, longlist and
source commands may also overwrite changes made to f_locals.
In Markus sample script above, and with the patch applied, when the
change made to stack_2 is followed by a step command, stack_2 value
Xavier de Gaye added the comment:
See also how it is fixed at
http://code.google.com/p/pdb-clone/source/detail?r=123d1b6db6649f4b54712db321865fda55395488name=default
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16482
Xavier de Gaye added the comment:
See also how this is fixed at
http://code.google.com/p/pdb-clone/source/detail?r=6ad576592286a005694690906644cb3004090eeb
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14912
Xavier de Gaye added the comment:
The run, runeval and runcall methods run the debugging session in a
try/finally clause and set the global trace function to None in the
finally clause. But set_trace does not run in a try/finally, hence the
problem. A possible fix is to ensure that the bottom
Xavier de Gaye added the comment:
See how this is fixed at
http://code.google.com/p/pdb-clone/source/detail?r=0d4d905c6e0aa9c47611dbae514d3f7f53776dcb
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16180
Xavier de Gaye added the comment:
See how this is fixed at
http://code.google.com/p/pdb-clone/source/detail?r=8bbac1ffee749fcfd96ea3a2aaca1f240cafc2cc
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16446
Xavier de Gaye added the comment:
See also how this is fixed at
http://code.google.com/p/pdb-clone/source/detail?r=625d61e3494d3b7e2a3e8578ddd2f204e21f1800
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14743
Xavier de Gaye added the comment:
See also how this is fixed at
http://code.google.com/p/pdb-clone/source/detail?r=4a6d8f2515eed16347d2e2c304e1942585427d50
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14728
Xavier de Gaye added the comment:
See also how this is fixed at
http://code.google.com/p/pdb-clone/source/detail?r=6b342324ebdc4558b83b9391e34478c1fa0752db
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6322
Serhiy Storchaka added the comment:
Here is a patch.
--
keywords: +patch
Added file: http://bugs.python.org/file28092/idle_print_exception.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16491
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16491
___
___
Xavier de Gaye added the comment:
See also how this is fixed at
http://code.google.com/p/pdb-clone/source/detail?r=6b342324ebdc4558b83b9391e34478c1fa0752db
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14913
Changes by Serhiy Storchaka storch...@gmail.com:
--
versions: +Python 3.2
Added file: http://bugs.python.org/file28093/idle_print_exception-3.2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16491
Trent Nelson added the comment:
On Thu, Nov 22, 2012 at 02:18:32PM -0800, Stefan Krah wrote:
New submission from Stefan Krah:
There's an error on the HPUX-IA64 buildbot that might be due to
some kernel limits. Trent, could you check if the following helps
(requires root)?
Trent Nelson added the comment:
On Fri, Nov 23, 2012 at 05:43:15AM -0800, Mark Dickinson wrote:
Mark Dickinson added the comment:
I wonder whether adding -fpeval=float to the CFLAGS would fix this.
There's a lot of information at
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: patch review -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9584
___
___
Daniel Urban added the comment:
If I understand correctly, the invariant is that len(kw_defaults) ==
len(kwonlyargs). I think the reason is that the following is valid syntax (an
argument without a default after one with a default):
def f(*, a=0, b): pass
...
And None is used as a
Sebastian Kraft added the comment:
Write support is no problem, I will add this.
From reading the spec in the link you provided I think the implementation in
general is OK.
Everything apart WAVE_FORMAT_PCM should have an extension size cbSize, that's
right. But only WAVE_FORMAT_EXTENSIBLE
Thomas Kluyver added the comment:
Thanks, I'm really glad to see that it's useful to others. I don't mind
contributing it to Python, but I wonder if it's better to let it develop
separately for a few months first - it's still very new, and I can improve it
faster in a repository where I can
Daniel Urban added the comment:
Also, it seems, that pickling inner classes will by supported by pickle
protocol version 4 (see PEP 3154). There is already an issue for the
implementation: issue15642.
--
versions: +Python 3.4 -Python 2.7, Python 3.2
Changes by Daniel Urban urban.dani...@gmail.com:
--
resolution: - duplicate
superseder: - Integrate pickle protocol version 4 GSoC work by Stefan Mihaila
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12457
Serhiy Storchaka added the comment:
I have added a lot of comments in Rietveld. In general the patch looks good,
but I have some style nitpicks and some more strong comments. Matt, please
update the patch.
Tests should test both Python and C implementations.
I doubt if get rid of locking is
Brett Cannon added the comment:
Where is the doc issue? And it's a bit more than just a doc issue anyway as
Python.asdl has the same issue and that is what is used to generate the code
that represents the nodes.
--
___
Python tracker
Brett Cannon added the comment:
Ah, I see it now. I didn't realize that we allowed people to define
keyword-only arguments in any order they wanted in terms of default values,
allowing interleaving of default and non-default values. So this is correct,
just different from everything else.
Serhiy Storchaka added the comment:
I don't think that Python should include documentation on all supported OSes,
formats, protocols and algorithms. There are documentation outside Python. I
think this is not Python issue.
--
status: open - pending
Jesús Cea Avión added the comment:
Sebastian, Could you possibly write a patch with a test?.
Could you possibly fill a contributor agreement? Details in
http://www.python.org/psf/contrib/
--
___
Python tracker rep...@bugs.python.org
Sebastian Kraft added the comment:
I will create a patch together with a testset of example files and also fill
out the agreement.
BTW: readframes() returns bad data for 24bit PCM if big_endian==True.
Furthermore IMO it doesn't make sense to return a byte stream in little endian
order on a
Jesús Cea Avión added the comment:
About the 24 bit PCM bug, please fill another bug.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16525
___
Roundup Robot added the comment:
New changeset a182367eac5a by Antoine Pitrou in branch 'default':
Issue #16423: urllib.request now has support for ``data:`` URLs.
http://hg.python.org/cpython/rev/a182367eac5a
--
nosy: +python-dev
___
Python tracker
Antoine Pitrou added the comment:
I've committed your patch after having made the few very minor changes
mentioned in the review. Thank you very much!
--
assignee: orsenthil -
resolution: - invalid
stage: patch review - committed/rejected
status: open - closed
Roundup Robot added the comment:
New changeset 75a146a657d9 by Antoine Pitrou in branch 'default':
Fix missing import (followup to #4473).
http://hg.python.org/cpython/rev/75a146a657d9
--
___
Python tracker rep...@bugs.python.org
Mark Dickinson added the comment:
Ah, okay. I only looked at Grammar/Grammar, which looks fine.
The doc issue is that at http://docs.python.org/dev/library/ast.html, under the
heading 31.2.2. Abstract Grammar, it says:
| Yield(expr? value)
| YieldFrom(expr? value)
But the
Changes by Mark Dickinson dicki...@gmail.com:
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16546
___
___
Mathias Panzenböck added the comment:
Great!
Feels awesome to have my first bit of code contributed to the Python project. :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16423
___
Antoine Pitrou added the comment:
You're welcome! We're always happy to have new contributors.
I've forgotten something: could you sign a contributor agreement?
You'll find instructions at http://www.python.org/psf/contrib/
--
___
Python tracker
Mathias Panzenböck added the comment:
Will do (later today).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16423
___
___
Python-bugs-list
Mark Dickinson added the comment:
Here's a patch.
--
keywords: +patch
Added file: http://bugs.python.org/file28094/issue16546.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16546
___
Mark Dickinson added the comment:
New patch that removes some unnecessary braces in the case statements.
--
Added file: http://bugs.python.org/file28095/issue16546.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16546
Changes by Mark Dickinson dicki...@gmail.com:
Removed file: http://bugs.python.org/file28094/issue16546.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16546
___
Serhiy Storchaka added the comment:
Here is a simplified version of patch from issue2005. Support of uid_t/gid_t
larger than unsigned long dropped. Signed uid_t/gid_t support dropped. The
converters moved to Objects/longobject.c. Some tests added.
--
components: +Extension Modules,
Mathias Panzenböck added the comment:
Hmm, which of the two initial licenses should I choose? Which one do you rather
want me to choose?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16423
Antoine Pitrou added the comment:
Hmm, which of the two initial licenses should I choose? Which one do
you rather want me to choose?
Whichever you prefer. They should be equivalent in their terms
(non-copyleft free licenses).
--
___
Python tracker
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +mark.dickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4591
___
___
Python-bugs-list
Serhiy Storchaka added the comment:
Patch updated (comment for load_binstring added).
--
Added file: http://bugs.python.org/file28097/pickle_nonportable_size_2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12848
New submission from Lukas Lueg:
IDLE crashes due to what seems to be a use-after-free bug. Opening a file from
the 'Open...'-menu leads to a segfault after the text has been rendered. It
seems this can be reproduced 100% of the time if the file is big (e.g. 150kb)
and the window receives
Lukas Lueg added the comment:
using NSZombieEnabled and MallocStackLoggingNoCompact we can see the
use-after-free behaviour
--
Added file: http://bugs.python.org/file28099/malloc_history.txt
___
Python tracker rep...@bugs.python.org
Mark Dickinson added the comment:
I don't think _Py_Uid_Converter and _Py_Gid_Converter belong in
Objects/longobject.c. Is there a better place to put these? (Though
_PyLong_FromUid and _PyLong_FromGid seem fine.)
--
___
Python tracker
Roundup Robot added the comment:
New changeset 55fe4b57dd9c by Antoine Pitrou in branch '3.2':
Issue #12848: The pure Python pickle implementation now treats object lengths
as unsigned 32-bit integers, like the C implementation does.
http://hg.python.org/cpython/rev/55fe4b57dd9c
New changeset
Antoine Pitrou added the comment:
I've committed the latest patch (pickle_nonportable_size_2.patch). Thank you
for working on this!
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker
Antoine Pitrou added the comment:
Actually, standard tests should be enough on a big-endian platform with
sizeof(int) sizeof(size_t) or sizeof(long) sizeof(size_t). No
additional tests needed.
Ok, thanks. Unfortunately, all our 64-bit big endian buildbots are configured
to produce
Mark Dickinson added the comment:
Though _PyLong_FromUid and _PyLong_FromGid seem fine.
Hmm. I take that back. I don't think any of this really belongs in
Objects/longobject.c. Right now that module contains entirely portable C code
that knows almost nothing about operating systems. In
Chris Jerdonek added the comment:
TypeError: f() missing 1 required positional argument: 'a'
The error message for round(), for example, has a different form:
round()
TypeError: Required argument 'number' (pos 1) not found
It would be good if these had the same form.
--
Changes by Chris Jerdonek chris.jerdo...@gmail.com:
--
assignee: ezio.melotti -
stage: test needed -
title: Use positional arguments in PyArg_UnpackTuple - improve TypeError
messages for missing arguments (meta issue)
___
Python tracker
Changes by Chris Jerdonek chris.jerdo...@gmail.com:
--
dependencies: +improve TypeError messages for missing arguments (meta issue)
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16520
___
Serhiy Storchaka added the comment:
Hmm. I take that back. I don't think any of this really belongs in
Objects/longobject.c.
I am also not happy with that. Originally they were in Modules/posixmodule.c.
However where should we place the declarations? We have not posixmodule.h.
Serhiy Storchaka added the comment:
Perhaps we should add a new header file for declarations of converters to/from
all platform specific integers (pid_t, time_t, uid_t, gid_t).
--
___
Python tracker rep...@bugs.python.org
Mark Dickinson added the comment:
Do we know of any systems where none of int, long, long long (if defined) or
their unsigned variants match gid_t / uid_t?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4591
Mark Dickinson added the comment:
A new header file sounds reasonable. We could then move the PID stuff out of
longobject.h
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4591
___
Changes by Todd Rovito rovit...@gmail.com:
--
nosy: +Todd.Rovito
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5066
___
___
Python-bugs-list
Ezio Melotti added the comment:
I don't mind contributing it to Python, but I wonder if it's better to
let it develop separately for a few months first - it's still very new,
and I can improve it faster in a repository where I can commit to it
myself.
That's fine, there's no hurry to
Serhiy Storchaka added the comment:
Do we know of any systems where none of int, long, long long (if defined) or
their unsigned variants match gid_t / uid_t?
No, I don't.
--
___
Python tracker rep...@bugs.python.org
New submission from masterid:
os.system won't run any command and there is no error message when memory
cannot be allocated.
It looks like Python is running a command but actually nothing happens.
I used subprocess.Popen instead and found out that
OSError: [Errno 12] Cannot allocate memory
I
Thomas Kluyver added the comment:
I think that putting the full content of GTS into the ast module docs would
make it awkwardly long. Perhaps the bulk of it could become a howto, and GTS
could be maintained separately as a showcase of examples.
--
anatoly techtonik added the comment:
Nice conflict case for explaining why perfect API is not here.
Because ', ' is now used as an item separator inline and separator for items
that span multiple lines, we get trailing whitespace. If ',' is used, items
will collide. To resolve this conflict
New submission from anatoly techtonik:
Awesome json tool doesn't work anymore in Python 3 (needs tests?).
http://stackoverflow.com/questions/352098/how-to-pretty-print-json-script
C:\Python27python -m json.tool stdlibx.json
{
distutils: [
Doc/distutils,
Lib/distutils,
Changes by anatoly techtonik techto...@gmail.com:
--
components: +Library (Lib)
title: regression: -m json.tool module - regression: -m json.tool module is
broken
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16549
Changes by Antoine Pitrou pit...@free.fr:
--
keywords: +easy
stage: - needs patch
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16549
___
STINNER Victor added the comment:
The value -1 is used is some functions like chown() (to only change the
user, only the group or none, to check if you are allowed or not). How do
you handle this value?
Le 24 nov. 2012 19:29, Serhiy Storchaka rep...@bugs.python.org a écrit :
Serhiy Storchaka
Todd Rovito added the comment:
This is a good patch but it is rather out of date and won't apply. I will
patch the patch and maybe somebody can apply it this time. Expect a new patch
by 11/26/2012.
--
___
Python tracker rep...@bugs.python.org
Jesús Cea Avión added the comment:
If Unix system call system() fails, it will return -1. Python should convert
a -1 to the appropiate exception, checking errno.
In Solaris, for instance, system() is documented to fail if the max number of
processes are reached, if the syscall was interrupted
Chris Jerdonek added the comment:
I'm attaching a patch that preserves the structure of the previous patch but
that builds on the wording and formatting. The patch also addresses many of
the comments on Rietveld. I will also publish some comment replies on Rietveld
(to the previous patch)
Wade Tattersall added the comment:
Any chance this patch could be applied to version 2.7? It's still an issue in
2.7.3, even though a suitable patch was supplied 3 years ago.
I understand that it's fixed in python3, but for us poor maintainers of ancient
code, it would be convenient to be
Roger Serwy added the comment:
On Mac, which version of Tk are you using? IDLE is known to have problems on
Mac with Tk. See http://www.python.org/download/mac/tcltk/
You can disable colorization with the undocumented Ctrl+/ key combination. Does
the crash still occur with the colorizer
Chris Jerdonek added the comment:
Attaching patch.
Adding Nick to the nosy list because he did the work of originally breaking out
the Text Sequence Type section for issue #4966, as well as Terry who created
that issue. I view the current issue and patch as a progression of some of the
80 matches
Mail list logo