[issue1459867] Message.as_string should use "mangle_from_=unixfrom"?

2011-11-24 Thread kxroberto
kxroberto added the comment: I'd still say this is a plain bug, which simply should be fixed. "People who have working code" must have already a smart work around: either - or! : By doing the 5 low level code lines of .as_string() on their own. (there is no other way to produce clearly either

[issue13475] Add '-p'/'--path0' command line option to override sys.path[0] initialisation

2011-11-24 Thread Eric Snow
Eric Snow added the comment: +1 Both the -p and --nopath0 would be great additions and a good match for PEP 395. So "-p ." would be equivalent to the current implicit sys.path[0] initialization, right? Would any other effects happen with "-p" than sys.path[0] initialization? I'll follow u

[issue12776] argparse: type conversion function should be called only once

2011-11-24 Thread Arnaud Fontaine
Arnaud Fontaine added the comment: BTW, about argparse_test, the default should be either '0' or 0 but not '\t' AFAIK because even the default value is converted using the given type function. It fails even with the last 2.7 version but it works well with my patch... --

[issue12776] argparse: type conversion function should be called only once

2011-11-24 Thread Arnaud Fontaine
Changes by Arnaud Fontaine : Added file: http://bugs.python.org/file23776/py3k-argparse-call-type-function-once-v3.patch ___ Python tracker ___ _

[issue12776] argparse: type conversion function should be called only once

2011-11-24 Thread Arnaud Fontaine
Changes by Arnaud Fontaine : Added file: http://bugs.python.org/file23775/py2.7-argparse-call-type-function-once-v3.patch ___ Python tracker ___

[issue12776] argparse: type conversion function should be called only once

2011-11-24 Thread Arnaud Fontaine
Arnaud Fontaine added the comment: I have had a look at the issue more closely and my initial patch was not completely right as it didn't work properly with argparse_test.py despite all tests passing. Therefore, I have amended my patch to not check whether action.default was a basestring whi

[issue10811] sqlite segfault with generators

2011-11-24 Thread Ezio Melotti
Ezio Melotti added the comment: Can this be closed? -- nosy: +ezio.melotti status: open -> pending ___ Python tracker ___ ___ Python-

[issue4966] Improving Lib Doc Sequence Types Section

2011-11-24 Thread Ezio Melotti
Changes by Ezio Melotti : -- versions: -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue11365] Integrate Buildroot patches (cross-compilation)

2011-11-24 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13477] tarfile module should have a command line

2011-11-24 Thread Ezio Melotti
Ezio Melotti added the comment: The feature request seems reasonable to me, but this can only go in 3.3. If you want to propose a patch, you might want to check the devguide and what other modules like zipfile do. -- nosy: +ezio.melotti, lars.gustaebel stage: -> test needed type: ->

[issue13477] tarfile module should have a command line

2011-11-24 Thread Brandon Craig Rhodes
New submission from Brandon Craig Rhodes : The tarfile module should have a simple command line that allows it to be executed with "-m" — even if its only ability was to take a filename and extract it to the current directory, it could be a lifesaver on Windows machines where Python has been i

[issue13475] Add '-p'/'--path0' command line option to override sys.path[0] initialisation

2011-11-24 Thread Eric Snow
Changes by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue13476] Simple exclusion filter for unittest autodiscovery

2011-11-24 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue13476] Simple exclusion filter for unittest autodiscovery

