Steven D'Aprano steve+pyt...@pearwood.info added the comment:
I'm not sure if this belongs here, or on the Google code project page, so I'll
add it in both places :)
Feature request: please change the NEW flag to something else. In five or six
years (give or take), the re module will be long
Ezio Melotti ezio.melo...@gmail.com added the comment:
Or the re module should be *replaced* by the code from the regex module
(but renamed to re, and with certain backwards compatibilities
restored, probably).
This is what I meant.
But I really hope the re module (really: the _sre
Ezio Melotti ezio.melo...@gmail.com added the comment:
But I really hope the re module (really: the _sre extension module)
can be fixed.
If you mean on 2.7/3.2, then I guess we could extract the fixes from regex, but
we have to see if it's doable and someone will have to do it.
Also
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset ba5000307b5d by Nadeem Vawda in branch '2.7':
Issue #12839: Fix crash in zlib module due to version mismatch.
http://hg.python.org/cpython/rev/ba5000307b5d
New changeset cc9e794bf94f by Nadeem Vawda in branch '3.2':
Alexander fred...@mail.ru added the comment:
I would like to make a patch.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12759
___
___
Benjamin Peterson benja...@python.org added the comment:
And here is the next version, taking into account neologix's review.
--
Added file: http://bugs.python.org/file23056/xattrs.patch
___
Python tracker rep...@bugs.python.org
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset ff6adb867f40 by Charles-François Natali in branch '2.7':
Issue #12287: Fix a stack corruption in ossaudiodev module when the FD is
http://hg.python.org/cpython/rev/ff6adb867f40
--
STINNER Victor victor.stin...@haypocalc.com added the comment:
The _socket module doesn't compile anymore on Windows:
Build started: Project: _socket, Configuration: Debug|Win32
Compiling...
socketmodule.c
29..\Modules\socketmodule.c(1649) : warning C4013: '_PyIsSelectable_fd'
undefined;
Charles-François Natali neolo...@free.fr added the comment:
STINNER Victor victor.stin...@haypocalc.com added the comment:
The _socket module doesn't compile anymore on Windows:
Fixed (that's why I wanted a Windows expert to have a look at this patch :-).
You might replace #if
Charles-François Natali neolo...@free.fr added the comment:
That has since been changed. I'm reading from POSIX.1-2008,
which says:
I see.
The warning against using values larger than 2**32 - 1 is still
there, I presume because they would not fit in a 32-bit signed
int.
I assume you
Lars Gustäbel l...@gustaebel.de added the comment:
The patch is fine. Thank you very much for it, Sebastien. I think we have to go
without a unit test.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12841
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 852ca32eb18d by Charles-François Natali in branch '3.2':
Issue #12287: Fix a stack corruption in ossaudiodev module when the FD is
http://hg.python.org/cpython/rev/852ca32eb18d
New changeset ad1c09b6a5b9 by
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 3ed2d087e70d by Charles-François Natali in branch 'default':
Issue #12837: POSIX.1-2008 allows socklen_t to be a signed integer: re-enable
http://hg.python.org/cpython/rev/3ed2d087e70d
--
nosy: +python-dev
Charles-François Natali neolo...@free.fr added the comment:
Thanks for the patch.
For the record, here's Linus Torvalds' opinion on this whole socklen_t
confusion:
_Any_ sane library _must_ have socklen_t be the same size as int. Anything
else breaks any BSD socket layer stuff. POSIX
Antoine Pitrou pit...@free.fr added the comment:
Is it normal that listxattr() succeeds but getxattr() fails with ENOTSUPP?
os.listxattr(/)
[]
os.getxattr(/, foo)
Traceback (most recent call last):
File stdin, line 1, in module
OSError: [Errno 95] Operation not supported
This is on
Changes by Charles-François Natali neolo...@free.fr:
--
components: +Documentation -Library (Lib)
nosy: +docs@python
priority: normal - low
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8426
Changes by Kasun Herath kasun...@gmail.com:
--
nosy: +kasun
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12537
___
___
Python-bugs-list mailing
Benjamin Peterson benja...@python.org added the comment:
2011/8/28 Antoine Pitrou rep...@bugs.python.org:
Antoine Pitrou pit...@free.fr added the comment:
Is it normal that listxattr() succeeds but getxattr() fails with ENOTSUPP?
os.listxattr(/)
[]
os.getxattr(/, foo)
Traceback (most
Benjamin Peterson benja...@python.org added the comment:
After Antoine's review...
--
Added file: http://bugs.python.org/file23057/xattrs.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12720
Changes by terry.h terry.her...@gmail.com:
--
nosy: +terry.h
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11969
___
___
Python-bugs-list mailing
Charles-François Natali neolo...@free.fr added the comment:
Hello,
there's some issues compiling the multiprocessing module on the SunOS
I have here, where CMSG_LEN, CMSG_ALIGN, CMSG_SPACE and sem_timedwait
are absent.
CMSG_LEN and friends should be defined by sys/socket.h (as required by
Charles-François Natali neolo...@free.fr added the comment:
Alright, committed to 2.7, 3.2 an default.
Seems to work on all the buildbots, closing.
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python
Guido van Rossum gu...@python.org added the comment:
[me]
But I really hope the re module (really: the _sre extension module)
can be fixed.
[Ezio]
Start fixing these issues from scratch doesn't make much sense IMHO. We
could extract the fixes from regex and merge them in re, but then
Guido van Rossum gu...@python.org added the comment:
Thanks Tom for such a clear explanation! I hope someone will implement
this. (Matthew, does this affect regex? I am guessing it does, for
case-insensitive matching?)
--
___
Python tracker
Guido van Rossum gu...@python.org added the comment:
PEP-393 will take care of iterating by code points.
Only for CPython. IronPython/Jython will still need a separate solution.
Where would you have other iterators go? The string module?
Something else I have not thought of? Or something
Terry J. Reedy tjre...@udel.edu added the comment:
I prefer a new parameter either at the end of the arglist or possibly keyword
only. The idea for both variations is to let typical users ignore the option,
which would be hard to do if it is part of the prime parameter. The idea for
keyword
Ezio Melotti ezio.melo...@gmail.com added the comment:
Ideally, we need a Unicode czar -- a core developer whose job it is
to keep track of Python's compliance with various parts and versions
of the Unicode standard and who can nudge other developers towards
fixing bugs or implementing
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: +terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12805
___
___
Python-bugs-list
Changes by Terry J. Reedy tjre...@udel.edu:
--
components: +Library (Lib), Tests
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12815
___
Terry J. Reedy tjre...@udel.edu added the comment:
Which Python version? 3.3?
--
components: +Library (Lib), Tests
nosy: +terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12814
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
components: +Library (Lib), Tests
versions: +Python 3.3 -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12808
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: +terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12816
___
___
Python-bugs-list
Terry J. Reedy tjre...@udel.edu added the comment:
A note for anyone else: David is actually using the xml.parsers.expat module,
which uses the now undocumented pyexpat module, whose direct use is deprecated.
David: Have you tested with 3.1 or 3.2? (I am about to try on Windows ;-).
Terry J. Reedy tjre...@udel.edu added the comment:
Running with IDLE on Windows, I get no crash or uncaught exception but got
these printed lines:
An error occurred during XML parsing. Error ID: 9. Error message: junk after
document element
Line number: 1
An error occurred during XML
Terry J. Reedy tjre...@udel.edu added the comment:
What action are you suggesting? Change ctypes code or its doc or something
else. If the doc, please suggest a specific change.
Can you test on 3.x?
--
nosy: +terry.reedy
title: cast() creates circular reference in original object -
Terry J. Reedy tjre...@udel.edu added the comment:
I have confirmed that this only happens in windows.
This would literally mean that you tested on several other systems. Did you
actually mean 'I have only confirmed that this happens in Windows., that you
only tested on Windows?
The 2.6
Matthew Barnett pyt...@mrabarnett.plus.com added the comment:
The regex module currently uses simple case-folding, although I'm working
towards full case-folding, as listed in
http://www.unicode.org/Public/UNIDATA/CaseFolding.txt.
--
___
Python
New submission from Shubhojeet Ghosh shubhojeet.gh...@yahoo.com:
There seems to be an issue with urllib2
The headers defined does not match with the physical data packet (from
wireshark). Other header parameters such as User Agent, cookie works fine.
Here is an example of a failure:
Python
STINNER Victor victor.stin...@haypocalc.com added the comment:
Should this bug be fixed in 3.3, or 2.7+3.2+3.3?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12841
___
Terry J. Reedy tjre...@udel.edu added the comment:
You are doing two different things to the original string: normalizing and
encoding to ascii with errors ignored. Each should be tested separately.
On 3.2:
import unicodedata
s1 = üfürükçü ağaç ve ıslıkçı çeşme
s2 =
Terry J. Reedy tjre...@udel.edu added the comment:
But I think we may want to create a new module which
provides various APIs specifically for apps that need care when
dealing with Unicode.
I have started thinking that way too -- perhaps unitools?
It could contain the code point iterator for
Tom Christiansen tchr...@perl.com added the comment:
Antoine Pitrou rep...@bugs.python.org wrote on Sat, 27 Aug 2011 20:04:56
-:
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
Nadeem Vawda nadeem.va...@gmail.com added the comment:
Done. Once again, thanks for the report and the patch!
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
You should call the .flush() method when switching from writes to reads.
Nothing really overflows, but the fread() function may return uninitialized
memory. In versions 2.x, python uses the fopen, fread and fwrite function
(from the
douglas bagnall doug...@paradise.net.nz added the comment:
Earlier this year I wrote Python wrappers for a number of generators:
https://github.com/douglasbagnall/riffle
They are mostly cryptographic stream ciphers from the ESTREAM[1] project, but I
was also interested in dSFMT[2], which is a
douglas bagnall doug...@paradise.net.nz added the comment:
A bit more on the state size and period of the stream ciphers.
Chacha and Salsa use 64 bytes (512 bits) of state (vs ~2.5kB for MT19937).
Its counter is 64 bits, and its seed can be 320 bits (in cipher-speak, the seed
is split between
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - committed/rejected
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12846
___
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
Thanks Douglas. Can you say what the cryptographic guarantees are for Chacha
and Salsa (seeing a stream of randoms doesn't allow you to do deduce internal
state, previous randoms, or future randoms)? Is it suitably strong for
48 matches
Mail list logo