[issue9281] Race condition in distutils.dir_util.mkpath()

2010-07-16 Thread Arfrever Frehtes Taifersar Arahesis
New submission from Arfrever Frehtes Taifersar Arahesis : distutils.dir_util.mkpath() is used to create a directory and is supposed to not fail when this directory already exists. There's a chance that another process will create this directory between os.path.isdir() check and call to os.mkdi

[issue9280] sharedinstall target doesn't depend on sharedmods target

2010-07-16 Thread Arfrever Frehtes Taifersar Arahesis
New submission from Arfrever Frehtes Taifersar Arahesis : altinstall target depends on libinstall target, which depends on build_all target, which depends on sharedmods target. altinstall target also depends on sharedinstall target. Both sharedmods and sharedinstall targets call setup.py. This

[issue728815] test_timeout updates

2010-07-16 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- superseder: -> test_timeout refactoring ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue5180] 3.1 cannot unpickle 2.7-created pickle

2010-07-16 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Antoine said on IRC that he is ok with the latest approach. Does anyone want to review the patch before it goes in? -- resolution: -> accepted stage: patch review -> commit review ___ Python tracker

[issue9079] Make gettimeofday available in time module

2010-07-16 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: It turns out I misunderstood how date.today() worked [1] and issue9079.diff introduced significant change in behavior. Bringing timeofday into core rather than _time.c also introduced several complications. As a result it makes sense to start with jus

[issue1555570] email parser incorrectly breaks headers with a CRLF at 8192

2010-07-16 Thread R. David Murray
R. David Murray added the comment: Committed Tony Nelson's fix to py3k in r82922, 3.1 in r72923, 2.7 in r82924, and 2.6 in r82925. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed versions: +Python 2.6 ___ Py

[issue1677872] Efficient reverse line iterator

2010-07-16 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: > The OP has done everything asked of him. Not quite. He split out the documentation part of his patch and it was accepted and committed. Guido raised an issue with the code. OP raised more questions. The code was never updated. Now the patch is ou

[issue1677872] Efficient reverse line iterator

2010-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: The OP has done everything asked of him. There are a lot of positive comments about this request. Snag is the patch is in python, I understand that io is now written in C. Could we at this late stage get this into 3.2, or even a minor release of 3.2, or wil

[issue1677694] test_timeout refactoring

2010-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: The patch is purely a change to unit test code involving sockets, anyone with experience of these who could review the patch? -- nosy: +BreamoreBoy versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker

[issue9227] can't import Tkinter / use IDLE after installing Python 2.7 on Mac OS X

2010-07-16 Thread Ned Deily
Ned Deily added the comment: Note that in the interim, there is a workaround for Snow Leopard users who want to use IDLE or Tkinter: use the 32-bit-only 2.7 OS X installer ("10.3") instead. -- nosy: +ned.deily ___ Python tracker

[issue1676820] Add a PeriodicTimer to threading

2010-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: msg52115 "Looks fine to me". The code change is small, the rest of the patch is doc changes or unit tests, could someone run with this? -- nosy: +BreamoreBoy versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python

[issue1673007] urllib2 requests history + HEAD support

2010-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: Seems to be +1 for HEAD, -1 for history, keyword says easy so should be feasable for 3.2. :) -- nosy: +BreamoreBoy versions: -Python 2.7 ___ Python tracker

[issue9274] code.InteractiveInterpreter fails to change locals when invoked in a function

2010-07-16 Thread Eric Promislow
Eric Promislow added the comment: David, that won't work for a reason I'll get into in a bit. I would drop the priority of this ... Komodo has a had a Python debugger since late 2000, we only fixed updating variables while debugging (using the variable viewer) yesterday, and received fewer than

[issue1672568] silent error in email.message.Message.get_payload

2010-07-16 Thread R. David Murray
R. David Murray added the comment: No, it's not a bug if it is working as documented. (Well, it might be a design bug, but fixes to those are called "feature requests" :) We're planning on addressing this is email6, by the way. I'm OK with trying to get this into 3.2, but I'll be giving high

