New submission from Shivam shivam.agar...@aricent.com:
Hi All,
I am getting follwoing error when compiling Python2.6 on mips 64.
Failed to find the necessary bits to build these modules:
_bsddb _tkinter bsddb185
bz2dl imageop
Ezio Melotti ezio.melo...@gmail.com added the comment:
I'll fix this for 3.x non-strict and then see if it can be backported to 2.7
(there are still other fixes that should be backported to 2.7 before this can
be applied).
--
___
Python tracker
Martin v. Löwis mar...@v.loewis.de added the comment:
Python 2.6 is in a mode where only security issues get fixed. Please use Python
2.7 or Python 3.2.
--
nosy: +loewis
resolution: - out of date
status: open - closed
___
Python tracker
Martin v. Löwis mar...@v.loewis.de added the comment:
Also understand that this output does not indicate an error. It just means that
it couldn't build these modules. Python itself works just fine.
--
___
Python tracker rep...@bugs.python.org
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 242b697449d8 by Ezio Melotti in branch '3.2':
#13960: HTMLParser is now able to handle broken comments when strict=False.
http://hg.python.org/cpython/rev/242b697449d8
New changeset 44366541dd86 by Ezio Melotti in
Ezio Melotti ezio.melo...@gmail.com added the comment:
This is now fixed in 3.2/3.3, I'll wait for 2.7 before closing it.
On a side note, the empty ! comment doesn't seem to be valid in HTML5.
HTMLParser just ignores it, and doesn't report it as an empty comment (so this
should be fine).
New submission from marc dechico marc.dech...@gmail.com:
actions do discover the bug with the source I have given:
pushing the right button to get the pop-up menu .
going out of the popup_menu still pushing the right button.
the menu doesn't disapear when releasing the button.
and still
Paul Moore p.f.mo...@gmail.com added the comment:
I'm writing a PEP, also as a result of Nick's suggestion on python-ideas. I
don't think it will be too hard to get the basic framework of the PEP in place.
When I'm done, would you like to see it and comment before I post to the wider
New submission from Shivam shivam.agar...@aricent.com:
Hi Team,
Kindly help me in resolving below issue which arises when we do make
install as it is show stopper for us.
Listing /usr/local/lib/python2.7 ...
Compiling /usr/local/lib/python2.7/BaseHTTPServer.py ...
Traceback (most recent
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13986
___
___
Python-bugs-list
Shivam shivam.agar...@aricent.com added the comment:
Hi Team,
I am having this issue on mips 64bit machine running debian.
Regards
Shivam Agarwal
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13986
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 29507a2acdb5 by Ned Deily in branch '2.7':
Issue #13590: On OS X 10.7 and 10.6 with Xcode 4.2, building
http://hg.python.org/cpython/rev/29507a2acdb5
New changeset 5c784b0f263d by Ned Deily in branch '3.2':
Issue
Ned Deily n...@acm.org added the comment:
Éric: I've replied to your review comments in Rietveld. Thanks.
Ronald: distutils would not only have to check for gcc-4.2 vs. clang, but also
needs to strip -arch ppc from the compiler flags when it is present and it
cannot use gcc-4.2. Otherwise
Changes by Mark Dickinson dicki...@gmail.com:
--
nosy: +mark.dickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13986
___
___
Changes by Mark Dickinson dicki...@gmail.com:
--
nosy: +mark.dickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13982
___
___
New submission from Ezio Melotti ezio.melo...@gmail.com:
The attached patch fixes a few problems with HTMLParser on 2.7.
Instead of raising error when invalid markup is detected, the parser now
consumes the invalid input and proceeds. This patch is a partial backport of
#1486713.
After this
Changes by Eli Bendersky eli...@gmail.com:
--
nosy: +eli.bendersky
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13987
___
___
Python-bugs-list
Christophe Kalt k...@taranis.org added the comment:
nice, thank you!
--
nosy: +kalt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13966
___
___
Christophe Kalt k...@taranis.org added the comment:
Hah.. was just about to report this. I'm in the midst of converting a bunch of
scripts from optparse to argparse, and this is one of the problems I'm hitting.
--
nosy: +kalt
___
Python tracker
Nick Coghlan ncogh...@gmail.com added the comment:
FWIW, it's likely I'll be adding contextlib.ContextStack (see [1]) for 3.3.
While it's far from the primary use case, that API also serves as a no-op
context manager (if you never register any contexts or callbacks, the __exit__
impl does
Brett Cannon br...@python.org added the comment:
The patch looks fine for its current semantics except for the fact that the
macro doesn't work under clang; ##macro_var is supposed to be used only when
concatenating parts of a string to create a complete identifier, not
concatenating two
Brett Cannon br...@python.org added the comment:
And to answer David's joke, I carpool from Toronto to Waterloo four days a week
so I have an hour each direction to work on stuff.
--
___
Python tracker rep...@bugs.python.org
Alexander Jones aj.d...@gmail.com added the comment:
That's very reassuring. Thanks, Nick!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10049
___
Jesús Cea Avión j...@jcea.es added the comment:
I can't reproduce. Sorry.
Reading the GDBM documentation, all filedescriptors management seem to be
inside gdbm, not Python. Anyway, if I can't reproduce, I can not diagnose
neither patch. Sorry.
--
Brett Cannon br...@python.org added the comment:
Oh, and there are no forward declarations for the new functions added to
errors.c
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1559549
New submission from Eli Bendersky eli...@gmail.com:
Following the discussion on python-dev [1], this issue will track the
re-organization of Lib/xml/etree to expose the C implementation (_elementtree)
by default when importing ElementTree. The test suite will also have to be
updated - it's
Eli Bendersky eli...@gmail.com added the comment:
Oh, and not to forget: the documentation has to be updated to just not mention
cElementTree any longer. For the user, the fact that a fast C library is
invoked underneath should be invisible.
--
___
Brett Cannon br...@python.org added the comment:
Attached is Brian's patch with the macro fix and forward declarations.
--
Added file: http://bugs.python.org/file24476/importerror.diff
___
Python tracker rep...@bugs.python.org
Benjamin Peterson benja...@python.org added the comment:
So modulo my (small) review comments, David's patches are ready to go in.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13703
___
Stefan Behnel sco...@users.sourceforge.net added the comment:
Eli Bendersky, 10.02.2012 15:52:
* The current contents of xml/etree/ElementTree.py will move to
xml/etree/pyElementTree.py
IIRC, there is a well specified way how accelerator modules should be used
by Python modules. I recall a
Eli Bendersky eli...@gmail.com added the comment:
Hmm, that may be PEP 399:
If an acceleration module is provided it is to be named the same as the
module it is accelerating with an underscore attached as a prefix, e.g.,
_warnings for warnings. The common pattern to access the accelerated
Eli Bendersky eli...@gmail.com added the comment:
IIRC, there is a well specified way how accelerator modules should be used
by Python modules. I recall a lengthy discussion on python-dev (or the py3k
list?) back in the old pre-3.0 days, maybe there's even a PEP?
If there's a convention, I'll
Stefan Behnel sco...@users.sourceforge.net added the comment:
Eli Bendersky, 10.02.2012 16:43:
I don't see a compelling enough reason to break imports in existing code by
removing the cElementTree module, so we should not do that.
Agreed. Perhaps it should just be deprecated?
Given that
Brett Cannon br...@python.org added the comment:
So I just tried to pass fullname in import.c and it didn't work (of course).
Looks like even when I try to use fullname in find_module_path_list() and
load_next() it is still leaving out the package name. Ugh. That means either
refactoring
Ezio Melotti ezio.melo...@gmail.com added the comment:
A note in the doc is easy to miss IMHO, and since DeprecationWarnings are
silenced by default, I don't think they will affect the final users.
A different problem is that developers will have to check for the Python
version if they want
Eli Bendersky eli...@gmail.com added the comment:
If possible I would avoid pyElementTree,
I suppose it's possible, but I'm genuinely interested in a technical reason for
doing so. The approach suggested in PEP 399 is useful for module in which part
of the functionality is implemented in C,
Florent Xicluna florent.xicl...@gmail.com added the comment:
If possible I would avoid pyElementTree,
Me too:
- __name__ and __qualname__ would be less confusing
- the cElementTree accelerator uses large parts of Python implementation
ElementTree is different - it's pretty much two
Eli Bendersky eli...@gmail.com added the comment:
From a performance point of view, consider the (by far) common case
- where _elementtree *is* successfully imported.
... for each invocation, the whole import of the Python code has
to be done, just to reach the overriding import * at the
Eli Bendersky eli...@gmail.com added the comment:
Oops, in last message:
s/there will be circular dependencies/there will not be circular dependencies/
--
stage: needs patch -
type: performance -
___
Python tracker rep...@bugs.python.org
Ezio Melotti ezio.melo...@gmail.com added the comment:
In xml/etree there is:
- ElementTree: tries to import cElementTree. On success, done. On
ImportError, imports pyElementTree
- pyElementTree: the pure Python implementation
- cElementTree: sets up the bootstrap Python code and tries to
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4010
___
___
Python-bugs-list mailing list
New submission from Peter p.j.a.c...@googlemail.com:
Consider the following example where I have a gzipped text file,
$ python3
Python 3.2 (r32:88445, Feb 28 2011, 17:04:33)
[GCC 4.2.1 (Apple Inc. build 5664)] on darwin
Type help, copyright, credits or license for more information.
import
Eli Bendersky eli...@gmail.com added the comment:
What I had in mind is more like:
- ElementTree: defines the python code and if _elementtree is available
overrides part of it with the functions imported from it;
The problem with this is the bootstrap Python code executed by
_elementtree.
New submission from Francisco Martín Brugué franci...@email.de:
Steps to reproduce:
after following the usage instructions from make_perf3.sh go to the the py3
benchmarks directory and run the lib/2to3 tests (python3.2 test.py). The result
are 3 failures and 17 errors. The equivalent procedure
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +nadeem.vawda
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13989
___
___
Python-bugs-list
R. David Murray rdmur...@bitdance.com added the comment:
However you do it, I'm very much in favor of having the full name available. I
either wrote or fixed (I can't remember which) that stack walk in pydoc, and
you are right, it is very very ugly. This would also be a big benefit for
Changes by Charles-François Natali neolo...@free.fr:
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13961
___
___
Python-bugs-list
Charles-François Natali neolo...@free.fr added the comment:
OSError: [Errno 16] Device or resource busy:
'/nfs/tmp/pymp-f7R9S6/.nfse039692f0236'
That's because the temporary directory is removed while a file inside is still
open.
And that's really likely the unix socket used by
Eric Talevich eric.talev...@gmail.com added the comment:
Well, this is not the best month for me to try digging into a new codebase... I
would not mind if someone else did the patch for this.
--
___
Python tracker rep...@bugs.python.org
Brett Cannon br...@python.org added the comment:
It looks like 2to3 isn't being converted properly. Benjamin, is lib2to3
supposed to work on itself and result in a sane output? If not then the
benchmark should probably drop its internal copy of lib2to3.
Antoine (since you last looked at the
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13990
___
___
Gregory P. Smith g...@krypto.org added the comment:
Thanks for reviewing Benjamin. I'm also reviewing this today. Sorry
for the delay!
BTW, like Schadenfreude? A hash collision DOS issue fix patch for
PHP5 was done poorly and introduced a new security vulnerability that
was just used to let
Ezio Melotti ezio.melo...@gmail.com added the comment:
- ElementTree: defines the python code and if _elementtree is
available overrides part of it with the functions imported from it;
The problem with this is the bootstrap Python code executed by
_elementtree.
This might become
New submission from andrea crotti andrea.crott...@gmail.com:
I am not really sure that it is a bug, but for me it's at least not the
expected behaviour.
In short supposing I have two namespace packages ab and ac (as seen in the tar
file), this works perfectly:
import sys
from os import path
Mike Hoy mho...@gmail.com added the comment:
I am unable to work on this issue at this time.
On Thu, Feb 9, 2012 at 8:57 PM, Éric Araujo rep...@bugs.python.org wrote:
Éric Araujo mer...@netwok.org added the comment:
Mike, if you don’t have the time to finish this shortly, I will do it, as
Florent Xicluna florent.xicl...@gmail.com added the comment:
The first step is to strip out the cElementTree bootstrap code from the C
module.
I did it in the attached patch (plus removal of obsolete code for copy() in
Python 2.4).
This passes the unmodified tests test_xml_etree and
Tshepang Lekhonkhobe tshep...@gmail.com added the comment:
It indeed was permanent. The new patch fixes the issue.
--
Added file: http://bugs.python.org/file24480/test-set-platform-2.patch
___
Python tracker rep...@bugs.python.org
STINNER Victor victor.stin...@haypocalc.com added the comment:
According to the discussion on the python-dev mailing list, such codec would
add too much confusion to users and so it is better to not add it.
http://mail.python.org/pipermail/python-dev/2012-February/116272.html
I close the issue
STINNER Victor victor.stin...@haypocalc.com added the comment:
Review of add-randomization-(...).patch:
- there is a missing ) in the doc, near the types covered by the
:option:`-R` option (or its equivalent, :envvar:`PYTHONHASHRANDOMIZATION`.
- get_hash() in test_hash.py fails completly on
Changes by Eric Snow ericsnowcurren...@gmail.com:
--
nosy: +eric.snow
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13991
___
___
Python-bugs-list
Jim Jewett jimjjew...@gmail.com added the comment:
On Fri, Feb 10, 2012 at 6:02 PM, STINNER Victor
- PYTHONHASHSEED doc is not clear: it should be mentionned
that the variable is ignored if PYTHONHASHRANDOMIZATION
is not set
*That* is why this two-envvar solution bothers me.
Stefan Krah stefan-use...@bytereef.org added the comment:
Kristján, I ran the benchmarks from http://bugs.python.org/issue10227#msg143731
in the current cpython and pep-3118 repos. In both cases the differences between
Linux and Windows are far less pronounced than they used to be. All
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
It is present in union and intersection because chained operations are
reasonably common. I don't think it makes much sense in the constructors
because it doesn't correspond to how people think of (make this a set).
--
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
I would like to see this one API remain simple and leave more complex tasks to
os.walk et al.
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
Eli Bendersky eli...@gmail.com added the comment:
Ezio,
We are assuming that _elementtree might be missing, but what are the cases
where this might actually happen? Other implementations like PyPy? Exotic
platforms that can't compile _elementtree?
I guess both. To make the stdlib work on
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13959
___
___
Python-bugs-list
Changes by Éric Araujo mer...@netwok.org:
--
assignee: - bethard
nosy: +bethard
type: - enhancement
versions: +Python 3.3 -Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13966
Steven Bethard steven.beth...@gmail.com added the comment:
The idea and patch seem okay to me. Needs tests though.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13966
___
Éric Araujo mer...@netwok.org added the comment:
Petri, I think you can go ahead.
Lucas, thanks for your help, even though your patch is not used.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9750
Eli Bendersky eli...@gmail.com added the comment:
Florent, thanks for the patch - at this point code is more useful than talk :-)
Anyhow, I tried to apply it and a few tests in test_xml_etree_c fail, because
it can't find fromstring and fromstringlist. This gets fixed when I import
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13988
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13959
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13981
___
Éric Araujo mer...@netwok.org added the comment:
So I had a quick look at the code and found the lines in need of a fix. The
problem comes as usual from our friend “path + optimize and 'o' or 'c'”. I can
read some C, so I tried to replace that with imp.cache_from_source, but a real
C
Éric Araujo mer...@netwok.org added the comment:
See also #13123 for the same bug in bdist_wininst.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11254
___
Éric Araujo mer...@netwok.org added the comment:
Thanks, I’ve got it from that point.
Notes for future patches:
- Tests should not check the exact contents of error messages, as they are not
part of the language
- Don’t use assertEqual(..., True) but assertTrue, or if you’re testing
Éric Araujo mer...@netwok.org added the comment:
BTW: in distutils2 I get (not because of this change):
Actually I did fix that, but depending on your Python version the conditional
in the test may be wrong. What’s the Python version you used?
If so, could you provide a patch this time?
Éric Araujo mer...@netwok.org added the comment:
No examples included in the documentation now require createdb.py to be run.
Cool! These fixes should make it to 2.7 too; I can propose a patch if you
don’t want to backport yourself.
In the Doc/includes/sqlite3 directory there are still some
Éric Araujo mer...@netwok.org added the comment:
A side effect of this change will be the removal of the Extension class, which
was only useful to do some typechecks/conversions on its arguments. In Python
code it will be replaced by a dict (with keys 'name', 'sources', 'optional',
etc.),
Éric Araujo mer...@netwok.org added the comment:
As a set user (not developer), I think that the proposed feature is not needed,
and the change would make set/frozenset less similar to list and tuple, which
would be a bad thing.
--
nosy: +eric.araujo
Éric Araujo mer...@netwok.org added the comment:
Maybe one of you gentlemen would like to review this.
--
nosy: +ezio.melotti, terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12297
Éric Araujo mer...@netwok.org added the comment:
Given that we’ve made changes to distutils for Debian multiarch or Mac OS X
compiler breakage, I now think that switching distutils to only use rpmbuild
would be reasonable.
--
versions: -Python 3.1
Éric Araujo mer...@netwok.org added the comment:
I’ll reopen this report if someone can provide an example that triggers the bug.
--
resolution: - wont fix
status: open - closed
versions: +Python 3.3 -Python 3.1
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
I strongly feel that existing code importing ElementTree or cElementTree should
not be broken. Let’s add transparent import from _elementtree to ElementTree
without breaking existing uses of cET.
I think that 3.2 and 2.7 should get a doc note
Éric Araujo mer...@netwok.org added the comment:
Are you using pure-stdlib namespace packages, i.e. things using distutils and
pkgutil.extend_path, or setuptools’ notion of namespace packages? (I didn’t
check your archive, in general we dislike binary files on this tracker and use
text all
Éric Araujo mer...@netwok.org added the comment:
:) Will commit.
--
stage: - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13974
___
Éric Araujo mer...@netwok.org added the comment:
OK. Thanks for your help!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13198
___
___
Éric Araujo mer...@netwok.org added the comment:
I just did pip install distutils2 in a virtualenv. If that doesn't work then
yes,
I got the wrong one :-(
You need to get a development repo to make patches, not a released version,
just like for CPython.
Do I need to hg clone then do some
Éric Araujo mer...@netwok.org added the comment:
I don’t know if the bdist_msi command runs without user interaction. If so,
then the test in the attached patch should pass on Windows. Can you please
test it?
--
Added file:
Éric Araujo mer...@netwok.org added the comment:
I’ve been one to argue that additions to the mimetypes registry are clearly new
features. Now if two senior devs like you think otherwise, I’m reconsidering.
These additions can’t possibly break code, can they? So I can agree with a
Éric Araujo mer...@netwok.org added the comment:
Attached is Vinay’s fix as a diff. Can someone test this patch on Windows or
any of the other OSes that showed failures?
--
keywords: +patch
title: test_packaging and test_distutils failures -
packaging.tests.test_manifest and
Eli Bendersky eli...@gmail.com added the comment:
I strongly feel that existing code importing ElementTree or cElementTree
should not be broken. Let’s add transparent import from _elementtree to
ElementTree without breaking existing uses of cET.
AFAICS there's currently no disagreement
Changes by Warren Turkal w...@penguintechs.org:
--
versions: +Python 3.3, Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13922
___
___
93 matches
Mail list logo