[issue3754] cross-compilation support for python build

2011-05-25 Thread wrobell
wrobell added the comment: well, looking at the first comment, there is required more than simple read of the manual (i.e. missing config.guess/config.sub). is anything else missing or required? -- ___ Python tracker

[issue3754] cross-compilation support for python build

2011-05-25 Thread Victor Godoy Poluceno
Changes by Victor Godoy Poluceno : -- nosy: -victorpoluceno ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue12175] FileIO.readall() read the file position and size at each read

2011-05-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 72c89daace57 by Victor Stinner in branch 'default': Issue #12175: FileIO.readall() now only reads the file position and size once. http://hg.python.org/cpython/rev/72c89daace57 New changeset 3c7792ec4547 by Victor Stinner in branch 'default': Issue

[issue12177] re.match raises MemoryError

2011-05-25 Thread Matthew Barnett
Matthew Barnett added the comment: This also raises MemoryError: re.match(r'()*?1', 'a1') but none of these do: re.match(r'()+1', 'a1') re.match(r'()*1', 'a1') -- nosy: +mrabarnett ___ Python tracker

[issue12006] strptime should implement %V or %u directive from libc

2011-05-25 Thread Ashley Anderson
Ashley Anderson added the comment: Thanks everyone, please take your time if there are more pressing issues; I'll get to work on tests and documentation in the mean time. I agree that '_calc_julian_from_V' is a bit strange. I was mimicking a similar helper function's name ('_calc_julian_from_

[issue12171] Reset method of the incremental encoders of CJK codecs calls the decoder reset function

2011-05-25 Thread STINNER Victor
STINNER Victor added the comment: cjk_encreset.patch: Fix multibytecodec.MultibyteIncrementalEncoder.reset(), call encreset() instead of decreset(). Improve also incremental encoder tests: reset the encoder using .encode('', final=True) and check the output. I also prefer to reuse the existin

[issue12180] test_packaging: failures --without-threads

2011-05-25 Thread Tarek Ziadé
Tarek Ziadé added the comment: all good now -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-li

[issue12090] 3.2: build --without-threads fails

2011-05-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset bb8bb4db2bc5 by Stefan Krah in branch '3.2': Issue #12090: backport 79fcd71d0356 http://hg.python.org/cpython/rev/bb8bb4db2bc5 -- nosy: +python-dev ___ Python tracker

[issue12171] Reset method of the incremental encoders of CJK codecs calls the decoder reset function

2011-05-25 Thread Martin
Martin added the comment: New cjk_encreset.patch looks good to me. As with issue 12100 this likely wasn't reported before because decoders are robust against escape sequence oddities. -- ___ Python tracker _

[issue12171] Reset method of the incremental encoders of CJK codecs calls the decoder reset function

2011-05-25 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: STINNER Victor wrote: > > STINNER Victor added the comment: > > Le mercredi 25 mai 2011 à 08:23 +, Marc-Andre Lemburg a écrit : >>> Do we need an additional method? It seems that this reset() could >>> also be written encoder.encode('', final=True) >>

[issue12182] pydoc.py integer division problem

2011-05-25 Thread Ralf W. Grosse-Kunstleve
New submission from Ralf W. Grosse-Kunstleve : The pydoc.HTMLRepr.multicolumn() method fails when using the Python command-line option -Qnew. The attached patch inserts two slashes for floor division. (I think the same change was applied to Python 3 already.) -- components: Library (Li

[issue10330] trace module doesn't work without threads

2011-05-25 Thread Stefan Krah
Stefan Krah added the comment: test_trace still fails on 2.7 on the no-threads bot: http://www.python.org/dev/buildbot/all/builders/AMD64%20Fedora%20without%20threads%202.7/builds/22/steps/test/logs/stdio Could you have a short look at the patch. I think it should be correct; the tests pass.

[issue12171] Reset method of the incremental encoders of CJK codecs calls the decoder reset function

2011-05-25 Thread STINNER Victor
STINNER Victor added the comment: > I'm not sure what you mean by "discard the output". > > Calling .reset() should still add the closing sequence to the output > buffer, if needed. Incremental encoders don't have any buffer. Python 3.3a0 (default:3c7792ec4547+, May 26 2011, 00:24:51) >>> im

[issue12006] strptime should implement %V or %u directive from libc

2011-05-25 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Wed, May 25, 2011 at 6:28 PM, Ashley Anderson wrote: > > .. I agree that '_calc_julian_from_V' is a bit strange. I was mimicking a > similar helper function's > name ('_calc_julian_from_U_or_W'), but perhaps that is no defense. This is a perfect defe

[issue12006] strptime should implement %V or %u directive from libc

2011-05-25 Thread R. David Murray
R. David Murray added the comment: It looks like strftime already support %V and %u (presumably if and only if the platform strftime does). -- ___ Python tracker ___ __

[issue6378] Patch to make 'idle.bat' run idle.pyw using appropriate Python interpreter (so 3.1's idle.bat does not accidently use python26.exe)

2011-05-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset f3446f08187a by Kurt B. Kaiser in branch '2.7': IDLE: #6378: Further adjust idle.bat to start associated Python http://hg.python.org/cpython/rev/f3446f08187a -- ___ Python tracker

[issue12183] Python does not support lutime() function

2011-05-25 Thread Марк Коренберг
New submission from Марк Коренберг : see http://www.linuxquestions.org/questions/programming-9/utime-on-a-symbolic-link-743085/: -- Hello, The API utime() is not available for symbolic links. However, with kernel 2.6.22 lutimes() API allowed setting times on atime and mtime on symbolic l

[issue12177] re.match raises MemoryError

2011-05-25 Thread EungJun Yi
EungJun Yi added the comment: This also raises in 2.6.5 Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56) [GCC 4.4.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import re >>> re.match('()+?1', 'a1') Traceback (most recent call last): File "", line 1,

[issue11109] socketserver.ForkingMixIn leaves zombies, also fails to reap all zombies in one pass

2011-05-25 Thread Senthil Kumaran
Senthil Kumaran added the comment: Victor - Sure, I understand Issue #xxx: desc must be useful while generation reST docs. -- ___ Python tracker ___ ___

[issue12184] socketserver.ForkingMixin collect_children routine needs to collect only it's children

2011-05-25 Thread Senthil Kumaran
New submission from Senthil Kumaran : socketserver.ForkingMixin class has a collect_children method, that waits for the children to exit. But, that waits for any child process and not just the ones spawned the socketserver alone. try: pid, status = os.waitpid(0, 0)

[issue12184] socketserver.ForkingMixin collect_children routine needs to collect only it's children

2011-05-25 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- nosy: +charles-francois.natali ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12183] Document behaviour of shutil.copy2 and copystat with symlinks

2011-05-25 Thread Ross Lagerwall
Ross Lagerwall added the comment: Python 3.3 (as yet unreleased) supports the lutimes function: http://docs.python.org/dev/py3k/library/os.html#os.lutimes Python 2.7 is not getting any more features so it will not be added. I'm changing the title to the second part of your question, documenti

[issue12183] Document behaviour of shutil.copy2 and copystat with symlinks

2011-05-25 Thread Petri Lehtinen
Changes by Petri Lehtinen : -- nosy: +petri.lehtinen ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue12182] pydoc.py integer division problem

2011-05-25 Thread Petri Lehtinen
Changes by Petri Lehtinen : -- nosy: +petri.lehtinen ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue12182] pydoc.py integer division problem

2011-05-25 Thread Nick Coghlan
Changes by Nick Coghlan : -- assignee: -> ncoghlan nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue12174] Multiprocessing logging levels unclear

2011-05-25 Thread Nick Coghlan
Changes by Nick Coghlan : -- nosy: +jnoller, ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue12164] str.translate docstring doesn't mention that 'table' can be None

2011-05-25 Thread Petri Lehtinen
Changes by Petri Lehtinen : -- keywords: +patch nosy: +petri.lehtinen Added file: http://bugs.python.org/file22122/str_translate_docstring.patch ___ Python tracker ___ __

<    1   2