[issue13882] PEP 410: Use decimal.Decimal type for timestamps

2012-02-08 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file24445/time_decimal-11.patch ___ Python tracker ___ ___ Python-bugs-list m

[issue13882] PEP 410: Use decimal.Decimal type for timestamps

2012-02-08 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file24448/time_decimal-12.patch ___ Python tracker ___ ___ Python-bugs-list m

[issue13968] Support recursive globs

2012-02-08 Thread Nick Coghlan
Nick Coghlan added the comment: I think it's important to be clear on what the walkdir API aims to be: a composable toolkit of utilities for directory tree processing. It's overall design is inspired directly by the itertools module. Yes, it started life as a simple proposal to add shutil.fil

[issue13968] Support recursive globs

2012-02-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: > However, along with that itertools inspired iterator pipeline based > design, I've also inherited Raymond's preference that particular *use > cases* start life as recipes in the documentation. I think it's important to remember where we are coming from. Many

[issue13964] os.utimensat() and os.futimes() should accept Decimal, drop os.futimens()

2012-02-08 Thread STINNER Victor
STINNER Victor added the comment: signal.sigtimedwait() API should also be changed from: sigtimedwait(sigset, (timeout_sec, timeout_nsec)) to: sigtimedwait(sigset, timeout) where timeout can be an int, float or decimal.Decimal. The function was introduced in Python 3.3, so its API can be c

[issue13964] os.utimensat() and os.futimes() should accept Decimal, drop os.futimens()

2012-02-08 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: Updated version of my suggestion: os.futime(fd, (atime, mtime)) os.utime(path, (atime, mtime), flags=0) os.utimeat(dirfd, path, (atime, mtime), flags=0) atime and mtime could be int, float, decimal.Decimal or None. All other os.*utime*() fu

[issue1559549] ImportError needs attributes for module and file name

2012-02-08 Thread Brett Cannon
Brett Cannon added the comment: Brian, what is left for updating your patch? I'm going to need this to fix test_pydoc to not fail in my importlib bootstrap work so I can (finally) help with this. Is it just actually using the new features of the exception? -- assignee: brett.cannon ->

[issue13968] Support recursive globs

2012-02-08 Thread Nick Coghlan
Nick Coghlan added the comment: We do have the option of aliasing glob.iglob as shutil.glob... -- ___ Python tracker ___ ___ Python-b

[issue13370] test_ctypes fails when building python with clang

2012-02-08 Thread Meador Inge
Meador Inge added the comment: > So perhaps as a temporary workaround, we could tweak setup.py to set > -O0 for building ctypes with clang? That would make the tests pass, but it still won't fix the fundamental issue. clang and GCC have a difference in opinion as to when function parameters a

[issue11379] Remove "lightweight" from minidom description

2012-02-08 Thread Eli Bendersky
Eli Bendersky added the comment: Martin, do you find the wording I quoted (*without* the reference to a more Pythonic API) acceptable? -- ___ Python tracker ___ ___

[issue13968] Support recursive globs

2012-02-08 Thread Eli Bendersky
Eli Bendersky added the comment: >> Well, if glob() already lived in shutil, this decision would be a no-brainer :) Having glob() in the glob module and globtree() in the shutil module, though, looks a bit weird. (I agree having a separate module for glob isn't ideal) Would it be feasible to d

[issue9257] cElementTree iterparse requires events as bytes; ElementTree uses strings

2012-02-08 Thread Eli Bendersky
Eli Bendersky added the comment: Eric, Thanks for checking. I agree that this behavior is acceptable, but a documentation fix would be appropriate. The documentation of iterparse should mention the events it accepts, also saying that those are strings. The events are listed at http://effbot

[issue9257] cElementTree iterparse requires events as bytes; ElementTree uses strings

2012-02-08 Thread Eli Bendersky
Eli Bendersky added the comment: Changing the target version(s) and adding some documentation experts to the nosy list -- nosy: +eric.araujo, ezio.melotti, sandro.tosi versions: +Python 3.2, Python 3.3 -Python 3.1 ___ Python tracker

[issue1040439] Missing documentation on how to link with libpython

2012-02-08 Thread Eli Bendersky
Eli Bendersky added the comment: ISTM that part of the doc specifically deals with Unix, so this issue can be closed as completed. Windows is a different issue. Perhaps the documentation should have a new section on embedding on Windows, similarly to the "Building C and C++ Extensions on Win

[issue11836] multiprocessing.queues.SimpleQueue is undocumented

2012-02-08 Thread Eli Bendersky
Eli Bendersky added the comment: Sandro, can you commit, taking Antoine's note into account? -- ___ Python tracker ___ ___ Python-bug

[issue1559549] ImportError needs attributes for module and file name

2012-02-08 Thread Brian Curtin
Brian Curtin added the comment: Yep, I just need to actually make use of the feature. I'll generate a new patch shortly. -- ___ Python tracker ___ ___

<    1   2