Graeme Cross gjcr...@gmail.com added the comment:
I will check that the patch works with 3.2; if not, I'll redo the patch for 3.2.
I will also incorporate the review changes from Ezio and Eric.
--
___
Python tracker rep...@bugs.python.org
Nadeem Vawda nadeem.va...@gmail.com added the comment:
Reproduced on 3.3 head. Looking at the documentation of the C readline
library, it needs to know the length of the prompt in order to display
properly, so this seems to be an acknowledged limitation of the underlying
library rather than a
Idan Kamara idank...@gmail.com added the comment:
You're right, as this little C program verifies:
#include stdio.h
#include stdlib.h
#include readline/readline.h
int main() {
printf(foo );
char* buf = readline();
free(buf);
return 0;
}
Passing ' ' seems to be a suitable
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Unfortunately, it won't work. _dosmaperr() is not exported by msvcrt.dll, it is
only available when you link against the static version of the C runtime.
--
___
Python tracker
Tom Christiansen tchr...@perl.com added the comment:
Guido van Rossum rep...@bugs.python.org wrote
on Sat, 27 Aug 2011 03:26:21 -:
To me, making (default) iteration deviate from indexing is anathema.
So long is there's a way to interate through a string some other way
that by code
New submission from Antoine Pitrou pit...@free.fr:
This doesn't happen on 2.x cPickle, where PUT keys are simply treated as
strings.
import pickle, pickletools
s = b'Va\np-1\n.'
pickletools.dis(s)
0: VUNICODE'a'
3: pPUT-1
7: .STOP
highest protocol among
Antoine Pitrou pit...@free.fr added the comment:
Same with LONG_BINPUT on a 32-bit build:
s = b'\x80\x03X\x01\x00\x00\x00ar\xff\xff\xff\xff.'
pickletools.dis(s)
0: \x80 PROTO 3
2: XBINUNICODE 'a'
8: rLONG_BINPUT -1
13: .STOP
highest protocol among opcodes = 2
Antoine Pitrou pit...@free.fr added the comment:
Here is a new patch against 3.2. I can't say it works for sure, but it should
be much better. It also adds a couple more tests.
There seems to be a separate issue where pure-Python pickle.py considers 32-bit
lengths signed where the C impl
New submission from Antoine Pitrou pit...@free.fr:
In several opcodes (BINBYTES, BINUNICODE... what else?), _pickle.c happily
accepts 32-bit lengths of more than 2**31, while pickle.py uses marshal's i
typecode which means signed... and therefore fails reading the data.
Apparently, pickle.py
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset b06f011a3529 by Nick Coghlan in branch 'default':
Fix #12835: prevent use of the unencrypted sendmsg/recvmsg APIs on SSL wrapped
sockets (Patch by David Watson)
http://hg.python.org/cpython/rev/b06f011a3529
Changes by Nick Coghlan ncogh...@gmail.com:
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12835
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 7b83d2c1aad9 by Nick Coghlan in branch 'default':
Fix #9923: mailcap now uses the OS path separator for the MAILCAP envvar. Not
backported, since it could break cases where people worked around the old
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
Although the reference docs don't list the numeric values of logging levels,
this happened during reorganising of the docs. The table has moved to the HOWTO:
http://docs.python.org/howto/logging.html#logging-levels
That said, I don't
Nick Coghlan ncogh...@gmail.com added the comment:
As noted in the commit message, I didn't backport this, since it didn't seem
worth risking breaking even the unlikely case that someone actually *was* using
the MAILCAP environment variable on Windows.
--
resolution: - fixed
stage:
Vlad Riscutia riscutiav...@gmail.com added the comment:
Oh, got it. Interesting. Then should I just add a comment somewhere or should
we resolve this as Won't Fix?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12802
Antoine Pitrou pit...@free.fr added the comment:
We could add a special case to generrmap.c (but how can I compile and execute
this file? it doesn't seem to be part of the project files).
--
___
Python tracker rep...@bugs.python.org
Tom Christiansen tchr...@perl.com added the comment:
Guido van Rossum rep...@bugs.python.org wrote
on Fri, 26 Aug 2011 21:11:24 -:
Would this also affect .islower() and friends?
SHORT VERSION: (7 lines)
I don't believe so, but the relationship between lower() and islower()
Changes by Vinay Sajip vinay_sa...@yahoo.co.uk:
--
title: Creating a multiproccess.pool.ThreadPool from a child thread blows up.
- Creating a multiprocess.pool.ThreadPool from a child thread blows up.
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
Ok, apparently I can use errmap.mak, except that I get the following error:
Z:\default\PCnmake errmap.mak
Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.
cl
Antoine Pitrou pit...@free.fr added the comment:
Ok, running vcvarsamd64.bat seems to do the trick.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12802
___
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
I think it's just a documentation issue. The problem with documenting limits is
that they are system-specific and, even if the current limits that
Charles-François has mentioned are documented, these could become outdated.
Perhaps a
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
So is this now just a documentation issue, about the changed behaviour of pipes
in 3.2?
--
nosy: +vinay.sajip
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11990
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
Closing, as Andrey Vlasovskikh has agreed that this is a duplicate of #9205.
--
nosy: +vinay.sajip
resolution: - duplicate
status: open - closed
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
Here is a new patch.
--
Added file: http://bugs.python.org/file23053/winenotdir.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12802
___
Vlad Riscutia riscutiav...@gmail.com added the comment:
Attached updated patch which extends generrmap.c to allow for easy addition of
other error mappings.
Also regenerated errmap.h and unittest.
--
Added file: http://bugs.python.org/file23054/issue12802_2.diff
Antoine Pitrou pit...@free.fr added the comment:
Note that #9205 fixed concurrent.futures, but not multiprocessing.Pool which is
a different kettle of fish.
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8296
Charles-François Natali neolo...@free.fr added the comment:
Avoid sending very large amounts of data via queues, as you could come up
against system-dependent limits according to the operating system and whether
pipes or sockets are used. You could consider an alternative strategy, such
Nick Coghlan ncogh...@gmail.com added the comment:
Putting this back to open until we decide what to do about the OS X test
failures. It sounds like it could really do with some more poking and prodding
to figure out whether or not it poses a potential security risk or is just a
relatively
Guido van Rossum gu...@python.org added the comment:
Thanks you very much. We should fix the behavior in 3.3 for sure. I'm
thinking that we may be able to backport the behavior fix to 2.7 and
3.2 as well, since it just makes the behavior generally better (and
for most folks it won't matter
Tom Christiansen tchr...@perl.com added the comment:
Guido van Rossum rep...@bugs.python.org wrote
on Sat, 27 Aug 2011 16:15:33 -:
Although personally I don't have much of an intuition for what
titlecase means (and why it's important), perhaps because I'm not
familiar with any
Matthew Barnett pyt...@mrabarnett.plus.com added the comment:
There are some oddities in Unicode case-folding.
Under full case-folding, both \N{LATIN CAPITAL LETTER SHARP S} and \N{LATIN
SMALL LETTER SHARP S} fold to ss, which means that those codepoints match
each other.
However, under
Antoine Pitrou pit...@free.fr added the comment:
Neither am I. Even in old-style English with ae and oe, one wrote
ÆGYPT and ÆSIR all caps but Ægypt and Æsir in titlecase, not *Aegypt or
*Aesir. Similarly with ŒNOLOGY / Œnology / œnology, never *Oenology.
Trying to disprove you a bit:
Vlad Riscutia riscutiav...@gmail.com added the comment:
Ah, I see Antoine already attached a patch. I was 3 minutes late :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12802
___
Terry J. Reedy tjre...@udel.edu added the comment:
Python makes it easy to transform a sequence with a generator as long as no
look-ahead is needed. utf16.UTF16.__iter__ is a typical example. Whenever a
surrogate is found, grab the matching one.
However, grapheme clustering does require
Ezio Melotti ezio.melo...@gmail.com added the comment:
FTR, with the latest Python 3.2/3.3 (narrow) I get:
Total failures: 58 / 500 ( 12%)
Total successes: 442 / 500 ( 88%)
and with the latest Python 3.2/3.3 (wide) I get:
Total failures: 52 / 500 ( 10%)
Total successes: 448 / 500
35 matches
Mail list logo