Senthil Kumaran sent...@uthcode.com added the comment:
Chris, as you already suggested in msg124410, I would prefer the removal of
encoding specification from command line. Providing the encoding argument via
API with deprecating warning is a good idea.
The output should be string and it
Changes by Senthil Kumaran sent...@uthcode.com:
--
assignee: - orsenthil
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12398
___
Senthil Kumaran sent...@uthcode.com added the comment:
Here is a patch with the test for accepting the badly formed headers. I would
like to ensure that change in the regex is fool-proof in order to accomodate
this bad behavior, so that we don't break the existing stuff.
It is problem at the
New submission from Senthil Kumaran sent...@uthcode.com:
- ftplib and poplib, has them as timeout=None, while they default
to socket._GLOBAL_DEFAULT_TIMEOUT object.
Changes by Senthil Kumaran sent...@uthcode.com:
--
title: timeout sentinel in ftplib and poplib - timeout sentinel in ftplib and
poplib documentation
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12706
Landry Breuil lan...@openbsd.org added the comment:
floatobject.c is compiled with
cc -pthread -c -fno-strict-aliasing -O2 -pipe -Wall
-DTHREAD_STACK_SIZE=0x2 -fPIC -O2 -pipe -Wall -I. -IInclude -I./Include
-fPIC -DPy_BUILD_CORE -o Objects/floatobject.o Objects/floatobject.c
Changes by Landry Breuil lan...@openbsd.org:
Added file: http://bugs.python.org/file22854/pyconfig.h
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12589
___
Changes by Landry Breuil lan...@openbsd.org:
Added file: http://bugs.python.org/file22855/math.h
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12589
___
Landry Breuil lan...@openbsd.org added the comment:
Interestingly, after an update of the system i can't build python 3.2.1 anymore
:
/usr/include/util.h:102: error: conflicting types for 'openpty'
Include/pyport.h:634: error: previous declaration of 'openpty' was here
/usr/include/util.h:105:
Changes by Landry Breuil lan...@openbsd.org:
Added file: http://bugs.python.org/file22857/build-macppc.log
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12589
___
Sandro Tosi sandro.t...@gmail.com added the comment:
grepping over the stdlib, LookupError is only used in codecs exception; also
the documentation of LE is The base class for the exceptions that are raised
when a key or index used on a mapping or sequence is invalid: IndexError,
KeyError.
Chris Lambacher ch...@kateandchris.net added the comment:
Senthil: I wasn't advocating the removal of the ability to specify encoding,
only stating that avoiding the use of sys.stdout.buffer.write could only
sensibly be done if we also removed the ability to specify an encoding (I can
see how
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset a30e6c4bf486 by Sandro Tosi in branch '2.7':
#12677: correct turtle orientation in doc
http://hg.python.org/cpython/rev/a30e6c4bf486
New changeset bf4f65043d7d by Sandro Tosi in branch '3.2':
#12677: correct turtle
Changes by Sandro Tosi sandro.t...@gmail.com:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12677
___
Antoine Pitrou pit...@free.fr added the comment:
I don't think WARNING: this may corrupt your terminal is warranted. Also, I
think we can safely remove the --encoding option. Calling a module from the
command-line is intended as a demonstration of the module's functionality, it's
not an
Vlad Riscutia riscutiav...@gmail.com added the comment:
The main reason for this issue is that internally ctypes doesn't consider
c_char_p as a pointer type. This is a bit counter-intuitive, but c_char_p is
treated as a simple type and has some other sugar built-in, like easier
integration
Sandro Tosi sandro.t...@gmail.com added the comment:
Here attached a very simple patch, made by slightly re-editing the comment in
pystate.h.
--
keywords: +patch
nosy: +ezio.melotti, sandro.tosi
stage: - patch review
versions: +Python 3.3 -Python 3.1
Added file:
R. David Murray rdmur...@bitdance.com added the comment:
Well, you could consider codecs an example in the stdlib of using it, and the
doc could be changed to something like stdlib modules that look up information
in specialized data sources may raise this error directly. Whether this is a
R. David Murray rdmur...@bitdance.com added the comment:
Perhaps we should issue a warning, then, too?
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12541
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 8852e4a9aa1e by Sandro Tosi in branch '2.7':
#10741: add documentation for PyGILState_GetThisThreadState()
http://hg.python.org/cpython/rev/8852e4a9aa1e
New changeset 53b8260b9ea7 by Sandro Tosi in branch '3.2':
Sandro Tosi sandro.t...@gmail.com added the comment:
I just committed an improved version of the proposed patch (thanks Ezio for the
review and help!).
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python
Sandro Tosi sandro.t...@gmail.com added the comment:
On Mon, Aug 8, 2011 at 00:12, R. David Murray rep...@bugs.python.org wrote:
R. David Murray rdmur...@bitdance.com added the comment:
Well, you could consider codecs an example in the stdlib of using it, and the
doc could be changed to
Vlad Riscutia riscutiav...@gmail.com added the comment:
Not sure how this can be fixed actually. I don't think PyErr_SetFromErrno
instead of PyErr_SetString would work because as far as I can tell, standard
does not mention dlopen making use of errno. Unlike Windows, where LoadLibrary
will
R. David Murray rdmur...@bitdance.com added the comment:
Well, as long as 'accepted' is under 'resolution', I'm likely to keep using it
for feature requests, I suppose because I'm too much of a precisonist. If
someone wants to re-engineer the interface, that would be fine with me :)
I
New submission from Ezio Melotti ezio.melo...@gmail.com:
The documentation for urllib.request.urlopen [0] says that:
This function returns a file-like object [addinfourl] with two additional
methods from the urllib.response module
geturl() — return the URL of the resource retrieved, [...]
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10050
___
___
Ezio Melotti ezio.melo...@gmail.com added the comment:
Another possible improvement that can be done is providing a proper Response
object instead of addbase, addinfo, addinfourl (yes, those are oddly-named
classes, not functions [0]).
The Response object could be like 'addbase', but with this
Craig McQueen pyt...@craig.mcqueen.id.au added the comment:
So this has been rejected I see. Too bad, since I stub my metaphorical toe on
this issue from time to time. Just for the record, here is an example:
http://stackoverflow.com/questions/4130936/perfect-hash-function/6976723#6976723
28 matches
Mail list logo