[issue5604] imp.find_module() mixes UTF8 and MBCS

2009-04-04 Thread Andrew Svetlov
Andrew Svetlov added the comment: Continuing work on problem I figured out: * on Windows it's impossible to convert filenames to file system encoding without and don't miss something. * Windows can work properly only with unicode (wchar_t) characters. * all other systems feels itself good using

[issue5679] cleanUp stack for unittest

2009-04-04 Thread Robert Collins
Robert Collins added the comment: On Sat, 2009-04-04 at 23:06 +, Antoine Pitrou wrote: > Antoine Pitrou added the comment: > > > The main use case for addCleanup is resource allocation in tests. Why > > does this require clean ups to be executed before tearDown? > > If your cleanup relies

[issue3873] Unpickling is really slow

2009-04-04 Thread STINNER Victor
STINNER Victor added the comment: gprof (--enable-profiler) results: Each sample counts as 0.01 seconds. % cumulative self self total time seconds secondscalls ms/call ms/call name 18.18 0.16 0.16 2011055 0.00 0.00 vgetargs1

[issue5410] msvcrt bytes cleanup

2009-04-04 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: MSDN says _ungetwch returns WEOF instead of EOF when error occurs. http://msdn.microsoft.com/en-us/library/yezzac74(VS.80).aspx I cannot see any remarks about masking behavior. :-( -- ___ Python tracker

[issue5694] spurious output in test_distutils

2009-04-04 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- assignee: -> tarek components: +Distutils ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue5696] test_telnetlib augmentation

2009-04-04 Thread Jack Diederich
New submission from Jack Diederich : The first part of my telnetlib work is testing what already is. Attached is a patch to test_telnetlib that tests mosts of the guarantees of the telnetlib.Telnet.read_* methods (as guaranteed by the docs, at least). Theoretically every test I added has a race

[issue3873] Unpickling is really slow

2009-04-04 Thread STINNER Victor
STINNER Victor added the comment: Unladen Swallow has a project to optimize pickle. Currently, it uses 3 benchmarks: pickle - use the cPickle module to pickle a variety of datasets. pickle_dict - microbenchmark; use the cPickle module to pickle a lot of dicts. pickle_list - microbench

[issue3873] Unpickling is really slow

2009-04-04 Thread STINNER Victor
STINNER Victor added the comment: alexandre.vassalotti wrote: > The solution is to add a read buffer to Unpickler (...) > would mitigate much of the (quite large) Python function > call overhead. (...) cPickle has a performance hack to make it > uses cStringIO and PyFile directly (via C funct

[issue5693] TestSuite.__iter__ is not hookable.

2009-04-04 Thread Michael Foord
Changes by Michael Foord : -- resolution: -> accepted status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue5596] memory leaks in 3.1

2009-04-04 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: Dismiss my last comment. These are the tests actually leaking for my build: test_docxmlrpc leaked [85, -6, 0, 39] references, sum=118 test_httpservers leaked [-195, 195, 0, 64] references, sum=64 test_os leaked [23, -23, 0, 23] references, sum=23 test_pi

[issue5687] Docstring typo in _io

2009-04-04 Thread Benjamin Peterson
New submission from Benjamin Peterson : Thanks! Fixed in r71205. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue5410] msvcrt bytes cleanup

2009-04-04 Thread STINNER Victor
STINNER Victor added the comment: > There seems to be a problem with ungetwch() I tested Visual C++ Express 2008 and it looks like _ungetwch() only keep 8 lower bits (like _ungetwch(x & 255)). But it's a bug in Microsoft library, not in Python code (I added some printf to be sure). My patch

[issue3851] IDLE: Pressing "Home" on Windows places cursor before ">>>" instead of after. Solution offered.

2009-04-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Bingo. I can also switch behaviors with Numlock (which I routinely have engaged). Neither of us was crazy ;-) Thank you 'weeble'. -- ___ Python tracker _

[issue5695] test_logging fails when run twice in a row

2009-04-04 Thread Antoine Pitrou
New submission from Antoine Pitrou : This happens e.g. when searching for refleaks (the -R option to regrtest). ./python -m test.regrtest test_logging test_logging Could not find '/home/antoine/py3k/debug/Lib/test' in sys.path to remove it test_logging test_logging test test_logging failed -- T

[issue5596] memory leaks in 3.1

