[issue4047] test_run_abort triggers CrashReporter on MacOS X

2010-07-16 Thread Ned Deily
Changes by Ned Deily : -- assignee: -> ronaldoussoren components: +Macintosh nosy: +ronaldoussoren versions: +Python 3.2 -Python 3.0 ___ Python tracker ___ __

[issue9271] Python throws `IOError: [Errno 27] File too large' on long file names

2010-07-16 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: The file name is only 106 characters long, it's not too long. "[Errno 27] File too large" probably refers to a big file larger than 2Gb. Does your OS support large files? -- nosy: +amaury.forgeotdarc ___ Pytho

[issue9272] CGIHTTPServer poisons os.environ

2010-07-16 Thread anatoly techtonik
New submission from anatoly techtonik : When CGIHTTPServer prepares to start child CGI program it modifies global os.environ. This implicitly changes parents application state if it also relies on some of CGI environment variables. -- messages: 110418 nosy: techtonik priority: normal s

[issue9271] Python throws `IOError: [Errno 27] File too large' on long file names

2010-07-16 Thread Georg Brandl
Georg Brandl added the comment: In any case, the error message comes from the operating system, not from Python, and I don't think we should introduce special cases here. -- nosy: +georg.brandl resolution: -> wont fix status: open -> pending ___ Py

[issue9272] CGIHTTPServer poisons os.environ

2010-07-16 Thread anatoly techtonik
Changes by anatoly techtonik : -- keywords: +patch Added file: http://bugs.python.org/file18024/9272.CGIHTTPServer-poisons-os.environ.patch ___ Python tracker ___ ___

[issue8988] import + coding = failure (3.1.2/win32)

2010-07-16 Thread gonegown
gonegown added the comment: @Amaury: error message for my bug was: SyntaxError: None and for your: ImportError: No module named b We've got at least two bugs in one testcase -- ___ Python tracker _

[issue8988] import + coding = failure (3.1.2/win32)

2010-07-16 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Then please tell us how to reproduce the "SyntaxError" case -- ___ Python tracker ___ ___ Pyth

[issue4047] test_run_abort triggers CrashReporter on MacOS X

2010-07-16 Thread Ronald Oussoren
Ronald Oussoren added the comment: Triggering the crash reporter is unavoidable. What we could do is print a warning that this will happen at the start of the test. -- ___ Python tracker _

[issue506100] commands.getstatusoutput(): cmd.exe support

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

[issue9269] Cannot pickle self-referencing sets

2010-07-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: > The test case in cycle.py tricks set into accepting mutable objects by > > creating a class with default __hash__. This falls into a category of > > "don't do it". I beg to differ. There is a reason we allow people to define __hash__ and that's to define

[issue5808] Subprocess.getstatusoutput Fails Executing 'dir' Command on Windows

2010-07-16 Thread Matthieu Labbé
Matthieu Labbé added the comment: I think this is a bug: The doc says "Availability: UNIX." but it is *available* under Windows and gives an unexpected error message. I see several way to fix this: 1) Fix the doc: "Supported only on UNIX. Behavior on other platforms is undefined." 2) Make sub

[issue4697] Clarification needed for subprocess convenience functions in Python 3.0 documentation

2010-07-16 Thread Matthieu Labbé
Matthieu Labbé added the comment: I think "Availability: UNIX" is incorrect: it is *available* under Windows and gives an unexpected error message. See http://bugs.python.org/issue5808#msg110424 -- nosy: +matthieu.labbe ___ Python tracker

[issue4697] Clarification needed for subprocess convenience functions in Python 3.0 documentation

2010-07-16 Thread Georg Brandl
Georg Brandl added the comment: Well, "available" in this case can also mean that it doesn't work. -- ___ Python tracker ___ ___ Pytho

[issue9242] unicodeobject.c: use of uninitialized values

