[issue9101] reference json format in file formats chapter

2011-04-14 Thread anatoly techtonik
anatoly techtonik 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 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() In [3]: p.pack_str

[issue9101] reference json format in file formats chapter

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

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

2011-04-14 Thread Prashant Kumar
Prashant Kumar 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 https://bitbucket.org/pkumar/distutils2_bugs/changeset

[issue9101] reference json format in file formats chapter

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

[issue9101] reference json format in file formats chapter

2011-04-14 Thread Ezio Melotti
Ezio Melotti added the comment: In msg123296, r86976. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue8326] Cannot import name SemLock on Ubuntu lucid

2011-04-14 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

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

2011-04-14 Thread Ezio Melotti
Ezio Melotti 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, but I think it's not w

[issue4537] webbrowser.UnixBrowser should use builtins.open

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

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

2011-04-14 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Ezio Melotti wrote: > > Ezio Melotti 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 o

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

2011-04-14 Thread Ezio Melotti
Ezio Melotti added the comment: Are there any cases where v[w] -- where v is a unicode object -- returns a non-unicode object? -- ___ Python tracker ___

[issue9101] reference json format in file formats chapter

2011-04-14 Thread anatoly techtonik
anatoly techtonik added the comment: Thanks. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

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

2011-04-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- versions: +Python 3.3 -Python 2.6, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

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

2011-04-14 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Ezio Melotti wrote: > > Ezio Melotti 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 any case, macros should only be us

[issue11843] distutils doc: duplicate line in table

2011-04-14 Thread Steven Samuel Cole
New submission from Steven Samuel Cole : 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: Documentation messages: 133730

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

2011-04-14 Thread Paweł Widera
Paweł Widera 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 added the comment: So you are suggesting that http://xxx.org/xxx.php?a=1 target="_blank">click me 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 : -- components: +Distutils nosy: +eric.araujo versions: -Python 2.6 ___ Python tracker ___ ___ Python-bugs-l

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

2011-04-14 Thread Ezio Melotti
Ezio Melotti 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 subclasses are not literals

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

2011-04-14 Thread STINNER Victor
STINNER Victor 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 (sys.maxunicode==0x10), instead of narrow (sy

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

2011-04-14 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2011/4/14 Filip Gruszczyński : > > Filip Gruszczyński 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 easi

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

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

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

2011-04-14 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2011/4/14 Filip Gruszczyński : > > Filip Gruszczyński 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

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

2011-04-14 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Ezio Melotti wrote: > > Ezio Melotti 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 ne

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

2011-04-14 Thread Filip Gruszczyński
Filip Gruszczyński added the comment: I'll provide docs patch. -- assignee: -> docs@python components: +Documentation -None nosy: +docs@python ___ Python tracker ___ ___

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

2011-04-14 Thread Jack Andrews
Jack Andrews 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. === --- cmdpy.orig/cmd.py 2011-04

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

2011-04-14 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso 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, then you have to spend

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

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

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

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

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

2011-04-14 Thread Daniel Urban
Daniel Urban 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 another slice object. ---

[issue11731] Simplify email API via 'policy' objects

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

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

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

[issue11731] Simplify email API via 'policy' objects

2011-04-14 Thread R. David Murray
Changes by R. David Murray : Removed file: http://bugs.python.org/file21662/policy_for_review.patch ___ Python tracker ___ ___ Python-bugs-lis

[issue11731] Simplify email API via 'policy' objects

2011-04-14 Thread R. David Murray
Changes by R. David Murray : Added file: http://bugs.python.org/file21663/policy_for_review.patch ___ Python tracker ___ ___ Python-bugs-list

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

2011-04-14 Thread Santoso Wijaya
Changes by Santoso Wijaya : -- versions: +Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

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

2011-04-14 Thread Santoso Wijaya
Santoso Wijaya added the comment: Is this a right approach? I converted the hard-coded "attributes" into real, C-API attributes. -- ___ Python tracker ___ __

[issue10605] ElementTree documentation

2011-04-14 Thread Sandro Tosi
Sandro Tosi 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. You can also provide ju

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

2011-04-14 Thread Santoso Wijaya
Santoso Wijaya added the comment: ping? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

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

2011-04-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: Sorry, patches sometimes sit awhile before a developer who can do something does do something. -- ___ Python tracker ___ _

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

2011-04-14 Thread Arc Riley
Arc Riley 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 of what would be p

[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 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 'manually'? Have you read

[issue8326] Cannot import name SemLock on Ubuntu lucid

2011-04-14 Thread Buck Golemon
Buck Golemon 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 configuration, or wit

[issue8326] Cannot import name SemLock on Ubuntu

2011-04-14 Thread Buck Golemon
Changes by Buck Golemon : -- title: Cannot import name SemLock on Ubuntu lucid -> Cannot import name SemLock on Ubuntu ___ Python tracker ___

[issue11783] email parseaddr and formataddr should be IDNA aware

2011-04-14 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso 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 cannot refer to myself

[issue8326] Cannot import name SemLock on Ubuntu

2011-04-14 Thread Stefan Krah
Stefan Krah 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 you try to build from the

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

2011-04-14 Thread Daniel Stutzbach
Changes by Daniel Stutzbach : -- nosy: +stutzbach ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue8326] Cannot import name SemLock on Ubuntu

2011-04-14 Thread Buck Golemon
Buck Golemon 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 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 added the comment: Oh, I understand. I'm just wondering especially for this one because it has no assigned dev. -- ___ Python tracker ___ ___

[issue8326] Cannot import name SemLock on Ubuntu

2011-04-14 Thread Sandro Tosi
Sandro Tosi 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 nosy and ask clarificat

[issue8326] Cannot import name SemLock on Ubuntu

2011-04-14 Thread Stefan Krah
Stefan Krah added the comment: Buck Golemon 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 default configuration and check if sem_open i

[issue8326] Cannot import name SemLock on Ubuntu

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

[issue11806] Missing 2 hyphens in the docs

2011-04-14 Thread Boštjan Mejak
Boštjan Mejak 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: http://bugs.python.org/file21664/unnamed

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

2011-04-14 Thread sisco
sisco 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 /usr/local/lib/python2.7/compil

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

2011-04-14 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso 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 = 'test.dat' print('Start:', tim

[issue2771] Test issue

2011-04-14 Thread Martin v . Löwis
Changes by Martin v. Löwis : Added file: http://bugs.python.org/file21665/foo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue11844] Update json to upstream simplejson latest release

2011-04-14 Thread Sandro Tosi
New submission from Sandro Tosi : 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 components: Library (Lib) messag

[issue11845] Refcounting error in compute_slice_indices in rangeobject.c

2011-04-14 Thread Daniel Urban
New submission from Daniel Urban : 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 assign to tmp_stop, and

[issue11783] email parseaddr and formataddr should be IDNA aware

2011-04-14 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso 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 added the comment: On Thu, Apr 14, 2011 at 06:05:59PM +, Torsten Becker wrote: > :) Mumble... :) -- ___ Python tracker ___ __

