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,
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:
Changes by Gregory P. Smith:
--
priority: normal -
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1035
__
___
Python-bugs-list mailing list
Unsubscribe:
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
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
_
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
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
Changes by Phillip J. Eby:
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1739468
_
___
Python-bugs-list mailing list
Unsubscribe:
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
__
Guido van Rossum added the comment:
Committed revision 57574.
--
nosy: +gvanrossum
resolution: - accepted
status: open - closed
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1739906
_
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
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
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
_
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
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
__
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
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]
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
Changes by Ali Gholami Rudi:
--
versions: +Python 3.0
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1774736
_
___
Python-bugs-list mailing list
Unsubscribe:
19 matches
Mail list logo