[issue8957] strptime('%c', ..) fails to parse output of strftime('%c', ..) in non-English locale

2011-01-10 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Victor, You may be interested because your native language is implicated. :-) -- nosy: +haypo ___ Python tracker ___

[issue9566] Compilation warnings under x64 Windows

2011-01-10 Thread STINNER Victor
STINNER Victor added the comment: ssl_sock_fd_int.patch: add SOCKET_T_AS_INT(fd) macro to cast a socket descriptor (SOCKET_T) to int. I choosed a macro just to not have to repeat a comment twice :-) It looks like it is a safe to cast SOCKET_T to int. My comment: /* On Windows, SOCKET_T is an

[issue9566] Compilation warnings under x64 Windows

2011-01-10 Thread STINNER Victor
STINNER Victor added the comment: > On Windows, SOCKET_T is an offset in per-process handle table. > The per-process limit on kernel handles is 2^24. Kernel Objects: Reference: http://www.mail-archive.com/openssl-dev@openssl.org/msg23781.html -- ___

[issue9566] Compilation warnings under x64 Windows

2011-01-10 Thread STINNER Victor
STINNER Victor added the comment: ssl_write.patch: always clamp SSL_Write() size to INT_MAX. This patch fixes also an overflow if Py_ssize_t is 32 bits (if the size is bigger than INT_MAX). -- Added file: http://bugs.python.org/file20347/ssl_write.patch ___

[issue9566] Compilation warnings under x64 Windows

2011-01-10 Thread STINNER Victor
STINNER Victor added the comment: hash.patch: continue my fix on md5, sha1, sha256, sha512. -- Added file: http://bugs.python.org/file20348/hash.patch ___ Python tracker ___

[issue9566] Compilation warnings under x64 Windows

2011-01-10 Thread STINNER Victor
STINNER Victor added the comment: _sre.patch: store sre_match() result in Py_ssize_t instead of int. -- Added file: http://bugs.python.org/file20349/_sre.patch ___ Python tracker ___

[issue9566] Compilation warnings under x64 Windows

2011-01-10 Thread STINNER Victor
STINNER Victor added the comment: ... and issue9566.patch: various fixes. Interesting parts: --- -id = PyLong_FromLong((Py_uintptr_t) self); +id = PyLong_FromVoidPtr(self); --- --- LOCAL(PyObject*) -expat_parse(XMLParserObject* self, char* data, int data_len, int final) +expat_parse(X

[issue10848] Move test.regrtest from getopt to argparse

2011-01-10 Thread R. David Murray
R. David Murray added the comment: Testing regrtest is distinctly non-trivial, since options have interactions (some of the somewhat unobvious). Ideally we'd refactor the code so that we could point it at a test test-directory so we could write some automated tests for it :) But if you are

[issue1726687] Bug found in datetime for Epoch time = -1

2011-01-10 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Committed in revision 87919. If bots are happy about the unit test, this should be backported to 3.1 and 2.7. -- resolution: -> fixed stage: unit test needed -> committed/rejected ___ Python tracker

[issue6792] Distutils-based installer does not detect 64bit versions of Python

2011-01-10 Thread Francis Cullen
Francis Cullen added the comment: There are many updated installers, for many libs for those of us using 64bit windows 7. http://www.lfd.uci.edu/~gohlke/pythonlibs/ -- nosy: +menek...@gmail.com ___ Python tracker

[issue10848] Move test.regrtest from getopt to argparse

2011-01-10 Thread R. David Murray
R. David Murray added the comment: Note that it is also possible that after doing a review of the functionality, there might be consensus to drop one or more options, which would be a good thing overall, IMO. -- ___ Python tracker

[issue2267] datetime.datetime operator methods are not subclass-friendly

2011-01-10 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Note that before r82065, python prototype, now available as Lib/datetime.py had binary operations implemented to return subclass instances. Here is annotated pre-r82065 code: 39876 gvanrossum def __add__(self, other): 39876 gvanrossum if

[issue9034] datetime module should use int32_t for date/time components

2011-01-10 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue9004] datetime.utctimetuple() should not set tm_isdst flag to 0

2011-01-10 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue10844] OS X installer: update copyright dates in app bundles

2011-01-10 Thread Ned Deily
Ned Deily added the comment: Also backported by Georg to 3.1 (r87885) and 2.7 (r87886) -- ___ Python tracker ___ ___ Python-bugs-list

[issue7229] Manual entry for time.daylight can be misleading

2011-01-10 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I am going to reject this. None of the proposed changes seem to be better than the current documentation. The time.daylight variable has the same meaning as eponymous C variable defined in time.h header. The latter is described in widely available and

[issue10884] pkgutil EggInfoDistribution requirements for .egg-info metadata

2011-01-10 Thread Michael Mulich
New submission from Michael Mulich : Found an issue where the metadata initialization of .egg-info dirs (an EggInfoDistribution object) overrides the 'path' variable, which makes it impossible to find a distributions requirements. I've fixed the issue at https://bitbucket.org/pumazi/distutils

[issue10882] Add os.sendfile()

2011-01-10 Thread Ross Lagerwall
Ross Lagerwall added the comment: Ok, I figured it out to link with sendfile on solaris. Here is the updated patch. -- Added file: http://bugs.python.org/file20352/sendfile_v2.patch ___ Python tracker ___

[issue10822] test_getgroups failure under Solaris

2011-01-10 Thread Ross Lagerwall
Ross Lagerwall added the comment: It seems to work fine on OpenIndiana (running normally or as root). According to the posix specification, "It is implementation-defined whether getgroups() also returns the effective group ID in the grouplist array." But, id -G prints all group IDs. Perhaps,

<    1   2