[issue9274] code.InteractiveInterpreter fails to change locals when invoked in a function

2010-07-16 Thread R. David Murray
R. David Murray added the comment: Well, you could discuss that possibility on python-dev, I suppose. As long as you don't need the changes to persist outside of the debugging loop, you can use InteractiveInterpreter as designed and keep passing it the same (modified) dict every time, as was

[issue9274] code.InteractiveInterpreter fails to change locals when invoked in a function

2010-07-16 Thread Eric Promislow
Eric Promislow added the comment: Thanks for the response. Note that our use case *is* to implement Python-console functionality, but sometimes we do this in the context of a currently running Python program, inside a function. That's why I wrote the repro that way. Using code.InteractiveInter

[issue9274] code.InteractiveInterpreter fails to change locals when invoked in a function

2010-07-16 Thread R. David Murray
R. David Murray added the comment: locals() does not give you a copy of the locals dictionary that you can modify and expect the values to affect the actual locals they were copied from. This is documented: http://docs.python.org/library/functions.html#locals You would need to pass Interact

[issue1672568] silent error in email.message.Message.get_payload

2010-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: To me a bug is a bug is a bug, but I'm sure there are different opinions so feel free to swap this back to feature request if you think that fits. I'll try and have a crack at this tomorrow. -- nosy: +BreamoreBoy type: feature request -> behavior vers

[issue1659410] Minor AST tweaks

2010-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: Collin, are you in a position where you could take this issue forward? -- nosy: +BreamoreBoy versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker

[issue1654367] [PATCH] Debuggers need a way to change the locals of a frame

2010-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: Fabio, could you please supply a patch as requested by Martin in msg55004? Also note Armin's comments in msg55005. -- nosy: +BreamoreBoy ___ Python tracker

[issue1650090] doctest doesn't find nested functions

2010-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: I believe that there could be interest in this, has anyone taken over doctest from tim_one? -- assignee: tim_one -> nosy: +BreamoreBoy type: performance -> behavior versions: +Python 3.2 ___ Python tracker

[issue1617161] Instance methods compare equal when their self's are equal

2010-07-16 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I believe "Confirmed in trunk and py3k." means that the issue was verified to exist in trunk and py3k branches at the time of the message. -- ___ Python tracker _

[issue1648268] Parameter list mismatches (portation problem)

2010-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: It appears that in principle this patch is acceptable but I believe that it will need pretty thorough checking from a core developer before going anywhere. It's certainly not in my league, anyone up for it? -- nosy: +BreamoreBoy versions: +Python 2.7,

[issue1615158] POSIX capabilities support

2010-07-16 Thread Stefan Krah
Changes by Stefan Krah : -- nosy: +skrah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue9079] Make gettimeofday available in time module

2010-07-16 Thread Reid Kleckner
Reid Kleckner added the comment: I'd really rather not try to rely module loading from a threading primitive. :) I think if you follow Antoine's suggestion of adding _PyTime_Init (which does nothing in the body other than a comment) it should work fine. -- __

[issue1621421] normalize namespace from minidom

2010-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: msg51609 doesn't seem too enthusiastic about the patch. msg84599 states unit tests are provided and #1371937 is fixed. Can we have a definitive statement as to whether the patch is acceptable or not. -- nosy: +BreamoreBoy versions: +Python 3.2 _

[issue9222] IDLE: Fix open/saveas 'Files of type' choices

2010-07-16 Thread Guilherme Polo
Guilherme Polo added the comment: I was thinking of issue4832. The patch provided here seems fine to me, although the behavior remains the same in Mac. -- ___ Python tracker ___

[issue9278] rename 2to3 & pydoc to 2to3.py & pydoc.py

2010-07-16 Thread R. David Murray
R. David Murray added the comment: That's because, unlike the other tools, they actually get installed as commands. -- nosy: +benjamin.peterson, r.david.murray resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tr

[issue1617161] Instance methods compare equal when their self's are equal

