[issue5851] Add a stream parameter to gc.set_debug

2009-04-26 Thread Nicolas Dumazet
New submission from Nicolas Dumazet : Hello! gc.set_debug is provided to help debugging a leaking program. That tool can be very useful indeed. Debugging information, however, is written to sys.stderr, and there are cases where this behavior can be a problem: chances are that stderr can be alr

[issue5061] Inadequate documentation of the built-in function open

2009-04-26 Thread Georg Brandl
Georg Brandl added the comment: I've now split the mode table in two tables, one describing base modes, and one the possible modifiers. See r72000. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue5061] Inadequate documentation of the built-in function open

2009-04-26 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file12864/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue5707] IDLE will not load

2009-04-26 Thread Kurt B. Kaiser
Kurt B. Kaiser added the comment: r71998 Thanks for the patch! backport to 30-maint. If OP has further problems getting installation working, delete .idlerc directory. -- assignee: -> kbk nosy: +kbk resolution: -> accepted stage: patch review -> commit review versions: +Python 3.1

[issue1489051] keyword and topic help broken in Pythonwin IDE

2009-04-26 Thread Martin v. Löwis
Martin v. Löwis added the comment: > Would adding a .bat file to run "hh -decompile" be acceptable? I don't quite understand the proposed solution: Would you merely add the batch file, or would you also run it automatically? If so, at what point? If you run it automatically, you also need to pr

[issue2660] Py3k fails to parse a file with an iso-8859-1 string

2009-04-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: The problem is that 2to3 just reads the file with whatever locale.getpreferredencoding() returns. It should use tokenize.detect_encoding() to discover the correct encoding to open it with. -- ___ Python tracker <

[issue5559] IDLE Output Window 's goto fails when path has spaces

2009-04-26 Thread Guilherme Polo
Guilherme Polo added the comment: > Do you have a case the corrected code doesn't handle? Create a file that starts with a space and search for something that returns it, for example. -- ___ Python tracker ___

[issue4335] inspect.getsourcelines ignores last line in module

2009-04-26 Thread Daniel Diniz
Changes by Daniel Diniz : -- priority: -> normal stage: -> patch review type: -> behavior versions: +Python 3.1 ___ Python tracker ___ _

[issue2660] Py3k fails to parse a file with an iso-8859-1 string

2009-04-26 Thread Daniel Diniz
Daniel Diniz added the comment: Confirmed in py3k on rev71995. -- components: +2to3 (2.x to 3.0 conversion tool) nosy: +ajaksu2, benjamin.peterson stage: -> test needed type: -> behavior versions: +Python 2.6, Python 3.1 -Python 3.0 ___ Python trac

[issue1496032] test_float segfaults with SIGFPE on FreeBSD 6.0 / Alpha

2009-04-26 Thread Daniel Diniz
Changes by Daniel Diniz : -- type: -> behavior versions: +Python 2.6, Python 3.1 -Python 2.5 ___ Python tracker ___ ___ Python-bugs

[issue1588] str.format() wrongly formats complex() numbers (Py30a2)

2009-04-26 Thread Daniel Diniz
Daniel Diniz added the comment: Confirmed in py3k at rev71995. -- nosy: +ajaksu2, marketdickinson stage: -> test needed versions: +Python 3.1 ___ Python tracker ___

[issue2646] Python does not accept unicode keywords

2009-04-26 Thread Daniel Diniz
Daniel Diniz added the comment: Fixed in r68805, #4978. -- nosy: +ajaksu2 resolution: -> out of date stage: -> committed/rejected status: open -> closed superseder: -> allow unicode keyword args ___ Python tracker

[issue5850] Full example for emulating a container type

2009-04-26 Thread Garrett Cooper
Garrett Cooper added the comment: BTW, the documentation item that this should be attached to is: http://docs.python.org/reference/datamodel.html#emulating-container-types -- ___ Python tracker

[issue5850] Full example for emulating a container type

2009-04-26 Thread Garrett Cooper
New submission from Garrett Cooper : This is just an example that I want to offer to the community to help improve overall documentation in the handbook. I've attached the example file, but it's also available on my journal post with example output: http://yaneurabeya.livejournal.com/3437.html

[issue1467929] %-formatting and dicts

