[issue10911] cgi: add more tests

2011-02-04 Thread Pierre Quentel
Pierre Quentel added the comment: I opened issue #11066 for the code refactoring -- ___ Python tracker ___ ___ Python-bugs-list maili

[issue9364] some problems with the documentation of pydoc

2011-02-04 Thread Eli Bendersky
Eli Bendersky added the comment: Éric - your suggestions look good to me. The correspondence with Terry was on July 16th, 2010 - maybe he can remember which thread in pydev it was exactly. -- ___ Python tracker

[issue11119] Passing a socket to a process (multiprocessing module)

2011-02-04 Thread R. David Murray
Changes by R. David Murray : -- components: +Library (Lib) -None nosy: +asksol, jnoller type: crash -> behavior ___ Python tracker ___ ___

[issue11109] socketserver.ForkingMixIn leaves zombies

2011-02-04 Thread Justin
Justin added the comment: I guess I didn't really explain the issue much. The problem is that if the server receives say, 10 requests at once, and then forks a process for each, after those processes finish they will sit as zombies until process_request() is called again, which calls collect_

[issue11077] Tkinter is not thread safe

2011-02-04 Thread Christoph Gohlke
Changes by Christoph Gohlke : -- nosy: +cgohlke ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue7074] Turtle module crashes python

2011-02-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is not a duplicate because this issue is about the stdlib turtle module doing something wrong and needing to be fixed. Also, this issue does not involve threads, at least none that I starting. "It is not safe to call graphic primitives in event callbacks

[issue11116] mailbox and email errors

2011-02-04 Thread R. David Murray
R. David Murray added the comment: Again, can you provide example input data and a short program that demonstrates the problem? There's nothing I can reproduce in your report/question. As far as I noticed, the caught exceptions all occur at places where no output has yet been done to the m

[issue11085] expose _abcoll as collections.abc

2011-02-04 Thread Éric Araujo
Éric Araujo added the comment: Okay, I plead guilty of premature implementation talk. The clean solution is just moving collections.py to collections/__init__.py and _abcoll.py to collections/abc.py, but I will defer to Raymond here. -- ___ Python

[issue11103] Python 3.2 installer doesn't register file extensions on Windows 7

2011-02-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: On my winxp system, 'open' opens with notepad, perhaps because I set that several years ago. I would like the installer to change that (and not change other stuff that it does change ;-). The 'open with' submenu does include idle. -- nosy: +loewis, t

[issue1252236] Simplying Tkinter's event loop

2011-02-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: See 11077 for motivation for reopening. -- nosy: +terry.reedy ___ Python tracker ___ ___ Python-b

[issue11096] Multiple turtle tracers

2011-02-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: 2.6 is only open for security fixes. In 3.x "The methods Turtle.tracer(), Turtle.window_width() and Turtle.window_height() have been eliminated. Methods with these names and functionality are now available only as methods of Screen." So it seems that perhaps

[issue7108] test_commands.py failing on OS X 10.5.7 due to '@' in ls output

2011-02-04 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue11085] expose _abcoll as collections.abc

2011-02-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Regarding the implementation, knowing your reluctance to turn modules > into packages, I guess you’re talking about exposing collections.abc in > a similar manner to os.path, which is fine IMO. That makes things confusing: >>> import os.path >>> os.path.__n

[issue10956] file.write and file.read don't handle EINTR

2011-02-04 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: -> pitrou nosy: +neologix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue9504] signal.signal/signal.alarm not working as expected

2011-02-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Sorry, bad analysis. The patch in issue10956 only seemed to work because my system is too fast and "find /" in the script returned in less than 5 seconds. Replacing it with "yes" shows that the two issued are actually independent. -- resolution: dupli

[issue11085] expose _abcoll as collections.abc

2011-02-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: However done, I would prefer separation also. -- nosy: +terry.reedy ___ Python tracker ___ ___ Pyth

[issue11077] Tkinter is not thread safe

2011-02-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: 'Thread' is not found in the somewhat skimpy tkinter doc. Given the general state of Python with threads, I think it reasonable to take 'not thread-safe' as the default, making this a feature request. In any case, the point is moot until there is a tested fix

[issue10956] file.write and file.read don't handle EINTR

2011-02-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: I hadn't noticed that issue9504 is similar. The patch there does less things, although it also touches FileIO.readall(). -- ___ Python tracker ___

[issue9504] signal.signal/signal.alarm not working as expected

