Alexander Belopolsky wrote:
On Wed, Feb 23, 2011 at 6:32 PM, M.-A. Lemburg m...@egenix.com wrote:
Alexander Belopolsky wrote:
..
In what sense is Latin-1 the official name? The IANA charset
registry has the following listing
Name: ISO_8859-1:1987
On 2/24/2011 4:02 AM, M.-A. Lemburg wrote:
I get 788,000 hits for 'latin1 -latin-1' on Google,
'latin-1' gives 2,600,000 hits. Looks like it's still
the preferred way to write that encoding name.
That's bogus. You can't search for latin-1 on Google, it isn't strict
enough. The third hit is a
On Wed, Feb 23, 2011 at 3:51 PM, Stephen J. Turnbull step...@xemacs.org wrote:
Jesus Cea writes:
Every time I read a message from [long, incompletewink list] and
so many others python-devs (not an exhaustive list, if you are not
there, you probably should, sorry :), I feel I am faking
On Tue, Feb 22, 2011 at 11:34 PM, Jesus Cea j...@jcea.es wrote:
..
Issue filed. It already has a patch. That was fast!. Now I can sit back
waiting for 3.2.1 before touching my project again :). Mixed feelings
about the waiting. I hope it is short.
It looks like you don't need delay your
I'm guessing that one of these encoding names is recognized by the C
code while the other one takes the slow path via the aliasing code.
On Wed, Feb 23, 2011 at 11:16 AM, Alexander Belopolsky
alexander.belopol...@gmail.com wrote:
On Tue, Feb 22, 2011 at 11:34 PM, Jesus Cea j...@jcea.es wrote:
On Wed, Feb 23, 2011 at 4:07 PM, Guido van Rossum gu...@python.org wrote:
I'm guessing that one of these encoding names is recognized by the C
code while the other one takes the slow path via the aliasing code.
This is absolutely right. In fact I am going to propose adding
strcmp(lower,
Alexander Belopolsky wrote:
On Wed, Feb 23, 2011 at 4:07 PM, Guido van Rossum gu...@python.org wrote:
I'm guessing that one of these encoding names is recognized by the C
code while the other one takes the slow path via the aliasing code.
This is absolutely right. In fact I am going to
On Wed, Feb 23, 2011 at 4:23 PM, M.-A. Lemburg m...@egenix.com wrote:
..
Latin-1 is the official name and the one used internally by Python,
so it would be good to have the test suite and Python code in general
to use that variant of the name (just as utf-8 is preferred over
utf8).
Instead
Alexander Belopolsky wrote:
On Wed, Feb 23, 2011 at 4:23 PM, M.-A. Lemburg m...@egenix.com wrote:
..
Latin-1 is the official name and the one used internally by Python,
so it would be good to have the test suite and Python code in general
to use that variant of the name (just as utf-8 is
On Wed, Feb 23, 2011 at 4:54 PM, M.-A. Lemburg m...@egenix.com wrote:
..
Yet 108 for the correct name, so I can't follow your statement
that the wrong variant is used more often.
Hmm, your grepping skills are probably better than mine. I get
$ grep -iw latin-1 Lib/*.py | wc -l
24
and
On Wed, Feb 23, 2011 at 4:23 PM, M.-A. Lemburg m...@egenix.com wrote:
..
Latin-1 is the official name and the one used internally by Python,
In what sense is Latin-1 the official name? The IANA charset
registry has the following listing
Name: ISO_8859-1:1987
Alexander Belopolsky wrote:
On Wed, Feb 23, 2011 at 4:54 PM, M.-A. Lemburg m...@egenix.com wrote:
..
Yet 108 for the correct name, so I can't follow your statement
that the wrong variant is used more often.
Hmm, your grepping skills are probably better than mine. I get
$ grep -iw
On Wed, Feb 23, 2011 at 5:21 PM, M.-A. Lemburg m...@egenix.com wrote:
..
If you open a ticket for this, I'll add the list of hits to
that ticket.
http://bugs.python.org/issue11303
___
Python-Dev mailing list
Python-Dev@python.org
M.-A. Lemburg wrote:
Still, the stdlib and test suite should be examples of using the
correct names.
I won't argue with the stdlib portion of your argument, but I would
think that the best example of test code would be a complete and
thorough check of all options.
~Ethan~
Alexander Belopolsky wrote:
On Wed, Feb 23, 2011 at 4:23 PM, M.-A. Lemburg m...@egenix.com wrote:
..
Latin-1 is the official name and the one used internally by Python,
In what sense is Latin-1 the official name? The IANA charset
registry has the following listing
Name:
On Wed, Feb 23, 2011 at 6:32 PM, M.-A. Lemburg m...@egenix.com wrote:
Alexander Belopolsky wrote:
..
In what sense is Latin-1 the official name? The IANA charset
registry has the following listing
Name: ISO_8859-1:1987 [RFC1345,KXS2]
MIBenum: 4
Source:
M.-A. Lemburg writes:
Latin-1 is short for Latin Alphabet No. 1 [...].
I assume that since the HTML standard used the more popular
name Latin-1 for its definition of the default character set
and also made use of the term throughout the spec, it
became the de-facto standard name for
Google Code search limited to python
latin1: 3,489
http://www.google.com/codesearch?hl=enlr=q=latin1+lang%3Apythonsbtn=Search
latin-1: 5,604
http://www.google.com/codesearch?hl=enlr=q=latin-1+lang%3Apythonsbtn=Search
utf8: 25,341
On Wed, Feb 23, 2011 at 8:48 PM, Dj Gilcrease digitalx...@gmail.com wrote:
Google Code search limited to python
latin1: 3,489
http://www.google.com/codesearch?hl=enlr=q=latin1+lang%3Apythonsbtn=Search
latin-1: 5,604
On 2/23/2011 9:19 PM, Alexander Belopolsky wrote:
On Wed, Feb 23, 2011 at 8:48 PM, Dj Gilcrease digitalx...@gmail.com wrote:
Google Code search limited to python
latin1: 3,489
http://www.google.com/codesearch?hl=enlr=q=latin1+lang%3Apythonsbtn=Search
latin-1: 5,604
On 22/02/2011 12:14, Jesus Cea wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I have 10MB pickled structure generated in Python 2.7. I only use basic
types (no clases) like sets, dictionaries, lists, strings, etc.
The pickle stores a lot of strings. Some of them should be bytes,
while
On Tue, 22 Feb 2011 13:14:18 +0100
Jesus Cea j...@jcea.es wrote:
This seems to be a bug in Python 3.2. Any suggestion?.
Report an issue and investigate :)
Antoine.
___
Python-Dev mailing list
Python-Dev@python.org
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 22/02/11 13:20, Michael Foord wrote:
Traceback (most recent call last):
File stdin, line 1, inmodule
ValueError: operation forbidden on released memoryview object
That seems like an odd error, but the decision was made that Python 2
PS: Just checked... Python 3.1.3 imports the pickle just fine. So busy
migrating my projects to 3.2 (it was my compromise two years ago :), I
don't have time to debug this :).
I hope you do have a time to open an issue, though :-)
Eli
___
Python-Dev
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 22/02/11 15:32, Eli Bendersky wrote:
PS: Just checked... Python 3.1.3 imports the pickle just fine. So busy
migrating my projects to 3.2 (it was my compromise two years ago :), I
don't have time to debug this :).
I hope you do have a time to
On Tue, Feb 22, 2011 at 9:31 PM, Stephen J. Turnbull step...@xemacs.org wrote:
Jesus Cea writes:
PPS: If there is consensus that this is a real bug, I would create an
issue in the tracker and try to get a minimal testcase.
All bugs are issues, but not all issues are bugs.
Please don't
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 23/02/11 03:31, Stephen J. Turnbull wrote:
Please don't wait for consensus or even a second opinion to file the
issue.
It's reasonable for a new Python user to ask whether something is a
bug or not, but if somebody with your experience and
Jesus Cea writes:
Every time I read a message from [long, incompletewink list] and
so many others python-devs (not an exhaustive list, if you are not
there, you probably should, sorry :), I feel I am faking my
knowledge of Python :-). I am a pretender :).
Sure. I suspect even some of
28 matches
Mail list logo