[issue1204] readline configuration for shared libs w/o curses dependencies

2008-09-07 Thread Gregory P. Smith
Gregory P. Smith [EMAIL PROTECTED] added the comment: merged into py3k branch in r66285. backported to release25-maint in r66288 and r66289. -- resolution: - accepted status: open - closed versions: -Python 3.0 ___ Python tracker [EMAIL PROTECTED]

[issue3800] Fix for formatter.py

2008-09-07 Thread skomoroh
New submission from skomoroh [EMAIL PROTECTED]: Code: import formatter w = formatter.DumbWriter() f = formatter.AbstractFormatter(w) f.push_margin('dd') f.pop_margin() Result: Traceback (most recent call last): File formatter_test.py, line 7, in module f.push_margin('dd') File

[issue3746] Sphinx producing duplicate id attributes, HTML fails validation.

2008-09-07 Thread Graham Higgins
Graham Higgins [EMAIL PROTECTED] added the comment: Now confirmed. To reproduce, run sphinx-quickstart with project name Test, accepting all defaults. Execute make html, examine .build/html/index.html to find: div class=section id=welcome-to-test-s-documentation h1

[issue3764] asyncore differences between 2.x and 3.x

2008-09-07 Thread Giampaolo Rodola'
Giampaolo Rodola' [EMAIL PROTECTED] added the comment: Sorry, my fault. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3764 ___ ___ Python-bugs-list mailing list

[issue3777] long(4.2) now returns an int

2008-09-07 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Jeffery, you made this change in r59671. Can you comment? -- nosy: +benjamin.peterson, jyasskin ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3777

[issue3417] make the fix_dict fixer smarter