2010-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: msg84597 is ambiguous. At first readng I thought it meant "the patches have been committed to trunk and py3k". Second time I think it means "yes this is still a problem". What is the status? -- nosy: +BreamoreBoy ___

[issue1615158] POSIX capabilities support

2010-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: Matt Kern has put a lot of work into the attached patches from what I can see. Common courtesy suggests that someone make an effort to review his work which now can only go into 3.2. I would take it on myself but know nothing about POSIX and still find the P

[issue9079] Make gettimeofday available in time module

2010-07-16 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Reid, I am leaning towards reverting to Plan A (issue9079.diff). Would your use case be served well by a _time module exposing C API via a capsule? This what datetime does currently. -- ___ Python tracker

[issue9079] Make gettimeofday available in time module

2010-07-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Jeff Yasskin says you should create a noop function in your object > file and call it from PyMain for force linkage of the object file > you're building. Indeed, something like _PyTime_Init(). I don't think Modules/python.c is a good place though, since it me

[issue9079] Make gettimeofday available in time module

2010-07-16 Thread Reid Kleckner
Reid Kleckner added the comment: Right, it's one of the peculiarities of archive files (I think). When none of an object file's symbols are used from the main program, the object file is dropped on the floor, ie not included. This has bizarre consequences in C++ with static initializers, wh

[issue9222] IDLE: Fix open/saveas 'Files of type' choices

2010-07-16 Thread Guilherme Polo
Guilherme Polo added the comment: I remember about another issue regarding extensions and save-as/open dialog boxes. Let me try to find it, just to be sure that the problem described here is different. -- ___ Python tracker

[issue1613500] Write mode option for fileinput module.

2010-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: This looks like a sizeable patch but the bulk of the changes are to test_fileinput.py. Assigning to myself to take forward, I've got to start sometime. Before I really start moving are there any basic objections to either the original proposal or me having a

[issue9279] get rid of pdb.doc

2010-07-16 Thread Georg Brandl
New submission from Georg Brandl : Put it into pdb.__doc__ instead. -- assignee: georg.brandl components: Library (Lib) keywords: easy messages: 110505 nosy: georg.brandl priority: normal severity: normal status: open title: get rid of pdb.doc versions: Python 3.2 __

[issue9278] rename 2to3 & pydoc to 2to3.py & pydoc.py

2010-07-16 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: (Same for pydoc) -- title: rename 2to3 to 2to3.py -> rename 2to3 & pydoc to 2to3.py & pydoc.py ___ Python tracker ___ __

[issue9278] rename 2to3 to 2to3.py

2010-07-16 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : C:\>c:\Python26\Tools\scripts\2to3 'c:\Python26\Tools\scripts\2to3' is not recognized as an internal or external command, operable program or batch file. All other scripts in Tools\scripts directory have .py extension. Only 2to3 doesn't. -- com

[issue1573931] WSGI, cgi.FieldStorage incompatibility

2010-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: Practicality beats purity? The patch contains an enhancement to the unit test for cgi. Provided this gets past regrtest on all platforms why can't we go for it? -- nosy: +BreamoreBoy ___ Python tracker

[issue1569291] Speed-up in array_repeat()

2010-07-16 Thread Georg Brandl
Georg Brandl added the comment: Uh, this slipped under my radar. Let's see if I get the chance to look at it at the core sprint next week. -- ___ Python tracker ___

[issue1569291] Speed-up in array_repeat()

2010-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: There are lots of positive comments on this issue, please can core developers take a bit of time to have a look and say yes or no. -- nosy: +BreamoreBoy versions: +Python 2.7, Python 3.2 -Python 2.6 ___ Python tracke

[issue1555570] email parser incorrectly breaks headers with a CRLF at 8192

2010-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: There are repeated statements that this impacts on Django which I understand is high profile. Can we find the resources to review the patches and get things moving, none of the attached patch files are that large? -- nosy: +BreamoreBoy versions: +Pyth

[issue9079] Make gettimeofday available in time module

