Eric V. Smith added the comment:
This is a duplicate of issue 13598. I'll add you to nosy over there.
--
resolution: - duplicate
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Eric V. Smith e...@trueblade.com:
--
nosy: +binkert
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13598
___
___
Python-bugs-list
Roundup Robot added the comment:
New changeset 422169310b7c by Giampaolo Rodola' in branch 'default':
Fix #17197: profile/cProfile modules refactored so that code of run() and
runctx() utility functions is not duplicated in both modules.
http://hg.python.org/cpython/rev/422169310b7c
--
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
assignee: - giampaolo.rodola
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17197
___
Serhiy Storchaka added the comment:
Here is a patch which converts all etree doctests to unittests.
--
keywords: +patch
nosy: +serhiy.storchaka
stage: needs patch - patch review
Added file: http://bugs.python.org/file29230/test_xml_etree.patch
___
Roundup Robot added the comment:
New changeset d707e3345a74 by Serhiy Storchaka in branch '2.7':
Issue #1470548: Do not buffer XMLGenerator output.
http://hg.python.org/cpython/rev/d707e3345a74
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset 1c03e499cdc2 by Serhiy Storchaka in branch '3.2':
Issue #1470548: Add test for fragment producing with XMLGenerator.
http://hg.python.org/cpython/rev/1c03e499cdc2
New changeset 5a4b3094903f by Serhiy Storchaka in branch '3.3':
Issue #1470548: Add
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1470548
___
Xavier de Gaye added the comment:
There is an error in my patch (already fixed in pdb-clone) and in Jyrki's patch.
Running Jyrki's patch on quit.py produces the following output where the line
number in the last entry of the backtrace is incorrect (should be line 9 instead
of line 7):
$ python
Xavier de Gaye added the comment:
The patch changes the semantics of the quit command: quit behaves like the gdb
detach command when pdb is started with set_trace.
--
Added file: http://bugs.python.org/file29232/branch-27.patch
___
Python tracker
New submission from Albert Zeyer:
`compile(s, interactive, single)` would generate a code object which
prints the value of the evaluated string if that is an expression. This is what
you would normally want in a REPL.
Instead of printing the value, it might make more sense to return it and to
Albert Zeyer added the comment:
The symbols are there because it is a library which exports all the symbols.
Other debugging information are not there and I don't know any place where I
can get them.
It currently cannot work on Linux in the same way because the GUI is Cocoa only
right now.
Roundup Robot added the comment:
New changeset 2528e4aea338 by Serhiy Storchaka in branch 'default':
Issue #17220: Little cleanup of _bootstrap.py.
http://hg.python.org/cpython/rev/2528e4aea338
--
nosy: +python-dev
___
Python tracker
Eli Bendersky added the comment:
Serhiy, thanks for working on this! I didn't read the whole patch yet - will
tinker with it a bit more when applying. Did you prepare the patch vs. 3.3 or
default? The two are still synced and I'd be happy to apply it to both branches.
Now, the real reason I
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
stage: commit review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17220
Nick Coghlan added the comment:
Something to consider with these functions: it is probably desirable to also
support the popular alternate notation which uses an explicit : to separate
the module name from the reference within the module.
For example, setuptools entry points and nose test
Ramchandra Apte added the comment:
Advice: anything that's not a photo should be PNG.
Temporary fix is to change the cursor see [0]
^0 http://effbot.org/zone/tkinter-busy.htm
--
nosy: +Ramchandra Apte
___
Python tracker rep...@bugs.python.org
Eli Bendersky added the comment:
Henrik, there's no need to provide more information in 3.2 and 2.7 than in 3.3
and default. Could you just align your patches with those (i.e. same wording in
the documentation)?
--
___
Python tracker
netrick added the comment:
Well actually it IS a photo, so I think it can remain .jpg (because on print
screen there is no cursor). Thanks for the temporary solution, altough I'm not
sure if pyside/pygame etc will allow me to change busy cursor too.
Is there any chance for this to be fully
Serhiy Storchaka added the comment:
This patch is for default branch. It applied to 3.3 too.
The next logical step is to make all test classes in test_xml_etree accept
the ET module in some way and store it, using it to get classes function.
I.e. no more global ET and pyET at all. Would
Ulrich Eckhardt added the comment:
There is at least one thing that is missing in the patch, it lacks the
necessary tests. The partialbug.py demonstrates the issue, it could be used as
a base. However, even then, there is still one thing that is problematic: The
fact that partial() returns
Eli Bendersky added the comment:
No problems. You can go ahead and commit this patch to 3.3 and default, then. I
will review it post-commit, since I wanted to tweak some things around anyway.
--
___
Python tracker rep...@bugs.python.org
Changes by Eli Bendersky eli...@gmail.com:
--
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15083
___
___
Python-bugs-list
netrick added the comment:
The issue is NOT present in python 3.2. I'm not expert, but given that it work
in 3.2 and works in 3.3 using direct pythonw command, I'm almost sure it's
new windows launcher. Even if I'm wrong, you guys can be sure that the issue
appeared in 3.3 so there are only
R. David Murray added the comment:
See also issue 11470.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4331
___
___
Python-bugs-list mailing
Tim Golden added the comment:
netrick: can you confirm that the same thing occurs when you explicitly
run your code via the pyw command. ie when you do this:
pyw myprog.pyw
Also, what happens when you run:
py myprog.pyw
ie when you use the Console launcher to launch the .pyw?
--
Roundup Robot added the comment:
New changeset af570205b978 by Serhiy Storchaka in branch '3.3':
Issue #15083: Convert ElementTree doctests to unittests.
http://hg.python.org/cpython/rev/af570205b978
New changeset 5eefc85b8be8 by Serhiy Storchaka in branch 'default':
Issue #15083: Convert
Tim Golden added the comment:
I can't reproduce this running Python 3.3 on Win7. I'll try WinXP later.
I'll also add Mark Hammond Vinay as they implemented the PEP397 loader.
--
___
Python tracker rep...@bugs.python.org
Changes by Tim Golden m...@timgolden.me.uk:
--
nosy: +mhammond, vinay.sajip
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17290
___
___
Serhiy Storchaka added the comment:
Here is a patch for C implementation. Python implementation was fixed in
issue17089.
--
dependencies: +Expat parser parses strings only when XML encoding is UTF-8
-Parameter type error for xml.sax.parseString(string, ...)
keywords: +patch
Added
netrick added the comment:
My OS is Windows XP so it may be only XP related. So, python 3.3 and my testing:
1) pythonw app.pyw - no bug
2) python app.pyw - no bug
3) pyw app.pyw - no bug
4) py app.pyw - no bug
5) double click on app.pyw - BUG
Tested on 2 different computers with exactly the
Éric Araujo added the comment:
Mercurial’s diff formats are actually able to represent file creation, deletion
and rename.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10572
___
Changes by Éric Araujo mer...@netwok.org:
--
resolution: - duplicate
stage: needs patch - committed/rejected
status: open - closed
superseder: - Add a profile decorator to profile and cProfile
___
Python tracker rep...@bugs.python.org
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +bjorns
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9285
___
___
Python-bugs-list mailing
Changes by Éric Araujo mer...@netwok.org:
--
versions: +Python 3.4 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9285
___
___
Tim Golden added the comment:
Things may be a little more complicated, because one of two distinct
mechanisms may be invoked to determine what to run when double-clicking:
an Explorer-based mechanism, and a non-Explorer one.
AFAICT, the former falls back to the latter.
To check the latter, the
Geoff Wilson added the comment:
Odd. I must be doing something wrong. My test workflow was:
1. hg mv a b
1a. modify files to resolve issues from the move
2. hg diff issue.patch # attached
3. hg revert --all
4. patch -p1 issue.patch
Reading the hg docs more, I should have used 'hg
Xavier de Gaye added the comment:
The traced_frame.patch fixes also issue 7238 and issue 16482.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17277
___
netrick added the comment:
So:
1) assoc .pyw # - Python.NoConFile gives an error that it can't find
association for .pyw extension
2) opening terminal in proper directory and typing just app.pyw gives error
that this is not known command
I did small test. Using normal (from explorer) open
netrick added the comment:
I can use assoc command for .py extension but I can't for .pyw. Maybe that's
some clue...
The strange thing is that explicit pyw.exe app.pyw gives no bug, and
associating .pyw files to pyw.exe gives the bug when double clicking.
Honestly I have no idea what's going
netrick added the comment:
And remember that on the exactly the same computers when I uninstalled python
3.3 and installed python 3.2, everything works flawlessy (because python 3.2
sets .pyw files to open through pythonw.exe).
--
___
Python
Changes by Ulrich Eckhardt ulrich.eckha...@dominolaser.com:
--
nosy: +eckhardt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11470
___
___
New submission from Ronald Oussoren:
Currently a subclass of a PyVarObject (such as 'int') cannot use a non-empty
slots, for example:
class L (int):
...__slots__ = ('a', 'b')
...
Traceback (most recent call last):
File stdin, line 1, in module
TypeError: nonempty __slots__ not
New submission from Andreas Hausmann:
When pickling/unpickling a class that derives from the builtin class Exception,
unpickling results in a
TypeError: ('__init__() takes at least 2 arguments (1 given)', class
'__main__.TestException', ())
A standard exception like ValueError can be
R. David Murray added the comment:
That issue was only fixed in 3.3. Does your code work in 3.3?
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17296
___
Andreas Hausmann added the comment:
I have not tried in 3.3. I have no running installation of 3.3.
I need a solution for 2.7 for a Zope project that was just ported to 2.7. My
test for Python3 was halfheartedly on my standard Python3 installation (3.2)
after reading Issue1692335.
--
R. David Murray added the comment:
The reason I ask is because that issue ends with reopen if you think this
should be backported, so a backport is at least within the real of possibility
:)
--
___
Python tracker rep...@bugs.python.org
R. David Murray added the comment:
I modified your script to run under both python2 and python3. I get the error
for 2.5, 2.6, and 2.7. The script produces the same output (without the
EXCEPTION ## EXCEPTION) under 2.4 and 3.3.
--
Added file:
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7238
___
___
Python-bugs-list mailing list
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16482
___
___
Python-bugs-list mailing list
Tim Golden added the comment:
I can't reproduce this on XP either. I've tried various combinations of
.py / .pyw, command line, double-click, etc. and I've not had a single
problem.
Let's hope someone else can suggest something
--
___
Python
New submission from Luis López Lázaro:
Sorry if I am raising something naive as perhaps I am doing something wrong as
I am both an amateur programmer and a newcomer to Python, but version 3.3
appears to have an issue with the return statement in the setting of recursive
functions.
When
STINNER Victor added the comment:
If the problem is that PyUnicode_FromUnicode() rejects character outside range
[U+; U+10], it would be better to use the byte string '\xff' *
sizeof_PY_UNICODE. U+66647361 may become valid in a future version of Unicode,
I don't thing that U+
Matthew Barnett added the comment:
This question should've been posted to python-l...@python.org, not here.
Your functions are calling themselves, but not returning the result of the call
to their own callers.
--
___
Python tracker
Zachary Ware added the comment:
Thanks for the review, Ezio. I've made some changes and here's the new patch.
--
Added file: http://bugs.python.org/file29237/issue16935.v3.diff
___
Python tracker rep...@bugs.python.org
STINNER Victor added the comment:
I see a crash in test_capi and a couple of crashes
in test_faulthandler but these don't seem to be related.
Which kind of crash? faulthandler has functions to make Python crash, crashes
are expected :-)
--
nosy: +haypo
Changes by Lukas Lueg lukas.l...@gmail.com:
--
nosy: -ebfe
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16632
___
___
Python-bugs-list mailing
netrick added the comment:
Well I did fresh install of windows xp and encountered it. On the other pc with
xp I tried it is also present. I don't know why I encounter this, I must try
more PCs. If you have xp, please try if you can reproduce the issue and post
your result here.
--
R. David Murray added the comment:
Yes, the bug tracker is not a good place to get help on programming.
python-list, or the python-tutors list, will produce much more useful results
for you.
--
nosy: +r.david.murray
resolution: - invalid
stage: - committed/rejected
status: open -
STINNER Victor added the comment:
+if bad_header_value_re.search(_value):
+error_str = Bad header value: {0!r} (bad char: {1!r})
+raise AssertionError(error_str.format(
+_value, bad_header_value_re.search(_value).group(0)))
Why do you search the
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3991
___
___
Python-bugs-list
Vinay Sajip added the comment:
Please post, on a machine where the problem is occurring, the contents of the
following keys in the registry. What I have shown below is what you should have
(allowing for differing locations for Windows):
[HKEY_CLASSES_ROOT\.py]
@=Python.File
Vinay Sajip added the comment:
The .pys entry needn't be there - I left it in by mistake.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17290
___
Changes by Devin Cook devin.c.c...@gmail.com:
Removed file: http://bugs.python.org/file29182/header_newlines.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11671
___
Devin Cook added the comment:
The spec doesn't say anything about the header name. It probably should though,
as the same issue exists there.
I used two searches because that's how it's done in wsgiref.validate, and it's
not a huge deal to do that because the second one will only execute when
Changes by Devin Cook devin.c.c...@gmail.com:
Removed file: http://bugs.python.org/file29192/header_newlines_2.7.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11671
___
Changes by Devin Cook devin.c.c...@gmail.com:
Removed file: http://bugs.python.org/file29193/header_newlines_2.6.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11671
___
netrick added the comment:
Differences:
[HKEY_CLASSES_ROOT\Python.CompiledFile\DefaultIcon]
@=F:\Python33\DLLs\pyc.ico
[HKEY_CLASSES_ROOT\Python.CompiledFile\shell\open]
value not set
[HKEY_CLASSES_ROOT\Python.File\DefaultIcon]
@=F:\Python33\DLLs\py.ico
Larry Hastings added the comment:
Argument Clinic is now PEP 436.
http://www.python.org/dev/peps/pep-0436/
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16612
___
Arfrever Frehtes Taifersar Arahesis added the comment:
680959a3ae2e has caused that g-ir-scanner tool from gobject-introspection
(which seems to create some pickles and next load them?) fails with
MemoryError, e.g. during building of GTK+.
MemoryError occurs only for a subset of pickles.
I
karl added the comment:
http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-22#section-7.1.1
quoting from HTTP 1.1 bis
Prior to 1995, there were three different formats commonly used by
servers to communicate timestamps. For compatibility with old
implementations, all three
karl added the comment:
I think it is now fixed by my patch in http://bugs.python.org/issue747320
--
nosy: +karlcow
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7370
___
Ned Deily added the comment:
Geoff, you need to use hg's optional git format diff to preserve rename info.
See hg help diffs.
--
nosy: +ned.deily
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10572
Zachary Ware added the comment:
2528e4aea338 seems to have broken building on Windows:
http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/1517
--
nosy: +zach.ware
___
Python tracker rep...@bugs.python.org
karl added the comment:
Made a mistake in the previous server.patch, use server.2.patch
--
Added file: http://bugs.python.org/file29241/server2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue747320
Changes by karl karl+pythonb...@la-grange.net:
Removed file: http://bugs.python.org/file29240/server.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue747320
___
Vinay Sajip added the comment:
Does the error occur with the standalone launcher downloadable from BitBucket?
The value not set for shell\open is not good.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17290
Changes by Vinay Sajip vinay_sa...@yahoo.co.uk:
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17290
___
___
Python-bugs-list
Giampaolo Rodola' added the comment:
Ok, here's an updated patch modeled after:
http://hg.python.org/cpython/rev/422169310b7c
It works fine with cProfile.py but not with profile.py where I get this
exception when I try to use the context manager (tests can be run in order to
reproduce it):
Changes by Lukas Lueg lukas.l...@gmail.com:
--
nosy: -ebfe
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9285
___
___
Python-bugs-list mailing
netrick added the comment:
Well I installed python using standard python 3.3.0.msi from python.org, so
maybe there is something wrong with setting registry keys?
I downloaded standalone launcher from bitbucket and the results are the same:
1) command line pyw.exe app.pyw no bug
2) I assigned
netrick added the comment:
Of course, the py.exe launcher with console (both standalone and from python
3.3) DOES NOT produce the error even when launching with double click. It's
only pyw.exe double click thing.
--
___
Python tracker
Brett Cannon added the comment:
I dug into
http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/1517/steps/compile/logs/stdio
and found this traceback:
EXEC : Fatal Python error : Py_Initialize: unable to load the file system codec
Antoine Pitrou added the comment:
I haven't really followed the discussion here, but both patches look ok to me
(the committing.rst one, especially, is a welcome cleanup).
--
___
Python tracker rep...@bugs.python.org
Brett Cannon added the comment:
Found another bug introduced by this patch which I will have a patch for
shortly.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17220
___
Roundup Robot added the comment:
New changeset d98a82f4c9bd by Brett Cannon in branch 'default':
Issue #17220: two fixes for changeset 2528e4aea338.
http://hg.python.org/cpython/rev/d98a82f4c9bd
--
___
Python tracker rep...@bugs.python.org
New submission from Glyph Lefkowitz:
As reported in Twisted:
https://twistedmatrix.com/trac/ticket/6314
and as seen on the Twisted buildbot:
https://buildbot.twistedmatrix.com/builders/lucid32-py2.7maint/builds/2327/steps/trial/logs/problems
The tip of the 2.7 branch is now failing Twisted's
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17298
___
___
STINNER Victor added the comment:
It looks like #13555.
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17298
___
___
Glyph Lefkowitz added the comment:
Yes; perhaps that change should be rolled back until a fix for the regression
can be added?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17298
___
Ezio Melotti added the comment:
If the problem is that PyUnicode_FromUnicode() rejects character
outside range [U+; U+10],
But this used to return two valid characters:
str(array('u', b'asdf'))
array('u', '獡晤')
so I think it still should -- unless the operation was already
STINNER Victor added the comment:
Yes; perhaps that change should be rolled back until a fix for the regression
can be added?
Try on your side to check if it's really a duplicate. If yes, please join the
discussion on issue #13555.
--
___
Python
Ezio Melotti added the comment:
We discussed this on IRC, and apparently the seemingly valid result I got on
3.2 was because I had a narrow build. On a wide 3.2 build I get:
str(array('u', b'asdf'))
array('u', '\\U66647361')
Since 3.3+ behaves like a wide build and since \U66647361 is not
Roundup Robot added the comment:
New changeset c354afedb866 by Victor Stinner in branch '3.3':
Issue #17223: Fix PyUnicode_FromUnicode() for string of 1 character outside
http://hg.python.org/cpython/rev/c354afedb866
New changeset a4295ab52427 by Victor Stinner in branch 'default':
(Merge 3.3)
STINNER Victor added the comment:
I think this should be updated to work with the PEP 393 implementation,
rather than raising an error.
It was discussed to add new formats for UCS1, UCS2 and UCS4 formats to the
array module, but nobody implemented the idea. The u format is kept unchanged
Roundup Robot added the comment:
New changeset ebeed44702ec by Victor Stinner in branch '3.3':
Issue #17223: array module: Fix a crasher when converting an array containing
http://hg.python.org/cpython/rev/ebeed44702ec
New changeset 381de621ff6a by Victor Stinner in branch 'default':
(Merge
Larry Hastings added the comment:
A quick note about the extension mechanism. Currently the only way to extend
PyArg_Parse* is via O. Therefore, any extended type you add will use O, and
will have a converter. So internally all I did was say if the parameter has
a converter, ignore the
Chris Jerdonek added the comment:
I still fail to understand what are you trying to achieve.
My goal is to reach consensus on changes and have them committed. In its
current form, I don't agree with the patch. The length of the comment thread
and the length of the patch has discouraged me
Changes by Thomas Kluyver tak...@gmail.com:
--
nosy: +takluyver
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17289
___
___
Python-bugs-list
Simon Baird added the comment:
https://github.com/search?q=%22TAU+%3D+2+%2A+Math.PI%22type=Code
https://github.com/search?q=%22TAU+%3D+PI+*+2%22type=Code
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12345
1 - 100 of 122 matches
Mail list logo