2010-07-16 Thread Stefan Krah
Stefan Krah added the comment: Here is a minimal example how to reproduce this issue, extracted from UTF32LETest. valgrind --db-attach=yes --suppressions=Misc/valgrind-python.supp ./python uninitialized.py It seems that in Lib/codecs.py the equivalent of "\x00".decode('utf-32-le') is called

[issue9205] Parent process hanging in multiprocessing if children terminate unexpectedly

2010-07-16 Thread Ask Solem
Ask Solem added the comment: > but if you make a blocking call such as in the following program, > you'll get a hang Yeah, and for that we could use the same approach as for the maps. But, I've just implemented the accept callback approach, which should be superior. Maps/Apply fails instantly

[issue9205] Parent process hanging in multiprocessing if children terminate unexpectedly

2010-07-16 Thread Ask Solem
Changes by Ask Solem : Added file: http://bugs.python.org/file18026/multiprocessing-tr...@82502-termination-trackjobs.patch ___ Python tracker ___ ___

[issue1475523] gettext breaks on plural-forms header

2010-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: Point taken I'll settle for PluralFormsTest unless there's a better idea. Assuming patch acceptance could a committer do this please? -- ___ Python tracker

[issue1100562] deepcopying listlike and dictlike objects

2010-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: I've made this a feature request as #1099746 title is "copy.deepcopy barfs when copying a class derived from dict". Michelle can you confirm that you have run the unit tests and that all passed ok? -- nosy: +BreamoreBoy type: feature request -> behavi

[issue1149798] hotshot.runctx: builtins missing

2010-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: I can't see any sense running with this as hotshot is not documented in py3k and is marked as unsupported in py2k docs. -- nosy: +BreamoreBoy status: open -> pending versions: +Python 3.2 -Python 2.7 ___ Python track

[issue1173475] __slots__ for subclasses of variable length types

2010-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: How much rework if any is needed to get this patch into py3k? -- nosy: +BreamoreBoy versions: +Python 3.2 -Python 2.7 ___ Python tracker ___ _

[issue1207589] Right Click Context Menu

2010-07-16 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: +tjreedy versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker ___ ___ Python-bugs-li

[issue1214879] Support non-file source/dest in marshal

2010-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: Unless anyone expresses an interest I belive that this should be closed. -- nosy: +BreamoreBoy status: open -> pending ___ Python tracker ___

[issue9265] Incorrect name passed as arg[0] when shell=True and executable specified

2010-07-16 Thread Stefan Krah
Stefan Krah added the comment: Ok, here's a more comprehensive test. Comments: 1) Instead of emulating 'which' one could use find_executable from distutils.spawn. But this feels wrong. 2) Skip the test if the primary issue cannot be tested. 3) Exercise the test for /bin/sh, if it i

[issue1218234] inspect.getsource doesn't update when a module is reloaded

2010-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: The change to inspect.py is two lines. Given that unit test patches are also supplied could someone with the knowledge give yes or no to accepting this patch? -- nosy: +BreamoreBoy versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6, Python 3.0

[issue1218234] inspect.getsource doesn't update when a module is reloaded

2010-07-16 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: Calling linecache.checkcache for every inspect.getsource call sounds like a fairly bad idea to me. linecache.checkcache does a stat() of every single cached file. -- nosy: +exarkun ___ Python tracker

[issue1327971] HTTPResponse instance has no attribute 'fileno'

2010-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: These patches are small and marked as easy, can they be accepted? -- nosy: +BreamoreBoy ___ Python tracker ___ ___

[issue1218234] inspect.getsource doesn't update when a module is reloaded

2010-07-16 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: > linecache.checkcache does a stat() of every single cached file. Ah, sorry. I didn't read carefully enough. I see that the patch passes in the filename and checkcache restricts the work it does in that case. Something else to consider, though, is that

[issue9272] CGIHTTPServer poisons os.environ

2010-07-16 Thread R. David Murray
Changes by R. David Murray : -- components: +Library (Lib) nosy: +orsenthil, r.david.murray type: -> behavior versions: +Python 3.1 ___ Python tracker ___ ___