2010-07-16 Thread Mark Dickinson
Mark Dickinson added the comment: > Hmm, after thinking about it, what happens is that the C object file is > not used at all, so it's probably optimized away by the linker. That sounds right. I recall similar problems with pymath.c at one stage: none of the functions it defined was being us

[issue1533105] NetBSD build with --with-pydebug causes SIGSEGV

2010-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: msg29427 gives an inline patch to code. The patches attached are strictly to docs. Can we please have a staement as to the status of this issue so that we can go forward. -- nosy: +BreamoreBoy ___ Python tracker

[issue9079] Make gettimeofday available in time module

2010-07-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: > > It looks like my reluctance to add gettimeofday to core without using > > it there was well founded. Simply adding a dummy call to > > _PyTime_gettimeofday in main() fixed the build problem. > > It's rather strange. I'm sure we have external API functions

[issue459007] Document sys.path on Windows

2010-07-16 Thread Mark Hammond
Mark Hammond added the comment: FWIW, I think the rules are fairly well explained in the comments in PC/getpathp.c; last time I looked at this, the only thing I couldn't really decide was where in the official docs these comments should be put (after reformatting and minor rewording etc) ---

[issue9222] IDLE: Fix open/saveas 'Files of type' choices

2010-07-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: gp, do you see any reason not to commit this? If not, could you do so? -- nosy: +gpolo ___ Python tracker ___ __

[issue9079] Make gettimeofday available in time module

2010-07-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: > It looks like my reluctance to add gettimeofday to core without using > it there was well founded. Simply adding a dummy call to > _PyTime_gettimeofday in main() fixed the build problem. It's rather strange. I'm sure we have external API functions which neve

[issue1528167] Tweak to make string.Templates more customizable

2010-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: Anybody interested in this, if not I'll close it. -- nosy: +BreamoreBoy status: open -> pending versions: +Python 3.2 -Python 2.7 ___ Python tracker _

[issue9079] Make gettimeofday available in time module

2010-07-16 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: It looks like my reluctance to add gettimeofday to core without using it there was well founded. Simply adding a dummy call to _PyTime_gettimeofday in main() fixed the build problem. This is a hack, of course, so I am still looking for suggestions on

[issue1524639] Fix Tkinter Tcl-commands memory-leaks

2010-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: Given the current debate on python-dev regarding IDLE and its dependancy on tkinter, surely something as serious as a memory leak should be looked into. -- assignee: loewis -> nosy: +BreamoreBoy, tjreedy type: -> behavior versions: -Python 2.6 _

[issue9277] test_struct failure on ARM

2010-07-16 Thread Mark Dickinson
Mark Dickinson added the comment: I don't really know where to start with this. At the point of failure, struct.pack('?', so it's a bit mystifying that one of these fails while the other passes. -- ___ Python tracker

[issue9079] Make gettimeofday available in time module

2010-07-16 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : Removed file: http://bugs.python.org/file18031/issue9079-fail.diff ___ Python tracker ___ ___ Python-bugs-lis

[issue9079] Make gettimeofday available in time module

2010-07-16 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Removing spurious configure change from the "fail" patch. -- Added file: http://bugs.python.org/file18032/issue9079-fail.diff ___ Python tracker _

[issue5673] Add timeout option to subprocess.Popen

2010-07-16 Thread Brian Curtin
Brian Curtin added the comment: The pattern you mention should probably be documented as an example, if that's how we intend for people to use it. Other than that, I've got nothing else here. -- assignee: -> rnk ___ Python tracker

[issue459007] Document sys.path on Windows

2010-07-16 Thread Éric Araujo
Éric Araujo added the comment: s/spring/sprint/ :) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue9277] test_struct failure on ARM

2010-07-16 Thread Mark Dickinson
New submission from Mark Dickinson : test_struct currently fails on the ARM buildbots; see: http://www.python.org/dev//buildbot/builders/ARMv4%20Debian%203.x/builds/275/steps/test/logs/stdio == FAIL: test_bool (test.test_stru

[issue9079] Make gettimeofday available in time module