2009-04-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Strange, I don't see any leaks in test_structmembers here. test_structmembers beginning 9 repetitions 123456789 . 1 test OK. [89785 refs] This is with r71202 on a 64-bit build. -- ___ Python tracker

[issue5694] spurious output in test_distutils

2009-04-04 Thread Antoine Pitrou
New submission from Antoine Pitrou : test_distutils produces the following kind of output. It doesn't make it fail, but is a bit distracting. test_distutils removing '/tmp/tmpY0RHnV/foo/build_temp' (and everything under it) removing '/tmp/tmpY0RHnV/foo/build_lib' (and everything under it) removi

[issue5596] memory leaks in 3.1

2009-04-04 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: I have the following tests leaking on my Linux build of py3k: test_structmembers leaked [102, 102, 102] references, sum=306 test_structmembers leaked [102, 102, 102] references, sum=306 test_structmembers leaked [102, 102, 102, 102] references, sum=408 t

[issue1600182] Tix ComboBox entry is blank when not editable

2009-04-04 Thread Tim Wegener
Tim Wegener added the comment: I encountered this bug at my previous place of employment. I've since moved on, so I don't have access to the code/setup where this originally occurred. I tried to setup a test case to reproduce this, but was thwarted by another bug, probably related to my Linux

[issue5692] test_zipfile fails under Windows

2009-04-04 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- priority: deferred blocker -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue5410] msvcrt bytes cleanup

2009-04-04 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- priority: deferred blocker -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue4136] merge json library with latest simplejson 2.0.x

2009-04-04 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- priority: deferred blocker -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue1079] decode_header does not follow RFC 2047