2011-02-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: It seems that my patch for issue10956 also fixes this issue (although it doesn't try to fix FileIO). It also has tests and fixes read() as well as write(). I'm sorry for not noticing that the two issues were so similar. Suggest closing this issue as duplicate

[issue11122] bdist_rpm fails

2011-02-04 Thread Éric Araujo
Éric Araujo added the comment: > Would it be okay for you to add a note in the docs and close this report? I meant to ask whether you would agree with that outcome, not that you should do the work (you’re welcome to provide a patch if you want to, but that’s not required). -- __

[issue11122] bdist_rpm fails

2011-02-04 Thread Éric Araujo
Éric Araujo added the comment: This is a gray area between bugfix and bahavior change forbidden by the feature freeze. Would it be okay for you to add a note in the docs and close this report? -- versions: +Python 3.1, Python 3.2, Python 3.3 ___ P

[issue9723] Add shlex.quote

2011-02-04 Thread Éric Araujo
Éric Araujo added the comment: A note from Ian Bicking in http://mail.python.org/pipermail/stdlib-sig/2010-May/000948.html: > I've had to do this sort of thing for similar reasons, like calling remote > ssh commands, where a shell command is embedded in a positional argument. I > implemented

[issue11126] Wave.py does not always write proper length in header

2011-02-04 Thread jtidman
New submission from jtidman : wave.py does not always honor the sampwidth setting, especially on little endian machines. If sampwidth is not one and big_endian is not set, then datawritten will not be muliplied by sampwidth, causing the header to be incorrect, and the file to appear to contai

[issue11125] csv documentation should not use open() without close()

2011-02-04 Thread Éric Araujo
Éric Araujo added the comment: Agreed. I have to take some time to update my patch on the other bug. Hope you won’t mind me closing this one as duplicate. -- nosy: +eric.araujo resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> Use with sta

[issue6958] Add Python command line flags to configure logging

2011-02-04 Thread Éric Araujo
Éric Araujo added the comment: I think Antoine’s envvar idea was a good one, similar to PYTHONWARNINGS. -- nosy: +eric.araujo ___ Python tracker ___ _

[issue11125] csv documentation should not use open() without close()

2011-02-04 Thread Eric Smith
New submission from Eric Smith : Many places open() is shown as a parameter to a csv method, but close() can't be called. This is not a practice we should be advocating. Better would be to show a 'with' statement, or at least a note explaining this isn't an ideal usage. -- assignee: d

[issue7108] test_commands.py failing on OS X 10.5.7 due to '@' in ls output

2011-02-04 Thread Stephen Hansen
Stephen Hansen added the comment: I can confirm that this test has been failing on my slave, and that the patch fixes it. Recommend commit. Red is bad. -- assignee: -> ronaldoussoren components: +Macintosh nosy: +ixokai, ronaldoussoren ___ Python t

[issue11124] test_posix failure on the Leopard buildbot

2011-02-04 Thread Stephen Hansen
Stephen Hansen added the comment: This is just http://bugs.python.org/issue7900 all over again. In the meantime, I restarted the buildslave and re-submitted the jobs so the failures should go away. (I still advocate that the test is fundamentally wrong/flawed on Mac and should be disabled at

[issue11111] See "Gmail" on your Google homepage

2011-02-04 Thread Éric Araujo
Changes by Éric Araujo : -- Removed message: http://bugs.python.org/msg127856 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue11111] See "Gmail" on your Google homepage

2011-02-04 Thread Éric Araujo
Changes by Éric Araujo : Removed file: http://bugs.python.org/file20671/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue11124] test_posix failure on the Leopard buildbot

2011-02-04 Thread Antoine Pitrou
New submission from Antoine Pitrou : test_posix has started failing deterministically on the Leopard buildbot. Stephen, did you change something in its configuration? http://www.python.org/dev/buildbot/all/builders/AMD64%20Leopard%203.x/builds/786/steps/test/logs/stdio ===

[issue11123] problem with packaged dependency extracter script, pdeps

2011-02-04 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: This script is indeed unusable. Here is a proper patch file, tested by running it on a few files. -- keywords: +patch nosy: +amaury.forgeotdarc Added file: http://bugs.python.org/file20681/pdeps.patch ___ Pyth

[issue11122] bdist_rpm fails

2011-02-04 Thread Eric Smith
Eric Smith added the comment: "rpm -ba" is very old. I think it's been at least since 2002 that "-ba" was supported by rpm. I believe bdist_rpm is calling "rpmbuild -ba", and if that doesn't exist, then "rpm -ba" is a transition strategy until all systems supported "rpmbuild". This transitio

[issue11123] problem with packaged dependency extracter script, pdeps

2011-02-04 Thread $$Coffeepot$$
New submission from $$Coffeepot$$ : This bug concerns the pdeps script, \Tools\Scripts\pdeps.py. This script opens a list of files and extracts a list of their inter-dependencies. I'm running Python 3.1.1 on Windows XP, installed via binary installer, but have confirmed that the bug is presen

[issue11076] Iterable argparse Namespace

2011-02-04 Thread Steven Bethard
Steven Bethard added the comment: What's wrong with `vars(args)`? That's the standard way of getting a dict from an object, no? Note that you're not always guaranteed to get a Namespace back (e.g. if you pass the namespace= argument to parse_args), and I'd generally like to keep Namespace as

[issue11122] bdist_rpm fails

2011-02-04 Thread Éric Araujo
Éric Araujo added the comment: What is your OS name and version? Is that rpm version considered obsolete or not? -- ___ Python tracker ___

[issue11122] bdist_rpm fails

2011-02-04 Thread James
James added the comment: In the source for distutils it seems to attempt to use 'rpmbuild' if it exists, but otherwise falls back on regular 'rpm', however in my rpm: $ rpm --version RPM version 4.8.1 this fails as there is no -ba option. James -- __

[issue11122] bdist_rpm fails

2011-02-04 Thread Éric Araujo
Éric Araujo added the comment: Does this mean that there is one rpm command that does not have all options, and that rpm-build overwrites that command with another one that does the right thing? -- ___ Python tracker

[issue11122] bdist_rpm fails

2011-02-04 Thread James
New submission from James : Hi distutils, When I run: ./setup.py bdist --formats=rpm on my source directory, I get the error: rpm -ba --define _topdir /home/james/code/scantran/build/bdist.linux-x86_64/rpm --clean build/bdist.linux-x86_64/rpm/SPECS/scantran.spec -ba: unknown option error: co

[issue11116] mailbox and email errors

2011-02-04 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: However, as a last peep from me before i'll burn to ashes, and now with all fresh Python 3.2rc2+ all through, i do want to ask a question. I'm still not finished with my broken thing, so the usual exception still occurs in respect to the malformed spa

[issue11121] libpython3.so support with --enable-shared

2011-02-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Looks good to me. -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue11067] Py_LIMITED_API breaks most PySomething_Check() functions

