[issue9158] PyArg_ParseTuple y* documentation is incorrect

2010-07-04 Thread STINNER Victor
STINNER Victor added the comment: y* and z* result is a Py_buffer, but in C you have to pass a reference to the result variable using &result. Full example: static PyObject * getargs_y_star(PyObject *self, PyObject *args) { Py_buffer buffer; PyObject *bytes; if (!PyArg_ParseTuple(a

[issue9160] Documentation link of 3.2 not working at docs.python.org

2010-07-04 Thread Ezio Melotti
Ezio Melotti added the comment: Also most of the links in http://www.python.org/doc/versions/ don't work. -- nosy: +ezio.melotti priority: normal -> high versions: +Python 2.5 ___ Python tracker ___

[issue1170] shlex have problems with parsing unicode

2010-07-04 Thread R. David Murray
R. David Murray added the comment: shlex may use unicode in py3k, but since the file still starts with a latin-1 coding cookie and the posix logic hasn't been changed, I suspect that it does not work correctly (ie: does not correctly identify word characters, per msg55969). It's too late for

[issue1170] shlex have problems with parsing unicode

2010-07-04 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue5288] tzinfo objects with sub-minute offsets are not supported (e.g. UTC+05:53:28)

2010-07-04 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- keywords: +patch Added file: http://bugs.python.org/file17864/issue5288.diff ___ Python tracker ___ __

[issue5288] tzinfo objects with sub-minute offsets are not supported (e.g. UTC+05:53:28)

2010-07-04 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : Removed file: http://bugs.python.org/file17857/issue5288.diff ___ Python tracker ___ ___ Python-bugs-list mai

[issue8470] Let cmd.cmd.intro be unicode friendly

2010-07-04 Thread Shashwat Anand
Shashwat Anand added the comment: Python 2.7 is already released. This is a non-issue on py3.x. Should this issue be closed or we work on it. -- ___ Python tracker ___ _

[issue4679] Fork + shelve causes shelve corruption and backtrace

2010-07-04 Thread Alex Roper
Alex Roper added the comment: I've just been using the sq_dict module, which is a drop-in replacement for shelve written using sqlite3. BDB is a pretty squirraly piece of software in my experience. It may or may not be stable on it's own, but its APIs are pretty poorly documented and progra

[issue4679] Fork + shelve causes shelve corruption and backtrace

2010-07-04 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Sorry, but I don't understand the point that you are trying to make. sq_dict is indeed considered for inclusion in python: see issue 3783. For this issue, we need a confirmation that the problem is present in the current version. -- _

[issue8912] `make patchcheck` should check the whitespace of .c/.h files

2010-07-04 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Hmm, it looks like patchcheck does not fix trailing whitespace in c files: $ grep ' $' Modules/datetimemodule.c| cat -ve $ GET_TD_DAYS(offset1) * 86400 - $ Py_DECREF(offset);$ if ((offset

[issue5288] tzinfo objects with sub-minute offsets are not supported (e.g. UTC+05:53:28)

2010-07-04 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : Added file: http://bugs.python.org/file17865/issue5288.diff ___ Python tracker ___ ___ Python-bugs-list maili

[issue5288] tzinfo objects with sub-minute offsets are not supported (e.g. UTC+05:53:28)

2010-07-04 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : Removed file: http://bugs.python.org/file17864/issue5288.diff ___ Python tracker ___ ___ Python-bugs-list mai

[issue9149] colorsys.py function rgb_to_hls

2010-07-04 Thread David Hood
David Hood added the comment: And Mark would seem to be entirely correct in this. Colour me embarrassed for missing that one. -- status: open -> closed ___ Python tracker ___ ___

[issue2675] Curses terminal resize problems when Python is in interactive mode

2010-07-04 Thread Mark Lawrence
Mark Lawrence added the comment: Could somebody witht a nix box try this out, I'd do it myself if I had such a beast. -- nosy: +BreamoreBoy ___ Python tracker ___ __

[issue3155] Python should expose a pthread_cond_timedwait API for threading

2010-07-04 Thread Mark Lawrence
Mark Lawrence added the comment: Is anybody with knowledge of the threading module likely to pick this one up? -- nosy: +BreamoreBoy ___ Python tracker ___ __

[issue9161] add_option in optparse no longer accepts unicode string

2010-07-04 Thread Craig McQueen
New submission from Craig McQueen : Working in Japan, I find it very helpful to be able to read full Unicode arguments in Python 2.x under Windows 2000/XP. So I am using the following: http://stackoverflow.com/questions/846850/how-to-read-unicode-characters-from-command-line-arguments-in-python

[issue3268] Cleanup of tp_basicsize inheritance

2010-07-04 Thread Mark Lawrence
Mark Lawrence added the comment: This is a tiny patch against typeobject.c, could somebody please run with it? -- nosy: +BreamoreBoy ___ Python tracker ___ __

[issue8912] `make patchcheck` should check the whitespace of .c/.h files

2010-07-04 Thread Éric Araujo
Éric Araujo added the comment: Sorry if I was unclear. Out of the four points I listed, this patch only did the refactoring (4). I have another patch to add and use a check_pep7 function, I’ll refresh it and post it. -- ___ Python tracker

[issue9161] add_option in optparse no longer accepts unicode string

2010-07-04 Thread Ezio Melotti
Changes by Ezio Melotti : -- components: +Library (Lib), Unicode nosy: +ezio.melotti stage: -> unit test needed type: -> behavior ___ Python tracker ___

[issue9161] add_option in optparse no longer accepts unicode string

2010-07-04 Thread Craig McQueen
Craig McQueen added the comment: My program currently uses ASCII options, so I can change the Unicode string parameter to byte string. The optparse module still seems to match the option against the incoming Unicode argv, I guess by implicit string conversion. --

[issue3802] smtpd.py __getaddr insufficient handling

2010-07-04 Thread Mark Lawrence
Mark Lawrence added the comment: Note there is a patch inline, not sure if a doc patch is needed for this. -- keywords: +patch nosy: +BreamoreBoy stage: -> unit test needed type: -> behavior ___ Python tracker __

[issue3964] quiet the freeze makefile

2010-07-04 Thread Mark Lawrence
Mark Lawrence added the comment: Assuming the patch works (I don't do makefiles) would anyone use this yes or no? -- nosy: +BreamoreBoy ___ Python tracker ___ ___

[issue9162] License for multiprocessing files

2010-07-04 Thread Michael Fladischer
New submission from Michael Fladischer : The files in Lib/multiprocessing (except __init__.py) are referring to their license by point to a nonexistent file called COPYING.txt. This possibly needs clarification as if this file is missing or the license is to be found somewhere else. -

[issue9162] License for multiprocessing files

2010-07-04 Thread Ask Solem
Changes by Ask Solem : -- nosy: +asksol ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/m

[issue9160] Documentation link of 3.2 not working at docs.python.org

2010-07-04 Thread anatoly techtonik
anatoly techtonik added the comment: For me only http://www.python.org/doc/3.1.1/ gives 403. Seems like all other links should be updated from http://www.python.org/doc/2.3.2/ to http://docs.python.org/release/2.3.2/ format to avoid additional redirect. -- nosy: +techtonik _

<    1   2