2009-04-04 Thread Tony Nelson
Tony Nelson added the comment: The email package does not follow the RFCs in anything to do with header parsing or decoding. This is a known deficiency. So no, I am not thinking of atoms at all -- and neither is email.header.decode_header()! :-( Until email.header actually parses headers into

[issue5679] cleanUp stack for unittest

2009-04-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: > The main use case for addCleanup is resource allocation in tests. Why > does this require clean ups to be executed before tearDown? If your cleanup relies on something which has been set up during setUp and will be dropped during tearDown (a database connecti

[issue5679] cleanUp stack for unittest

2009-04-04 Thread Michael Foord
Michael Foord added the comment: The main use case for addCleanup is resource allocation in tests. Why does this require clean ups to be executed before tearDown? -- ___ Python tracker _

[issue5679] cleanUp stack for unittest

2009-04-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: >def setUp(self): > dirname = mkdtemp() > self.addCleanup(shutils.rmtree, dirname, ignore_errors=True) > db = make_db(dirname) > self.addCleanup(db.tearDown) Sure, but that's an example of doing something which is already doa

[issue5679] cleanUp stack for unittest

2009-04-04 Thread Michael Foord
Michael Foord added the comment: Antoine, Robert suggests calling it after tearDown so that tearDown can also perform actions that need clean up. Not a common use case but at least a use case. What do you mean by: "so that test cases can also use it to initialize additional resources and final

[issue5679] cleanUp stack for unittest

2009-04-04 Thread Robert Collins
Robert Collins added the comment: On Sat, 2009-04-04 at 22:09 +, Antoine Pitrou wrote: > Antoine Pitrou added the comment: > > teardown > > Why should they? It's only an implementation choice, and not a wise one > I would say (precisely because people are used to the fact that the > stand

[issue2578] additional unittest type equality methods

2009-04-04 Thread Nick Coghlan
Nick Coghlan added the comment: No, because the rich comparison docs explicitly state that the interpreter makes no assumptions about the relationship between != and == (or, more precisely, __eq__ and __ne__). """There are no implied relationships among the comparison operators. The truth of x=

[issue1079] decode_header does not follow RFC 2047

2009-04-04 Thread R. David Murray
R. David Murray added the comment: Tony, I don't think I agree with your reading of the RFC. IMO, your inversion of test_rfc2047_without_whitespace is not correct. '=' is not a 'special' in RFC[2]822 terms, so the atom does not end at the apparent end of the encoded word. I say apparent becau

[issue5672] Implement a way to change the python process name

2009-04-04 Thread Marcelo Fernández
Marcelo Fernández added the comment: Fine, I'll try to make a patch based on the procname project in Google Code. Here are some more links with more approaches to solve this issue (while I learn how to make a patch :-) ) http://abock.org/2006/02/09/changing-process-name-in-mono/ http://shiny.th

[issue5679] cleanUp stack for unittest

2009-04-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Sorry, roundup screwed the quoting. I was responding to the following sentence: “If you imagine that clean ups are being done in the base class teardown”. -- ___ Python tracker ___

[issue5693] TestSuite.__iter__ is not hookable.

2009-04-04 Thread Benjamin Peterson
Benjamin Peterson added the comment: This looks correct. Just while your at it, you can fix the if statement in the debug() method by putting the body on another line. -- nosy: +benjamin.peterson ___ Python tracker

[issue5679] cleanUp stack for unittest

2009-04-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: teardown Why should they? It's only an implementation choice, and not a wise one I would say (precisely because people are used to the fact that the standard tearDown() method does nothing, and doesn't need to be called). I explained my proposal in terms of ac

[issue5693] TestSuite.__iter__ is not hookable.

2009-04-04 Thread Michael Foord
Michael Foord added the comment: +1 it's a minor change. -- nosy: +michael.foord ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue5693] TestSuite.__iter__ is not hookable.

2009-04-04 Thread Robert Collins
New submission from Robert Collins : Currently if you alter the way TestSuite iterates one must always implement countTestCases, run, debug etc. The attached patch would make this simpler. If this looks ok I'll write up a test for it. -- components: Library (Lib) files: testsuite.patch

[issue5679] cleanUp stack for unittest

2009-04-04 Thread Robert Collins
Robert Collins added the comment: Actually let me phrase that differently. standard practice for setUp is super.setUp() my_setup_code() and tearDown is my_teardown_code() super.tearDown() because of the LIFO need. If you imagine that clean ups are being done in the base class teardown, at the

[issue5670] Speed up pickling of dicts in cPickle

2009-04-04 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Sorry, I was wrong. I think I noticed that the case size==1 was handled differently, and incorrectly inferred the same for size==0. (btw, the patch for trunk was not updated) -- ___ Python tracker

[issue5679] cleanUp stack for unittest

2009-04-04 Thread Robert Collins
Robert Collins added the comment: It should run after tearDown so that teardown can do actions that may require cleanup; because the cleanups run in LIFO you can acquire resources in setUp and have cleanups clean them up, -- nosy: +rbcollins ___ Pyth

[issue2578] additional unittest type equality methods

2009-04-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Seeing how a change in assertNotEqual unveiled a bug in OrderedDict, would it be desireable for each of assertEqual and assertNotEqual to test both the '!=' and '==' operators? -- ___ Python tracker

[issue5692] test_zipfile fails under Windows

2009-04-04 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: This happens when running test from root directory. Following patch can workaround this, but this code is there because it is needed, isn't it? (Related to #4710?) Index: Lib/zipfile.py === ---

[issue5682] Move io-in-c modules into a subdirectory of Modules/

2009-04-04 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: Committed in r71185. Thanks Antoine for the review! -- resolution: -> accepted status: open -> closed ___ Python tracker ___ ___

[issue5690] test_types fails in non-debug mode

2009-04-04 Thread Eric Smith
Eric Smith added the comment: Problem was a debug #ifdef in the wrong place. Sorry for not testing in non-debug mode. Fixed in r71184. -- priority: release blocker -> normal resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed _

[issue5690] test_types fails in non-debug mode

2009-04-04 Thread Eric Smith
Changes by Eric Smith : -- assignee: -> eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue5692] test_zipfile fails under Windows

2009-04-04 Thread Benjamin Peterson
Benjamin Peterson added the comment: Let's worry about this after the alpha. -- nosy: +benjamin.peterson priority: release blocker -> deferred blocker ___ Python tracker ___

[issue5410] msvcrt bytes cleanup

2009-04-04 Thread Benjamin Peterson
Benjamin Peterson added the comment: I think this can wait until the first beta. -- nosy: +benjamin.peterson priority: release blocker -> deferred blocker ___ Python tracker ___

[issue5470] MSI installer misses zipdir.zip file in Lib\test

2009-04-04 Thread Martin v. Löwis
Martin v. Löwis added the comment: Tim, thanks for the patch. Applied in r71179, r71180, r71181 and r71182. Hope it still goes into the tag. -- resolution: -> accepted status: open -> closed ___ Python tracker ___

[issue5689] please support lzma compression as an extension and in the tarfile module

2009-04-04 Thread Martin v. Löwis
Martin v. Löwis added the comment: As for an lzma module - I would prefer one that isn't LGPL'ed. Instead, it should link against a system-provide lzma library (which then might or might not licensed under lpgl). I would probably exclude the lzma module from Windows, as distributing the lzma sou

[issue5690] test_types fails in non-debug mode

2009-04-04 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- title: test_types fails in non-debug mopde -> test_types fails in non-debug mode ___ Python tracker ___

[issue5690] test_types fails in non-debug mopde

2009-04-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, actually it also happens under Linux in non-debug mode. -- title: test_types fails under Windows -> test_types fails in non-debug mopde ___ Python tracker ___

[issue2578] additional unittest type equality methods

2009-04-04 Thread Michael Foord
Michael Foord added the comment: Patch for Py3k with fallback for comparing unsortable sequences in assertSameElements. Removed the expected failure and added another test case to confirm that this patch works for unsortable sequences that are the same (no fail) and different (fail). -

[issue5674] distutils fails to find Linux libs (lib.....so.n)

2009-04-04 Thread Martin v. Löwis
Martin v. Löwis added the comment: I agree with David. The .so name must exist; if it doesn't, your installation does indeed lack the necessary prerequisite. Closing as invalid. -- nosy: +loewis resolution: -> invalid status: open -> closed ___ Pyt

[issue5690] test_types fails under Windows

2009-04-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Actually, it works in debug mode, but not in release mode. -- ___ Python tracker ___ ___ Python-bugs

[issue5672] Implement a way to change the python process name

2009-04-04 Thread Martin v. Löwis
Martin v. Löwis added the comment: If somebody would provide a patch that adds prctl to the posix module, that would be fine with me - we have a long tradition of exposing all available system calls if somebody wants them. As for Windows: no, there is no equivalent of prctl. The task manager of

[issue5690] test_types fails under Windows

2009-04-04 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: I got SEGV on test_types on VC6, but after clean build, it seems SEGV was gone. Maybe build problem? -- nosy: +ocean-city ___ Python tracker

[issue5691] test_collections fails under Windows

2009-04-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Fixed in r71176. Thanks! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2578] additional unittest type equality methods

2009-04-04 Thread Michael Foord
Michael Foord added the comment: Patch with assertIs and assertIsNot. Docs but nothing in NEWS as already covered. Ok to apply? -- Added file: http://bugs.python.org/file13613/unittest-assertis.diff ___ Python tracker

[issue5691] test_collections fails under Windows

2009-04-04 Thread Benjamin Peterson
Benjamin Peterson added the comment: Fixed in r71176. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue5692] test_zipfile fails under Windows

2009-04-04 Thread Antoine Pitrou
New submission from Antoine Pitrou : Under Windows XP with VS 2008 Express: test test_zipfile failed -- Traceback (most recent call last): File "Z:\py3k\__svn__\lib\test\test_zipfile.py", line 334, in testExtract self.assertEqual(writtenfile, correctfile) AssertionError: 'c:_ziptest1' != '

[issue5690] test_types fails under Windows

2009-04-04 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue5679] cleanUp stack for unittest

2009-04-04 Thread Michael Foord
Michael Foord added the comment: I'm agnostic on before / after tearDown, so happy to make that change. -- ___ Python tracker ___ ___

[issue5391] mmap: read_byte/write_byte and object type

2009-04-04 Thread Benjamin Peterson
Benjamin Peterson added the comment: Fixed in r71174. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue5691] test_collections fails under Windows

2009-04-04 Thread Antoine Pitrou
New submission from Antoine Pitrou : This is under Windows XP with VS 2008 Express: test test_collections failed -- Traceback (most recent call last): File "Z:\py3k\__svn__\lib\test\test_collections.py", line 714, in test_equalit y self.assertNotEqual(od1, od2) # different order impl

[issue5410] msvcrt bytes cleanup

2009-04-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: There seems to be a problem with ungetwch(): >>> s = msvcrt.getwch() # Here I type the Euro sign (€) >>> ascii(s) "'\\u20ac'" >>> msvcrt.ungetwch(s) >>> u = msvcrt.getwch() >>> ascii(u) "'\\xac'" -- nosy: +pitrou type: -> behavior ___

[issue5690] test_types fails under Windows

2009-04-04 Thread Antoine Pitrou
New submission from Antoine Pitrou : Compiled with VS 2008 Express: test test_types failed -- Traceback (most recent call last): File "Z:\py3k\__svn__\lib\test\test_types.py", line 343, in test_int__format__ test(1234, ',', '1,234') File "Z:\py3k\__svn__\lib\test\test_types.py", line 23

[issue5470] MSI installer misses zipdir.zip file in Lib\test

2009-04-04 Thread Benjamin Peterson
Benjamin Peterson added the comment: I don't think I'm going to let this block today's release. Martin, I assume you can just apply the patch locally when you are building the installers? -- nosy: +benjamin.peterson ___ Python tracker

[issue5679] cleanUp stack for unittest

2009-04-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: I'm not sure why it is called after tearDown. It would be better to call it before tearDown, so that test cases can also use it to initialize additional resources and finalize them in a LIFO way wrt the main tearDown. -- nosy: +pitrou _

[issue2578] additional unittest type equality methods

2009-04-04 Thread Benjamin Peterson
Benjamin Peterson added the comment: I found while merging this to Py3k that dicts can't be used in assertSameElements because they are unorderable in py3k. -- ___ Python tracker ___

[issue2578] additional unittest type equality methods

2009-04-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I would *mmuch* prefer assertIsNot but it is not symmetrical with the > other asserts. Well, apparently assertIsNotNone() has been added, so it would be good to be symmetrical with that :) -- ___ Python tracker <

[issue5679] cleanUp stack for unittest

2009-04-04 Thread Michael Foord
Michael Foord added the comment: Patch attached. No docs, if it is agreed I can apply I'll write docs. After a long discussion we arrived at some semblance of consensus on the Testing In Python mailing list that this was a good thing (tm). Only one -1 (thought that cleanUp should be a method)

[issue5689] please support lzma compression as an extension and in the tarfile module

2009-04-04 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- priority: -> normal versions: +Python 2.7, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list maili

[issue5689] please support lzma compression as an extension and in the tarfile module

2009-04-04 Thread Matthias Klose
New submission from Matthias Klose : GNU tar now supports lzma compression as a compression method. Please consider adding lzma support to the tarfile module (either by using the external lzma program or by adding a lzma extension to the standard library). lzma extension at http://svn.fancycode.

[issue5687] Docstring typo in _io

2009-04-04 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: -> georg.brandl nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue5142] pdb feature request: Ability to skip standard lib modules and other selected packages/modules

2009-04-04 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: -> georg.brandl nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue5688] inability to ignore multiline warnings -- request to add re.DOTALL to re.compile

2009-04-04 Thread Matthias Klose
New submission from Matthias Klose : [forwarded from http://bugs.debian.org/519454] """ As of now, warnings.py provides only re.I flag to re.compile on warnings.py:160. Recent python-numpy issues way too many warnings, I was trying to filter them out using warnings.filterwarnings, but was unabl

[issue2578] additional unittest type equality methods

2009-04-04 Thread Michael Foord
Michael Foord added the comment: I would *mmuch* prefer assertIsNot but it is not symmetrical with the other asserts. -- ___ Python tracker ___ __

[issue2578] additional unittest type equality methods

2009-04-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le samedi 04 avril 2009 à 15:06 +, Michael Foord a écrit : > Michael Foord added the comment: > > I'd like to add assertIs and assertNotIs. Let's call it AssertIsNot (we type "x is not None", not "x not is None"). --

[issue2578] additional unittest type equality methods

2009-04-04 Thread Michael Foord
Michael Foord added the comment: I'd like to add assertIs and assertNotIs. We have these at work and I would find them useful whilst writing tests for another set of changes to unittest I'm currently working on! -- ___ Python tracker

[issue4375] inspect.getsource doesn't work with PYTHONPATH and source compiled from a different dir

2009-04-04 Thread Georg Brandl
Georg Brandl added the comment: Easily done. :) -- nosy: +georg.brandl resolution: -> out of date status: open -> closed ___ Python tracker ___ _

[issue3845] memory access before short string when checking suffix

2009-04-04 Thread Matthias Klose
Matthias Klose added the comment: fixed for 2.7, 2.6, 3.1 -- assignee: -> doko resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue5645] test_memoryio fails for py3k on windows