2011-11-24 Thread Nick Coghlan
New submission from Nick Coghlan : unittest autodiscovery is very nice, but a '-x' option to specify directory patterns *not* to search could be a nice enhancement. (In my specific case, I want to run most of my tests, but one batch are Django tests and it would be nice to have an easy way to

[issue1521950] shlex.split() does not tokenize like the shell

2011-11-24 Thread Dan Christian
Dan Christian added the comment: Of course, that's how it's used. That's all it can do right now. I was was splitting and combining commands (using ;, &&, and ||) and then running the resulting (mega) one liners over ssh. It still gets run by a shell, but I was specifying the control flow. 0

[issue11849] glibc allocator doesn't release all free()ed memory

2011-11-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: More surprising is that, even ignoring the allocation cost, other operations on the memory area seem more expensive: $ ./python -m timeit -s "b=bytearray(50)" "b[:] = b" -> python 3.3: 1000 loops, best of 3: 367 usec per loop -> python 3.2: 1 loops, be

[issue10318] "make altinstall" installs many files with incorrect shebangs

2011-11-24 Thread Nick Coghlan
Nick Coghlan added the comment: I created #13475 to discuss the idea of a command line option to override sys.path[0] initialisation. -- ___ Python tracker ___

[issue13475] Add '-p'/'--path0' command line option to override sys.path[0] initialisation

2011-11-24 Thread Nick Coghlan
New submission from Nick Coghlan : PEP 395 spends a lot of time discussing ways that the current automatic initialisation of sys.path[0] can go wrong, and even the proposed improvements in that PEP don't claim to fix the default behaviour for every possible scenario (just many of the most comm

[issue13448] PEP 3155 implementation

2011-11-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Is it intended that pickle will use __qualname__? That's part of the plan for PEP 3154, yes. -- ___ Python tracker ___ _

[issue11849] glibc allocator doesn't release all free()ed memory

2011-11-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: For the record, this seems to make large allocations slower: -> with patch: $ ./python -m timeit "b'x'*20" 1 loops, best of 3: 27.2 usec per loop -> without patch: $ ./python -m timeit "b'x'*20" 10 loops, best of 3: 7.4 usec per loop Not sure

[issue7611] shlex not posix compliant when parsing "foo#bar"

2011-11-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: The doc section has no reference, as in a live web link, to any version of the POSIX specification. This is unlike other doc sections that implement various RFCs (which also get updated). The docs also link to specific references for the Unicode version suppo

[issue7652] Merge C version of decimal into py3k.

2011-11-24 Thread Cédric Krier
Changes by Cédric Krier : -- nosy: +ced ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/m

[issue10131] deepcopying an xml.dom.minidom.Document generates an invalid XML document

2011-11-24 Thread Marian Ganisin
Marian Ganisin added the comment: Code from msg146175 with attached patch applied: >>> import sys >>> print(sys.version_info) sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) >>> import copy, pickle >>> from xml.dom.minidom import NodeList >>> >>> obj = NodeList() >>

[issue13448] PEP 3155 implementation

2011-11-24 Thread Nick Coghlan
Nick Coghlan added the comment: Yes, but that can be a separate patch - step 1 is to make the attribute available, then relevant modules can subsequently be updated to use it as appropriate. -- ___ Python tracker

[issue11682] PEP 380 reference implementation for 3.3

2011-11-24 Thread Nick Coghlan
Changes by Nick Coghlan : Added file: http://bugs.python.org/file23774/0d1d76f68750.diff ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue11816] Refactor the dis module to provide better building blocks for bytecode analysis

2011-11-24 Thread Nick Coghlan
Changes by Nick Coghlan : Added file: http://bugs.python.org/file23773/9512712044a6.diff ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue9957] SpooledTemporayFile.truncate should take size parameter

2011-11-24 Thread Nick Coghlan
Changes by Nick Coghlan : -- versions: -Python 2.7, Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13448] PEP 3155 implementation

2011-11-24 Thread sbt
sbt added the comment: Is it intended that pickle will use __qualname__? -- nosy: +sbt ___ Python tracker ___ ___ Python-bugs-list ma

[issue13474] Mention of "-m" Flag Missing From Doc on Execution Model

2011-11-24 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue13474] Mention of "-m" Flag Missing From Doc on Execution Model

2011-11-24 Thread Eric Snow
New submission from Eric Snow : The doc on code execution[1] leaves out mention of the -m flag. Seems like it belongs there too. [1] Doc/reference/executionmodel.rst -- assignee: docs@python components: Documentation messages: 148288 nosy: docs@python, eric.snow priority: normal sever

