alonwas [EMAIL PROTECTED] added the comment:
Hi Antoine,
The problem happens for files between 2GB and 4GB. I can't really send
you a link to such a big file. To reproduce the problem, you can
generate one. I created (and attach) a tiny C program that helps
generate one. If you want to, you can
Anders Bensryd [EMAIL PROTECTED] added the comment:
Yes, we could do that. However, my concerns are:
1) We cannot be the only Python user that experience this issue? I
would prefer one of these solutions (in this order):
a) A parameter to Py_Initialize (structure) that controls its
Anand B Pillai [EMAIL PROTECTED] added the comment:
Thanks. Will this make into beta3 ?
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3492
___
___
cfr [EMAIL PROTECTED] added the comment:
It returns 27.
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3362
___
___
Python-bugs-list mailing list
Unsubscribe:
cfr [EMAIL PROTECTED] added the comment:
Still fails for me on OS X 10.4.11 with latest available xcode (2.5).
This is on PPC with the current stable release of python (2.5.2).
---configure script---
../configure \
--enable-framework \
LDFLAGS=-L/usr/local/lib \
cfr [EMAIL PROTECTED] added the comment:
I noticed there is an issue (http://bugs.python.org/issue1276) with
Japanese Python users on Macs because the relevant codec is removed in
Tools/unicode/Makefile. That file also removes a number of other codecs,
including Mac Celtic. I just wondered if
Matt Giuca [EMAIL PROTECTED] added the comment:
I have no strong opinion on the very remaining points you listed,
except that IMHO encode_rfc2231 with charset=None should not try to
use UTF8 by default. But someone with more mail protocol skills
should comment :)
OK I've come to the
Changes by Marc-Andre Lemburg [EMAIL PROTECTED]:
--
nosy: -lemburg
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3300
___
___
Python-bugs-list mailing
Guido van Rossum [EMAIL PROTECTED] added the comment:
On Wed, Aug 13, 2008 at 7:25 AM, Matt Giuca [EMAIL PROTECTED] wrote:
I have no strong opinion on the very remaining points you listed,
except that IMHO encode_rfc2231 with charset=None should not try to
use UTF8 by default. But someone
Matt Giuca [EMAIL PROTECTED] added the comment:
I'm OK with replace for unquote() ...
For quote() I think strict is better
There's just an odd inconsistency there, but it's only a tiny gotcha;
and I agree with all your other arguments. I'll change unquote back to
errors='replace'.
This
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Selon Matt Giuca [EMAIL PROTECTED]:
Now that you've spent so much time with this patch, can't you think
of a faster way of doing this?
Well firstly, you could replace Quoter (the class) with a quoter
function, which is nested inside
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Selon Antoine Pitrou [EMAIL PROTECTED]:
As for the defaultdict, here is how it can look like (this is on 2.5):
(there should be a line here saying class D(defaultdict) :-))
... def __missing__(self, key):
... print __missing__, key
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Well, I have no idea what the standard setup on posix boxes is - should
objdump and ldconfig be on $PATH or not?
I think it should try first in $PATH and, if not found, try in /usr/sbin
afterwards. /usr/sbin isn't always in $PATH when in
Guido van Rossum [EMAIL PROTECTED] added the comment:
Now that you've spent so much time with this patch, can't you think
of a faster way of doing this?
Well firstly, you could replace Quoter (the class) with a quoter
function, which is nested inside quote. Would calling a nested function
Bill Janssen [EMAIL PROTECTED] added the comment:
Feel free to take the function implementation from my patch, if it speeds
things up (and it should).
Bill
On Wed, Aug 13, 2008 at 9:41 AM, Guido van Rossum [EMAIL PROTECTED]wrote:
Guido van Rossum [EMAIL PROTECTED] added the comment:
Now
Bill Janssen [EMAIL PROTECTED] added the comment:
Erik van der Poel at Google has now chimed in with stats on current URL
usage:
``...the bottom line is that escaped non-utf-8 is still quite prevalent,
enough (in my opinion) to require an implementation in Python, possibly
even allowing for
Guido van Rossum [EMAIL PROTECTED] added the comment:
Bill Janssen [EMAIL PROTECTED] added the comment:
Erik van der Poel at Google has now chimed in with stats on current URL
usage:
``...the bottom line is that escaped non-utf-8 is still quite prevalent,
enough (in my opinion) to require
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Le mercredi 13 août 2008 à 17:05 +, Bill Janssen a écrit :
I think it's worth remembering that a very large proportion of the use
of Python's urllib.unquote() is in implementations of Web server
frameworks of one sort or another. We
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Le mardi 12 août 2008 à 16:15 +, Martin v. Löwis a écrit :
I also started working on porting it to 3.0, but couldn't complete that
port yet - the memoryview object doesn't play nicely.
I've seen your recent merge and I don't know if you
Terry J. Reedy [EMAIL PROTECTED] added the comment:
Another use case: upon reading A.Baxter's Porting to 3 talk, I realized,
slightly generalizing from his example, that
print(s.join(map(str,it))) == print(*it,sep=s) -- or would, except that
it currently has to be written non-intuitively as
Daniel Diniz [EMAIL PROTECTED] added the comment:
FWIW, rev58032 introduced this:
tstate = PyThreadState_GET();
if (++tstate-recursion_depth Py_GetRecursionLimit()) {
--tstate-recursion_depth;
PyErr_SetObject(PyExc_RuntimeError, PyExc_RecursionErrorInst);
return;
Bill Janssen [EMAIL PROTECTED] added the comment:
On Wed, Aug 13, 2008 at 10:51 AM, Antoine Pitrou [EMAIL PROTECTED]wrote:
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Le mercredi 13 août 2008 à 17:05 +, Bill Janssen a écrit :
I think it's worth remembering that a very large
Changes by Guido van Rossum [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file11107/unnamed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3300
___
Changes by Guido van Rossum [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file11106/unnamed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3300
___
Martin v. Löwis [EMAIL PROTECTED] added the comment:
2) We have to remember to do this change every time we upgrade to a
newer version of Python.
Every new MSVC release brings new problems, as far back as I remember.
Did you actually try to turn it off? Did it work? What if you do
Martin v. Löwis [EMAIL PROTECTED] added the comment:
I've seen your recent merge and I don't know if you have finished with
it.
Indeed, I'm done, r65654. Unless there are actual bugs in these patches
(in the sense that they don't fix the reported problem, or introduce new
bugs), I'd like to
Antoine Pitrou [EMAIL PROTECTED] added the comment:
In any case, the corresponding DECREF *does* exist: in memory_dealloc,
PyBuffer_Release is invoked, which releases the reference.
I'm a bit confused. In the PyBuffer_Release implementation you
committed, there is no DECREF at all.
By the
New submission from Paul Chew [EMAIL PROTECTED]:
When the latest Mac installer (Python 2.5.2 for Macintosh OS X) is used on
a new Mac (10.5.4) the resulting IDLE does not have a Preferences... entry
in its File menu. The only fix that I've found is to use the previous Mac
installer
Antoine Pitrou [EMAIL PROTECTED] added the comment:
The problem happens for files between 2GB and 4GB. I can't really send
you a link to such a big file. To reproduce the problem, you can
generate one.
The problem is that the zip command fails to create a zip file larger
than 2GB (I get zip
Martin v. Löwis [EMAIL PROTECTED] added the comment:
Ok, now that we have established that the user's encoding is supposed to
be mac-celtic, I think I understand the problem: there simply isn't any
IANA charset name for the mac-celtic encoding, so
CFStringConvertEncodingToIANACharSetName doesn't
Hirokazu Yamamoto [EMAIL PROTECTED] added the comment:
I have committed remaining VC6 patch. (I postponed _multiprocessing
module support addition because I sometimes experiences nasty error
message pipe was closed or resource is not enough in
test_multiprocessing. I cannot reproduce it by
cfr [EMAIL PROTECTED] added the comment:
Do you happen to know why it is returning 27? Is that correct or should
it be returning something else (e.g. 39)?
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3362
New submission from Andrew R. [EMAIL PROTECTED]:
I am confused by the socket docs for Python 3000. It says to pass a
string through socket.send or socket.sendall, however, it does not seem
to account for the ASCII to Unicode transition. Trying to send an
ordinary Python 3k string through
Andrew R. [EMAIL PROTECTED] added the comment:
http://docs.python.org/dev/3.0/library/socket.html
The examples at the bottom also add to the confusion.
Also, changed title to be friendlier (failure? Mistake, more likely) and
changed type to no selection.
--
title: Socket Python 3k
Brett Cannon [EMAIL PROTECTED] added the comment:
On Wed, Aug 13, 2008 at 12:49 PM, Daniel Diniz [EMAIL PROTECTED] wrote:
Daniel Diniz [EMAIL PROTECTED] added the comment:
FWIW, rev58032 introduced this:
tstate = PyThreadState_GET();
if (++tstate-recursion_depth
Changes by Benjamin Peterson [EMAIL PROTECTED]:
--
nosy: +benjamin.peterson
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2394
___
___
Python-bugs-list
Changes by Jesús Cea Avión [EMAIL PROTECTED]:
--
nosy: +jcea
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3488
___
___
Python-bugs-list mailing list
Martin v. Löwis [EMAIL PROTECTED] added the comment:
0x27==39. It's all fine.
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3362
___
___
Python-bugs-list
38 matches
Mail list logo