2009-04-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Committed in r71151, thanks! -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue5645] test_memoryio fails for py3k on windows

2009-04-04 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: I confirmed the patch works. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue5601] webbrowser doesn't just open browsers

2009-04-04 Thread Georg Brandl
Georg Brandl added the comment: Updated docs in r71150. -- status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list maili

[issue5642] multiprocessing.Pool.map() docs slightly misleading

2009-04-04 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r71149. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bug

[issue5634] cPickle error in case of recursion limit

2009-04-04 Thread Georg Brandl
Georg Brandl added the comment: Yes, that's true. It should be more generally helpful in there. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue5687] Docstring typo in _io

2009-04-04 Thread Brian Quinlan
Changes by Brian Quinlan : -- components: Extension Modules files: docstring.diff keywords: patch nosy: bquinlan severity: normal status: open title: Docstring typo in _io versions: Python 3.1 Added file: http://bugs.python.org/file13611/docstring.diff __

[issue5686] Float formatting with no type code produces incorrect output for exponential notation

2009-04-04 Thread Mark Dickinson
Mark Dickinson added the comment: I don't really see this as a bug in the behaviour. I'd always understood the purpose of the "at least one digit after the decimal" to be to make it possible to visually distinguish floats and integers, in the same way that repr and str already do. >>> repr(

[issue5645] test_memoryio fails for py3k on windows

2009-04-04 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: -> patch review type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue5645] test_memoryio fails for py3k on windows

