[issue6191] HTMLParser attribute parsing - 2 test cases when it fails

2011-04-14 Thread Ezio Melotti
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

[issue8326] Cannot import name SemLock on Ubuntu lucid

2011-04-14 Thread Stefan Krah
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

[issue11710] Landing pages in docs for standard library packages

2011-04-14 Thread Ezio Melotti
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

[issue9101] reference json format in file formats chapter

2011-04-14 Thread anatoly techtonik
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

[issue9544] xdrlib.Packer().pack_fstring throws a TypeError when called with a str()

2011-04-14 Thread Filip Gruszczyński
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()

[issue9101] reference json format in file formats chapter

2011-04-14 Thread Ezio Melotti
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. --

[issue10932] distutils.core.setup - data_files misbehaviour ?

2011-04-14 Thread Prashant Kumar
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

[issue9101] reference json format in file formats chapter

2011-04-14 Thread anatoly techtonik
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

[issue9101] reference json format in file formats chapter

2011-04-14 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: In msg123296, r86976. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9101 ___ ___

[issue8326] Cannot import name SemLock on Ubuntu lucid

2011-04-14 Thread Antoine Pitrou
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

[issue5057] Unicode-width dependent optimization leads to non-portable pyc file

2011-04-14 Thread Ezio Melotti
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,

[issue4537] webbrowser.UnixBrowser should use builtins.open

2011-04-14 Thread R. David Murray
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 ___

[issue5057] Unicode-width dependent optimization leads to non-portable pyc file

2011-04-14 Thread Marc-Andre Lemburg
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

[issue5057] Unicode-width dependent optimization leads to non-portable pyc file

2011-04-14 Thread Ezio Melotti
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

[issue9101] reference json format in file formats chapter

2011-04-14 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: Thanks. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9101 ___ ___ Python-bugs-list

[issue5057] Unicode-width dependent optimization leads to non-portable pyc file

2011-04-14 Thread Ezio Melotti
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 ___

[issue5057] Unicode-width dependent optimization leads to non-portable pyc file

2011-04-14 Thread Marc-Andre Lemburg
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

[issue11843] distutils doc: duplicate line in table

2011-04-14 Thread Steven Samuel Cole
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:

[issue6191] HTMLParser attribute parsing - 2 test cases when it fails

2011-04-14 Thread Paweł Widera
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. --

[issue6191] HTMLParser attribute parsing - 2 test cases when it fails

2011-04-14 Thread Ezio Melotti
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? --

[issue11843] distutils doc: duplicate line in table

2011-04-14 Thread Ezio Melotti
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 ___

[issue5057] Unicode-width dependent optimization leads to non-portable pyc file

2011-04-14 Thread Ezio Melotti
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

[issue5057] Unicode-width dependent optimization leads to non-portable pyc file

2011-04-14 Thread STINNER Victor
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

[issue9544] xdrlib.Packer().pack_fstring throws a TypeError when called with a str()

2011-04-14 Thread Benjamin Peterson
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,

[issue9544] xdrlib.Packer().pack_fstring throws a TypeError when called with a str()

2011-04-14 Thread Filip Gruszczyński
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

[issue9544] xdrlib.Packer().pack_fstring throws a TypeError when called with a str()

2011-04-14 Thread Benjamin Peterson
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

[issue5057] Unicode-width dependent optimization leads to non-portable pyc file

2011-04-14 Thread Marc-Andre Lemburg
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

[issue9544] xdrlib.Packer().pack_fstring throws a TypeError when called with a str()

2011-04-14 Thread Filip Gruszczyński
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

[issue2571] can cmd.py's API/docs for the use of an alternate stdin be improved?

2011-04-14 Thread Jack Andrews
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. === ---

[issue11277] test_zlib.test_big_buffer crashes under BSD (Mac OS X and FreeBSD)

2011-04-14 Thread Steffen Daode Nurpmeso
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,

[issue10496] import site failed when Python can't find home directory (sysconfig._getuserbase)

2011-04-14 Thread Charles-Francois Natali
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

[issue10496] import site failed when Python can't find home directory (sysconfig._getuserbase)

2011-04-14 Thread STINNER Victor
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

[issue11842] slice.indices with negative step and default stop

2011-04-14 Thread Daniel Urban
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

[issue11731] Simplify email API via 'policy' objects

2011-04-14 Thread R. David Murray
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

[issue10121] test_multiprocessing stuck in test_make_pool if run in a loop

2011-04-14 Thread Sandro Tosi
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