[issue12170] index() and count() methods of bytes and bytearray should accept byte ints

2011-11-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 736b0aec412b by Petri Lehtinen in branch 'default': Add a "What's New" entry for #12170 http://hg.python.org/cpython/rev/736b0aec412b -- ___ Python tracker __

[issue13465] A Jython section in the dev guide would be great

2011-11-24 Thread Ezio Melotti
Ezio Melotti added the comment: I'd search the Jython devguide at http://www.jython.org/devguide/, having it at http://docs.python.org/devguide/jython/ doesn't make much sense IMHO (especially if it is a "full" guide with several pages). -- ___ Pyt

[issue10507] Check well-formedness of reST markup within "make patchcheck"

2011-11-24 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti versions: -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue13472] devguide doesn’t list all build dependencies

2011-11-24 Thread Ezio Melotti
Ezio Melotti added the comment: I agree with Antoine, there's no need to mention them in the quickstart. Moreover these dependencies are optional, so there's no need to install them unless they are specifically needed (on a related note I would also add an "optional" in the warning that says

Re: [issue13471] setting access time beyond Jan. 2038 on remote share failes on Win7 x64

2011-11-24 Thread Amaury Forgeot d'Arc
> The timestamp is converted to time_t (32 bits) and then to FILE_TIME (64 bits). > A function to convert directly a PyObject to FILE_TIME should be written. I thought that time_t was 64 bits on Windows ___ Python-bugs-list mailing list Unsubscribe: htt

[issue9957] SpooledTemporayFile.truncate should take size parameter

2011-11-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: Looks ok to me as well. I think this is a new feature, so 3.3-only IMHO. -- nosy: +pitrou ___ Python tracker ___ ___

[issue12485] textwrap.wrap: new argument for more pleasing output

2011-11-24 Thread Éric Araujo
Changes by Éric Araujo : -- stage: patch review -> test needed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13469] TimedRotatingFileHandler fails to handle intervals of several weeks correctly

2011-11-24 Thread Vinay Sajip
Vinay Sajip added the comment: TimedRotatingFileHandler does not, by design, support multiple-week rollovers: the W mode is for a specific day of the week, and is documented as "Weekday" rather than "Weeks" (the other modes are documented as Seconds, Minutes, Hours, Days). I don't currently

[issue9957] SpooledTemporayFile.truncate should take size parameter

2011-11-24 Thread Éric Araujo
Éric Araujo added the comment: Patch looks good to me, but I’d like another review. -- nosy: +ncoghlan type: feature request -> behavior versions: +Python 2.7, Python 3.3 ___ Python tracker

[issue9458] xml.etree.ElementTree.ElementTree.write(): encoding handling problems

2011-11-24 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue9458] xml.etree.ElementTree.ElementTree.write(): encoding handling problems

2011-11-24 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the patch. The examples in your message need to be converted to a patch that applies to 3.2 or 2.7, so that we can reproduce the bug before fixing it. -- stage: -> test needed versions: +Python 2.7, Python 3.3 __

[issue8473] doctest fails if you have inconsistent lineendings

2011-11-24 Thread Éric Araujo
Éric Araujo added the comment: The string in the test does not have mixed line endings, and the accompanying comment talks about testing files with CRLF on Unix. Terry, do you want to (update and) commit this? -- ___ Python tracker

[issue9510] sqlite3.Warning isnt a subclass of exceptions.Warning

2011-11-24 Thread Éric Araujo
Éric Araujo added the comment: > Reading PEP 0249 I can see Gerhard is correct, this patch would violate the > PEP. Me too. > I think that the PEP is slightly flawed in that users are encouraged to raise > exceptions > called "Warning". IMHO a Warning is never an exceptional condition and >

[issue11805] package_data only allows one glob per-package

2011-11-24 Thread Éric Araujo
Éric Araujo added the comment: I need this to package test files for distutils2’s own next release, so pragmatism/compatibility will win for the short term :) I’ll fix it together with #13463 and #5302. -- priority: normal -> release blocker ___ Py