2009-04-26 Thread Daniel Diniz
Daniel Diniz added the comment: Confirmed in trunk and py3k. How about changing this for 3.1? -- keywords: +patch nosy: +ajaksu2, benjamin.peterson, eric.smith type: -> behavior versions: +Python 3.1 -Python 2.5 ___ Python tracker

[issue2799] Remove PyUnicode_AsString(), rework PyUnicode_AsStringAndSize(), add PyUnicode_AsChar()

2009-04-26 Thread Daniel Diniz
Changes by Daniel Diniz : -- nosy: +ezio.melotti, haypo priority: -> normal type: -> feature request versions: +Python 3.1 ___ Python tracker ___ ___

[issue3130] In some UCS4 builds, sizeof(Py_UNICODE) could end up being more than 4.

2009-04-26 Thread Daniel Diniz
Changes by Daniel Diniz : -- dependencies: +sys.sizeof test fails with wide unicode keywords: +patch nosy: +ezio.melotti, haypo priority: -> normal stage: -> patch review versions: +Python 2.6, Python 3.0 ___ Python tracker

[issue1694663] Overloading int.__pow__ does not work

2009-04-26 Thread Daniel Diniz
Daniel Diniz added the comment: Confirmed in py3k and trunk. -- nosy: +ajaksu2, marketdickinson stage: -> patch review type: -> behavior versions: +Python 2.6, Python 3.0 -Python 2.5 ___ Python tracker ___

[issue5559] IDLE Output Window 's goto fails when path has spaces

2009-04-26 Thread Kurt B. Kaiser
Kurt B. Kaiser added the comment: I'd welcome a test, please provide one. I actually wrote a small test code so I could understand the problem, but didn't include it. The 'grep dialog' sends its output to an OutputWindow labelled *Output* as a series of lines. This is entirely separate from

[issue2245] aifc cannot handle unrecognised chunk type "CHAN"

2009-04-26 Thread R. David Murray
R. David Murray added the comment: If someone can supply a small sample audio file that will trigger the failure(s) in the existing code, I will write the tests and commit the issue2259 patch. -- assignee: -> r.david.murray ___ Python tracker

[issue5845] rlcompleter should be enabled automatically

2009-04-26 Thread Éric Araujo
Éric Araujo added the comment: What would be the right place for this to happen? I first thought of site.py, but -S would then turn off readline support. Does it have to be done somewhere in C land? But perhaps tab isn’t the right key to bind. I think inputrc could set it to something different

[issue3344] IDLE - use enumerate instead of zip(count(), ...)

2009-04-26 Thread Guilherme Polo
Guilherme Polo added the comment: I would prefer to rename it, why waste the "chance" to rename something badly named ? I agree on the rstrip use. -- ___ Python tracker ___

[issue3344] IDLE - use enumerate instead of zip(count(), ...)

2009-04-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: I would leave the variable name unchanged. Also, better to use rstrip than file[0:-1]. -- nosy: +rhettinger ___ Python tracker ___ __

[issue5559] IDLE Output Window 's goto fails when path has spaces

2009-04-26 Thread Guilherme Polo
Guilherme Polo added the comment: Wouldn't it be better to actually write tests for it ? Also, the issue's title is a bit misleading, it is not only spaces that causes troubles. Isn't fixing how GrepDialog <-> OutputWindow works an acceptable solution ? Instead of just writing the output in the

[issue5559] IDLE Output Window 's goto fails when path has spaces

2009-04-26 Thread Kurt B. Kaiser
Kurt B. Kaiser added the comment: Added a regex to handle win paths w/spaces. A regex match may not be the file desired. Try all the patterns until a valid file is found. r71995. Let me know if you can find a failing corner case. port to 3 and -maint. -- assignee: -> kbk nosy: +kbk

[issue2704] IDLE: Patch to make PyShell behave more like a Terminal interface

2009-04-26 Thread Daniel Diniz
Daniel Diniz added the comment: Kurt: regarding line wrapping, can you report your browser and OS at http://psf.upfronthosting.co.za/roundup/meta/issue277 ? -- nosy: +ajaksu2, gpolo stage: -> patch review ___ Python tracker

[issue1253] IDLE - Percolator overhaul