2010-07-16 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : Removed file: http://bugs.python.org/file18030/issue9079-fail.diff ___ Python tracker ___ ___ Python-bugs-lis

[issue9079] Make gettimeofday available in time module

2010-07-16 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I fixed the ftime issue (I hope), but the build still fails. I did not test on Linux, but I tested on OSX with HAVE_FTIME. Replacing the failing patch. -- Added file: http://bugs.python.org/file18031/issue9079-fail.diff ___

[issue459007] Document sys.path on Windows

2010-07-16 Thread Éric Araujo
Éric Araujo added the comment: Out of date seems an inaccurate status to me. Bugs may take weeks to years to be fixed. This one is tagged easy (according to amk in msg73954), so perhaps someone will have a go at it during a Bug Day or a spring, or one of the docs people will just do it (e.g.

[issue9079] Make gettimeofday available in time module

2010-07-16 Thread Georg Brandl
Georg Brandl added the comment: I'd like to help diagnose but I don't know what "Erreur 1" means. -- nosy: +georg.brandl ___ Python tracker ___ __

[issue3657] pickle can pickle the wrong function

2010-07-16 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: -tjreedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue459007] Document sys.path on Windows

2010-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: Tim, Brian I've added you to the nosy list as I think you could assist. Unless I get a response within the next 10 years I will close this as "out of date" -- nosy: +BreamoreBoy, brian.curtin, tim.golden ___ Python

[issue9079] Make gettimeofday available in time module

2010-07-16 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Antoine, you must be building on Windows. I'll try to guess where ftime is defined and repost the patch. -- ___ Python tracker ___

[issue9079] Make gettimeofday available in time module

2010-07-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le vendredi 16 juillet 2010 à 19:51 +, Alexander Belopolsky a écrit : > Alexander Belopolsky added the comment: > > No it must be something else. Attached issue9079-fail.diff fails with Here it fails earlier: gcc -pthread -c -DNDEBUG -g -fwrapv -O3 -Wa

[issue9079] Make gettimeofday available in time module

2010-07-16 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : Added file: http://bugs.python.org/file18030/issue9079-fail.diff ___ Python tracker ___ ___ Python-bugs-list

[issue9079] Make gettimeofday available in time module

2010-07-16 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: No it must be something else. Attached issue9079-fail.diff fails with Symbol not found: __PyTime_gettimeofday Referenced from: .../build/lib.macosx-10.4-x86_64-3.2-pydebug/datetime.so even though it is in pytime.o $ nm ./Python/pytime.o 000

[issue1100562] deepcopying listlike and dictlike objects

2010-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: Michele, thanks for your prompt response. I should of course have said "I'm making this a behaviour type", sorry. alexandre, could you please comment on whether the patches are acceptable or not, thanks. -- nosy: +alexandre.vassalotti __

[issue9079] Make gettimeofday available in time module

2010-07-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: > OK, can someone show me an example of how functions defined in core > Python can be made available to extension modules? I thought I could > model pytime.h/.c after pymath.h/.c, but the later is not used in > extension modules. I must be missing something tr

[issue9079] Make gettimeofday available in time module

2010-07-16 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: OK, can someone show me an example of how functions defined in core Python can be made available to extension modules? I thought I could model pytime.h/.c after pymath.h/.c, but the later is not used in extension modules. I must be missing something t

[issue558238] Pickling bound methods

2010-07-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: See also issue3657. For some reasons, C bound methods aliased as module globals can be pickled, but not similarly aliased Python bound methods: >>> random.random, random.seed (, >) >>> pickle.dumps(random.random) b'\x80\x03crandom\nrandom\nq\x00.' >>> pickle.d

[issue9276] pickle should support methods

2010-07-16 Thread Jean-Paul Calderone
New submission from Jean-Paul Calderone : pickle doesn't support methods: >>> class x: ... def y(self): ... pass ... >>> import pickle >>> pickle.dumps(x.y) Traceback (most recent call last): File "", line 1, in File "/home/exarkun/Projects/python/branches/py3k/Lib/pickle.

