[issue2229] Search in 2.6 docs does not work

2008-03-03 Thread Georg Brandl
Georg Brandl added the comment: This is known and will be fixed before final release. -- nosy: +georg.brandl resolution: -> later status: open -> pending __ Tracker <[EMAIL PROTECTED]> __

[issue2230] Document PyArg_Parse* behavior on failed conversion

2008-03-03 Thread Georg Brandl
Georg Brandl added the comment: Committed in r61226, thank you! -- resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___

[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: > > What I find confusing is: > > > > Failed to find the necessary bits to build these modules: > > > > To find the necessary bits, look in setup.py in detect_modules() for the > > modu

[issue2226] Small _abcoll Bugs / Oddities

2008-03-03 Thread Raymond Hettinger
Changes by Raymond Hettinger: __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/p

[issue2223] regrtest.py -R not working

2008-03-03 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: I can see test_collections.py failure even on r61203 (just before Christian's commit) - r61098 (removed abc._Abstract) E:\python-dev\trunk\Lib\test>py regrtest.py -R :: test_collections.py test_collections beginning 9 repetitions 123456789 test test_collectio

[issue2230] Document PyArg_Parse* behavior on failed conversion

2008-03-03 Thread Benjamin Peterson
Changes by Benjamin Peterson: -- nosy: +georg.brandl __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue2230] Document PyArg_Parse* behavior on failed conversion

2008-03-03 Thread Alexander Belopolsky
Changes by Alexander Belopolsky: -- components: +Documentation severity: normal -> minor type: -> feature request versions: +Python 2.3, Python 2.4, Python 2.5, Python 2.6, Python 3.0 __ Tracker <[EMAIL PROTECTED]>

[issue2230] Document PyArg_Parse* behavior on failed conversion

2008-03-03 Thread Alexander Belopolsky
New submission from Alexander Belopolsky: Much of existing code relies on PyArg_Parse* leaving C variables unmodified when conversion failed. Attached patch documents that behavior. -- files: doc-arg.diff keywords: patch messages: 63243 nosy: belopolsky severity: normal status: open t

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

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

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

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

[issue2220] bug in rlcompleter

2008-03-03 Thread Benjamin Peterson
Changes by Benjamin Peterson: -- type: crash -> behavior __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http

[issue2218] Enhanced hotshot profiler with high-resolution timer

2008-03-03 Thread Benjamin Peterson
Changes by Benjamin Peterson: -- nosy: +fdrake __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue2228] Imaplib speedup patch

2008-03-03 Thread Benjamin Peterson
Changes by Benjamin Peterson: -- nosy: +pierslauder __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://ma

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

[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 "", line 1, in ? File "/usr/lib/python

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

[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]> __ ___ Python-bugs-list mailing list U

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

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

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

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

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

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

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

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

[issue2225] py_compile.main() does not return error code

2008-03-03 Thread Chris AtLee
New submission from Chris AtLee: When using the py_compile module from the command line, and a SyntaxError is encountered, python still exits with a 0 return code. This usually indicates that the process completely successfully. Could py_compile.main() be modified to return a non-zero return co

[issue2223] regrtest.py -R not working

2008-03-03 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: attached simple patch seems to fix the problem but should be reviewed by Christian. -- keywords: +patch Added file: http://bugs.python.org/file9596/regrtest.patch __ Tracker <[EMAIL PROTECTED]>

[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]> __ ___ Python-bugs

[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\test>py3k --version Python 3.0a3+ E:\python-dev\py3k\Lib\test>py3k regrtest.py -R :: test_os.py test_os test_os skipped -- cannot import name _Abstract 1 test skipped:

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

[issue2223] regrtest.py -R not working

2008-03-03 Thread Christian Heimes
Christian Heimes added the comment: I'm going to work on the issue later -- nosy: +tiran priority: -> high __ Tracker <[EMAIL PROTECTED]> __ __

[issue2223] regrtest.py -R not working

2008-03-03 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Sorry, I was stupid. I ran test in wrong directory. release25-maint runs fine, and other two has same error. test_grammar test_grammar skipped -- cannot import name _Abstract -- versions: -Python 2.5 __ Tracker <[EMA

[issue2065] trunk version does not compile with vs8 and vc6

2008-03-03 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Failed to compile py3k again, created patch for three branches. You can close issue1720 and issue1700463 because they are duplicated issues. # I merged Amaury's patch, I hope this patch also # works for VS8. Added file: http://bugs.python.org/file9595/ocean.

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

[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\test>py regrtest.py -R :: test_os.py test_os beginning 9 repetitio

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

2008-03-03 Thread Christian Heimes
Christian Heimes added the comment: By default issues are sorted by priority. I've given the bug the priority "normal". Have a look on page 3 or 4. __ Tracker <[EMAIL PROTECTED]> __ ___

[issue2223] regrtest.py -R not working

2008-03-03 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto: Sorry, I don't have patch, but regrtest.py -R not working now. E:\python-dev\trunk\Lib\test>py25 regrtest.py -R :: test_grammar test_grammar skipped -- No module named _abcoll E:\python-dev\trunk\Lib\test>py regrtest.py -R :: test_grammar test_grammar skip

[issue2179] with should be as fast as try/finally

2008-03-03 Thread Alexander Belopolsky
Changes by Alexander Belopolsky: -- nosy: +belopolsky __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue2222] Memory leak in os.rename?

2008-03-03 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: It looks like non-windows code has a similar problem: static PyObject * posix_2str(PyObject *args, char *format, int (*func)(const char *, const char *)) { char *path1 = NULL, *path2 = NULL; int res; if

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

[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]> __ ___ Python-bugs-list mailing

[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

[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

[issue2216] Problems using logging module with idle

2008-03-03 Thread Andrea Griffini
Andrea Griffini added the comment: I thougt it was a bug because when calling close() handlers are removed from some data structure (the global dictionary and the global list) but they're left inside the loggers they're attached to. Now I understand that this is a responsibility of who attached t

[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: > Args: ('A',) Traceback (most recent

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

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

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

[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: > > 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: Modules/Setup is out of date; _bsddb supports anything between 3.3 and 4.5. -- nosy: +loewis __ Tracker <[EMAIL PROTECTED]> __ __

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