2011-02-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: The doc needs a versionadded attribute. Otherwise, looks good to me. -- nosy: +pitrou resolution: -> accepted stage: -> commit review ___ Python tracker

[issue11110] Py_DECREF->Py_XDECREF in Module/_sqlite/module.c

2011-02-04 Thread Brett Cannon
Brett Cannon added the comment: py3k: r88337 3.1: 88339 2.7 (blocked): 88338 -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker __

[issue11104] distutils sdist ignores MANIFEST

2011-02-04 Thread Éric Araujo
Éric Araujo added the comment: I didn’t mean to imply you had to, I just asked if you wanted to. Reporting the bug is a valuable contribution indeed, I’ll take over for the rest. -- ___ Python tracker __

[issue10271] warnings.showwarning should allow any callable object

2011-02-04 Thread Brett Cannon
Brett Cannon added the comment: Not for 3.2.0, no as it's such a minor "fix". Chance this can go into 3.2.1, though. Definitely for 3.3. -- ___ Python tracker ___ _

[issue11102] configure doesn't find "major()" on HP-UX v11.31

2011-02-04 Thread Oren Held
Oren Held added the comment: Just a small note: after this patch applied, building Python 2.7.1 was successful on Linux (SLES 11, RHEL 5, Ubuntu 10.10), Solaris 10, and HP-UX 11 v3. (I didn't get to build Python on other platforms) -- ___ Python tr

[issue11114] TextIOWrapper.tell extremely slow

2011-02-04 Thread Laurens
Laurens <3.14159265...@xs4all.nl> added the comment: All, thanks for your help. Opening the file in binary mode worked immediately in the toy program (that is, the benchmark code I sent you). (Antoine, thanks for the hint.) In my real world program, I solved the problem by reading a line from

[issue11121] libpython3.so support with --enable-shared

2011-02-04 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever, georg.brandl versions: +Python 3.2 ___ Python tracker ___ ___ Pyt

[issue11114] TextIOWrapper.tell extremely slow

2011-02-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: New patch also optimizing the C version. tell() can be more than 100x faster now (still much slower than binary tell()). -- stage: needs patch -> patch review Added file: http://bugs.python.org/file20680/textiotell2.patch _

[issue11086] add lib2to3/__main__.py

2011-02-04 Thread Brett Cannon
Brett Cannon added the comment: Yeah, probably some little mention in the docs. -- ___ Python tracker ___ ___ Python-bugs-list mailin

[issue11121] libpython3.so support with --enable-shared

2011-02-04 Thread Martin v . Löwis
New submission from Martin v. Löwis : When configuring r88333 with --enable-shared, the error message ./configure: line 4924: test: ==: unary operator expected is produced. The attached patch fixes the problem. -- files: pydebug.diff keywords: patch messages: 127931 nosy: loewis priori

[issue9207] multiprocessing occasionally spits out exception during shutdown (_handle_workers)

2011-02-04 Thread Matthew Walker
Matthew Walker added the comment: Oh, and the stack trace was identical to Greg's: $ ./test.py I am process number 10378 : i = 0 [...] I am process number 10390 : i = 9 [0, 1, 4, 9, 16, 25, 36, 49, 64, 81] Exception in thread Thread-1 (most likely raised during interpreter shutdown): Traceback

[issue9207] multiprocessing occasionally spits out exception during shutdown (_handle_workers)

2011-02-04 Thread Matthew Walker
Matthew Walker added the comment: It looks to me as if this issue has already been pretty much sorted out already. Maybe all it lacks is to be officially closed, but just in case I just wanted to add that I too saw this bug (stock python 2.7, Ubuntu 10.04 64 bit). My example code was: #!/u

[issue11116] mailbox and email errors

2011-02-04 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: I thought about it. It's worse. You did a good job and i was not even able to create symlinks the way it should have been done. This is a real shame - for me. -- ___ Python tracker

[issue11120] threading.Thread.daemon Documentation Incomplete

2011-02-04 Thread cardinalbiggles
New submission from cardinalbiggles : In the threading module, the documentation for Thread.isDaemon()/Thread.setDaemon() indicates they are the old API for Thread.daemon, which does not indicate the version in which it was introduced (2.6 I believe). Additionally, the documentation for Thre

[issue11063] uuid.py module import has heavy side effects

2011-02-04 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue11074] fix tokenize so it can be reloaded