[issue3657] pickle can pickle the wrong function

2010-07-16 Thread Mark Dickinson
Mark Dickinson added the comment: Antoine's fix in r82919 / r82920 fixes the test_random failure for me. (Before the fix, ./python.exe ./Lib/test/regrtest.py test___all__ test_threaded_import test_random was enough to produce the failure.) -- _

[issue9274] code.InteractiveInterpreter fails to change locals when invoked in a function

2010-07-16 Thread Eric Promislow
Eric Promislow added the comment: I've modified the bug status so anyone can read it. You don't need an account to read ActiveState bugs, only to add or comment on one. Please note that I closed bug http://bugs.activestate.com/show_bug.cgi?id=87405, as we're now writing to frame->f_localsplus

[issue3657] pickle can pickle the wrong function

2010-07-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: It should be noted that, contrary to Amaury's suggestion, pickling random.seed fails under 3.x: >>> pickle.dumps(random.seed) Traceback (most recent call last): File "", line 1, in File "/home/antoine/py3k/__svn__/Lib/pickle.py", line 1314, in dumps P

[issue9268] Add annotation option to pickletools.dis

2010-07-16 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: > Perhaps the annotations should be wrapped at 78 chars/line .. I don't know. With deeply nested pickles, annotations may not even start before column 80. I think further improvement in alignment and layout algorithms will show diminishing returns. I

[issue9274] code.InteractiveInterpreter fails to change locals when invoked in a function

2010-07-16 Thread R. David Murray
R. David Murray added the comment: Apparently I can't even see the activestate bug without creating an account there, so posting a link to it is not helpful. Please post more details about how you are calling InteractiveInterpreter and what the problem is that you are observing. -- n

[issue9268] Add annotation option to pickletools.dis

2010-07-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: Perhaps the annotations should be wrapped at 78 chars/line, for improved readability? -- ___ Python tracker ___ ___

[issue9267] Update pickle opcode documentation in pickletools for 3.x

2010-07-16 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- dependencies: +cPickle can misread data type ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue9267] Update pickle opcode documentation in pickletools for 3.x

2010-07-16 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: >From IRC: Sasha: What's the current status of pickling float inf, nan, -0.0, etc.? Mark: In py3k and release27-maint, there shouldn't be any issues with any of those. Same with release31-maint. In release26-maint, pickling infinities and nans on wind

[issue9275] python 2.7 OS X installer no longer installs /usr/local/bin symlinks by default

2010-07-16 Thread Ned Deily
New submission from Ned Deily : For 2.7, the set of default installed packages for the OS installer was changed for some reason to no longer select the "UNIX command-line tools" package by default so the traditional symlinks in /usr/local/bin are not being created by default. This is a change

[issue9274] code.InteractiveInterpreter fails to change locals when invoked in a function

2010-07-16 Thread Eric Promislow
New submission from Eric Promislow : Similar to bug http://bugs.python.org/issue5215 which found a workaround in pdb. Here I want to use code.InteractiveInterpreter to modify code interactively (see Komodo bug http://bugs.activestate.com/show_bug.cgi?id=87405 ) I can do this at the top-level, b

[issue9148] os.execve puts process to background on windows

2010-07-16 Thread Eric Smith
Eric Smith added the comment: I believe it's true that Windows does not offer process replacement. I'm sure you could perform some tricks by essentially writing your own loader, but the practical answer is no. It might be worth looking into how cygwin implements exec(). -- nosy: +eri

[issue3657] pickle can pickle the wrong function

2010-07-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Revision 68903 was merged in py3k in r68908. It looks like a similar issue > shows up in test_random: > > == > ERROR: test_pickling (test.test_random.MersenneTwister_TestBasicOps) > ---

[issue459007] Document sys.path on Windows

2010-07-16 Thread Matthieu Labbé
Changes by Matthieu Labbé : -- nosy: +matthieu.labbe ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue3657] pickle can pickle the wrong function

2010-07-16 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Revision 68903 was merged in py3k in r68908. It looks like a similar issue shows up in test_random: == ERROR: test_pickling (test.test_random.MersenneTwister_TestBasicOps) -