[issue11731] Simplify email API via 'policy' objects

2011-04-14 Thread R. David Murray
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 ___

[issue11731] Simplify email API via 'policy' objects

2011-04-14 Thread R. David Murray
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 ___

[issue11467] urlparse.urlsplit() regression for paths consisting of digits

2011-04-14 Thread Santoso Wijaya
Changes by Santoso Wijaya santoso.wij...@gmail.com: -- versions: +Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11467 ___ ___

[issue7990] xml.etree.cElementTree lacks full dir() on Element

2011-04-14 Thread Santoso Wijaya
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

[issue10605] ElementTree documentation

2011-04-14 Thread Sandro Tosi
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.

[issue11397] os.path.realpath() may produce incorrect results

2011-04-14 Thread Santoso Wijaya
Santoso Wijaya santoso.wij...@gmail.com added the comment: ping? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11397 ___ ___ Python-bugs-list

[issue11397] os.path.realpath() may produce incorrect results

2011-04-14 Thread Terry J. Reedy
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

[issue7990] xml.etree.cElementTree lacks full dir() on Element

2011-04-14 Thread Arc Riley
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

[issue2571] can cmd.py's API/docs for the use of an alternate stdin be improved?

2011-04-14 Thread Terry J. Reedy
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

[issue8326] Cannot import name SemLock on Ubuntu lucid

2011-04-14 Thread Buck Golemon
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

[issue8326] Cannot import name SemLock on Ubuntu

2011-04-14 Thread Buck Golemon
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

[issue11783] email parseaddr and formataddr should be IDNA aware

2011-04-14 Thread Steffen Daode Nurpmeso
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

[issue8326] Cannot import name SemLock on Ubuntu

2011-04-14 Thread Stefan Krah
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

[issue6634] sys.exit() called from threads other than the main one: undocumented behaviour

2011-04-14 Thread Daniel Stutzbach
Changes by Daniel Stutzbach stutzb...@google.com: -- nosy: +stutzbach ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6634 ___ ___ Python-bugs-list

[issue8326] Cannot import name SemLock on Ubuntu

2011-04-14 Thread Buck Golemon
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

[issue11783] email parseaddr and formataddr should be IDNA aware

2011-04-14 Thread Torsten Becker
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.

[issue11397] os.path.realpath() may produce incorrect results

2011-04-14 Thread Santoso Wijaya
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

[issue8326] Cannot import name SemLock on Ubuntu

2011-04-14 Thread Sandro Tosi
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

[issue8326] Cannot import name SemLock on Ubuntu

2011-04-14 Thread Stefan Krah
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

[issue8326] Cannot import name SemLock on Ubuntu

2011-04-14 Thread R. David Murray
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

[issue11806] Missing 2 hyphens in the docs

2011-04-14 Thread Boštjan Mejak
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:

[issue9631] Python 2.7 installation issue for Linux gcc-4.1.0-3 (Fedora Core 5?)

2011-04-14 Thread sisco
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

[issue11277] test_zlib.test_big_buffer crashes under BSD (Mac OS X and FreeBSD)

2011-04-14 Thread Steffen Daode Nurpmeso
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 =

[issue2771] Test issue

2011-04-14 Thread Martin v . Löwis
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 ___ ___

[issue11844] Update json to upstream simplejson latest release

2011-04-14 Thread Sandro Tosi
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

[issue11845] Refcounting error in compute_slice_indices in rangeobject.c

2011-04-14 Thread Daniel Urban
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

[issue11783] email parseaddr and formataddr should be IDNA aware

2011-04-14 Thread Steffen Daode Nurpmeso
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

[issue11783] email parseaddr and formataddr should be IDNA aware

2011-04-14 Thread Steffen Daode Nurpmeso
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

[issue11845] Refcounting error in compute_slice_indices in rangeobject.c

2011-04-14 Thread Dave Malcolm
Changes by Dave Malcolm dmalc...@redhat.com: -- nosy: +dmalcolm ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11845 ___ ___ Python-bugs-list

[issue11846] Implementation question for (-5) - 256 caching, and doc update for c-api/int.html

2011-04-14 Thread Anthony Long
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

[issue11846] Implementation question for (-5) - 256 caching, and doc update for c-api/int.html

2011-04-14 Thread Dave Malcolm
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

[issue11846] Implementation question for (-5) - 256 caching, and doc update for c-api/int.html

2011-04-14 Thread Dave Malcolm
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