[issue1396946] %ehrntDRT support for time.strptime

2010-07-16 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: +belopolsky versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker ___ ___ Python-bugs

[issue9272] CGIHTTPServer poisons os.environ

2010-07-16 Thread anatoly techtonik
anatoly techtonik added the comment: Patch queue with other minor fixes you may consider useful http://bitbucket.org/techtonik/http.server-patches/qseries -- ___ Python tracker

[issue1410680] Add 'surgical editing' to ConfigParser

2010-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: As noone has shown any interest in this for over three years I suggest it is closed as rejected. Note also that #1371075 has been accepted and the OP's comments on msg49354. -- nosy: +BreamoreBoy status: open -> pending __

[issue4499] redefinition of TILDE macro on AIX platform

2010-07-16 Thread R. David Murray
R. David Murray added the comment: The define in question by that name still exists in token.h in 3.x. I've added srid to nosy since as an AIX user he probably knows if this is a real problem or not, and Benjamin because he's done a lot with the parser. -- nosy: +benjamin.peterson, r

[issue1410680] Add 'surgical editing' to ConfigParser

2010-07-16 Thread Éric Araujo
Éric Araujo added the comment: I want to review and update the patches. I’ll probably have the time to do it in August/September. -- status: pending -> open ___ Python tracker __

[issue1410680] Add 'surgical editing' to ConfigParser

2010-07-16 Thread Brian Curtin
Changes by Brian Curtin : -- assignee: -> merwok ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue1410680] Add 'surgical editing' to ConfigParser

2010-07-16 Thread Éric Araujo
Éric Araujo added the comment: Thanks Brian, I’d forgotten I could assign to me. I feel bound now -- versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker ___

[issue8252] add a metadata section in setup.cfg

2010-07-16 Thread Éric Araujo
Éric Araujo added the comment: Update: PEP 390 is made obsolete by PEP 345, so the parts left unspecified are being worked out now. Starting point is proposals collected during PyCon 2010 and published here: http://bitbucket.org/carljm/sample-distutils2-project/src/ -- __

[issue1428655] Use PyOS_snprintf for static buffers

2010-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: I'm torn by this one. Half of me says it's a good thing trying to be fail safe. The other half says it's work for something that hasn't yet happened. Any other views? -- nosy: +BreamoreBoy type: -> feature request versions: -Python 2.6, Python 2.7

[issue1432343] Description of file-object read() method is wrong.

2010-07-16 Thread Mark Lawrence
Changes by Mark Lawrence : -- assignee: -> d...@python nosy: +d...@python versions: -Python 2.6, Python 3.1 ___ Python tracker ___ ___

[issue1479611] speed up function calls

2010-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: I'm not sure if this is worth pursuing given the way performance is so often governed by networking and/or IO issues today, bearing in mind comments like msg50163 and msg59872. I'd certainly like to see more comments from core developers. Could someone in th

[issue1100562] deepcopying listlike and dictlike objects

2010-07-16 Thread Michele Orrù
Michele Orrù added the comment: Yes. Anyway, to be sure, I've just re-checked on py3.2, py3.1 and py2.7 with last svn revision. I'm pretty sure all works well. -- ___ Python tracker ___

[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

[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 _

[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 ___

[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. -- _

[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 __

[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? --

[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

[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

[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

[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 ___ __

[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

[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

[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 ___ __

[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

[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) -

[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 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) > ---

[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

[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

[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

[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

[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

[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 ___ ___

[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 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

[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

[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 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.) -- _

[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.

[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

[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

[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

[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 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

[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 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
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 ___

[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

[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

[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 ___ __

[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 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 ___

[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

[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

[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://

[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

[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 _

[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

[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

[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 _

[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

[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 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

[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 ___ __

[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) ---

[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

[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 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

[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

[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

  1   2   >