2009-04-26 Thread Daniel Diniz
Changes by Daniel Diniz : -- nosy: +gpolo stage: -> patch review versions: +Python 2.7, Python 3.1 -Python 2.5 ___ Python tracker ___

[issue1542677] compile(): IDLE shell gives different len() of unicode strings compared to Python shell

2009-04-26 Thread Daniel Diniz
Changes by Daniel Diniz : -- keywords: +patch nosy: +asmodai, haypo stage: -> test needed title: IDLE shell gives different len() of unicode strings compared to Python shell -> compile(): IDLE shell gives different len() of unicode strings compared to Python shell type: -> behavior

[issue5707] IDLE will not load

2009-04-26 Thread Daniel Diniz
Changes by Daniel Diniz : -- nosy: +gpolo priority: -> normal stage: -> patch review type: crash -> behavior ___ Python tracker ___ _

[issue5680] Command-line arguments when running in IDLE

2009-04-26 Thread Daniel Diniz
Changes by Daniel Diniz : -- nosy: +gpolo priority: -> normal stage: -> patch review versions: +Python 3.1 ___ Python tracker ___ ___

[issue5594] IDLE startup configuration

2009-04-26 Thread Daniel Diniz
Changes by Daniel Diniz : -- nosy: +gpolo priority: -> normal stage: -> test needed ___ Python tracker ___ ___ Python-bugs-list maili

[issue1350] IDLE - CallTips enhancement - show full doc-string in new window

2009-04-26 Thread Daniel Diniz
Changes by Daniel Diniz : -- nosy: +gpolo stage: -> test needed type: -> feature request ___ Python tracker ___ ___ Python-bugs-list

[issue1512124] OSX: debugger hangs IDLE

2009-04-26 Thread Daniel Diniz
Changes by Daniel Diniz : -- nosy: +gpolo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue1080387] Making IDLE Themes and Keys Config more Robust

2009-04-26 Thread Daniel Diniz
Changes by Daniel Diniz : -- nosy: +gpolo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue834351] Mouse wheel crashes program

2009-04-26 Thread Daniel Diniz
Changes by Daniel Diniz : -- nosy: +gpolo status: pending -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue1442493] IDLE shell window gets very slow when displaying long lines

2009-04-26 Thread Daniel Diniz
Daniel Diniz added the comment: Patch review in issue 1529353. -- nosy: +ajaksu2, gpolo stage: test needed -> ___ Python tracker ___ _

[issue4625] IDLE won't open anymore, .idlerc unaccessible

2009-04-26 Thread Daniel Diniz
Daniel Diniz added the comment: Any ideas about how the permissions for .idlerc may get wrong? Is this something we can check and try to fix (or warn about) on install? -- components: +Installation nosy: +ajaksu2, gpolo priority: -> normal stage: -> test needed type: -> behavior ___

[issue5232] Setting font from preference dialog in IDLE on OS X broken

2009-04-26 Thread Daniel Diniz
Changes by Daniel Diniz : -- keywords: +patch nosy: +gpolo priority: -> normal stage: -> test needed type: -> behavior ___ Python tracker ___ __

[issue5492] Error on leaving IDLE with quit() or exit() under Linux

2009-04-26 Thread Daniel Diniz
Daniel Diniz added the comment: Cannot confirm on Kubuntu 8.04, Python 3.1a2+ built from source, tkinter.TkVersion is 8.5. -- nosy: +ajaksu2, gpolo priority: -> normal stage: -> test needed type: crash -> behavior ___ Python tracker

[issue1207589] Right Click Context Menu

2009-04-26 Thread Daniel Diniz
Changes by Daniel Diniz : -- keywords: +patch nosy: +gpolo stage: test needed -> patch review ___ Python tracker ___ ___ Python-bugs

[issue1175686] add "reload" function to IDLE

2009-04-26 Thread Daniel Diniz
Changes by Daniel Diniz : -- nosy: +gpolo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue1676] Fork/exec issues with Tk 8.5/Python 2.5.1 on OS X

2009-04-26 Thread Daniel Diniz
Changes by Daniel Diniz : -- nosy: +gpolo stage: -> test needed versions: +Python 2.6 -Python 2.5 ___ Python tracker ___ ___ Python-bu

[issue1047540] Turtle.py hangs Idle