[issue11845] Refcounting error in compute_slice_indices in rangeobject.c

2011-04-14 Thread Dave Malcolm
Changes by Dave Malcolm : -- nosy: +dmalcolm ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[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 : 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 should be possib

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

2011-04-14 Thread Dave Malcolm
Dave Malcolm 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 for them. This mean

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

2011-04-14 Thread Dave Malcolm
Dave Malcolm added the comment: Perhaps should also note that this is done for the purposes of optimization (both speed and memory). -- ___ Python tracker ___ _

[issue11845] Refcounting error in compute_slice_indices in rangeobject.c

2011-04-14 Thread Daniel Stutzbach
Changes by Daniel Stutzbach : -- nosy: +stutzbach ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

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

2011-04-14 Thread Dave Malcolm
Dave Malcolm added the comment: Interpreter idea: " is " could trigger a compatibility warning, perhaps, to help people avoid relying on CPython quirks -- ___ Python tracker __

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

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

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

2011-04-14 Thread Raymond Hettinger
Raymond Hettinger 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 people can rely on: * None, Tru

[issue4537] webbrowser.UnixBrowser should use builtins.open

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

[issue11847] OSError importing antigravity module

2011-04-14 Thread ackounts
New submission from ackounts : 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. >>> import

[issue11847] OSError importing antigravity module

2011-04-14 Thread Santoso Wijaya
Changes by Santoso Wijaya : -- nosy: +santa4nt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue11710] Landing pages in docs for standard library packages

2011-04-14 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

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

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

[issue11710] Landing pages in docs for standard library packages

2011-04-14 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: docs@python -> georg.brandl nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-lis

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

2011-04-14 Thread Graeme Perrow
Changes by Graeme Perrow : -- nosy: +gperrow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

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

2011-04-14 Thread Jack Andrews
Jack Andrews added the comment: > Terry J. Reedy 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 with no patch. i must have stum

[issue828450] sdist generates bad MANIFEST on Windows

2011-04-14 Thread higery
higery 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 create the source distribut

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

2011-04-14 Thread Eli Bendersky
Changes by Eli Bendersky : -- resolution: -> fixed status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[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 : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

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

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

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

2011-04-14 Thread Ezio Melotti
Ezio Melotti 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. pyc file outside of

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

2011-04-14 Thread Roundup Robot
Roundup Robot 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 : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

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

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

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

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

[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 : -- assignee: bob.ippolito -> ezio.melotti resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue11847] OSError importing antigravity module

2011-04-14 Thread Ezio Melotti
Ezio Melotti 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 ./configure && make ./python im

[issue11844] Update json to upstream simplejson latest release

2011-04-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti, fdrake ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue11847] OSError importing antigravity module

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

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

2011-04-14 Thread Brandon W Maister
New submission from Brandon W Maister : The comment just before the random.betavariate method reads in part: ## See ## http://sourceforge.net/bugs/?func=detailbug&bug_id=130030&group_id=5470 ## for Ivan Frohne's insightful analysis of why the original implementation: ## (snip original implementa

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

2011-04-14 Thread Ezio Melotti
Ezio Melotti added the comment: See http://mail.python.org/pipermail/python-bugs-list/2001-January/003753.html -- nosy: +ezio.melotti ___ Python tracker ___

[issue11845] Refcounting error in compute_slice_indices in rangeobject.c

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

[issue11845] Refcounting error in compute_slice_indices in rangeobject.c

2011-04-14 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! -- assignee: -> ezio.melotti nosy: +ezio.melotti resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker

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

2011-04-14 Thread Roundup Robot
Roundup Robot 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 link in random.bet

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

2011-04-14 Thread Ezio Melotti
Ezio Melotti added the comment: I replaced the link, thanks for noticing it! -- assignee: -> ezio.melotti resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker

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

2011-04-14 Thread Brandon W Maister
Brandon W Maister added the comment: Oh, awesome, thanks! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue11787] File handle leak in TarFile lib

2011-04-14 Thread Ezio Melotti
Ezio Melotti added the comment: Attached trivial patch to fix the issue. Needs tests. -- keywords: +easy, patch nosy: +ezio.melotti stage: -> test needed Added file: http://bugs.python.org/file21668/issue11787.diff ___ Python tracker