2011-02-04 Thread Éric Araujo
Éric Araujo added the comment: LGTM. -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue11116] mailbox and email errors

2011-02-04 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: Dear RDM, now i'm really ashamed. To be absolutely sure that i am up-to-date if diff'd and found that test_mailbox.py contained a sys.exit(1) i've inserted this - it was the lunch break, really! Forget everything i've posted. Please close this. Sham

[issue11067] Py_LIMITED_API breaks most PySomething_Check() functions

2011-02-04 Thread Martin v . Löwis
Martin v. Löwis added the comment: Here is the patch I'd like to add to 3.2: this adds PyType_GetFlags, so that the fast checks remain available. -- nosy: +georg.brandl priority: normal -> release blocker Added file: http://bugs.python.org/file20678/tp_flags.diff _

[issue11116] mailbox and email errors

2011-02-04 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: P.S.: it's that messed UNIX with the nice user-experience *G*UI. And the __pycache__ files state 'cpython-32'. -- ___ Python tracker

[issue11119] Passing a socket to a process (multiprocessing module)

2011-02-04 Thread pen hill
New submission from pen hill : When I run the following listing (server_multi.py) by using multiprocessing module of python, it runs successfully on a Linux machine. However, on a 64-bit windows machine I get the following error: pickle.PicklingError: Can't pickle : it's not found as __main__

[issue11116] mailbox and email errors

2011-02-04 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: You're right, the python3 executable is indeed 20:05 ~/tmp $ python3 -V Python 3.2rc1+ The relevant .py files (mailbox.py, email/*.py, (email/mime/*.py), test/test_mailbox.py are symlinked to the repo files. (And, different to this morning - sorry, *s

[issue11118] Fix python3 None export

2011-02-04 Thread Martin v . Löwis
Martin v. Löwis added the comment: Thanks for the quick review. Committed as r88333. -- resolution: -> accepted status: open -> closed ___ Python tracker ___ __

[issue11118] Fix python3 None export

2011-02-04 Thread Georg Brandl
Georg Brandl added the comment: Me too. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue11118] Fix python3 None export

2011-02-04 Thread Brian Curtin
Brian Curtin added the comment: Looks fine to me. -- nosy: +brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue11050] email.utils.getaddresses behavior contradicts RFC2822