2009-04-26 Thread Daniel Diniz
Changes by Daniel Diniz : -- nosy: +gpolo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue1252236] Simplying Tkinter's event loop

2009-04-26 Thread Daniel Diniz
Changes by Daniel Diniz : -- nosy: +gpolo versions: +Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue5219] IDLE: slowness, pauses enter long strings

2009-04-26 Thread Daniel Diniz
Daniel Diniz added the comment: I think this is a duplicate of issue 1529353. -- nosy: +ajaksu2, gpolo priority: -> normal status: open -> pending ___ Python tracker ___ ___

[issue5150] IDLE to support reindent.py

2009-04-26 Thread Daniel Diniz
Changes by Daniel Diniz : -- nosy: +gpolo stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5066] IDLE documentation for Unix obsolete/incorrect

2009-04-26 Thread Daniel Diniz
Daniel Diniz added the comment: This looks like a perfect match for GHOP. -- keywords: +easy nosy: +ajaksu2, gpolo priority: -> normal stage: -> needs patch type: -> behavior versions: +Python 2.6, Python 3.0, Python 3.1 ___ Python tracker

[issue5065] IDLE improve Subprocess Startup Error message

2009-04-26 Thread Daniel Diniz
Daniel Diniz added the comment: Fixed in r71126, #1529142. -- nosy: +ajaksu2 resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> Allowing multiple instances of IDLE with sub-processes ___ Python tracker

[issue3068] IDLE - Add an extension configuration dialog

2009-04-26 Thread Daniel Diniz
Changes by Daniel Diniz : -- nosy: +gpolo priority: -> normal stage: -> patch review type: behavior -> feature request versions: +Python 2.7, Python 3.1 -Python 2.6 ___ Python tracker _

[issue4832] idle filename extension

2009-04-26 Thread Daniel Diniz
Daniel Diniz added the comment: I get the .py automatically on Linux, is this an intended behavior difference or should this issue be considered a bug instead? -- nosy: +ajaksu2, gpolo priority: -> normal type: behavior -> feature request versions: -Python 2.5, Python 2.6, Python 3.0

[issue3286] IDLE opens window too low on Windows

2009-04-26 Thread Daniel Diniz
Changes by Daniel Diniz : -- nosy: +gpolo priority: -> low stage: -> test needed ___ Python tracker ___ ___ Python-bugs-list mailing

[issue4765] IDLE fails to "Delete Custom Key Set" properly

2009-04-26 Thread Daniel Diniz
Changes by Daniel Diniz : -- nosy: +gpolo priority: -> normal stage: -> test needed type: crash -> behavior ___ Python tracker ___ __

[issue4685] IDLE will not open (2.6.1 on WinXP pro)

2009-04-26 Thread Daniel Diniz
Daniel Diniz added the comment: Ilan: any news on this? -- nosy: +ajaksu2, gpolo stage: -> test needed type: -> behavior ___ Python tracker ___

[issue4691] IDLE Code Caching Windows

2009-04-26 Thread Daniel Diniz
Changes by Daniel Diniz : -- nosy: +gpolo priority: -> normal stage: -> needs patch versions: -Python 2.5 ___ Python tracker ___ ___

[issue4693] Idle for Python 3.0 is default even without doing make fullinstall

2009-04-26 Thread Daniel Diniz
Daniel Diniz added the comment: Benjamin fixed this in r71936, #5756. -- nosy: +ajaksu2 resolution: -> out of date stage: -> committed/rejected status: open -> closed superseder: -> idle pydoc et al removed from 3.1 without versioned replacements

[issue4652] IDLE does not work with Unicode

2009-04-26 Thread Daniel Diniz
Changes by Daniel Diniz : -- components: +Unicode nosy: +gpolo priority: -> normal stage: -> test needed type: performance -> behavior ___ Python tracker ___ ___

[issue2053] IDLE - standardize dialogs

2009-04-26 Thread Daniel Diniz
Changes by Daniel Diniz : -- nosy: +gpolo stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4432] IDLE.app (Mac) File Menu MIssing Options

2009-04-26 Thread Daniel Diniz
Changes by Daniel Diniz : -- nosy: +gpolo priority: -> normal stage: -> test needed ___ Python tracker ___ ___ Python-bugs-list maili