2009-04-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Buildbots should be green for the release. -- priority: -> release blocker ___ Python tracker ___ _

[issue5645] test_memoryio fails for py3k on windows

2009-04-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Can you test with the following patch? -- keywords: +patch Added file: http://bugs.python.org/file13610/memio.patch ___ Python tracker ___ _

[issue5645] test_memoryio fails for py3k on windows

2009-04-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: It looks like there is a disagreement between c-io and py-io as to what the newline parameter in StringIO means. I think the c-io version makes more sense (but I'm biased, since I wrote it), while the py-io results are quite difficult to interpret. --

[issue5686] Float formatting with no type code produces incorrect output for exponential notation

2009-04-04 Thread Eric Smith
Eric Smith added the comment: The documentation doesn't agree with the PEP. The docs at http://docs.python.org/library/string.html#formatstrings just say '' is the same as 'g'. It does not draw a distinction between exponential and fixed output. The PEP has the "at least one digit after the dec

[issue5686] Float formatting with no type code produces incorrect output for exponential notation

2009-04-04 Thread Eric Smith
Changes by Eric Smith : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue5686] Float formatting with no type code produces incorrect output for exponential notation

2009-04-04 Thread Eric Smith
New submission from Eric Smith : If no format specifier is supplied to a float, it's supposed to work like 'g', but with at least one digit after the decimal. This works for non-exponential notation: >>> format(1., '') '1.0' >>> format(1., 'g') '1' But for exponential notation, it does not: >>>