2011-02-04 Thread Glenn Linderman
Changes by Glenn Linderman : -- nosy: +v+python ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue11118] Fix python3 None export

2011-02-04 Thread Martin v . Löwis
New submission from Martin v. Löwis : The None export of python3.dll is bogus; attached is a fix. This also regenerates python3stub.def, which contained some exports that had already been deleted from python3.def. -- files: none.diff keywords: patch messages: 127917 nosy: georg.brandl,

[issue11076] Iterable argparse Namespace

2011-02-04 Thread Éric Araujo
Éric Araujo added the comment: Nice idea indeed, thanks for the patch. For the doc section, I’d prefer to de-emplasize the specific use case of **kwargs, in favor of mentioning dict conversion in a general way: Converting the namespace to a dict ^^ Nam

[issue11114] TextIOWrapper.tell extremely slow

2011-02-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Here is a proof-of-concept patch for the pure Python version of > TextIOWrapper.tell(). It turns the O(CHUNK_SIZE) operation into an > O(1) operation most of time (still O(CHUNK_SIZE) worst-case - weird > decoders and/or crazy input). Actually, that's wrong.

[issue11114] TextIOWrapper.tell extremely slow

2011-02-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a proof-of-concept patch for the pure Python version of TextIOWrapper.tell(). It turns the O(CHUNK_SIZE) operation into an O(1) operation most of time (still O(CHUNK_SIZE) worst-case - weird decoders and/or crazy input). -- keywords: +patch A

[issue11085] expose _abcoll as collections.abc

2011-02-04 Thread Éric Araujo
Éric Araujo added the comment: Seems a good idea to me. Regarding the implementation, knowing your reluctance to turn modules into packages, I guess you’re talking about exposing collections.abc in a similar manner to os.path, which is fine IMO. -- nosy: +eric.araujo ___

[issue11086] add lib2to3/__main__.py

2011-02-04 Thread Éric Araujo
Éric Araujo added the comment: +1. Not sure this needs unit tests; I suppose you plan to add a note to the docs. -- nosy: +eric.araujo ___ Python tracker ___ _

[issue11090] Doc errors for unittest in Python 3.1

2011-02-04 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +docs@python ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue11101] plistlib has no graceful way of handing None values

2011-02-04 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +jvr, ronaldoussoren ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue11113] html.entities mapping dicts need updating?

2011-02-04 Thread Éric Araujo
Éric Araujo added the comment: Agreed with Martin. I wonder if we should provide a means to use only HTML 4.01 entity references (say with a function parameter html5 defaulting to True) or we should just update the mapping. -- nosy: +eric.araujo stage: -> needs patch versions: +Pyth

[issue3367] Uninitialized value read in parsetok.c

2011-02-04 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- assignee: georg.brandl -> belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue3367] Uninitialized value read in parsetok.c

2011-02-04 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Fri, Feb 4, 2011 at 11:35 AM, Georg Brandl wrote: >.. But seeing the history of this case, I don't want to play around here >before 3.2 final. Here is my understanding of the history of this case: tmp1.patch was applied in r65539 and reverted in r6

[issue11060] distutils2 sdist does not complain about version that is not PEP 386 compliant

2011-02-04 Thread Éric Araujo
Éric Araujo added the comment: Strange, the regex comes straight from the PEP, which has had careful review. It must be somewhere else in the code. Would you like to work on a patch, or a test first? We have to find out if sdist is responsible, or metadata, or version, etc. -- key

[issue11061] Verify command option before parsing config file

2011-02-04 Thread Éric Araujo
Changes by Éric Araujo : -- type: behavior -> performance ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue11061] Verify command option before parsing config file

2011-02-04 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: -> rejected stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___ P

[issue9364] some problems with the documentation of pydoc

2011-02-04 Thread Ron Adam
Changes by Ron Adam : -- nosy: +ron_adam ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue11114] TextIOWrapper.tell extremely slow

2011-02-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: > opening file binary has a dramatic effect as well, I would say. After 2 > minutes I stopped execution of the program Hint: b'' is not equal to '' ;) -- ___ Python tracker

[issue11114] TextIOWrapper.tell extremely slow

2011-02-04 Thread Laurens
Laurens <3.14159265...@xs4all.nl> added the comment: First of all, thanks to all for your cooperation, it is very much appreciated. I made some minor changes to the benchmark program. Conclusions are: * setting file._CHUNK_SIZE to 20 has a dramatic effect, changing execution time in 3.2rc2 fr

[issue3367] Uninitialized value read in parsetok.c