[issue3961] Arrows key do not browse in the IDLE

2009-04-26 Thread Daniel Diniz
Daniel Diniz added the comment: Richard: what do the same keys do in the command line interpreter? -- nosy: +ajaksu2, gpolo priority: -> normal stage: -> test needed ___ Python tracker ___

[issue3938] Clearing globals; interpreter -- IDLE difference

2009-04-26 Thread Daniel Diniz
Daniel Diniz added the comment: If intended, should be documented somewhere, right? -- nosy: +ajaksu2, gpolo stage: -> test needed type: -> behavior ___ Python tracker ___

[issue3573] IDLE hangs when passing invalid command line args (directory(ies) instead of file(s))

2009-04-26 Thread Daniel Diniz
Changes by Daniel Diniz : -- components: +IDLE priority: -> normal stage: -> patch review type: -> behavior ___ Python tracker ___ _

[issue3559] Pasted \n not same as typed \n

2009-04-26 Thread Daniel Diniz
Changes by Daniel Diniz : -- nosy: +gpolo priority: -> normal stage: -> test needed ___ Python tracker ___ ___ Python-bugs-list maili

[issue1721083] Add File - Reload

2009-04-26 Thread Daniel Diniz
Changes by Daniel Diniz : -- dependencies: +add "reload" function to IDLE nosy: +gpolo stage: -> test needed versions: +Python 2.7, Python 3.1 -Python 2.6 ___ Python tracker _

[issue3344] IDLE - use enumerate instead of zip(count(), ...)

2009-04-26 Thread Daniel Diniz
Daniel Diniz added the comment: +1 on committing this. -- nosy: +ajaksu2, gpolo priority: -> normal stage: -> patch review type: -> feature request versions: +Python 2.7, Python 3.1 ___ Python tracker __

[issue775544] Tk.quit leads to crash in python.exe

2009-04-26 Thread Daniel Diniz
Changes by Daniel Diniz : -- nosy: +gpolo stage: -> test needed versions: +Python 2.6, Python 3.0 -Python 2.3 ___ Python tracker ___ ___

[issue3003] sys.stdin.fileno() gives attribute error in IDLE

2009-04-26 Thread Daniel Diniz
Daniel Diniz added the comment: I think this isn't a bug, but an implementation detail. Guilherme? -- nosy: +ajaksu2, gpolo priority: -> normal stage: -> test needed type: -> behavior versions: +Python 2.6 -Python 2.5 ___ Python tracker

[issue1489051] keyword and topic help broken in Pythonwin IDE

2009-04-26 Thread Daniel Diniz
Daniel Diniz added the comment: Would adding a .bat file to run "hh -decompile" be acceptable? -- assignee: -> georg.brandl components: +Documentation, Installation -Windows nosy: +ajaksu2 stage: -> test needed type: -> behavior versions: +Python 2.6, Python 3.1

[issue2710] error: (10035, 'The socket operation could not complete without blocking')

2009-04-26 Thread Daniel Diniz
Daniel Diniz added the comment: Don: any news on this? Do you still get the same error with 2.6? -- nosy: +ajaksu2, gpolo priority: -> normal stage: -> test needed type: -> behavior versions: +Python 2.6, Python 3.0 -Python 2.5 ___ Python tracker

[issue2708] IDLE subprocess error

2009-04-26 Thread Daniel Diniz
Changes by Daniel Diniz : -- nosy: +gpolo priority: -> normal stage: -> test needed type: crash -> behavior versions: +Python 2.6, Python 3.0 -Python 2.5 ___ Python tracker ___

[issue1574] Touchpad 2 Finger scroll does not work in IDLE on Mac (But scroll wheel of external mouse does)

2009-04-26 Thread Daniel Diniz
Changes by Daniel Diniz : -- nosy: +gpolo stage: -> test needed versions: +Python 2.7, Python 3.1 -Python 2.5 ___ Python tracker ___ _

[issue1777398] IDLE Freezes After Running Scripts

2009-04-26 Thread Daniel Diniz
Daniel Diniz added the comment: Ross: can you confirm this with 2.6/3.x? -- nosy: +ajaksu2, gpolo stage: -> test needed type: -> behavior versions: +Python 2.6, Python 3.1 -Python 2.5 ___ Python tracker __

