Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:
Probably, but this affects all PyArg_ParseTuple(s#) calls that release
the GIL afterwards. How many of them are there?
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3139
Mark Dickinson [EMAIL PROTECTED] added the comment:
I'm working on it. I expect to have something ready by the end of this
weekend.
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3008
___
New submission from Amaury Forgeot d'Arc [EMAIL PROTECTED]:
Since python3.0, chr(0x2f81a) works even on narrow Unicode builds, but
%c % 0x2f81a
OverflowError: %c arg not in range(0x1) (narrow Python build)
Likewise, Py_BuildValue(C) should accept codes outside the BMP.
--
Georg Brandl [EMAIL PROTECTED] added the comment:
What real-life use case do you have for a condition that is a boolean
operation on two constant values anyway? Things like
while 1:
...
are properly optimized since they serve a useful purpose.
--
nosy: +georg.brandl
New submission from LI Daobing [EMAIL PROTECTED]:
currently r\ or r'\' is not a valid string literal and it is already
documented.
but this exception is not simple enough, it make users confused when
they found that r'C:\Program\Python\' does not work as expected.
please consider support this,
Chris Withers [EMAIL PROTECTED] added the comment:
Amaury,
Yes, I agree with you, and that sucks too. I'd suggest opening another
bug for that ;-)
For an allegedly nice, shiny, new and perfect module, datetime sure
seems to have an awful lot lacking...
Chris
Changes by Giampaolo Rodola' [EMAIL PROTECTED]:
--
title: socket's SO_REUSEADDR option does not work on FreeBSD - socket's
SO_OOBINLINE option does not work on FreeBSD
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3278
Chris Withers [EMAIL PROTECTED] added the comment:
Hi George,
I haven't looked at your patch but that fact that there are no unit
tests and you talk about copying and pasting code, I'd suggest this
might not be a good patch.
Refactor so code is only in one place rather than copying and
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:
This happens if the site-packages directory contains a .pth file.
This was unnoticed because the usual message
'import site' failed; use -v for traceback
is never printed: sys.stderr is empty before the call to initstdio().
Facundo Batista [EMAIL PROTECTED] added the comment:
The r prefix changes how the escape sequences are interpreted after
the string literal has been parsed, it doesn't change how the literal
itself is actually parsed.
Fixing this will imply too much low level work, and it's easily solved
in
New submission from Amaury Forgeot d'Arc [EMAIL PROTECTED]:
str.isprintable() returns True for undefined unicode code points:
c = \ufffe
unicodedata.category(c)
'Cn' # (Other, Not Assigned)
c.isprintable()
True
Same for \u0242, \ufb12...
The cause is probably in unicodectype.c:
New submission from Andrii V. Mishkovskyi [EMAIL PROTECTED]:
Lib/multiprocessing/connection.py contains two uses of
AuthenticationError, while it's not imported from multiprocessing
package. This exception is used in deliver_challenge() and
answer_challenge() functions. I've attached a small
Guido van Rossum [EMAIL PROTECTED] added the comment:
BTW couldn't you use the %a feature built into C99 to implement this?
(Both input and output?)
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3008
___
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:
Microsoft compilers implement %a since VS8.0.
VS7.1 does not have it.
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3008
___
George Boutsioukis [EMAIL PROTECTED] added the comment:
Hi Chris,
I know copy-pasted sounds horrible--perhaps I should have said 'modeled
afterwards'(better marketing;). The thing is, the datetime time
classes share a lot of common functionality; it is inevitable that some
code looks like
Georg Brandl [EMAIL PROTECTED] added the comment:
Should be fixed in r64701...
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3282
Changes by Brett Cannon [EMAIL PROTECTED]:
--
nosy: +brett.cannon
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3279
___
___
Python-bugs-list mailing
Andrew Azarov [EMAIL PROTECTED] added the comment:
tested:
Python 2.5.2 (r252:60911, Jun 24 2008, 16:40:26)
[GCC 4.2.1 20070719 [FreeBSD]] on freebsd7
FreeBSD tomcat 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52
UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386
New submission from Terry J. Reedy [EMAIL PROTECTED]:
In 3.0b1, several str methods have 'Unicode' in their docstrings
leftover from 2.x when str *was* unicode.
For
center
count
ljust
rjust
translate
'Unicode' should be deleted before 'string'.
For 'translate', I presume 'Unicode
New submission from Raymond Hettinger [EMAIL PROTECTED]:
After exercising the fractions module, I've found it problematic that
there isn't a unified constructor to handle mixed data input types.
For example, when updating the accurate summation recipe at
New submission from Terry J. Reedy [EMAIL PROTECTED]:
On my Windows XP system, IDLE opens windows too low, even the first, so
that the bottom is behind the task bar. When I move the window up,
close, and reopen, it occasionally remembers the position but usually
forgets. Always remembering
Benjamin Peterson [EMAIL PROTECTED] added the comment:
Thanks! Done in r64716.
--
nosy: +benjamin.peterson
resolution: - fixed
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3284
Jean Brouwers [EMAIL PROTECTED] added the comment:
Below is the reply from SUN. It was indeed a bug which has been fixed already.
I have not yet applied the patches to my SUN compilers and tried again.
/Jean
Begin forwarded message:
From: Sun Microsystems [EMAIL PROTECTED]
Date: July 1,
Nick Coghlan [EMAIL PROTECTED] added the comment:
Hmm, setting an invalid value for __package__ will definitely break
relative imports (see PEP 361), but it probably shouldn't be breaking
absolute imports.
--
nosy: +ncoghlan
___
Python tracker [EMAIL
Nick Coghlan [EMAIL PROTECTED] added the comment:
One idea would be to change the import code to only produce a warning
for a missing __package__ entry instead of a SystemError (reserving the
SystemError for cases where the package name is derived from __name__
rather than being retrieved from
Kevin Goodsell [EMAIL PROTECTED] added the comment:
Hans is right, that patch isn't very good. Here's a second pass. This
one avoids joining the file basename to sys.path components, which I'd
say is wrong since it strips (presumably relevant) leading path components.
A second part of this
26 matches
Mail list logo