2011-02-04 Thread Georg Brandl
Georg Brandl added the comment: No need to bump the version, it can go into 3.2.1. But seeing the history of this case, I don't want to play around here before 3.2 final. -- ___ Python tracker ___

[issue10736] test_ttk_guionly fails on OS X using ActiveState Tcl 8.5.9 (Cocoa)

2011-02-04 Thread Georg Brandl
Georg Brandl added the comment: I would prefer just letting the tests fail. Disabled tests are usually forgotten, and never re-enabled. -- ___ Python tracker ___ _

[issue11082] ValueError: Content-Length should be specified

2011-02-04 Thread Georg Brandl
Georg Brandl added the comment: Then let us do that. Senthil, what about urlencode of bytes values returning a str? -- ___ Python tracker ___ __

[issue11110] Py_DECREF->Py_XDECREF in Module/_sqlite/module.c

2011-02-04 Thread Georg Brandl
Georg Brandl added the comment: Either one of these fixes (I prefer Brett's since it's shorter) should make it into 3.2. -- ___ Python tracker ___ _

[issue11117] Implementing Async IO

2011-02-04 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue10891] Tweak sorting howto to eliminate redundancy

2011-02-04 Thread Georg Brandl
Georg Brandl added the comment: I do think that "list.sort() method of a list" is a bit too much. -- nosy: +georg.brandl ___ Python tracker ___ _

[issue11114] TextIOWrapper.tell extremely slow

2011-02-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: That said, I think it is possible to make algorithmic improvements to TextIOWrapper.tell() so that at least performance becomes acceptable. -- stage: -> needs patch title: file.tell extremely slow -> TextIOWrapper.tell extremely slow type: -> perform

[issue10994] implementation details in sys module

2011-02-04 Thread Armin Rigo
Armin Rigo added the comment: Martin: I kind of agree with you, although I guess that for pratical reasons if you don't have a reasonable sys.getsizeof() implementation then it's better to raise TypeError than return 0 (like CPython, which may raise "TypeError: Type %.100s doesn't define __si

[issue11117] Implementing Async IO

2011-02-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: >From the python-dev thread: http://mail.python.org/pipermail/python-dev/2010-October/104782.html “os._exit is useful. os.open is useful. aio_* are *not* useful. For anything. If there's anything you think you want to use them for, you're wrong. It either wo

[issue11117] Implementing Async IO

2011-02-04 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue11117] Implementing Async IO

2011-02-04 Thread Jesús Cea Avión
New submission from Jesús Cea Avión : This issue is a placeholder for exposing Async IO thru Python. The relevant mail thread is at: http://mail.python.org/pipermail/python-dev/2010-October/104770.html Relevant resources: http://feedproxy.google.com/~r/Wwwc0t0d0s0org/~3/snM0BJ8evv4/7147-Sync

[issue11082] ValueError: Content-Length should be specified

2011-02-04 Thread Senthil Kumaran
Senthil Kumaran added the comment: For this particular issue, I think, it is good idea to disallow str explicitly, instead of letting it go through the Iterable and raise a ValueError with a different message. -- ___ Python tracker

[issue11082] ValueError: Content-Length should be specified

2011-02-04 Thread William Wu
William Wu added the comment: So, what's the decision to be taken? I'm willing to provide patches (if I need to), but I need to know *the reasonable behaviors*. :) -- ___ Python tracker __

[issue11104] distutils sdist ignores MANIFEST

2011-02-04 Thread John Dennis
John Dennis added the comment: No, I don't think I'm going to turn the tarball into a unit test, etc. I didn't break the code but I did report the problem, researched the history, provided a clear explanation, a reproducer and a patch to fix the problem. I think I've done my part as a communi

[issue11114] file.tell extremely slow

2011-02-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: That's expected. seek() and tell() on text (unicode) files are slow by construction. You should open your file in binary mode instead, if you want to do any seeking. Maybe I should add a note in http://docs.python.org/dev/library/io.html#performance ---

[issue11114] file.tell extremely slow

2011-02-04 Thread DSM
DSM added the comment: (By "go away" I mean "stop being pathological", not "stop differing": I still see a factor of 2.) -- ___ Python tracker ___ _

[issue11114] file.tell extremely slow

2011-02-04 Thread DSM
DSM added the comment: With a similar setup (OS X 10.6) I see the same problem. It seems to go away if the file is opened in binary mode for reading. @Laurens, can you confirm? -- nosy: +dsm001 ___ Python tracker

  1   2   >