[issue1178] IDLE - add "paste code" functionality

2009-04-26 Thread Daniel Diniz
Changes by Daniel Diniz : -- nosy: +gpolo versions: +Python 2.7, Python 3.1 -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mai

[issue5849] Idle 3.01 - invalid syntec error

2009-04-26 Thread R.D. floyd
New submission from R.D. floyd : Recently upgraded to OS 10.5, Experienced Fortran, Basic, et. al. programmer learning Python. IDLE 3.01 give invalid syntec error when running program below. IDLE from MacPython 2.xx runs it ok! -- components: IDLE files: odbchelper.py messages: 86609 nos

[issue5849] Idle 3.01 - invalid syntec error

2009-04-26 Thread Walter Dörwald
Walter Dörwald added the comment: This is not a bug in Python. In Python 3.0 "print" is a function, so print buildConnectionString(myParams) should read print(buildConnectionString(myParams)) Closing as invalid. -- nosy: +doerwalter resolution: -> invalid status: open -> clo

[issue5848] Minor unittest doc patch

2009-04-26 Thread Michael Foord
New submission from Michael Foord : Removes some blank lines from unittest.rst that were suppressing some version changed messages from appearing in output. Also added documentation for TestSuite.__iter__ and TextTestRunner._makeResult as they are unittest extensibility points. I see _makeRes

[issue5679] cleanUp stack for unittest

2009-04-26 Thread Michael Foord
Michael Foord added the comment: Updated patch with docs. My intention is to apply this in the next couple of days. I've settled on calling doCleanups *after* tearDown. The issues and reasoning explained below. One point of view concerns using addCleanups with existing tests. If the setUp

[issue3379] Option to not-exit on test

2009-04-26 Thread Michael Foord
Michael Foord added the comment: Correct patch this time. If there are no objections I'll apply this in a couple of days. -- Added file: http://bugs.python.org/file13790/unittest-no-exit.patch ___ Python tracker _

[issue3379] Option to not-exit on test

2009-04-26 Thread Michael Foord
Michael Foord added the comment: Damn somehow managed to upload the patch to the wrong issue twice in a row. Must have been late at night. -- ___ Python tracker ___ _

[issue3379] Option to not-exit on test

2009-04-26 Thread Michael Foord
Changes by Michael Foord : Removed file: http://bugs.python.org/file13784/unittest-no-exit.patch ___ Python tracker ___ ___ Python-bugs-list ma

[issue2572] 3.0 pickle docs -- what about old-style classes?

2009-04-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: Recommend that this be closed with no action taken. It is an important step for Py3.x that old style classes be left behind and that no mention of them occur in the 3.x docs. Let's not carry 2.x with us into the 3.x world. The whole point was to leave the

[issue5764] 2.6.2 Python Manuals CHM file seems broken

2009-04-26 Thread Kurt B. Kaiser
Changes by Kurt B. Kaiser : -- nosy: +kbk priority: -> high ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue1207] Load tests from path (patch included)

2009-04-26 Thread Michael Foord
Michael Foord added the comment: I'm intending to implement loadTestsFromPackage which will do a *similar* job. As well as allowing test autodiscovery it will allow for customizing test loading from modules / packages using a protocol thrashed out on the Testing in Python mailing list.

[issue5430] imaplib: must not replace LF or CR by CRLF in literals

2009-04-26 Thread Ron DuPlain
Ron DuPlain added the comment: Module imaplib has pretty sparse test code. There is only 1 test case, for imaplib.Time2Internaldate. trunk/Lib/test/test_imaplib.py The attached patch tests for LF, CR preservation with regard to the IMAP4.append method, but more testing is necessary to make sur

[issue4305] ctypes fails to build on mipsel-linux-gnu (detects mips instead of mipsel)

2009-04-26 Thread Roumen Petrov
Roumen Petrov added the comment: Thomas, the report is for: ffi_sources += ffi_platforms['MIPS'] KeyError: 'MIPS' you may test patch without to cross-compile. As example create two directories. In first one run: /Modules/_ctypes/libffi/configure --host=mips-pc-linu

[issue5322] Python 2.6 object.__new__ argument calling autodetection faulty

2009-04-26 Thread Trundle
Changes by Trundle : -- nosy: +gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org