[issue1035] bytes buffer API needs to support PyBUF_LOCKDATA

2007-08-27 Thread Gregory P. Smith
New submission from Gregory P. Smith: I've converted _bsddb.c to use the py3k buffer API for all data and keys it takes as input. All tests now fail with this error: BufferError: Cannot make this object read-only. This presumably results from this call: PyObject_GetBuffer(obj, view,

[issue1036] py3k _bsddb.c patch to use the new buffer API

2007-08-27 Thread Gregory P. Smith
New submission from Gregory P. Smith: This is my svn diff of a py3k Modules/_bsddb.c converted to use the buffer API. I'm submitting it here as so it doesn't get misplaced as it currently won't work until bytes objects support PyBUF_LOCKDATA (a separate bug) -- assignee:

[issue1035] bytes buffer API needs to support PyBUF_LOCKDATA

2007-08-27 Thread Gregory P. Smith
Changes by Gregory P. Smith: -- priority: normal - __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1035 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1037] Ill-coded identifier crashes python when coding spec is utf-8

2007-08-27 Thread Hye-Shik Chang
New submission from Hye-Shik Chang: Illegal identifier makes python crash on UTF-8 source codes/interpreters. Python 3.0x (py3k:57555M, Aug 27 2007, 21:23:47) [GCC 3.4.6 [FreeBSD] 20060305] on freebsd6 compile(b'#coding:utf-8\n\xfc', '', 'exec') zsh: segmentation fault (core dumped) ./python

[issue1202533] a bunch of infinite C recursions

2007-08-27 Thread Armin Rigo
Armin Rigo added the comment: Assigning to Brett instead of me (according to the tracker history). -- assignee: arigo - brett.cannon _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1202533 _

[issue1771364] Misc improvements for the io module

2007-08-27 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks!! Committed revision 57564. SocketIO was recently moved to socket.py because that's the only place that uses it. So I've removed it from io.__all__. The only other change I applied was related to the isatty check -- you accidentally changed things

[issue1739468] Add a -z interpreter flag to execute a zip file

2007-08-27 Thread Phillip J. Eby
Phillip J. Eby added the comment: Patch implementing an alternate approach: support automatically importing __main__ when sys.argv[0] is an importable path. This allows zip files, directories, and any future importable locations (e.g. URLs) to be used on the command line. Note that this also

[issue1739468] Add a -z interpreter flag to execute a zip file

2007-08-27 Thread Phillip J. Eby
Changes by Phillip J. Eby: _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1739468 _ ___ Python-bugs-list mailing list Unsubscribe:

[issue1024] documentation for new SSL module

2007-08-27 Thread Guido van Rossum
Guido van Rossum added the comment: Committed revision 57570. I didn't review it though. -- nosy: +gvanrossum resolution: - accepted status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1024 __

[issue1739906] Add reduce to functools in 2.6

2007-08-27 Thread Guido van Rossum
Guido van Rossum added the comment: Committed revision 57574. -- nosy: +gvanrossum resolution: - accepted status: open - closed _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1739906 _

[issue1029] py3k: io.StringIO.getvalue() returns \r\n

2007-08-27 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: That's why the current behaviour is not correct: When I write('\n'), getvalue() currently returns '\r\n'. Oh, I missed your example in your initial message. So yes, I agree that StringIO shouldn't translate newlines like that. I attached a patch that

[issue1038] [py3k] pdb does not work in python 3000

2007-08-27 Thread Gregory P. Smith
New submission from Gregory P. Smith: The Lib/pdb.py debugger fails in the py3k branch. Traceback (most recent call last): File /usr/local/gps/python/py3k/Lib/pdb.py, line 1247, in main pdb._runscript(mainpyfile) File /usr/local/gps/python/py3k/Lib/pdb.py, line 1173, in _runscript

[issue1670765] email.Generator: no header wrapping for multipart/signed

2007-08-27 Thread Collin Winter
Collin Winter added the comment: I'd like some tests demonstrating where the current implementation fails and your patch helps, yes. _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1670765 _

[issue1670765] email.Generator: no header wrapping for multipart/signed

2007-08-27 Thread Martin von Gagern
Martin von Gagern added the comment: Looks like I missed your comments on this patch. What kind of tests do you have in mind? Tests demonstrating where current implementation fails and my patch will help? Or rather tests checking that this patch won't break anything else? The former would be

[issue1032] Improve the hackish runtime_library_dirs support for gcc

2007-08-27 Thread Seo Sanghyeon
Seo Sanghyeon added the comment: The patch is incorrect since find returns -1 on failure. This is also a duplicate of #1254718. -- nosy: +sanxiyn __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1032 __

[issue1670765] email.Generator: no header wrapping for multipart/signed

2007-08-27 Thread Martin von Gagern
Martin von Gagern added the comment: Take the attached test5.eml. Run it through the following python script: import email print (email.message_from_file(open(test5.eml)).as_string(False)) The result will have both instances of the X-Long-Line header rewrapped. As the second instance is

[issue1528802] Turkish Character

2007-08-27 Thread Ismail Donmez
Ismail Donmez added the comment: This works fine with python 2.4 : import locale locale.setlocale(locale.LC_ALL,tr_TR.UTF-8) 'tr_TR.UTF-8' print uMayıs.upper() MAYIS -- nosy: +cartman _ Tracker [EMAIL PROTECTED]

[issue1033] Support for newline and encoding in tempfile module

2007-08-27 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks! Committed revision 57594. General note: please run Tools/scripts/reindent.py over your files after editing so I won't have to. -- nosy: +gvanrossum resolution: - accepted status: open - closed __ Tracker

[issue1774736] Binding Control-space fails

2007-08-27 Thread Ali Gholami Rudi
Changes by Ali Gholami Rudi: -- versions: +Python 3.0 _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1774736 _ ___ Python-bugs-list mailing list Unsubscribe: