[issue2219] Py30a3: Possibly confusing message when module detection fails

2008-03-03 Thread Mark Summerfield
New submission from Mark Summerfield: On Fedora 8 I get this message: Failed to find the necessary bits to build these modules: _bsddb To find the necessary bits, look in setup.py in detect_modules() for the module's name. On Kubuntu 6.06 LTS I get the same message, but about different modules:

[issue2219] Py30a3: Possibly confusing message when module detection fails

2008-03-03 Thread Martin v. Löwis
Martin v. Löwis added the comment: Modules/Setup is out of date; _bsddb supports anything between 3.3 and 4.5. -- nosy: +loewis __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2219 __

[issue2219] Py30a3: Possibly confusing message when module detection fails

2008-03-03 Thread Mark Summerfield
Mark Summerfield added the comment: On 2008-03-03, Martin v. Löwis wrote: Martin v. Löwis added the comment: Modules/Setup is out of date; _bsddb supports anything between 3.3 and 4.5. FYI, only now I've just realised that Fedora 8's db version is 4.6.21, but I thought I'd try it anyway. %

[issue2219] Py30a3: Possibly confusing message when module detection fails

2008-03-03 Thread Martin v. Löwis
Martin v. Löwis added the comment: Rereading your report, I cannot quite understand what issue specifically you are reporting. What error message do you find confusing, and what do you think should it say instead? In any case, it is deliberate that db 4.6 is not supported - that release doesn't

[issue2219] Py30a3: Possibly confusing message when module detection fails

2008-03-03 Thread Mark Summerfield
Mark Summerfield added the comment: On 2008-03-03, Martin v. Löwis wrote: Martin v. Löwis added the comment: Rereading your report, I cannot quite understand what issue specifically you are reporting. What error message do you find confusing, and what do you think should it say instead?

[issue2216] Problems using logging module with idle

2008-03-03 Thread Vinay Sajip
Vinay Sajip added the comment: I don't think this is a bug, though possibly the documentation could be clarified. The shutdown() method is meant to be called at application exit; its main purpose is to flush any output in handler buffers. It doesn't do a complete reversal of what basicConfig()

[issue2220] bug in rlcompleter

2008-03-03 Thread Lorenz Quack
New submission from Lorenz Quack: The following code would raise a TypeError: rlcompleter.Completer().complete(print self.foo, 0) with this fix it will just return None -- components: Library (Lib) files: rlcompleter.patch keywords: patch messages: 63208 nosy: donlorenzo severity:

[issue2221] Py30a3: calltip produces error output to stderr