[issue5110] Printing Unicode chars from the interpreter in a non-UTF8 terminal raises an error (Py3)

2009-04-04 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: -haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue5682] Move io-in-c modules into a subdirectory of Modules/

2009-04-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: You should commit. If there is a problem with other Windows build files, it will certainly be noticed and fixed by a true Windows developer. -- ___ Python tracker _

[issue5685] use tarinfo module in distutils

2009-04-04 Thread Tarek Ziadé
New submission from Tarek Ziadé : Currently, Distutils makes a system call to tar files, using the tar command. Let's use Python's tarinfo module, so we don't rely on the tar program anymore. -- assignee: tarek components: Distutils messages: 85384 nosy: tarek priority: high severity: no

[issue5302] Allow package_data globs match directories

2009-04-04 Thread Tarek Ziadé
Tarek Ziadé added the comment: After some discussion at Pycon, I was convinced that MANIFEST.in should be removed. I'll send a mail about this in Distutils-SIG and if there's a consensus, I'll deprecate it and also add glob pattern for package_data. -- priority: -> high versions: +Pyt

[issue5616] Distutils 2to3 support doesn't have the doctest_only flag.

2009-04-04 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- priority: -> normal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue4015] [patch] make installed scripts executable on windows

2009-04-04 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- priority: -> normal type: -> feature request versions: +Python 2.7, Python 3.1 -Python 2.6 ___ Python tracker ___ ___

[issue2953] _zip_directory_cache untested and undocumented

2009-04-04 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- priority: -> normal versions: +Python 2.7, Python 3.1 -Python 2.6 ___ Python tracker ___ ___ Python-bugs-l

  1   2   >