[issue13463] Fix parsing of package_data

2011-11-24 Thread Éric Araujo
Changes by Éric Araujo : -- dependencies: +Allow package_data specs/globs to match directories, package_data only allows one glob per-package ___ Python tracker ___

[issue5302] Allow package_data specs/globs to match directories

2011-11-24 Thread Éric Araujo
Éric Araujo added the comment: I need to fix this for distutils2’s next release (with #13463 and #5302), to include distutils2/tests/fake_dists. -- assignee: tarek -> eric.araujo priority: high -> release blocker title: Allow package_data globs match directories -> Allow package_data

[issue13443] wrong links and examples in the functional HOWTO

2011-11-24 Thread Éric Araujo
Éric Araujo added the comment: Good idea. The functions used are: compose, partial (which we have in functools), flip, foldl. I will disagree with “unhealthy”: I’m sure adding this link was a deliberate exposure of an external module, to put a well-written solution to the spotlight as a ser

[issue13422] Subprocess: children hang due to open pipes

2011-11-24 Thread Charles-François Natali
Charles-François Natali added the comment: > The problem I have with the solution that is currently implemented is that > subprocess is waiting for the spawned child although the child is not running > anymore. > In my case this issue occured when invoking samba or the small sample daemon > (

[issue13455] Reorganize tracker docs in the devguide

2011-11-24 Thread Éric Araujo
Éric Araujo added the comment: > [...] The devguide is *already* too big. [...] > The devguide was supposed to be something that you read quickly and easily, > not an exhaustive > reference of how development works. Or at least there should be a clear > separation between the > two (the guide

[issue1521950] shlex.split() does not tokenize like the shell

2011-11-24 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the comments. > There are really two cases in one bug. > The first part is that the shell will split tokens at characters that shlex > doesn't. The handling > of &, |, ;, >, and < could be done by adjusting the definition of > shlex.wordchars. The s

[issue13443] wrong links and examples in the functional HOWTO

2011-11-24 Thread Eli Bendersky
Eli Bendersky added the comment: > Before doing that, would you have the time to contact its author and inquire > about porting plans? I hope to find the time. I was also thinking about an alternative - since the HOWTO probably uses just a handful of functions from that module perhaps they c

[issue7611] shlex not posix compliant when parsing "foo#bar"

2011-11-24 Thread Éric Araujo
Éric Araujo added the comment: > The manual just says "When operating in POSIX mode, shlex will try to be as > close as > possible to the POSIX shell parsing rules." but gives no reference to which > authority it is > following or what the rules are in either case. I think it actually does: Th

[issue10507] Check well-formedness of reST markup within "make patchcheck"

2011-11-24 Thread Éric Araujo
Éric Araujo added the comment: Alternatively, make patchcheck could print “Did you build the docs?”, just as it currently prints “Did you run the test suite?” if C or Python files were modified. Building the docs would not check Misc/NEWS, the original motivation for this request, but I’m no

[issue13472] devguide doesn’t list all build dependencies

2011-11-24 Thread Éric Araujo
Éric Araujo added the comment: Okay. I just hope that people following the quick start and having build issues will follow the link. I followed it and the section only mentions zlib, I think it could be exhaustive. -- title: Quick Start in devguide doesn’t mention build dependencies

[issue13443] wrong links and examples in the functional HOWTO

2011-11-24 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the fixed links amk. I think they can be fixed in the repo right now. [Eli] > I still think it's a bigger problem that the page discusses a module which > is not available on Python 3.x - this means that a user following the page > can't just type in

[issue13224] Change str(x) to return only the (qual)name for some types

2011-11-24 Thread Éric Araujo
Changes by Éric Araujo : -- title: Change str(x) to return only __qualname__ for some types -> Change str(x) to return only the (qual)name for some types ___ Python tracker ___

[issue13224] Change str(x) to return only __qualname__ for some types

2011-11-24 Thread Éric Araujo
Changes by Éric Araujo : Removed file: http://bugs.python.org/file23591/change-some-__str__.diff ___ Python tracker ___ ___ Python-bugs-list m

[issue13224] Change str(x) to return only __qualname__ for some types

2011-11-24 Thread Éric Araujo
Changes by Éric Araujo : Removed file: http://bugs.python.org/file23468/change-class-__str__.diff ___ Python tracker ___ ___ Python-bugs-list

[issue13224] Change str(x) to return only __qualname__ for some types

2011-11-24 Thread Éric Araujo
Changes by Éric Araujo : Added file: http://bugs.python.org/file23772/test-str-repr.py ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue13224] Change str(x) to return only __qualname__ for some types

2011-11-24 Thread Éric Araujo
Éric Araujo added the comment: You are right, I misinterpreted “use”. I cloned the the PEP 3155 repo and ran my test script (I’ll attach it for reference) and reprs/strs are indeed "" and ".strip at ...>", so this request is not obsoleted. I’ve updated my patch to use qualnames for str(cls)

[issue11886] test_time.test_tzset() fails on "x86 FreeBSD 7.2 3.x": AEST timezone called "EST"

2011-11-24 Thread STINNER Victor
STINNER Victor added the comment: I don't see this issue as a bug in Python, but just that the timezone database is different on some OSes. Can't we just accept both names, AEST and EST? Attached patch changes test_time to tolerate EST name for 'AEST-10AEDT-11,M10.5.0,M3.5.0' ("Victoria") tim

[issue12759] "(?P=)" input for Tools/scripts/redemo.py raises unnhandled exception

2011-11-24 Thread Masha Katsman
Masha Katsman added the comment: Updating the patch with the test. The test checks that the re exception is thrown in case of the (?P=) and (?P<>) expressions. It used to raise an Index exception. My only question is, the exception we raise now says, there invalid characters in the group name,

[issue11886] test_time.test_tzset() fails on "x86 FreeBSD 7.2 3.x": AEST timezone called "EST"

2011-11-24 Thread STINNER Victor
STINNER Victor added the comment: > Is there a way to force configure run on the bot? ./configure is run for each build of each buildbot. -- ___ Python tracker ___

[issue2377] Replace __import__ w/ importlib.__import__

2011-11-24 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue13313] test_time fails: tzset() do not change timezone

2011-11-24 Thread STINNER Victor
STINNER Victor added the comment: Duplicate of #11886. -- nosy: +haypo resolution: -> duplicate status: open -> closed ___ Python tracker ___ __

[issue11886] test_time.test_tzset() fails on "x86 FreeBSD 7.2 3.x": AEST timezone called "EST"

2011-11-24 Thread STINNER Victor
STINNER Victor added the comment: Issue #13313 has been marked as a duplicate of this issue. Interesting message from flox: "Maybe it is related. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=93810 Ambiguous timezone names (AEST vs EST)" -- nosy: +flox ___

[issue13473] Add tests for files byte-compiled by distutils[2]

2011-11-24 Thread Éric Araujo
Éric Araujo added the comment: (For the reference, the bug I added is this: http://hg.python.org/cpython/rev/c10946a17420#l6.45 p7g.util.byte_compile calls py_compile.compile with a filename ending in .pyc or .pyo as appropriate, but the optimization level in the py_compile.compile function

[issue13470] A user may need ... when she has ...

2011-11-24 Thread Florent Xicluna
Florent Xicluna added the comment: This explanation is enough. Thanks. -- resolution: works for me -> invalid stage: needs patch -> committed/rejected status: pending -> closed ___ Python tracker _

[issue13473] Add tests for files byte-compiled by distutils[2]

2011-11-24 Thread Éric Araujo
New submission from Éric Araujo : I recently changed packaging.util.byte_compile, the function used by the build_py and install_lib commands, so that it can create .pyc and/or .pyo files independently of the calling’s Python -O or -B flags (dad02a080bbc), but I think I introduced a bug. To ch

[issue13461] Error on test_issue_1395_5 with Python 2.7 and VS2010

2011-11-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: What if you replace: PyObject *decoded = PyObject_CallMethod( self->decoder, "decode", "s#", input, 1); with: PyObject *decoded = PyObject_CallMethod( self->decoder, "decode", "s#", input, (Py_ssize_t) 1); -- nosy: +brian.curt

[issue13472] Quick Start in devguide doesn’t mention build dependencies

2011-11-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, it's a quick start. The link to "build Python" actually tells you about dependencies. -- nosy: +pitrou ___ Python tracker ___ __

[issue12934] pysetup doesn’t work for the docutils project

2011-11-24 Thread Éric Araujo
Éric Araujo added the comment: This is a problem on my side, not in distutils2. My pysetupX.Y scripts are just shell one-liners of this form: PYTHONPATH=~/path/to/d2 pythonX.Y -m distutils2.run "$@" Because of sys.path initialization, d2 tried to import docutils from the working directory

[issue13448] PEP 3155 implementation

2011-11-24 Thread Éric Araujo
Changes by Éric Araujo : -- Removed message: http://bugs.python.org/msg148252 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue13448] PEP 3155 implementation

2011-11-24 Thread Éric Araujo
Changes by Éric Araujo : -- Removed message: http://bugs.python.org/msg148253 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue13448] PEP 3155 implementation

2011-11-24 Thread Éric Araujo
Éric Araujo added the comment: And of course, right after I post this I look at my terminal and see the “Add docs” commit. Ignore me. -- ___ Python tracker ___ ___

[issue13448] PEP 3155 implementation

2011-11-24 Thread Éric Araujo
Éric Araujo added the comment: Doc patch looks good. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue13448] PEP 3155 implementation

2011-11-24 Thread Éric Araujo
Éric Araujo added the comment: BTW Antoine, will you update the doc to mention __qualname__ or would you like help? -- ___ Python tracker ___ __

[issue13471] setting access time beyond Jan. 2038 on remote share failes on Win7 x64

2011-11-24 Thread STINNER Victor
STINNER Victor added the comment: The timestamp is converted to time_t (32 bits) and then to FILE_TIME (64 bits). A function to convert directly a PyObject to FILE_TIME should be written. -- nosy: +haypo ___ Python tracker

[issue12776] argparse: type conversion function should be called only once

2011-11-24 Thread Éric Araujo
Éric Araujo added the comment: Mucking with your installed Python is probably a bad idea, and it may also be an old version (compared to the current development version which has seen hundreds of changes) where testing the patch would not give useful results. Please see the devguide. --

[issue13472] Quick Start in devguide doesn’t mention build dependencies

2011-11-24 Thread Éric Araujo
New submission from Éric Araujo : The Quick Start section in the devguide does not tell people what they need to install in order to compile Python. A short mention or a link to a section with all info should be added. I can contribute info for Debian and derivative systems: “aptitude build-d

[issue13471] setting access time beyond Jan. 2038 on remote share failes on Win7 x64

2011-11-24 Thread Thorsten Simons
New submission from Thorsten Simons : Using Python '3.2.2 (default, Sep 4 2011, 09:07:29) [MSC v.1500 64 bit (AMD64)]' on Windows 7 Professional SP1: If you set an access time for a file beyond Jan. 2038 on a file stored in a local NTFS filesystem, all's well: >>> os.utime('c:\\temp_target\\

[issue10359] ISO C cleanup

2011-11-24 Thread Éric Araujo
Éric Araujo added the comment: Do the changes to Python/Python-ast.c and Modules/_ctypes/libffi/src/x86/ffi.c still apply? (libffi is an external project, but our copy is already edited so we might as well do one more change). -- ___ Python tracke

[issue6407] multiprocessing Pool should allow custom task queue

2011-11-24 Thread Ask Solem
Ask Solem added the comment: @swindmill, if you provide a doc/test patch then this can probably be merged. @pitrou, We could change it to `setup_queues`, though I don't think even changing the name of "private" methods is a good idea. It could simply be an alias to `_setup_queues` or vice ver

[issue13415] del os.environ[key] ignores errors

2011-11-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1b83fd683e28 by Victor Stinner in branch 'default': Close #13415: Test in configure if unsetenv() has a return value or not. http://hg.python.org/cpython/rev/1b83fd683e28 -- resolution: -> fixed stage: patch review -> committed/rejected st

[issue6407] multiprocessing Pool should allow custom task queue

2011-11-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: As the name implies, _setup_queues is a private method. It feels a bit weird to recommend overriding it in a subclass. -- nosy: +pitrou stage: test needed -> needs patch versions: +Python 3.3 -Python 3.2 ___ Python

[issue13469] TimedRotatingFileHandler fails to handle intervals of several weeks correctly

2011-11-24 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +vinay.sajip type: -> behavior versions: +Python 2.7, Python 3.2, Python 3.3 -Python 2.6 ___ Python tracker ___

[issue13470] A user may need ... when she has ...

2011-11-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: "they" is right and "she" is actually right too. See http://en.wikipedia.org/wiki/Singular_they -- nosy: +pitrou resolution: -> works for me status: open -> pending ___ Python tracker

[issue13415] del os.environ[key] ignores errors

2011-11-24 Thread STINNER Victor
STINNER Victor added the comment: Using broken_unsetenv.diff + autoconf, Python compiles correctly on Mac OS X Tiger. -- ___ Python tracker ___

[issue12776] argparse: type conversion function should be called only once

2011-11-24 Thread Arnaud Fontaine
Arnaud Fontaine added the comment: It would definitely help if you could apply the patch for Python 2.7 manually on your local installation (after making a backup of course). You can just download the patch for Python 2.7 then (only the first part of the patch can be applied, the second part

[issue13466] new timezones

2011-11-24 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Amaury Forgeot d'Arc wrote: > > Amaury Forgeot d'Arc added the comment: > >>> But that does not give the *other* timezone :-( >> Which other timezone ? > I meant the other timezone *name*. > > I think we don't understand each other: > - time.timezone is

[issue12776] argparse: type conversion function should be called only once

2011-11-24 Thread flying sheep
flying sheep added the comment: i don’t know, since i get python from the ubuntu repositories, sorry. in which python release will this patch first be integrated? -- ___ Python tracker ___

[issue13466] new timezones

2011-11-24 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: > > But that does not give the *other* timezone :-( > Which other timezone ? I meant the other timezone *name*. I think we don't understand each other: - time.timezone is the offset of the local (non-DST) timezone. - time.altzone is the offset of local DS

[issue12170] index() and count() methods of bytes and bytearray should accept byte ints

2011-11-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Just a thought: Would this change be worthy for the "What's new in 3.3" > list? I think so. -- ___ Python tracker ___ _

[issue13465] A Jython section in the dev guide would be great

2011-11-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Hosting "docs.python.org/devguide/jython" doesn't seem like an > unreasonable idea at all to me, and what's the benefit to CPython in > making the Jython team go to the effort of building out independent > deployment and source control infrastructure for their

[issue12776] argparse: type conversion function should be called only once

2011-11-24 Thread Arnaud Fontaine
Arnaud Fontaine added the comment: Does the patch I attached fix your issue? -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue12776] argparse: type conversion function should be called only once

2011-11-24 Thread flying sheep
flying sheep added the comment: this is annoying: i’m creating a reindentation script that reindents any valid python script. the user can specify if, and how many spaces he/she wants to use per indentation level. `0` or leaving the option out means “one tab per level”. if the argument is gi

[issue13466] new timezones

2011-11-24 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Amaury Forgeot d'Arc wrote: > > Amaury Forgeot d'Arc added the comment: > >> A fairly "correct" way is to query the time zone database at time module >> import time by using the DST and GMT offset of that time. > > But that does not give the *other* time