2008-03-03 Thread Mark Summerfield
New submission from Mark Summerfield: In IDLE for Py30a3 if you enter: class A( as soon as you type the ( you get the following output to stderr (on Fedora 8 with Tcl/Tk 8.4): : *** Internal Error: rpc.py:SocketIO.localcall() Object: exec Method: bound method Executive.get_the_calltip of

[issue2222] Memory leak in os.rename?

2008-03-03 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto: Hello. Probably I found memory leak. When first convert_to_unicode succeeds and second one fails, first unicode object is not freed. # ex: os.rename(a, 3) Thank you. -- components: Extension Modules files: fix_leak.patch keywords: patch messages:

[issue2220] bug in rlcompleter

2008-03-03 Thread Lorenz Quack
Lorenz Quack added the comment: Some more information: the dot in the example causes complete() to call self.attr_matches(text) which in turn performes the following call re.match(r(\w+(\.\w+)*)\.(\w*), text) and return None if there is no match. the complete method unconditionally accesses the

[issue2221] Py30a3: calltip produces error output to stderr

2008-03-03 Thread Christian Heimes
Changes by Christian Heimes: -- assignee: - kbk nosy: +kbk priority: - normal __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2221 __ ___ Python-bugs-list mailing list

[issue2200] find_executable fails to find .bat files on win32

2008-03-03 Thread Lev Shamardin
Lev Shamardin added the comment: I can't see this issue on the 'open issues' list nor in the search results. Is something wrong? __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2200 __

[issue2222] Memory leak in os.rename?

2008-03-03 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: I cannot write patch to use gc.set_debug(gc.DEBUG_LEAK), so I tried regrtest.py -R :: instead. (This functionality is not working now, so I tried after reverted r61098) E:\python-dev\trunk\Lib\testpy regrtest.py -R :: test_os.py test_os beginning 9

[issue2224] branches/trunk-math patch

2008-03-03 Thread Christian Heimes
New submission from Christian Heimes: svnmerge.py merge integration patch of Mark and my trunk-math branch. I created the patch to make the review process easier. Name: svnmerge-integrated - /python/branches/trunk-math:1-60195 + /python/branches/trunk-math:1-61203 -- components:

[issue2223] regrtest.py -R not working

2008-03-03 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: It looks like you are running regrtest from the trunk with the py3k interpretor. Works for me. -- nosy: +belopolsky __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2223 __

[issue2223] regrtest.py -R not working

2008-03-03 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Yes, I did mistake first, but py3k fails even in correct directory. E:\python-dev\py3k\Lib\testpy3k --version Python 3.0a3+ E:\python-dev\py3k\Lib\testpy3k regrtest.py -R :: test_os.py test_os test_os skipped -- cannot import name _Abstract 1 test skipped:

[issue2218] Enhanced hotshot profiler with high-resolution timer

2008-03-03 Thread Jean Brouwers
Jean Brouwers added the comment: Do *not* use the attached files. A fix is forthcoming. My apologies. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2218 __ ___

[issue2223] regrtest.py -R not working

2008-03-03 Thread Christian Heimes
Christian Heimes added the comment: It seems r61204 has fixed the bug. Can you test it on your machine please? My old laptop is too slow. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2223 __

[issue2223] regrtest.py -R not working

2008-03-03 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Can you test it on your machine please? Running on a 4-core Opteron (2.6GHz). Should complete in an hour or so ... __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2223 __

[issue2223] regrtest.py -R not working

2008-03-03 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: test_collections fails (with -R :: only). Does not look like something related to the recent changes, rather test is not happy about being repeated. $ ./python Lib/test/regrtest.py -R :: test_collections test_collections beginning 9 repetitions

[issue2198] code_hash() can be the same for different code objects

2008-03-03 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I would say filename/lineno are excluded from hash on purpose because they are ignored in comparisons: compile(0, a, eval) == compile(0, b, eval) True Include/code.h has the following comment: /* The rest doesn't count for hash/cmp */ PyObject

[issue2223] regrtest.py -R not working

2008-03-03 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Here are the results from regrtest.py -R :: .. 301 tests OK. 7 tests failed: test_collections test_cprofile test_frozen test_inspect test_logging test_pkg test_profile .. $ cat reflog.txt test_cmd_line leaked [-23, 0, 0, 23] references, sum=0

[issue2226] Small _abcoll Bugs / Oddities

2008-03-03 Thread Armin Ronacher
Changes by Armin Ronacher: -- components: Library (Lib) nosy: aronacher severity: normal status: open title: Small _abcoll Bugs / Oddities versions: Python 3.0 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2226

[issue2226] Small _abcoll Bugs / Oddities

2008-03-03 Thread Armin Ronacher
New submission from Armin Ronacher: _abcoll.py references intertools.chain but doesn't import it. This breaks Set subclasses. Additionally the abstract base classes don't provide the right hand operator callbacks or how you want to call them. So __add__ is there but __radd__ not which for

[issue2226] Small _abcoll Bugs / Oddities

2008-03-03 Thread Georg Brandl
Georg Brandl added the comment: I fixed the import in r61211. Raymond, can you sort out the set operations? -- assignee: - rhettinger nosy: +georg.brandl, rhettinger __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2226

[issue2217] Problem with if clause in generator expression on class level

2008-03-03 Thread Georg Brandl
Georg Brandl added the comment: Good idea! I've committed these changes in r61212. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2217 __ ___ Python-bugs-list mailing list

[issue2198] code_hash() can be the same for different code objects

2008-03-03 Thread Paul Pogonyshev
Paul Pogonyshev added the comment: Hashes being equal for different objects cannot be a bug. At most an enhancement request... -- nosy: +_doublep __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2198 __

[issue2227] time.strptime too strict? should it assume current year?

2008-03-03 Thread Gregory P. Smith
New submission from Gregory P. Smith: Some common python utilities had problems on Feb 29 this year when parsing dates using format strings that did not include a year in them. time.strptime('Feb 29', '%b %d') Traceback (most recent call last): File stdin, line 1, in ? File

[issue2228] Imaplib speedup patch

2008-03-03 Thread Aaron Kaplan
New submission from Aaron Kaplan: In some versions of John Goergen's program offlineimap, he includes a copy of imaplib.py with the attached changes. It results in a speedup of more than 50% compared to using the stock imaplib.py. -- files: imaplib-patch messages: 63237 nosy:

[issue2228] Imaplib speedup patch

2008-03-03 Thread Benjamin Peterson
Changes by Benjamin Peterson: -- nosy: +pierslauder __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2228 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue2218] Enhanced hotshot profiler with high-resolution timer

2008-03-03 Thread Benjamin Peterson
Changes by Benjamin Peterson: -- nosy: +fdrake __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2218 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue2220] bug in rlcompleter

2008-03-03 Thread Benjamin Peterson
Changes by Benjamin Peterson: -- type: crash - behavior __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2220 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue2227] time.strptime too strict? should it assume current year?

2008-03-03 Thread Brett Cannon
Brett Cannon added the comment: The documentation already mentions that the default values when information left out is (1900, 1, 1, 0, 0, 0, 0, 1, -1) so the docs are already clear. If you want to generate a patch to make the default year be this year I would be willing to review it and

[issue2226] Small _abcoll Bugs / Oddities

2008-03-03 Thread Raymond Hettinger
Raymond Hettinger added the comment: * Removed the dependency on itertools: r61213. * Fixed nasty cut-and-paste error in Callable: r61214 Leaving the other one for Guido. I suspect the __radd__ style methods are can of worms best left unopened for now. The right solution probably involves

[issue2219] Py30a3: Possibly confusing message when module detection fails

2008-03-03 Thread Martin v. Löwis
Martin v. Löwis added the comment: What I find confusing is: Failed to find the necessary bits to build these modules: modules To find the necessary bits, look in setup.py in detect_modules() for the module's name. I find it confusing because AFAIK if a module can't be built it usually

[issue2229] Search in 2.6 docs does not work

2008-03-03 Thread Miki Tebeka
New submission from Miki Tebeka: Try searching for anything on http://docs.python.org/dev/search.html No result is shown (at least on FireFox and IE7). -- components: Documentation messages: 63242 nosy: tebeka severity: normal status: open title: Search in 2.6 docs does not work type: