[issue9073] Tkinter module missing from install on OS X 10.6.4

2010-07-16 Thread Ned Deily
Ned Deily n...@acm.org added the comment: The Python 2 Tkinter has been renamed to tkinter in Python 3 and the lib-tk no longer exists. See http://docs.python.org/py3k/library/tkinter.html -- assignee: - ronaldoussoren components: +Macintosh nosy: +ned.deily, ronaldoussoren

[issue7645] test_distutils fails on Windows XP

2010-07-16 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: It's just a data file missing from the .msi installer. -- nosy: +amaury.forgeotdarc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7645

[issue4047] test_run_abort triggers CrashReporter on MacOS X

2010-07-16 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- assignee: - ronaldoussoren components: +Macintosh nosy: +ronaldoussoren versions: +Python 3.2 -Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4047

[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 amaur...@gmail.com 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

[issue9272] CGIHTTPServer poisons os.environ

2010-07-16 Thread anatoly techtonik
New submission from anatoly techtonik techto...@gmail.com: 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:

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

2010-07-16 Thread Georg Brandl
Georg Brandl ge...@python.org 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

[issue9272] CGIHTTPServer poisons os.environ

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

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

2010-07-16 Thread gonegown
gonegown nomedo...@gmail.com 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 rep...@bugs.python.org

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

2010-07-16 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Then please tell us how to reproduce the SyntaxError case -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8988 ___

[issue4047] test_run_abort triggers CrashReporter on MacOS X

2010-07-16 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com 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 rep...@bugs.python.org

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

2010-07-16 Thread Matthieu Labbé
Changes by Matthieu Labbé bugs.python@mattlabbe.com: -- nosy: +matthieu.labbe ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue506100 ___ ___

[issue9269] Cannot pickle self-referencing sets

2010-07-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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

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

2010-07-16 Thread Matthieu Labbé
Matthieu Labbé bugs.python@mattlabbe.com 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

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

2010-07-16 Thread Matthieu Labbé
Matthieu Labbé bugs.python@mattlabbe.com 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

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

2010-07-16 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Well, available in this case can also mean that it doesn't work. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4697 ___

[issue9242] unicodeobject.c: use of uninitialized values

2010-07-16 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org 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

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

2010-07-16 Thread Ask Solem
Ask Solem a...@opera.com 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

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

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

[issue1475523] gettext breaks on plural-forms header

2010-07-16 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk 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 rep...@bugs.python.org

[issue1100562] deepcopying listlike and dictlike objects

2010-07-16 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk 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:

[issue1149798] hotshot.runctx: builtins missing

2010-07-16 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk 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

[issue1173475] __slots__ for subclasses of variable length types

2010-07-16 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk 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 rep...@bugs.python.org

[issue1207589] Right Click Context Menu

2010-07-16 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- nosy: +tjreedy versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1207589 ___

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

2010-07-16 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Unless anyone expresses an interest I belive that this should be closed. -- nosy: +BreamoreBoy status: open - pending ___ Python tracker rep...@bugs.python.org

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

2010-07-16 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org 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

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

2010-07-16 Thread Jean-Paul Calderone
Jean-Paul Calderone exar...@twistedmatrix.com 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

[issue1327971] HTTPResponse instance has no attribute 'fileno'

2010-07-16 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: These patches are small and marked as easy, can they be accepted? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1327971

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

2010-07-16 Thread Jean-Paul Calderone
Jean-Paul Calderone exar...@twistedmatrix.com 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

[issue9272] CGIHTTPServer poisons os.environ

2010-07-16 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- components: +Library (Lib) nosy: +orsenthil, r.david.murray type: - behavior versions: +Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9272

[issue1396946] %ehrntDRT support for time.strptime

2010-07-16 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- nosy: +belopolsky versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1396946 ___

[issue9272] CGIHTTPServer poisons os.environ

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

[issue1410680] Add 'surgical editing' to ConfigParser

2010-07-16 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk 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 rdmur...@bitdance.com 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:

[issue1410680] Add 'surgical editing' to ConfigParser

2010-07-16 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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 rep...@bugs.python.org

[issue1410680] Add 'surgical editing' to ConfigParser

2010-07-16 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- assignee: - merwok ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1410680 ___ ___ Python-bugs-list

[issue1410680] Add 'surgical editing' to ConfigParser

2010-07-16 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks Brian, I’d forgotten I could assign to me. I feel bound now wink -- versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1410680

[issue8252] add a metadata section in setup.cfg

2010-07-16 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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 breamore...@yahoo.co.uk 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:

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

2010-07-16 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- assignee: - d...@python nosy: +d...@python versions: -Python 2.6, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1432343 ___

[issue1479611] speed up function calls

2010-07-16 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk 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

[issue1100562] deepcopying listlike and dictlike objects

2010-07-16 Thread Michele Orrù
Michele Orrù maker...@gmail.com 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 rep...@bugs.python.org

[issue1479611] speed up function calls

2010-07-16 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net 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 ___

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

2010-07-16 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk 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,

[issue9272] CGIHTTPServer poisons os.environ

2010-07-16 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: The change looks reasonable to me. It needs a test. -- nosy: +eric.smith stage: - unit test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9272

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

2010-07-16 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Just a reminder to myself based on Mark's suggestion on IRC. In TUPLEN 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 breamore...@yahoo.co.uk 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

[issue1726208] SimpleHTTPServer extensions_map

2010-07-16 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com 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

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

2010-07-16 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk 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

[issue5673] Add timeout option to subprocess.Popen

2010-07-16 Thread Reid Kleckner
Reid Kleckner r...@mit.edu 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:

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

2010-07-16 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- nosy: +eli.bendersky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9214 ___ ___ Python-bugs-list

[issue1515142] sgmllib should recover from unmatched quotes

2010-07-16 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: sgmllib is deprecated, I'll close unless anybody objects. -- status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1515142

[issue9273] 2to to simultaneously do code AND doctests

2010-07-16 Thread Tiago Antao
New submission from Tiago Antao tiagoan...@gmail.com: 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

[issue1428655] Use PyOS_snprintf for static buffers

2010-07-16 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com 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

[issue1428655] Use PyOS_snprintf for static buffers

2010-07-16 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: I'll close unless someone puts in a strong bid to keep this open. -- status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1428655

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

2010-07-16 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I'll have a look. -- assignee: anthonybaxter - georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1513299 ___

[issue3657] pickle can pickle the wrong function

2010-07-16 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net 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

[issue459007] Document sys.path on Windows

2010-07-16 Thread Matthieu Labbé
Changes by Matthieu Labbé bugs.python@mattlabbe.com: -- nosy: +matthieu.labbe ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue459007 ___ ___

[issue3657] pickle can pickle the wrong function

2010-07-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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 e...@trueblade.com 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().

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

2010-07-16 Thread Eric Promislow
New submission from Eric Promislow er...@activestate.com: 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

[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 n...@acm.org: 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

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

2010-07-16 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net 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,

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

2010-07-16 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: -- dependencies: +cPickle can misread data type ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9267 ___

[issue9268] Add annotation option to pickletools.dis

2010-07-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Perhaps the annotations should be wrapped at 78 chars/line, for improved readability? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9268

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

2010-07-16 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue9268] Add annotation option to pickletools.dis

2010-07-16 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net 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

[issue3657] pickle can pickle the wrong function

2010-07-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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 stdin, line 1, in module File /home/antoine/py3k/__svn__/Lib/pickle.py, line

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

2010-07-16 Thread Eric Promislow
Eric Promislow er...@activestate.com 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

[issue3657] pickle can pickle the wrong function

2010-07-16 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com 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 exar...@twistedmatrix.com: pickle doesn't support methods: class x: ... def y(self): ... pass ... import pickle pickle.dumps(x.y) Traceback (most recent call last): File stdin, line 1, in module File

[issue558238] Pickling bound methods

2010-07-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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 (built-in method random of Random object at 0x27abe20, bound method

[issue9079] Make gettimeofday available in time module

2010-07-16 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net 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

[issue9079] Make gettimeofday available in time module

2010-07-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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

[issue1100562] deepcopying listlike and dictlike objects

2010-07-16 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk 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:

[issue9079] Make gettimeofday available in time module

2010-07-16 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net 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 $

[issue9079] Make gettimeofday available in time module

2010-07-16 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: Added file: http://bugs.python.org/file18030/issue9079-fail.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9079 ___

[issue9079] Make gettimeofday available in time module

2010-07-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Le vendredi 16 juillet 2010 à 19:51 +, Alexander Belopolsky a écrit : Alexander Belopolsky belopol...@users.sourceforge.net added the comment: No it must be something else. Attached issue9079-fail.diff fails with Here it fails earlier:

[issue9079] Make gettimeofday available in time module

2010-07-16 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net 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 rep...@bugs.python.org

[issue459007] Document sys.path on Windows

2010-07-16 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk 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

[issue3657] pickle can pickle the wrong function

2010-07-16 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: -tjreedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3657 ___ ___ Python-bugs-list mailing

[issue9079] Make gettimeofday available in time module

2010-07-16 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I'd like to help diagnose but I don't know what Erreur 1 means. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9079 ___

[issue459007] Document sys.path on Windows

2010-07-16 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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

[issue9079] Make gettimeofday available in time module

2010-07-16 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net 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:

[issue9079] Make gettimeofday available in time module

2010-07-16 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: Removed file: http://bugs.python.org/file18030/issue9079-fail.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9079 ___

[issue9277] test_struct failure on ARM

2010-07-16 Thread Mark Dickinson
New submission from Mark Dickinson dicki...@gmail.com: 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:

[issue459007] Document sys.path on Windows

2010-07-16 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: s/spring/sprint/ :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue459007 ___ ___

[issue5673] Add timeout option to subprocess.Popen

2010-07-16 Thread Brian Curtin
Brian Curtin cur...@acm.org 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 belopol...@users.sourceforge.net added the comment: Removing spurious configure change from the fail patch. -- Added file: http://bugs.python.org/file18032/issue9079-fail.diff ___ Python tracker rep...@bugs.python.org

[issue9079] Make gettimeofday available in time module

2010-07-16 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: Removed file: http://bugs.python.org/file18031/issue9079-fail.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9079 ___

[issue9277] test_struct failure on ARM

2010-07-16 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: I don't really know where to start with this. At the point of failure, struct.pack('?', ExplodingBool()) has already been tested (and presumably raised the expected IOError). Moreover, the struct module uses the same function, bp_bool, for

[issue1524639] Fix Tkinter Tcl-commands memory-leaks

2010-07-16 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk 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

[issue9079] Make gettimeofday available in time module

2010-07-16 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net 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

[issue1528167] Tweak to make string.Templates more customizable

2010-07-16 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk 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 rep...@bugs.python.org

[issue9079] Make gettimeofday available in time module

2010-07-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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

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

2010-07-16 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: gp, do you see any reason not to commit this? If not, could you do so? -- nosy: +gpolo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9222

[issue459007] Document sys.path on Windows

2010-07-16 Thread Mark Hammond
Mark Hammond mhamm...@users.sourceforge.net 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

[issue9079] Make gettimeofday available in time module

2010-07-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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

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

2010-07-16 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk 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

[issue9079] Make gettimeofday available in time module

2010-07-16 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com 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

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

2010-07-16 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk 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:

  1   2   >