Ezio Melotti ezio.melo...@gmail.com added the comment:
The first case has been fixed already in 1cbfeffea19f, the second case is not
even handled by browsers, so I'm closing this.
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
Stefan Krah stefan-use...@bytereef.org added the comment:
I cannot reproduce this on Lucid with:
$ uname -r
2.6.32-28-generic
Isn't this an Ubuntu problem if sem_open only works with some
specific kernels?
--
nosy: +skrah
___
Python tracker
Ezio Melotti ezio.melo...@gmail.com added the comment:
The packages without a landing page on 3.2 are:
concurrent
xml
urllib
http
xmlrpc
In the concurrent case the problem could be solved with redirects too, since
there's only one module in the package. The other modules could
anatoly techtonik techto...@gmail.com added the comment:
Wow. That's much better - python makes progress. Does this `robot` stuff flies
back to Roundup? Is it possible to specify closes bug #9101 directly in
commit message?
--
___
Python tracker
Filip Gruszczyński grusz...@gmail.com added the comment:
Actually documentation doesn't say that it supports only bytes, but:
The following methods support packing strings, bytes, and opaque data:
Also under python2 you can easily do this:
In [1]: import xdrlib
In [2]: p = xdrlib.Packer()
Ezio Melotti ezio.melo...@gmail.com added the comment:
It's just a mercurial hook that sends email, and yes, it's possible to close
the issues automatically writing closes # in the commit message, but I
prefer to close the issue manually.
--
Prashant Kumar contactprashan...@gmail.com added the comment:
I have added a test for the modification in msg127191. Though, inside zip-file
we get files without its parent dir, nothing changes in manifest file(should it
change?). Please have a look at the changeset
anatoly techtonik techto...@gmail.com added the comment:
Awesome. Especially links to actual changesets. BTW, there are only backport
commits - where is the notification about the main one?
--
___
Python tracker rep...@bugs.python.org
Ezio Melotti ezio.melo...@gmail.com added the comment:
In msg123296, r86976.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9101
___
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +barry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8326
___
___
Python-bugs-list mailing list
Ezio Melotti ezio.melo...@gmail.com added the comment:
The attached patch skips the peepholer optimizations for BINARY_SUBSCR if the
resulting char is a surrogate on narrow builds or a non-bmp char in wide builds.
Note that this affects the optimization of lone surrogates on narrow builds
too,
R. David Murray rdmur...@bitdance.com added the comment:
Despite the apparent similarity, your issue is something different from what
was reported in this issue. Could you please open a new issue for your problem?
--
nosy: +r.david.murray
___
Marc-Andre Lemburg m...@egenix.com added the comment:
Ezio Melotti wrote:
Ezio Melotti ezio.melo...@gmail.com added the comment:
The attached patch skips the peepholer optimizations for BINARY_SUBSCR if the
resulting char is a surrogate on narrow builds or a non-bmp char in wide
Ezio Melotti ezio.melo...@gmail.com added the comment:
Are there any cases where v[w] -- where v is a unicode object -- returns a
non-unicode object?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5057
anatoly techtonik techto...@gmail.com added the comment:
Thanks.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9101
___
___
Python-bugs-list
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
versions: +Python 3.3 -Python 2.6, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5057
___
Marc-Andre Lemburg m...@egenix.com added the comment:
Ezio Melotti wrote:
Ezio Melotti ezio.melo...@gmail.com added the comment:
Are there any cases where v[w] -- where v is a unicode object -- returns a
non-unicode object?
There could be: either from subclasses or from buggy code. In
New submission from Steven Samuel Cole steven.samuel.c...@gmail.com:
in the first table on http://docs.python.org/distutils/builtdist.html (search
for 'available formats for built distributions'), the line with 'rpm / RPM /
(5)' is in there twice
--
assignee: docs@python
components:
Paweł Widera mo...@man.poznan.pl added the comment:
Great! With one but... the second case *is* handled by browsers. Browsers do
not throw an exception on it as HTMLParser do. So improvement is definitely
possible here. If it is worth an effort, it is not for me to judge.
--
Ezio Melotti ezio.melo...@gmail.com added the comment:
So you are suggesting that
a href=http://xxx.org/xxx.php?a=1 target=_blankclick me/a
should result in an 'a' element with an href attribute equals to
http://xxx.org/xxx.php?a=1 target= and then discard _blank as extra data?
--
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
components: +Distutils
nosy: +eric.araujo
versions: -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11843
___
Ezio Melotti ezio.melo...@gmail.com added the comment:
Here's a new patch that checks that newconst is not NULL and that it's a
unicode object.
I added a test for the case where it's NULL. I don't think it's possible to
test the case when newconst is not unicode though, because unicode
STINNER Victor victor.stin...@haypocalc.com added the comment:
... which does not give the same result in UCS-2 and UCS-4 builds.
As a result, the pyc file is not portable across those builds.
Since Python 3.2, the pyc filename contains a tag (u) to indicate wide build
Benjamin Peterson benja...@python.org added the comment:
2011/4/14 Filip Gruszczyński rep...@bugs.python.org:
Filip Gruszczyński grusz...@gmail.com added the comment:
Actually documentation doesn't say that it supports only bytes, but:
The following methods support packing strings, bytes,
Filip Gruszczyński grusz...@gmail.com added the comment:
I am well aware of this, Benjamin. I am not trying to force any solution, but
rather trying to point out, that current documentation is misleading. There
might be no need for patching the code, but rather updating the docs to say,
that
Benjamin Peterson benja...@python.org added the comment:
2011/4/14 Filip Gruszczyński rep...@bugs.python.org:
Filip Gruszczyński grusz...@gmail.com added the comment:
I am well aware of this, Benjamin. I am not trying to force any solution, but
rather trying to point out, that current
Marc-Andre Lemburg m...@egenix.com added the comment:
Ezio Melotti wrote:
Ezio Melotti ezio.melo...@gmail.com added the comment:
Here's a new patch that checks that newconst is not NULL and that it's a
unicode object.
I added a test for the case where it's NULL. I don't think it's
Filip Gruszczyński grusz...@gmail.com added the comment:
I'll provide docs patch.
--
assignee: - docs@python
components: +Documentation -None
nosy: +docs@python
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9544
Jack Andrews effb...@gmail.com added the comment:
hi guys,
this makes Cmd a bit more useful.
my use case is talking to pdb via pipe
(ie. subprocess module). pdb doesn't
behave very well if stdin is not a tty.
===
---
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
Pfff.
Now i really spent some time on Mac OS X memory management.
I did it for Wanda. :)
(First: i don't know why you want to drop that nice mmap(2),
it's wonderful to test harddisk performance!
And if you want to support Apple,
Charles-Francois Natali neolo...@free.fr added the comment:
I'm not sure whether POSIX warrants anything about this behavior, but nothing
prevents a process from running with a UID not listed in /etc/passwd (or NIS,
whatever). For example, sudo allows running a command with a UID not listed in
STINNER Victor victor.stin...@haypocalc.com added the comment:
Because the patch is simple (just add a try/except), I think that it doesn't
matter if only few people use users without entry in /etc/passwd and we should
fix this issue.
--
___
Python
Daniel Urban urban.dani...@gmail.com added the comment:
I see. Thanks for the explanation. If indeed this is the expected behaviour (as
it seems), then I suggest clarifying the documentation. I think it would be
good to mention that the returned values are for range(), and not for creating
R. David Murray rdmur...@bitdance.com added the comment:
Éric did a review of the previous patch (mostly doc stuff) which should
be pretty much addressed in this new version of the patch.
I'd like to propose this version (modulo any forthcoming comments) for
commit to trunk. I've removed some
Sandro Tosi sandro.t...@gmail.com added the comment:
Thanks for reminding me of this issue. I let the same tight loop run on an
up-to-date python for a whole day and not stuck happened.
--
resolution: - out of date
status: open - closed
___
Python
Changes by R. David Murray rdmur...@bitdance.com:
Removed file: http://bugs.python.org/file21662/policy_for_review.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11731
___
Changes by R. David Murray rdmur...@bitdance.com:
Added file: http://bugs.python.org/file21663/policy_for_review.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11731
___
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
versions: +Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11467
___
___
Santoso Wijaya santoso.wij...@gmail.com added the comment:
Is this a right approach? I converted the hard-coded attributes into real,
C-API attributes.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7990
Sandro Tosi sandro.t...@gmail.com added the comment:
Hi Adrian,
where do you see the 'entity' argument to class TreeBuilder?
In case I'm just missing in, would be interested in preparing a patch? you seem
to be knowledgeable about the matter, so it would be nice if you can share it
with us.
Santoso Wijaya santoso.wij...@gmail.com added the comment:
ping?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11397
___
___
Python-bugs-list
Terry J. Reedy tjre...@udel.edu added the comment:
Sorry, patches sometimes sit awhile before a developer who can do something
does do something.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11397
Arc Riley arcri...@gmail.com added the comment:
It looks right to me, but I would include more verbose pydoc strings.
IE, The tail attribute can be used to hold additional data associated with the
element tells me nothing. You could explain here what .tail actually is, a
few XML examples
Terry J. Reedy tjre...@udel.edu added the comment:
Jack, several questions.
Are you saying that when stdin is a pipe and not a tty, pdb works better with
use_rawinput set False?
Are you sure that the auto setting is correct in all use cases?
Are you aware that you can set use_rawinput
Buck Golemon buck.gole...@amd.com added the comment:
Isn't this an Ubuntu problem if sem_open only works with some specific
kernels?
sem_open works fine (python2.6 is using it), but the python2.7 build process
didn't detect it properly. This is either a bug with Ubuntu's python2.7 build
Changes by Buck Golemon buck.gole...@amd.com:
--
title: Cannot import name SemLock on Ubuntu lucid - Cannot import name SemLock
on Ubuntu
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8326
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
On Wed, Apr 13, 2011 at 09:42:22PM +, Torsten Becker wrote:
So if anybody wants to work on this before that time,
please feel free to fix it properly. :)
(The word anybody made me think.
But fix properly ... i'm sure you
Stefan Krah stefan-use...@bytereef.org added the comment:
This line...
from multiprocessing.synchronize import Semaphore
... works on Ubuntu Lucid with the 2.7, 3.1, 3.2 and default
branches from:
http://hg.python.org/cpython
Since you mention Ubuntu's build configuration, I suggest that
Changes by Daniel Stutzbach stutzb...@google.com:
--
nosy: +stutzbach
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6634
___
___
Python-bugs-list
Buck Golemon buck.gole...@amd.com added the comment:
I suggest that you try to build from the above mercurial repository and see
if the problem persists.
How do I know the configuration options that the Ubuntu packager used?
--
___
Python tracker
Torsten Becker torsten.bec...@gmail.com added the comment:
(The word anybody made me think.
But fix properly ... i'm sure you cannot refer to myself.
:))
fix properly referred to my inferior implementation and anybody
should probably have been worded Steffen or David. So sure .. go
ahead.
Santoso Wijaya santoso.wij...@gmail.com added the comment:
Oh, I understand. I'm just wondering especially for this one because it has no
assigned dev.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11397
Sandro Tosi sandro.t...@gmail.com added the comment:
How do I know the configuration options that the Ubuntu packager used?
the make file (likely) used is at:
http://bazaar.launchpad.net/~doko/python/pkg2.7-debian/view/head:/rules
Note: he is also a python developer, so you can add him to
Stefan Krah stefan-use...@bytereef.org added the comment:
Buck Golemon rep...@bugs.python.org wrote:
I suggest that you try to build from the above mercurial repository and see
if the problem persists.
How do I know the configuration options that the Ubuntu packager used?
I'd use the
R. David Murray rdmur...@bitdance.com added the comment:
Like Stefan says, use the default build options with the checkout. If it
works, then the problem is an Ubuntu bug, and not a Python bug.
--
___
Python tracker rep...@bugs.python.org
Boštjan Mejak bostjan.me...@gmail.com added the comment:
I did a little mistake with the coffee-table thing. It's written as
coffee table (no hyphen). But other words listed are written with the
hyphen. Fix those damn things mentioned in the issue.
--
Added file:
sisco asi...@gmail.com added the comment:
make install fails on Fedora Core 13 as well:
make distclean
./configure
make
make install
/usr/bin/install -c -m 644 ./LICENSE /usr/local/lib/python2.7/LICENSE.txt
PYTHONPATH=/usr/local/lib/python2.7 \
./python -Wi -tt
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
And about mmap(2):
import os,sys,time,mmap
MP0 = ((2**30)-1)
MP1 = ((2**31)-1)
MP2 = ((2**32)-1)
MPV = (2**20) * 100
SIZES = (MP0-MPV, MP0, MP0+MPV,
MP1-MPV, MP1, MP1+MPV,
MP2-MPV, MP2, MP2+MPV)
FILE =
Changes by Martin v. Löwis mar...@v.loewis.de:
Added file: http://bugs.python.org/file21665/foo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2771
___
___
New submission from Sandro Tosi sandro.t...@gmail.com:
This issue is to track the update process of json to the latest upstream
release (2.1.3).
As a start, here's the p-dev thread:
http://mail.python.org/pipermail/python-dev/2011-April/110704.html
--
assignee: sandro.tosi
New submission from Daniel Urban urban.dani...@gmail.com:
The attached crash.py script reliably crashes the 3.2 and 3.3 interpreter on my
machine. The script does a lot of range slicing.
I think there is a typo in compute_slice_indices() in rangeobject.c, in line
475. In line 474 there is an
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
On Thu, Apr 14, 2011 at 06:05:59PM +, Torsten Becker wrote:
So sure .. go ahead. :)
Gr
Wuah, Wuuuah, Wuuh!
No. Now i'm exhausted.
--
___
Python tracker
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
On Thu, Apr 14, 2011 at 06:05:59PM +, Torsten Becker wrote:
:)
Mumble...
:)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11783
Changes by Dave Malcolm dmalc...@redhat.com:
--
nosy: +dmalcolm
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11845
___
___
Python-bugs-list
New submission from Anthony Long antl...@gmail.com:
http://docs.python.org/c-api/int.html
The current implementation keeps an array of integer objects for all integers
between -5 and 256, when you create an int in that range you actually just get
back a reference to the existing object. So it
Dave Malcolm dmalc...@redhat.com added the comment:
From IRC discussion, how about something like:
The current implementation consolidates integers in the range -5 to 256
(inclusive) into singleton PyIntObject instances, whereas other integer values
have unique PyIntObject instances created
Dave Malcolm dmalc...@redhat.com added the comment:
Perhaps should also note that this is done for the purposes of optimization
(both speed and memory).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11846
Changes by Daniel Stutzbach stutzb...@google.com:
--
nosy: +stutzbach
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11845
___
___
Python-bugs-list
Dave Malcolm dmalc...@redhat.com added the comment:
Interpreter idea: int is int could trigger a compatibility warning,
perhaps, to help people avoid relying on CPython quirks
--
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
I don't think it's in the business of the C API docs to explain Python-visible
semantics, or the difference between == and is. I would just rephrase the
original paragraph, removing the last sentence joke:
“Since integer objects are very
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
We should remove the documentation entries that discuss non-guaranteed
implementation details (i.e. which integers are singletons).
Instead, there should probably be a brief tutorial entry on what aspects of
object identity
ackounts ackou...@gmail.com added the comment:
yes, you right, I will create a new issue, thanks.
--
components: +None -Library (Lib)
type: crash -
versions: -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4537
New submission from ackounts ackou...@gmail.com:
When I try to import antigravity module on Linux I get an error (on Windows it
runs fine):
Python 3.2 (r32:88445, Feb 21 2011, 01:55:53)
[GCC 4.5.2 20110127 (prerelease)] on linux2
Type help, copyright, credits or license for more information.
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11847
___
___
Changes by Senthil Kumaran sent...@uthcode.com:
--
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11710
___
___
Python-bugs-list
STINNER Victor victor.stin...@haypocalc.com added the comment:
I tested issue11397_py32.patch:
- you should use os.fsencode(sep) instead of sep.encode()
- os.path.realpath('../'*10) raises IndexError('pop from empty list') instead
of giving '/'
--
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
assignee: docs@python - georg.brandl
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11710
___
Changes by Graeme Perrow graeme.per...@gmail.com:
--
nosy: +gperrow
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9176
___
___
Python-bugs-list
Jack Andrews effb...@gmail.com added the comment:
Terry J. Reedy tjre...@udel.edu added the comment:
Jack, several questions.
Are you saying that when stdin is a pipe and not a tty, pdb works better with
use_rawinput set False?
yes. well, at least i thought so. today, pdb works fine
higery shoulderhig...@gmail.com added the comment:
I will join GSOC2011 and I find this bug is a good test for me to submit my
patch as a scoring judgment.
I have created a diff file to confirm this bug, but setuptools may have already
fix it, because when using 'python setup.py sdist' to
Changes by Eli Bendersky eli...@gmail.com:
--
resolution: - fixed
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9904
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11846
___
___
Roundup Robot devnull@devnull added the comment:
New changeset e7a55e236b8b by Eli Bendersky in branch '3.1':
Issue #11827: remove mention of list2cmdline in the doc of subprocess
http://hg.python.org/cpython/rev/e7a55e236b8b
--
nosy: +python-dev
___
Ezio Melotti ezio.melo...@gmail.com added the comment:
PEP 3147 says[0]:
For backward compatibility, Python will still support pyc-only distributions,
however it will only do so when the pyc file lives in the directory where the
py file would have been, i.e. not in the __pycache__ directory.
Roundup Robot devnull@devnull added the comment:
New changeset f38489a3394f by Eli Bendersky in branch '2.7':
Issue #11827: remove mention of list2cmdline in the doc of subprocess
http://hg.python.org/cpython/rev/f38489a3394f
--
___
Python tracker
Changes by Eli Bendersky eli...@gmail.com:
--
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11827
___
___
Python-bugs-list
Eli Bendersky eli...@gmail.com added the comment:
Patch committed to 3.3, 3.2, 3.1, 2.7
In case no objections arise, I will close this issue in a couple of days
--
status: pending - open
___
Python tracker rep...@bugs.python.org
Roundup Robot devnull@devnull added the comment:
New changeset 8dbf072556b9 by Ezio Melotti in branch '2.7':
#4783: document that is not possible to use json.dump twice on the same stream.
http://hg.python.org/cpython/rev/8dbf072556b9
New changeset 2ec08aa2c566 by Ezio Melotti in branch '3.1':
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
assignee: bob.ippolito - ezio.melotti
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4783
Ezio Melotti ezio.melo...@gmail.com added the comment:
This seems to be a duplicate of #11432.
Can you try to compile the latest Python 3.2 (or 3.3) and see if you still get
the problem?
You can do it by following these steps:
hg clone http://hg.python.org/cpython
cd cpython
hg up 3.2
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti, fdrake
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11844
___
___
Ross Lagerwall rosslagerw...@gmail.com added the comment:
As an extra, presumably if you just do:
import webbrowser
webbrowser.open(http://www.python.org;)
it also fails?
--
nosy: +rosslagerwall
status: pending - open
type: crash - behavior
___
New submission from Brandon W Maister quodlibe...@gmail.com:
The comment just before the random.betavariate method reads in part:
## See
## http://sourceforge.net/bugs/?func=detailbugbug_id=130030group_id=5470
## for Ivan Frohne's insightful analysis of why the original implementation:
## (snip
Ezio Melotti ezio.melo...@gmail.com added the comment:
See http://mail.python.org/pipermail/python-bugs-list/2001-January/003753.html
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11848
Roundup Robot devnull@devnull added the comment:
New changeset 8025fb83dece by Ezio Melotti in branch '3.2':
#11845: Fix typo in rangeobject.c that caused a crash in compute_slice_indices.
Patch by Daniel Urban.
http://hg.python.org/cpython/rev/8025fb83dece
New changeset 724e2e84a74f by Ezio
Ezio Melotti ezio.melo...@gmail.com added the comment:
Fixed, thanks for the patch!
--
assignee: - ezio.melotti
nosy: +ezio.melotti
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Roundup Robot devnull@devnull added the comment:
New changeset e1f0881d2cb4 by Ezio Melotti in branch '2.7':
#11848: replace dead link in random.betavariate comment.
http://hg.python.org/cpython/rev/e1f0881d2cb4
New changeset f5b9ad73157c by Ezio Melotti in branch '3.1':
#11848: replace dead
Ezio Melotti ezio.melo...@gmail.com added the comment:
I replaced the link, thanks for noticing it!
--
assignee: - ezio.melotti
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Brandon W Maister quodlibe...@gmail.com added the comment:
Oh, awesome, thanks!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11848
___
___
99 matches
Mail list logo