[issue1513299] Clean up usage of map() in the stdlib

2010-07-16 Thread Georg Brandl
Georg Brandl added the comment: I'll have a look. -- assignee: anthonybaxter -> georg.brandl ___ Python tracker ___ ___ Python-bugs

[issue1428655] Use PyOS_snprintf for static buffers

2010-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: I'll close unless someone puts in a strong bid to keep this open. -- status: open -> pending ___ Python tracker ___ __

[issue1428655] Use PyOS_snprintf for static buffers

2010-07-16 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Most usages of sprintf here cannot cause buffer overruns: the output is bounded in size (%d, %8.8x, %.200s), and the buffer is large enough. Moreover, some of them were already replaced by functions of the _FromFormat() family, which can handle unicode

[issue9273] 2to to simultaneously do code AND doctests

2010-07-16 Thread Tiago Antao
New submission from Tiago Antao : Currently 2to3 has to be called twice in order to do a full code conversion: one for the code and another for the doctests. Would it be possible to do both things simultaneously (on passing a flag)? It would be nice if distutils.command.build_py.build_py_2to3

[issue1515142] sgmllib should recover from unmatched quotes

2010-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: sgmllib is deprecated, I'll close unless anybody objects. -- status: open -> pending ___ Python tracker ___ __

[issue9214] Most Set methods of KeysView and ItemsView do not work right

2010-07-16 Thread Eli Bendersky
Changes by Eli Bendersky : -- nosy: +eli.bendersky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue5673] Add timeout option to subprocess.Popen

2010-07-16 Thread Reid Kleckner
Reid Kleckner added the comment: I forgot that I had to tweak the test as well as subprocess.py. I did a .replace('\r', ''), but universal newlines is better. Looking at the open questions I had about the Windows threads, I think it'll be OK if the user follows the pattern of: proc = subproc

[issue1513299] Clean up usage of map() in the stdlib

2010-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: msg69981 refers to #3390 which was closed fixed for has_key. As this is similar could this go into 3.2 subject to acceptance? The patch file is really a list of one line changes to get rid of map. -- nosy: +BreamoreBoy versions: +Python 3.2 -Python 2

[issue1726208] SimpleHTTPServer extensions_map

2010-07-16 Thread Eli Bendersky
Eli Bendersky added the comment: I would like to submit a patch here. However, a decision has to be reached as for what to do exactly. The most straightforward approach is remove the extension of types_map in the SimpleHTTPServer code. Is this acceptable, or are there hidden problems? --

[issue1501979] syntax errors on continuation lines

2010-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: msg84825 asks if this is necessary. Strikes me as being six of one, half a dozen of the other. As few people have shown any interest I'm inclined to close this unless someone pops out of the woodwork. -- nosy: +BreamoreBoy status: open -> pending __

[issue9267] Update pickle opcode documentation in pickletools for 3.x

2010-07-16 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Just a reminder to myself based on Mark's suggestion on IRC. In TUPLE opcode documentation two-tuple and three-tuple are redundant in summary line. Can be replaced with just tuple without loss of clarity. See r82915. -- _

[issue9272] CGIHTTPServer poisons os.environ

2010-07-16 Thread Eric Smith
Eric Smith added the comment: The change looks reasonable to me. It needs a test. -- nosy: +eric.smith stage: -> unit test needed ___ Python tracker ___

[issue1498363] Improve super() objects support for implicit method calls

2010-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: msg50389 asked for this to be discussed on python-dev. I've searched the archives but didn't find anything obvious. Did I simply miss it or was it never discussed? -- nosy: +BreamoreBoy versions: +Python 3.2 -Python 2.7, Python 3.1 _

[issue1479611] speed up function calls

2010-07-16 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I think Raymond might be interested. Since this is not a bug fix, it can only be considered for 3.x. -- nosy: +belopolsky, rhettinger versions: +Python 3.2 -Python 2.7 ___ Python tracker

  1   2   >