Georg Brandl ge...@python.org added the comment:
You'll have to name your string differently; you can't have xml refer
to both the string and the package :)
Please refer to python-list or the comp.lang.python newsgroup for
further usage questions.
--
nosy: +georg.brandl
resolution: -
Georg Brandl ge...@python.org added the comment:
This has now been done by Brett while he wrote the docs for importlib.
--
resolution: remind - fixed
status: pending - closed
___
Python tracker rep...@bugs.python.org
Georg Brandl ge...@python.org added the comment:
Setting #4501 as superseder.
--
nosy: +georg.brandl
resolution: - out of date
status: open - closed
superseder: - asyncore's urgent data management and connection closed events
are broken when using poll()
New submission from Georg Brandl ge...@python.org:
If your locale isn't C, the preprocessor may not put command-line in
its output; test_search_cpp() will then fail.
--
assignee: tarek
components: Distutils
messages: 86780
nosy: georg.brandl, tarek
severity: normal
status: open
title:
New submission from M. Shuaib Khan aries.shu...@gmail.com:
Hi,
Running test_distutils as a non root user fails for me. Running it as a
root user works.
System information:
uname -a
Linux Matrix 2.6.22.5-31-default #1 SMP 2007/09/21 22:29:00 UTC i686
i686 i386 GNU/Linux
./python --version
Changes by M. Shuaib Khan aries.shu...@gmail.com:
Added file: http://bugs.python.org/file13811/rpm-tmp.15210
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5875
___
Changes by M. Shuaib Khan aries.shu...@gmail.com:
Added file: http://bugs.python.org/file13812/rpm-tmp.15211
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5875
___
Changes by Eric Smith e...@trueblade.com:
--
nosy: +eric.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5872
___
___
Python-bugs-list mailing
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Thanks,
fixed in r72094 and r72096
--
status: open - closed
versions: +Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5874
___
Tarek Ziadé ziade.ta...@gmail.com added the comment:
can you try to remove all /var/tmp/rpm-tmp.* directories and relaunch
the tests as a simple user ?
I would like to see if this problem doesn't occur because this temp
directory was previously created by root.
--
versions: +Python 2.7
Jeroen Ruigrok van der Werven asmo...@in-nomine.org added the comment:
Not that I saw.
Merged to py3k and 2.6.
--
resolution: - accepted
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4239
Jeroen Ruigrok van der Werven asmo...@in-nomine.org added the comment:
Merged 2.6 and py3k what was appropriate.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4129
___
Jeroen Ruigrok van der Werven asmo...@in-nomine.org added the comment:
Garrett, I use FreeBSD myself too, so feel free to bounce anything my way.
--
nosy: +asmodai
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5738
Mark Dickinson dicki...@gmail.com added the comment:
It looks like no-one sees this as a useful optimization; it seems even
less useful now given that it's not applicable to Python 3.x.
Closing.
--
resolution: - rejected
status: open - closed
___
Jeroen Ruigrok van der Werven asmo...@in-nomine.org added the comment:
Had this actually been brought up?
--
nosy: +asmodai
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3292
___
Tarek Ziadé ziade.ta...@gmail.com added the comment:
can you tell me the owner and permission setttings for:
- /var/tmp/rpm-tmp.*
- /var/tmp
(and if /var/tmp is a symklink, if it points to /tmp,
and in that case the same info for /tmp)
--
___
M. Shuaib Khan aries.shu...@gmail.com added the comment:
Tried. Same failure.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5875
___
___
M. Shuaib Khan aries.shu...@gmail.com added the comment:
drwxrwxrwt 5 root root 4096 2009-04-29 15:46 tmp
And after a number of failed test runs...
-rw-r--r-- 1 shuaib users 893 2009-04-29 16:01 rpm-tmp.11523
-rw-r--r-- 1 shuaib users 893 2009-04-29 16:01 rpm-tmp.11524
-rw-r--r-- 1 shuaib
M. Shuaib Khan aries.shu...@gmail.com added the comment:
I've already tried the removal of foo... directory. Failed.
I think the following might be interesing...
drw-rw-rw- 3 shuaib users 4096 2009-04-29 15:46 null
Permissions for null/lib are as follows:
drwxr-xr-x 3 shuaib users 4096
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Can you remove
/var/tmp/foo-0.1-1-buildroot
and try again ?
if it fails, can you look at the permissions of
/var/tmp/foo-0.1-1-buildroot/dev/null/lib
--
___
Python tracker
Jeroen Ruigrok van der Werven asmo...@in-nomine.org added the comment:
So far effbot hasn't said anything about this. So Frederik, was it
intended to be exposed or not?
--
nosy: +asmodai
___
Python tracker rep...@bugs.python.org
Michael Foord mich...@voidspace.org.uk added the comment:
Whether it was intended to be exposed or not it is known and used - and
therefore we can't change the API without going through the usual
deprecation process. As it is used and useful it should be documented.
--
Jeroen Ruigrok van der Werven asmo...@in-nomine.org added the comment:
OK, clear, then I'll see what I can do.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5337
___
Mark Dickinson dicki...@gmail.com added the comment:
I'm working on a patch. The fix for the new-style PyOS_double_to_string
using Gay's dtoa is a one-liner. The fix for the fallback code is going
to take a little while longer...
--
assignee: - marketdickinson
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2650
___
___
Python-bugs-list
New submission from Tomasz Melcer li...@o2.pl:
Invitation... (Debian Sid, gnome-terminal with pl_PL.UTF8 locales)
Python 2.5.4 (r254:67916, Feb 17 2009, 20:16:45)
[GCC 4.3.3] on linux2
Type help, copyright, credits or license for more information.
Lets create some class...
class T(object):
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5876
___
___
Python-bugs-list
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp:
--
dependencies: +a problem of urllib using open_local_file
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5861
___
R. David Murray rdmur...@bitdance.com added the comment:
This worked in 2.4 and stopped working in 2.5.
It's not a problem in 3.x.
(2.5 is in security-fix-only mode, so I'm removing it from versions).
--
components: +Interpreter Core -Extension Modules
nosy: +r.david.murray
priority:
Changes by Raymond Hettinger rhettin...@users.sourceforge.net:
--
assignee: effbot - rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5337
___
R. David Murray rdmur...@bitdance.com added the comment:
Fixed in r72100. Thanks everyone. Now for issue 2259...
--
resolution: - fixed
stage: test needed - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
R. David Murray rdmur...@bitdance.com added the comment:
In r72100 I applied the skiplist part of this patch. In order to apply
the remainder I need a small auido test file that demonstrates the
current failure.
--
assignee: - r.david.murray
___
New submission from Mart Sõmermaa m...@mrts.pri.ee:
Proposal
Add update_query_params() for updating or adding URL query parameters to
urllib.parse and urlparse.
Discussion
--
Python-dev:
http://mail.python.org/pipermail/python-dev/2009-April/088675.html
Previously in
Mark Dickinson dicki...@gmail.com added the comment:
Here's a patch for py3k; backporting to trunk should be straightforward.
Backporting to 2.6 may involve more work.
--
keywords: +patch
Added file: http://bugs.python.org/file13813/issue5864.patch
Ezio Melotti ezio.melo...@gmail.com added the comment:
Looks like a documentation bug, afaik it has always been
_sre.SRE_Pattern object at 0x00A0BB78 (just checked on Python =2.4).
Maybe it used to be re.RegexObject instance at 80b4150 in older versions.
--
nosy: +ezio.melotti
versions:
Mark Dickinson dicki...@gmail.com added the comment:
Updated patch; the previous patch messed str() up.
--
Added file: http://bugs.python.org/file13814/issue5864.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5864
Changes by Mark Dickinson dicki...@gmail.com:
Removed file: http://bugs.python.org/file13813/issue5864.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5864
___
Changes by Mark Dickinson dicki...@gmail.com:
--
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5864
___
___
Jan Lieskovsky ian...@seznam.cz added the comment:
Hello guys,
if I didn't overlook something pretty obvious, this should work
with python-2.6, but it crashes.
Could you please have a look?
Thanks, Jan.
--
Jan iankko Lieskovsky
--
nosy: +iankko
Added file:
Eric Smith e...@trueblade.com added the comment:
I'm getting an undefined _remove_trailing_zeros using a normal build
(not using the fallback code). I think it's now always called.
--
stage: patch review - needs patch
___
Python tracker
Eric Smith e...@trueblade.com added the comment:
I think this is great stuff, Larry. It's a definite improvement.
Unfortunately with my workload of other Python issues, I'm not going to
be able to review this before the 3.1 beta. I don't use many
PyTypeObject's, so my review would be mostly
New submission from Harald Armin Massa c...@ghum.de:
the example from
http://docs.python.org/library/multiprocessing.html?highlight=multiprocessing#module-multiprocessing
named
# Example where a pool of http servers share a single listening socket
#
does not work on windows.
Reason:
s =
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +jnoller
priority: - normal
stage: - needs patch
type: - behavior
versions: +Python 2.7, Python 3.0, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5879
Mark Dickinson dicki...@gmail.com added the comment:
I think it's now always called.
I think you're right. I've moved remove_trailing_zeros further up, out of
the #ifdef PY_NO_SHORT_FLOAT_REPR.
--
Added file: http://bugs.python.org/file13816/issue5864_v2.patch
New submission from Larry Hastings la...@hastings.org:
PyGetSetDef has a void *context field. This field is passed in to the
get and set functions implementing the property. The field is almost
never used, so it adds unnecessary complexity. Clearly, YAGNI.
There are two places in CPython
Larry Hastings la...@hastings.org added the comment:
Whoops, forgot to categorize the issue before submitting it.
--
components: +Interpreter Core
type: - feature request
versions: +Python 3.1
___
Python tracker rep...@bugs.python.org
Mark Dickinson dicki...@gmail.com added the comment:
I haven't looked at this patch in detail, but I'd be delighted to see
those uses of the context in longobject.c disappear.
--
nosy: +marketdickinson
___
Python tracker rep...@bugs.python.org
New submission from Larry Hastings la...@hastings.org:
While hacking on CPython I noticed a couple of attributes that were
there strictly for backwards compatibility with ancient modules or pure
mistakes. They are:
_hashlib.hash.digestsize
pwd.struct_pwent
_sha224.digestsize
Eric Smith e...@trueblade.com added the comment:
Using the _v2 patch, I tested both with the fallback code and with Gay's
code, and both work.
It's sort of shocking just how much effort you had to go through! But I
can't see a simpler way to do it.
It looks good to me.
--
stage: needs
Marc-Andre Lemburg m...@egenix.com added the comment:
While it's probably ok to fix the codecs, there's an issue which makes
this difficult at least for the utf-8 codec:
The marshal module uses utf-8 to write Unicode objects and these can and
need to be able to store the full range of supported
Matthias Klose d...@debian.org added the comment:
checked in my patch as rev72107 on the trunk. Will apply it for py3k
tomorrow.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4587
___
Changes by Tomasz Melcer li...@o2.pl:
--
nosy: +liori
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue700921
___
___
Python-bugs-list mailing list
Mark Dickinson dicki...@gmail.com added the comment:
Thanks, Eric. Applied to py3k in r72109. I've blocked it from release30-
maint for now, since it will almost certainly not be possible to svnmerge
it cleanly, but that doesn't preclude backporting it at some stage.
I'll backport to trunk
Andreas Schawo andreas.sch...@gmail.com added the comment:
I think we're done here.
There's only the struct.error to be replaced by OverflowError or
TypeError. Do you start the discussion on python-dev? I don't know how to.
--
status: pending - open
Mark Dickinson dicki...@gmail.com added the comment:
Yes, there should probably be a python-dev discussion. I'll
add it to my list of things to do, if you like!
And I still have to deal with the original compiler warning
that started it all in trunk...
--
Terry J. Reedy tjre...@udel.edu added the comment:
There were two somewhat independent sections to my post:
1. Specific suggested edits to a particular section of the manual. At
least some are straightforward. As of 3.0.1, they have not been made and
I presume that is still true.
Georg, if I
Larry Hastings la...@hastings.org added the comment:
Ping? Is the fate of this patch waiting on anything I can help with?
In case it helps you decide, you don't see this behavior on a ZFS
partition on Mac OS X. It appears to only happen under FUSE. So it's
just me and my computers. (And
Martin v. Löwis mar...@v.loewis.de added the comment:
I think we could preserve the marshal format with yet another error
handler - one that emits half surrogates into their intuitive form.
--
___
Python tracker rep...@bugs.python.org
Mark Dickinson dicki...@gmail.com added the comment:
Backported to trunk in r72119.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5864
___
___
New submission from Jonathan Ellis ell...@users.sourceforge.net:
The docs say that If a class defines __repr__() but not __str__(), then
__repr__() is also used when an “informal” string representation of
instances of that class is required.
but, repr is ignored:
class E(Exception):
...
Changes by Jonathan Ellis ell...@users.sourceforge.net:
--
versions: +Python 3.0
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5882
___
___
Mark Dickinson dicki...@gmail.com added the comment:
With these patches, all tests pass for me both for py3k and trunk.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1588
___
Marcelo Fernández fernandez...@yahoo.com.ar added the comment:
The workaround I posted before doesn't work with Python 2.6. This one
works (at least) with Python 2.5 *and* Python 2.6:
import httplib
import urllib2
key_file = 'mykey.pem'
cert_file = 'mycert-signed.pem'
class
Mark Dickinson dicki...@gmail.com added the comment:
I haven't done as thorough a review as I'd like, but both
patches look good to me. I recommend applying them.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1588
New submission from Benjamin Peterson benja...@python.org:
Here's the detach() implementation for BufferedIOBase and TextIOBase.
--
assignee: benjamin.peterson
components: IO
files: detach.patch
keywords: patch
messages: 86830
nosy: benjamin.peterson, pitrou
severity: normal
status:
Georg Brandl ge...@python.org added the comment:
Georg, if I grab a copy from svn, edit (respecting .rst markup), and
post here, will you diff, review (and possibly further edit to taste)
and apply? If so, can I start with the current 3.1 version ('branch') or
do you prefer the 2.7 version
Georg Brandl ge...@python.org added the comment:
The output is probably from the stone-aged original re module. Fixed in
r72132.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5878
Benjamin Peterson benja...@python.org added the comment:
Fixed in r72131 and r72133.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5676
___
Larry Hastings la...@hastings.org added the comment:
Added a test case for capsules to _testcapimodule.c, and updated to the
latest trunk.
--
title: Create alternatieve CObject API that is safe and clean - Create
alternative CObject API that is safe and clean
Added file:
Changes by Benjamin Peterson benja...@python.org:
Added file: http://bugs.python.org/file13821/detach.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5883
___
Benjamin Peterson benja...@python.org added the comment:
And Exception implements __str__, so it is called.
--
nosy: +benjamin.peterson
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
Eric Smith e...@trueblade.com added the comment:
Thanks, Mark.
I'm not so worried about the code, but more so the tests. As far as the
code goes, it's really a combination of float and string formatting. I
copied the float formatting and refactored the string formatting so I
could reuse it.
New submission from Mike Miller python@mgmiller.net:
When pydoc is run from the command line and unable to write a file for a
module because of a syntax error, it would be helpful to return a
non-zero status code as a result.
What it does currently:
C:\C:\python26\Lib\pydoc.py -w mymod
Eric Smith e...@trueblade.com added the comment:
If http://bugs.python.org/issue5859 is implemented, then this issue
really just becomes making sure NAN and INF are uppercase.
--
___
Python tracker rep...@bugs.python.org
74 matches
Mail list logo