Tarek Ziadé ziade.ta...@gmail.com added the comment:
I think a workable solution to the problem with the compiler
option would be to remove the option from the build_ext,
build_clib and config commands (plus any others, if there are
more) and only allow it on the build command.
The problem
Changes by Tarek Ziadé ziade.ta...@gmail.com:
--
resolution: - accepted
title: cygwincompiler regular expressions broken - cygwinccompiler regular
expressions broken
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6438
Abdulmonem dubais...@gmail.com added the comment:
As a user I experienced this bug. With python 3.1, the interpreter
terminate with fatal error:
Py_Initialize: can't initialize sys standard streams
LookupError: unknown encoding: cp720
I think, this can be replicated by changing the active
New submission from Tarek Ziadé ziade.ta...@gmail.com:
Duplicate code, will create a single get_version() function in
distutils.util and make both commands use it + deprecate
cygwinccompiler.get_version and emxccompiler.get_version
--
assignee: tarek
components: Distutils
messages:
Tarek Ziadé ziade.ta...@gmail.com added the comment:
done in r73975, r73976
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6438
___
New submission from Lucas Prado Melo lucaspradom...@gmail.com:
--
$ cat raw_input_test.py
s = ''
try:
while True:
c = raw_input()
print c
s += c
except EOFError:
pass
$ python raw_input_test.py
test^D^Dtes
^D
$ python --version
Lucas Prado Melo lucaspradom...@gmail.com added the comment:
-1 on this one.
It is not a portable decision (only *nix OSes do have /dev/null).
Also, why would we want it as a default constant? The subprocess module
would need to open /dev/null every time. Despite that, I can't see how
would
Antoine Pitrou pit...@free.fr added the comment:
Once this patch is checked in, should we do an emergency 3.1.1 release?
--
nosy: +benjamin.peterson, pitrou
priority: - critical
versions: +Python 3.2
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
Lucas, Windows has a /dev/null-like device. I think Jean's suggestion is
reasonable, but it should be a special constant instead of creating a
file descriptor unconditionnally (that is, the file should only be open
if needed). Also, a patch should
Mark Dickinson dicki...@gmail.com added the comment:
I'm don't know whether this is really worth a 3.1.1, all by itself.
There's an easy workaround, which is for affected users to set their
locale properly.
--
___
Python tracker
Antoine Pitrou pit...@free.fr added the comment:
Tomas, your patch is breaking an existing API, which may break existing
uses (I'm not sure which ones, but people are doing lots of things with
Python). That's why I proposed a separate API, which has the additional
benefit of making things
Antoine Pitrou pit...@free.fr added the comment:
Can you include your unit test in your patch rather than as a separate
script? Existing unit tests are in Lib/test.
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
New submission from Bosko Vukov bvu...@users.sourceforge.net:
For some reason functions PyDict_GetItem ( and PyDict_GetItemString )
don't try to check for '__missing__' on subclass, but
dict_subscript(dictobject *mp, register PyObject *key) does.
Only in this function a failure to get a value
Benjamin Peterson benja...@python.org added the comment:
Yes, this is intended. PyDict_GetItem already bypasses user __getitem__
methods, so it's logical it would do the same for __missing__.
--
nosy: +benjamin.peterson
resolution: - wont fix
status: open - closed
Benjamin Peterson benja...@python.org added the comment:
Fixed in r73981.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6429
___
Benjamin Peterson benja...@python.org added the comment:
Fixed in r73981.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2412
___
jkg pyt...@slashbot.com added the comment:
Combined patch as requested by pitrou.
(Sorry. This is my first submission.)
--
Added file: http://bugs.python.org/file14486/nlcre_full.patch
___
Python tracker rep...@bugs.python.org
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1772794
___
___
New submission from Chris Perkins chrisperkin...@gmail.com:
Proposed feature - function definition expressions, superficially
similar to Ruby blocks.
To be proposed on Python-ideas list.
--
files: blocks.patch
keywords: patch
messages: 90455
nosy: grammati
severity: normal
status: open
Chris Perkins chrisperkin...@gmail.com added the comment:
Forgot to mention - the patch is very much incomplete. It breaks tests,
contains none of the work that would need to be done in the ast package,
etc. This is just a proof-of-concept.
--
___
New submission from Christoph Gohlke cgoh...@uci.edu:
On Windows Vista 64-bit, when running Python 2.6.2 (32 or 64 bit) from a
network share, e.g. \\Server\Share\python26\python.exe,
importing Tkinter fails with WindowsError: [Error 3] The system cannot
find the path specified. See session
New submission from Ezio Melotti ezio.melo...@gmail.com:
In Python 2.6, socket.error was changed to be a child class of IOError
[1]. IOError derives from EnvironmentError [2], and EnvironmentError
accepts a 2-tuple used to set the values of the errno and strerror
attributes respectively [3].
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Instead of using another source of third-party files, I suggest to use the
Windows
functions to generate the mapping.
The attached patch contains a script, genwincodec.py, which uses
MultiByteToWideChar
and generates a codec file.
I
Changes by Amaury Forgeot d'Arc amaur...@gmail.com:
--
keywords: +patch
Added file: http://bugs.python.org/file14490/genwincodec-py3k.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1616979
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Added more regression tests in revision 73986 and revision 73987
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6267
___
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
In Py3.x, this fails:
%s.%s.%s-%s-%s % sys.version_info
The reason is that PyUnicode_Format() expects a real tuple, not a tuple
lookalike. The fix is to either have structseq inherit from tuple or to
modify
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
No, it seems that 2.5 has the same problem. The 'socket error' message is
raised in urllib.py. The socket module is innocent to me...
It appears that this file routinely raises IOErrors, passing various
arguments, which are not stored
Antoine Pitrou pit...@free.fr added the comment:
Sorry for giving you a slightly wrong indication. The email tests are
called from Lib/test/test_email.py, but it redirects to
Lib/email/test/*. In any case, there's no point in creating a separate
test script for such a detail, you should add your
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Confirmed here. Added a unit test.
--
assignee: - loewis
keywords: +needs review
nosy: +amaury.forgeotdarc, loewis
stage: - patch review
Added file: http://bugs.python.org/file14491/tk-unc.patch
New submission from Mitchell Model m...@acm.org:
I can't quite sort this out, because it's difficult to see what is
intended. The documentation of xml.etree.ElementTree (19.11 in the
Library doc) uses terms like iterator, tree iterator, iterable,
list in vague and perhaps not quite accurate
Changes by Jerry Chen je...@3rdengine.com:
--
nosy: +effbot
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6472
___
___
Python-bugs-list mailing
Changes by Benjamin Peterson benja...@python.org:
--
assignee: georg.brandl - effbot
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6472
___
___
R. David Murray rdmur...@bitdance.com added the comment:
Yes, it looks to me like urllib is intentionally putting the 'socket
error' or 'url error' into the errno position in the IOError arguments.
Now that socket.error is an IOError, that at least seems wrong.
--
nosy: +r.david.murray
Changes by R. David Murray rdmur...@bitdance.com:
--
title: errno and strerror attributes incorrectly set on socket.error - errno
and strerror attributes incorrectly set on socket errors wrapped by urllib
___
Python tracker rep...@bugs.python.org
New submission from Iain Wade iw...@optusnet.com.au:
Test vectors are in the following draft rfc:
http://tools.ietf.org/html/draft-nystrom-smime-hmac-sha
The problem is that hmac.py has a hard-coded block size of 64, while
SHA-384 and SHA-512 have a 128-byte block size.
Suggested fix is
Martin v. Löwis mar...@v.loewis.de added the comment:
Amaury: your approach sounds fine to me, please apply.
--
resolution: - accepted
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1616979
Martin v. Löwis mar...@v.loewis.de added the comment:
Reconsidering, I'd like to ask for two changes:
- please record the command(s) used to generate tables on Windows
somewhere, in either Tools/unicode/Makefile, or a separate batch file.
- please arrange for the doc string of the generated file
37 matches
Mail list logo