Martin v. Löwis mar...@v.loewis.de added the comment:
A use case here is in a stack trace or a debugger where an error
occured. For example does this come from an egg? And if so, which one?
Perhaps I have missed something in PEP 302, or perhaps this is defined
elsewhere. Please elucidate.
Changes by Martin v. Löwis mar...@v.loewis.de:
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4725
___
Martin v. Löwis mar...@v.loewis.de added the comment:
This is related to issue4060. Ronald, what is the status of that?
The only reason why BIGENDIAN could be defined in the official binaries
is that the build was created on a PPC system. Benjamin, is that the case?
--
nosy:
Dmitry Vasiliev d...@hlabs.spb.ru added the comment:
OK, I've attached PEP-333 compatible fixes for wsgiref. I think there is
only one problem remains:
- wsgiref expects io.BytesIO as input and output streams because of
http.server module. I didn't find any restrictions on data returned by
New submission from Nathaniel Smith n...@pobox.com:
cPickle.dump by default does not properly encode unicode characters
outside the BMP -- it throws away the high bits:
cPickle.loads(cPickle.dumps(u\U00012345))
u'\u2345'
The problem is in dump, not load:
pickle.dumps(u\U00012345) # works
Mark Dickinson dicki...@gmail.com added the comment:
Final patch.
Skip, could you please give this one a try, and then with any luck this
can be fixed for 3.0.1. (Sorry for creating more work; this should be
the last time.)
I've added a configure test that detects x87 FPU usage, via the
Antoine Pitrou pit...@free.fr added the comment:
Please read the two paragraphs *after* the one you quoted.
I don't see anything forbidding bytes objects in those two paragraphs.
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4718
Kuba Wieczorek faw...@gmail.com added the comment:
Here is a revised version of the patch with directories support for
write(). It works like UNIX zip program so if a directory path is passed
to the function, it stores only the directory itself (without the contents).
This time without tests as
Benjamin Peterson musiccomposit...@gmail.com added the comment:
Yes, I made the build on a PPC machine. I'm no expert on this, but maybe
we should just get rid of the configure check and use the
__LITTLE_ENDIAN__ and __BIG_ENDIAN__ macros.
___
Python tracker
Antoine Pitrou pit...@free.fr added the comment:
Le mardi 23 décembre 2008 à 11:15 +, Dmitry Vasiliev a écrit :
Dmitry Vasiliev d...@hlabs.spb.ru added the comment:
OK, I've attached PEP-333 compatible fixes for wsgiref.
I may be mistaken, but it seems that your patch forces iso-8859-1
Dmitry Vasiliev d...@hlabs.spb.ru added the comment:
Antoine Pitrou wrote:
Le mardi 23 décembre 2008 à 11:15 +, Dmitry Vasiliev a écrit :
OK, I've attached PEP-333 compatible fixes for wsgiref.
I may be mistaken, but it seems that your patch forces iso-8859-1
encoding of http bodies.
Antoine Pitrou pit...@free.fr added the comment:
No, just as PEP said str used as a container for binary data.
This is clearly the wrong thing to do. The only (immutable) string-like
object adequate for binary data in py3k is bytes, not str.
I understand the desire to stick to the PEP, but
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4730
___
___
Python-bugs-list mailing
Martin v. Löwis mar...@v.loewis.de added the comment:
I have now reverted the patch in r67914. I won't reject the patch
because of Scott's alternative, but leave it open for review. Since
Scott's patch is not approved yet, this is not a release blocker anymore.
--
assignee: loewis -
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
I've combined Scott's patch with John's (?) test case in issue1706039.diff.
Confirmed that the patch fixes the issue on Mac OS X
10.5.6 (Intel).
Added file: http://bugs.python.org/file12434/issue1706039.diff
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Maybe not a problem, but an inconsistency: in Py_UniversalNewlineFgets
clearerr is added inside univ_newline conditional and then again before
the loop over characters, but in Py_UniversalNewlineFread it is added only
Phillip J. Eby p...@telecommunity.com added the comment:
Antoine, you have three choices here:
1. Follow the PEP,
2. Take it to the Web-SIG and get the appropriate discussion,
consensus, and PEP revision, or
3. Drop wsgiref from the current release of Py3K until #2 can be done.
Which would
John Smith ebgs...@gmail.com added the comment:
Sorry for inconvenience caused with the patch.
I should've got more reviews before asking it checked in.
I verified eof2.diff-applied-python gets Bus error
and Scott Dial's fileobject.diff fixes this.
(Test was on 9.6.0 Darwin Kernel Version
Changes by Kuba Wieczorek faw...@gmail.com:
Removed file: http://bugs.python.org/file12433/zipfile_dirs_support.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4710
___
Changes by Kuba Wieczorek faw...@gmail.com:
Added file: http://bugs.python.org/file12435/zipfile_dirs_support.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4710
___
Scott Dial sc...@scottdial.com added the comment:
They differ because in Py_UniversalNewlineFgets() there is a call to
FLOCKFILE(), and it seemed appropriate to ensure that clearerr() was
called after locking the FILE stream. I certainly pondered over whether
it made a difference to do it before
Adeodato Simó d...@net.com.org.es added the comment:
Hello, I see that something akin to my proposed patch was applied, but I
think the order of the arguments to shutil.copymode was reversed in the
process. This function takes (src, dst) as arguments, and we want
permissions to flow backup -
New submission from Mike Coleman m...@users.sourceforge.net:
I was thrown by the Failed to find the necessary bits to build these
modules message at the end of newer Python builds, and thought that
this indicated that the Python executable itself was not built.
That's arguably stupidity on my
Matteo Bertini matt...@naufraghi.net added the comment:
Please have a look at the proposed patch:
http://bugs.python.org/file11511/subprocess-eintr-safety-25maint-
r65475.patch
the list is more or less the patch itself.
___
Python tracker
Martin v. Löwis mar...@v.loewis.de added the comment:
Yes, I made the build on a PPC machine.
Hmm. Ronald's instructions say that the build machine must be
x86 for the build to work. I don't know what other
consequences using PPC would have; I recommend that we follow
these instructions until
Benjamin Peterson musiccomposit...@gmail.com added the comment:
Thanks for pointing that out! Fixed in r67919.
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4602
___
New submission from Andrew Gillis fbsd...@gmail.com:
Allocating large numbers of strings objects has been causing Python to
segfault on RHEL. Originally detected when sending large data
structures over XMLRPC, but also happens when appending large numbers of
small strings to a list and calling
New submission from Daniel Diniz aja...@gmail.com:
This patch adds a version of urlopen that uses available encoding
information to return strings instead of bytes.
The main goal is to provide a shortcut for users that don't want to
handle the decoding in the easy cases[1]. One added benefit it
Graham Dumpleton graham.dumple...@gmail.com added the comment:
Note that the page:
http://www.wsgi.org/wsgi/Amendments_1.0
contains clarifications for WSGI PEP in respect of Python 3.0. This list
was previously come up with on WEB-SIG list.
As another reference implementation for Python 3.0,
New submission from George Yoshida qui...@users.sourceforge.net:
Download page for 2.5.3 documantation is not ready.
---
Go to Documentation top page:
http://docs.python.org/
click Previous versions
click Python 2.5.3
click Download all these documents
But this URL,
STINNER Victor victor.stin...@haypocalc.com added the comment:
Instead of define a method for each syscall, you can write a generic
function that retry at OSError(EINTR):
def no_intr(self, func, *args, **kw):
while True:
try:
return func(*args, **kw)
except OSError, e:
if
STINNER Victor victor.stin...@haypocalc.com added the comment:
Oh, the new patch (subprocess-retry-on-EINTR-std-in-out-err.diff) has
already a generic function (_no_intr) which is a little bit different
than mine (looks like a decorator). Can you delete your old patch?
Christian Heimes li...@cheimes.de added the comment:
Thx, I'll review the patch after Christmas.
--
nosy: +christian.heimes
priority: - normal
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4733
New submission from Rodney rwpj...@comcast.net:
An error occurred during the installation of
assembly 'Microsoft.VC90.CRT, version=9.0.21022.8,publicKey
Token=1fc8b3b9a1e18e3b,processorArchitecture=x86,type=win32.
Please refer to Help and Support for
more information.
--
34 matches
Mail list logo