2008-09-07 Thread Rodrigo Bernardo Pimentel
Rodrigo Bernardo Pimentel [EMAIL PROTECTED] added the comment: (I've just realized it's not working properly for fix_dict; I'm fixing it and will drop a note here when it is) ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3417

[issue3799] Byte/string inconsistencies between different dbm modules

2008-09-07 Thread Guido van Rossum
Guido van Rossum [EMAIL PROTECTED] added the comment: Making this into a release blocker just so someone will look at it. Needs to be decided fixed by rc2 at the very latest. -- nosy: +gvanrossum priority: high - release blocker ___ Python tracker

[issue3680] Cycles with some iterator are leaking.

2008-09-07 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: This is my first excursion into cyclic garbage collector implementations, so please review carefully. If you don't implement a tp_clear function, you should leave a comment why not. I think it's ok, since the underlying containers will get

[issue3690] sys.getsizeof wrong for Py3k bool objects

2008-09-07 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: I'm not sure this is a bug. sys.getsizeof doesn't take padding in the malloc implementation into account, either, so a long object that accounts to 22 bytes (such as the number 1) uses at least 24 bytes, also. In any case, I also think this

[issue3799] Byte/string inconsistencies between different dbm modules

2008-09-07 Thread Skip Montanaro
Skip Montanaro [EMAIL PROTECTED] added the comment: Extra data point. I tried f[1] = a and f[b1] = a with dbm.{gnu,ndbm,dumb,sqlite}. All worked with bytes. A except dbm.dumb worked with strings. (dbm.sqlite is my little proof-of-concept module currently in the sandbox.)

[issue1204] readline configuration for shared libs w/o curses dependencies

2008-09-07 Thread Roumen Petrov
Roumen Petrov [EMAIL PROTECTED] added the comment: I realize too late that in my patch line if test $py_cv_lib_readline = !yes; then is not correct. :( It has to be if test $py_cv_lib_readline = no; then, i.e. s/!yes/no/'. ___ Python tracker [EMAIL PROTECTED]

[issue3799] Byte/string inconsistencies between different dbm modules

2008-09-07 Thread Guido van Rossum
Guido van Rossum [EMAIL PROTECTED] added the comment: How hard would it be to fix dbm.dumb to accept strings as well? ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3799 ___

[issue1204] readline configuration for shared libs w/o curses dependencies

2008-09-07 Thread Gregory P. Smith
Gregory P. Smith [EMAIL PROTECTED] added the comment: eek. not quite fixed then :) i'll retest and take care of it. -- resolution: accepted - status: closed - open ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1204

[issue1204] readline configuration for shared libs w/o curses dependencies

2008-09-07 Thread Gregory P. Smith
Gregory P. Smith [EMAIL PROTECTED] added the comment: fixed in trunk r66295/r66296. merging and backporting now... -- versions: +Python 3.0 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1204 ___

[issue1204] readline configuration for shared libs w/o curses dependencies

2008-09-07 Thread Gregory P. Smith
Gregory P. Smith [EMAIL PROTECTED] added the comment: merged to py3k r66297 + r66298 backported to release25-maint r66299 + r66300. -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1204

[issue3760] PEP 3121 --- PyType_Copy is missing

2008-09-07 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: The intention is that different interpreters have distinct, separate instances of the type objects. This is desirable in case of class variables, and standard for Python-defined types. Clearly, 3.0 won't provide that separation for many of the

[issue3526] Customized malloc implementation on SunOS and AIX

2008-09-07 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: I will try to do that patch in coming weeks (obmalloc mostly allocates some 256KB arenas so it should nearly always use mmap). Exactly so. If you can, please also consider supporting Windows, in the same way. Anything in obmalloc that is

[issue3781] warnings.catch_warnings fails gracelessly when recording warnings but no warnings are emitted

2008-09-07 Thread Brett Cannon
Changes by Brett Cannon [EMAIL PROTECTED]: -- assignee: - brett.cannon ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3781 ___ ___ Python-bugs-list

[issue3784] Incorrect compiler options used for cc of Sun Studio 12

2008-09-07 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: Also, can you please attach your config.log? -- nosy: +loewis ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3784 ___

[issue3786] _curses, _curses_panel _multiprocessing can't be build in 2.6b3 w/ SunStudio 12

2008-09-07 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: Why do you think this is a bug in Python? It sounds like a bug in the operating system to me. (actually, it's two bugs - please use separate bug reports in the future: one is that Solaris doesn't implement wchgat, and the other one that it

[issue3791] bsddb not completely removed

2008-09-07 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: The patch looks fine to me, please apply. -- assignee: - amaury.forgeotdarc keywords: -needs review nosy: +loewis resolution: - accepted ___ Python tracker [EMAIL PROTECTED]

[issue3781] warnings.catch_warnings fails gracelessly when recording warnings but no warnings are emitted

2008-09-07 Thread Brett Cannon
Brett Cannon [EMAIL PROTECTED] added the comment: The new patch ditches the WarningsRecorder class and just returns a list that is directly mutated. I also removed all uses of test.test_support.catch_warning() and moved them over. Docs have been thoroughly updated to give example usage. And

[issue3781] warnings.catch_warnings fails gracelessly when recording warnings but no warnings are emitted

2008-09-07 Thread Brett Cannon
Changes by Brett Cannon [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file11382/catch_warnings_atts.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3781 ___

[issue3801] cgi.parse_qsl does not return list

2008-09-07 Thread Kevin M. Turner
New submission from Kevin M. Turner [EMAIL PROTECTED]: This is a regression from 2.5 that causes our test suite to fail in 2.6. Looks like a cut-and-paste bug. Patch attached. -- components: Library (Lib) files: cgi_parse_qsl.diff keywords: patch messages: 72755 nosy: acapnotic

[issue3801] cgi.parse_qsl does not return list

2008-09-07 Thread Facundo Batista
Facundo Batista [EMAIL PROTECTED] added the comment: Dumb error, it was even only in 2.6, 3.0 was ok. Thanks for noticing it, I fixed it and added tests for both versions. Thank you again!! -- nosy: +facundobatista resolution: - fixed status: open - closed

[issue3799] Byte/string inconsistencies between different dbm modules

2008-09-07 Thread Skip Montanaro
Skip Montanaro [EMAIL PROTECTED] added the comment: I'm not sure. I've never done anything with the io module. Simply eliminating the bytes checks and letting it try to write the string yields: File /Users/skip/local/lib/python3.0/dbm/dumb.py, line 170, in __setitem__ self._addkey(key,

[issue3756] re.escape() does not work with bytes()

2008-09-07 Thread Andrew McNamara
Andrew McNamara [EMAIL PROTECTED] added the comment: I don't think it's possible to say whether it's preformance critical - I can certainly image use cases such as parser generators where its speed could be noticed. I tried building a version using regular expressions, but I couldn't do any

[issue3756] re.escape() does not work with bytes()

2008-09-07 Thread Andrew McNamara
Andrew McNamara [EMAIL PROTECTED] added the comment: I meant I can certainly imagine use cases... In case it's not clear, I think the implementation in the patch is good enough (unless someone can suggest any obvious optimisations). If someone can prove that re.escape() performance is causing

[issue3526] Customized malloc implementation on SunOS and AIX

2008-09-07 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: OTOH, if for some compelling reason it's believed Python knows better than platform vendors, then obmalloc should be uglied-up on all paths to make the enlightened choice. I'm proposing that obmalloc is changed to know better than system

[issue3526] Customized malloc implementation on SunOS and AIX

2008-09-07 Thread Tim Peters
Tim Peters [EMAIL PROTECTED] added the comment: I have to admit that if Python /didn't/ know better than platform libc implementers in some cases, there would be no point to having obmalloc at all :-( What you (Martin) suggest is reasonable enough. ___

[issue3802] smtpd.py __getaddr insufficient handling

2008-09-07 Thread Marcus CM
New submission from Marcus CM [EMAIL PROTECTED]: The __getaddr does not handle certain valid MAIL FROM well : For eg, [EMAIL PROTECTED] SIZE= AUTH= would result in a mismatch of bracket handling. Suggested fix is :- def __getaddr(self, keyword, arg): address = None

[issue3492] Zlib compress/decompress functions returning bytearray

2008-09-07 Thread Anand B Pillai
Anand B Pillai [EMAIL PROTECTED] added the comment: Hi Gregory, Let me know if I can help out some way in testing the #3797 patches on various platforms. Regards, --Anand ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3492