[issue11845] Refcounting error in compute_slice_indices in rangeobject.c

2011-04-14 Thread Daniel Stutzbach
Changes by Daniel Stutzbach stutzb...@google.com: -- nosy: +stutzbach ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11845 ___ ___ Python-bugs-list

[issue11846] Implementation question for (-5) - 256 caching, and doc update for c-api/int.html

2011-04-14 Thread Dave Malcolm
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

[issue11846] Implementation question for (-5) - 256 caching, and doc update for c-api/int.html

2011-04-14 Thread Antoine Pitrou
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

[issue11846] Implementation question for (-5) - 256 caching, and doc update for c-api/int.html

2011-04-14 Thread Raymond Hettinger
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

[issue4537] webbrowser.UnixBrowser should use builtins.open

2011-04-14 Thread ackounts
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

[issue11847] OSError importing antigravity module

2011-04-14 Thread ackounts
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.

[issue11847] OSError importing antigravity module

2011-04-14 Thread Santoso Wijaya
Changes by Santoso Wijaya santoso.wij...@gmail.com: -- nosy: +santa4nt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11847 ___ ___

[issue11710] Landing pages in docs for standard library packages

2011-04-14 Thread Senthil Kumaran
Changes by Senthil Kumaran sent...@uthcode.com: -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11710 ___ ___ Python-bugs-list

[issue11397] os.path.realpath() may produce incorrect results

2011-04-14 Thread STINNER Victor
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 '/' --

[issue11710] Landing pages in docs for standard library packages

2011-04-14 Thread Raymond Hettinger
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 ___

[issue9176] module termios doesn't build on HP-UX

2011-04-14 Thread Graeme Perrow
Changes by Graeme Perrow graeme.per...@gmail.com: -- nosy: +gperrow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9176 ___ ___ Python-bugs-list

[issue2571] can cmd.py's API/docs for the use of an alternate stdin be improved?

2011-04-14 Thread Jack Andrews
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

[issue828450] sdist generates bad MANIFEST on Windows

2011-04-14 Thread higery
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

[issue9904] Cosmetic issues that may warrant a fix in symtable.h/c

2011-04-14 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- resolution: - fixed status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9904 ___

[issue11846] Implementation question for (-5) - 256 caching, and doc update for c-api/int.html

2011-04-14 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11846 ___ ___

[issue11827] mention of list2cmdline() in docs of subprocess.Popen

2011-04-14 Thread Roundup Robot
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 ___

[issue5057] Unicode-width dependent optimization leads to non-portable pyc file

2011-04-14 Thread Ezio Melotti
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.

[issue11827] mention of list2cmdline() in docs of subprocess.Popen

2011-04-14 Thread Roundup Robot
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

[issue11827] mention of list2cmdline() in docs of subprocess.Popen

2011-04-14 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11827 ___ ___ Python-bugs-list

[issue11827] mention of list2cmdline() in docs of subprocess.Popen

2011-04-14 Thread Eli Bendersky
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

[issue4783] document that json.load/dump can’t be used twice on the same stream

2011-04-14 Thread Roundup Robot
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':

[issue4783] document that json.load/dump can’t be used twice on the same stream

2011-04-14 Thread Ezio Melotti
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

[issue11847] OSError importing antigravity module

2011-04-14 Thread Ezio Melotti
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

[issue11844] Update json to upstream simplejson latest release

2011-04-14 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti, fdrake ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11844 ___ ___

[issue11847] OSError importing antigravity module

2011-04-14 Thread Ross Lagerwall
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 ___

[issue11848] Comment for random.betavariate is intriguing and incomplete

2011-04-14 Thread Brandon W Maister
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

[issue11848] Comment for random.betavariate is intriguing and incomplete

2011-04-14 Thread Ezio Melotti
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

[issue11845] Refcounting error in compute_slice_indices in rangeobject.c

2011-04-14 Thread Roundup Robot
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

[issue11845] Refcounting error in compute_slice_indices in rangeobject.c

2011-04-14 Thread Ezio Melotti
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

[issue11848] Comment for random.betavariate is intriguing and incomplete

2011-04-14 Thread Roundup Robot
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

[issue11848] Comment for random.betavariate is intriguing and incomplete

2011-04-14 Thread Ezio Melotti
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

[issue11848] Comment for random.betavariate is intriguing and incomplete

2011-04-14 Thread Brandon W Maister
Brandon W Maister quodlibe...@gmail.com added the comment: Oh, awesome, thanks! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11848 ___ ___