[issue14572] 2.7.3: sqlite module does not build on centos 5 and Mac OS X 10.4

2012-05-19 Thread Marc Abramowitz
Marc Abramowitz added the comment: OK, here's a patch for configure.ac which seems to fix this problem -- if folks could review and test it that would be great. -- keywords: +patch Added file: http://bugs.python.org/file25634/sqlite3_int64.patch ___

[issue14721] httplib doesn't specify content-length header for POST requests without data

2012-05-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: The rule for content-length seems, if there is a body for a request, even if the body is "" ( empty body), then you should send the Content-Length. The mistake in the Python httplib was, the set_content_length was called with this condition. if body and ('c

[issue14854] faulthandler: segfault with "SystemError: null argument to internal routine"

2012-05-19 Thread Zbyszek Jędrzejewski-Szmek
New submission from Zbyszek Jędrzejewski-Szmek : Simply running './python -X faulthandler' in the source directory gives me this: % ./python -X faulthandler Fatal Python error: Py_Initialize: can't initialize faulthandler SystemError: null argument to internal routine [1]25118 abort (core du

[issue14721] httplib doesn't specify content-length header for POST requests without data

2012-05-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 57f1d13c2cd4 by Senthil Kumaran in branch '2.7': Fix Issue14721: Send Content-length: 0 for empty body () in the http.request http://hg.python.org/cpython/rev/57f1d13c2cd4 New changeset 6da1ab5f777d by Senthil Kumaran in branch '3.2': Fix Issue1472

[issue14721] httplib doesn't specify content-length header for POST requests without data

2012-05-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: This is fixed in all the branches. Thanks! -- assignee: -> orsenthil resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___

[issue14624] Faster utf-16 decoder

2012-05-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you, Antoine. Now only issue14625 waits for review. > changeset: 77012:3430d7329a3b > +* UTF-8 and UTF-16 decoding is now 2x to 4x faster. In fact now UTF-16 decoding faster for a maximum of +25% compared to Python 3.2 on my computers (and sometimes

[issue14854] faulthandler: fatal error with "SystemError: null argument to internal routine"

2012-05-19 Thread Zbyszek Jędrzejewski-Szmek
Changes by Zbyszek Jędrzejewski-Szmek : -- title: faulthandler: segfault with "SystemError: null argument to internal routine" -> faulthandler: fatal error with "SystemError: null argument to internal routine" ___ Python tracker

[issue14855] IPv6 support for logging.handlers

2012-05-19 Thread Yuriy Syrovetskiy
New submission from Yuriy Syrovetskiy : IPv4 operations may fail on IPv6 systems, and vice versa. So we have to create sockets with the proper address family. Maybe this behaviour could be incapsulated in socket object, but didn't find a good way to do it. No documentation changed, because I

[issue14855] IPv6 support for logging.handlers

2012-05-19 Thread Yuriy Syrovetskiy
Yuriy Syrovetskiy added the comment: More correct description: IPv4 operations may fail on IPv6 systems, and vice versa; so we have to detect the proper address family before creating a socket. -- ___ Python tracker

[issue14855] IPv6 support for logging.handlers

2012-05-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: For TCP, socket.create_connection() is your friend. For UDP I'm not sure, but adding a helper to the socket module might also be a good idea. -- nosy: +gregory.p.smith, pitrou versions: -Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.4

[issue14855] IPv6 support for logging.handlers

2012-05-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: The Linux getaddrinfo() man page has an UDP client example which uses connect() to decide whether the target address is valid or not. -- ___ Python tracker __

[issue14472] .gitignore is outdated

2012-05-19 Thread Petri Lehtinen
Petri Lehtinen added the comment: Against which branch or Python version your patch is? It doesn't apply cleanly on any branch (and yes, I changed the target filename to .gitignore first). -- ___ Python tracker _

[issue14855] IPv6 support for logging.handlers

2012-05-19 Thread Martin v . Löwis
Martin v. Löwis added the comment: Apparently, connecting the socket is better because some systems (BSDs in particular) only report ICMP errors to connected UDP sockets. The Linux man page claims that this reporting is necessary regardless of whether the socket is connected. I wonder what w

[issue13210] Support Visual Studio 2010

2012-05-19 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Ok, I find no way to override the linker so that it does not search the current directory first. I think it is best, and probably in the spirit of visual studio, to use the "reference" part of a project to facilitate linking between dependency project

[issue13210] Support Visual Studio 2010

2012-05-19 Thread Martin v . Löwis
Martin v. Löwis added the comment: > I think it is best, and probably in the spirit of visual studio, to > use the "reference" part of a project to facilitate linking between > dependency projects. it is designed to take the hassle out of > libraries and search paths. I will add referenc

[issue14845] list() != []

2012-05-19 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue13210] Support Visual Studio 2010

2012-05-19 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Here is an updated patch, with proper project references added and some slight cleanup of .props files. -- Added file: http://bugs.python.org/file25636/pcbuildpatch.patch ___ Python tracker

[issue13152] textwrap: support custom tabsize

2012-05-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset d38e821c1b80 by Hynek Schlawack in branch 'default': #13152: Allow to specify a custom tabsize for expanding tabs in textwrap http://hg.python.org/cpython/rev/d38e821c1b80 -- nosy: +python-dev ___ Python

[issue13152] textwrap: support custom tabsize

2012-05-19 Thread Hynek Schlawack
Hynek Schlawack added the comment: I've added it myself and committed your code – thank you for your contribution John! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue14856] argparse: creating an already defined subparsers does not raises an exception

2012-05-19 Thread Étienne Buira
New submission from Étienne Buira : With this patch, it raises an ArgumentException, instead of overwriting previous subparser without notice. Regards. -- components: Library (Lib) files: argparse_no_dup_subparsers.diff keywords: patch messages: 161112 nosy: eacb priority: normal sever

[issue11647] function decorated with a context manager can only be invoked once

2012-05-19 Thread Nick Coghlan
Nick Coghlan added the comment: I'm closing this *without* converting ContextDecorator._recreate_cm() to a public method (although I'm also attaching the patch that would have done exactly that). My rationale for doing so is that I *still* consider making _GeneratorContextManager a subclass

[issue14854] faulthandler: fatal error with "SystemError: null argument to internal routine"

2012-05-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a patch: $ hg di diff --git a/Python/pythonrun.c b/Python/pythonrun.c --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -356,15 +356,15 @@ Py_InitializeEx(int install_sigs) _PyImportHooks_Init(); -/* initialize the faulthandler module *

[issue14847] AttributeError: NoneType has no attribute 'utf_8_decode'

2012-05-19 Thread Daniel Swanson
Daniel Swanson added the comment: I attempted to reproduce the error. I didn't, all I got was 'str' object has no attribute 'decode' here is the whole test. Python 3.2.2 (default, Sep 4 2011, 09:51:08) [MSC v.1500 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more in

[issue14702] os.makedirs breaks under autofs directories

2012-05-19 Thread Charles-François Natali
Charles-François Natali added the comment: > I see no evidence that this is a bug in Linux, """ stat("/net/prodigy", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 mkdir("/net/prodigy/tmp", 0777) = -1 EACCES (Permission denied) """ As you can see, a stat() is already done on /net/prodi

[issue14072] urlparse on tel: URI-s misses the scheme in some cases

2012-05-19 Thread Ezio Melotti
Ezio Melotti added the comment: According to RFC 1808 [0], the netloc must follow "//", so this doesn't seem to apply to 'tel' URIs. [0]: http://tools.ietf.org/html/rfc1808.html#section-2.1 -- ___ Python tracker

[issue14702] os.makedirs breaks under autofs directories

2012-05-19 Thread Hynek Schlawack
Hynek Schlawack added the comment: > """ > stat("/net/prodigy", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > mkdir("/net/prodigy/tmp", 0777) = -1 EACCES (Permission denied) > """ > > As you can see, a stat() is already done on /net/prodigy. To be fair, that shouldn’t trigger a moun

[issue14072] urlparse on tel: URI-s misses the scheme in some cases

2012-05-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset ff0fd7b26219 by Ezio Melotti in branch '2.7': #14072: Fix parsing of tel URIs in urlparse by making the check for ports stricter. http://hg.python.org/cpython/rev/ff0fd7b26219 New changeset 9f6b7576c08c by Ezio Melotti in branch '3.2': #14072: Fix

[issue14702] os.makedirs breaks under autofs directories

2012-05-19 Thread Martin v . Löwis
Martin v. Löwis added the comment: >> """ >> stat("/net/prodigy", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 >> mkdir("/net/prodigy/tmp", 0777) = -1 EACCES (Permission denied) >> """ >> >> As you can see, a stat() is already done on /net/prodigy. > > To be fair, that shouldn’t trigge

[issue14036] urlparse insufficient port property validation

2012-05-19 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti status: pending -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue14072] urlparse on tel: URI-s misses the scheme in some cases

2012-05-19 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue14702] os.makedirs breaks under autofs directories

2012-05-19 Thread Hynek Schlawack
Hynek Schlawack added the comment: >>> """ >>> stat("/net/prodigy", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 >>> mkdir("/net/prodigy/tmp", 0777) = -1 EACCES (Permission denied) >>> """ >>> >>> As you can see, a stat() is already done on /net/prodigy. >> >> To be fair, that shouldn’

[issue13210] Support Visual Studio 2010

2012-05-19 Thread Jason R. Coombs
Jason R. Coombs added the comment: After enabling the eol extension and re-checking out my working copy, I've applied the patch successfully, but after I do so, I get this error when trying to open the solution in VS2010: "One or more projects in the solution were not loaded correctly" and

[issue13210] Support Visual Studio 2010

2012-05-19 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Ah, good, it looks as though a file is missing from the patch. I'll fix it. -- ___ Python tracker ___

[issue14840] Tutorial: Add a bit on the difference between tuples and lists

2012-05-19 Thread Ezio Melotti
Ezio Melotti added the comment: I think I liked the first version more, possibly with a few minor changes: > Though tuples may seem very similar to lists, their immutability > makes them ideal for fundamentally different usage. I would drop the 'very', and I'm not sure that it's the immutabili

[issue14822] Build unusable when compiled for Win 64-bit release

2012-05-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: Could you try with latest default? -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mai

[issue14857] Direct access to lexically scoped __class__ is broken in 3.3

2012-05-19 Thread Nick Coghlan
New submission from Nick Coghlan : Currently, __class__ references from methods in 3.3 aren't being mapped correctly to the class currently being defined. This goes against the documented behaviour of PEP 3135, which states explicitly that the new zero-argument form is equivalent to super(__cl

[issue14855] IPv6 support for logging.handlers

2012-05-19 Thread Yuriy Syrovetskiy
Yuriy Syrovetskiy added the comment: On my computer, connect() on a UDP socket always finishes successfully. What's wrong? I tried that C example from man getaddrinfo(3). -- ___ Python tracker __

[issue14855] IPv6 support for logging.handlers

2012-05-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: > On my computer, connect() on a UDP socket always finishes > successfully. What's wrong? Nothing wrong I guess, since connect() on an UDP socket doesn't actually do anything, network-wise (UDP being an unconnected protocol). -- __

[issue14858] 'pysetup create' off-by-one when choosing classification maturity status interactively.

2012-05-19 Thread Todd DeLuca
New submission from Todd DeLuca : Today I installed distutils2 via pip and ran 'pysetup create'. During the selection of Trove classifiers for Development status I chose '2 - Alpha' but setup.cfg ended up incorrectly indicating that my project is Pre-Alpha. Here is a "screenshot" of the inter

[issue4489] shutil.rmtree is vulnerable to a symlink attack

2012-05-19 Thread Hynek Schlawack
Hynek Schlawack added the comment: I'm taking Charles-François' review comments here. > 1. since fwalk() uses O(depth directory tree) file descriptors, we might run > out > of FD on really deep directory hierarchies. It shouldn't be a problem in > practise Should I mention it in the docs? The

[issue14494] __future__.py and its documentation claim absolute imports became mandatory in 2.7, but they didn't

2012-05-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset cc9e5ddd8220 by Petri Lehtinen in branch '2.7': #14494: Document that absolute imports became default in 3.0 instead of 2.7. http://hg.python.org/cpython/rev/cc9e5ddd8220 New changeset 7cdc1392173f by Petri Lehtinen in branch '3.2': #14494: Documen

[issue14855] IPv6 support for logging.handlers

2012-05-19 Thread Martin v . Löwis
Martin v. Löwis added the comment: > On my computer, connect() on a UDP socket always finishes > successfully. What's wrong? Nothing is wrong. UDP is connection-less, so connect() is a no-op, except that it remembers the address so you can use send() instead of sendto(). Any errors due to non

[issue14494] __future__.py and its documentation claim absolute imports became mandatory in 2.7, but they didn't

2012-05-19 Thread Petri Lehtinen
Petri Lehtinen added the comment: Fixed, thanks for the patch. BTW, you should sign the PSF Contributor Agreement. See http://www.python.org/psf/contrib/. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___

[issue14468] Update cloning guidelines in devguide

2012-05-19 Thread Ezio Melotti
Ezio Melotti added the comment: - $ hg clone py3k py3.2 - $ cd py3.2 - $ hg update 3.2 + $ hg clone py3k py3.2 -u 3.2 While the second command is more concise, I find the first easier to understand, so maybe you could leave both the first time (proposing the concise one as an alternat

[issue14855] IPv6 support for logging.handlers

2012-05-19 Thread Vinay Sajip
Vinay Sajip added the comment: > I worked on the 3.2 branch, because the default branch has broken > test_logging. What breakage are you referring to? There's a race condition test that fails on Windows sometimes, but that's on the 2.7 branch. Apart from that, I don't know what breakage you'r

[issue14588] PEP 3115 compliant dynamic class creation

2012-05-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset befd56673c80 by Nick Coghlan in branch 'default': Close #14588: added a PEP 3115 compliant dynamic type creation mechanism http://hg.python.org/cpython/rev/befd56673c80 -- nosy: +python-dev resolution: -> fixed stage: -> committed/rejecte

[issue14859] Patch to make IDLE window rise to top in OS X on launch

2012-05-19 Thread Marc Abramowitz
New submission from Marc Abramowitz : On OS X 10.6.8, when I execute "idle", I see nothing in the Terminal and the IDLE GUI launches but is not visible until I Command-Tab to the "Python" application. I stumbled upon a solution to this problem using OS X's built-in /usr/bin/osascript utility.

[issue14859] Patch to make IDLE window rise to top in OS X on launch

2012-05-19 Thread Marc Abramowitz
Marc Abramowitz added the comment: I created the patch against the 2.7 branch of hg, but I just tried it with both the 3.2 branch of hg and an installed version of 3.2 and it worked great. [last: 0] marca@scml-marca:~/dev/hg-repos/cpython$ pushd /Library/Frameworks/Python.framework/Versions/3

[issue14859] Patch to make IDLE window rise to top in OS X on launch

2012-05-19 Thread Ned Deily
Ned Deily added the comment: This is really a duplicate of Issue11571 which gives an easier way to do this directly using Tk calls. I'll see about getting that applied. -- nosy: +ned.deily resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> T

[issue11647] function decorated with a context manager can only be invoked once

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

[issue14854] faulthandler: fatal error with "SystemError: null argument to internal routine"

2012-05-19 Thread Zbyszek Jędrzejewski-Szmek
Zbyszek Jędrzejewski-Szmek added the comment: I can confirm that it works with the patch. Thanks! -- ___ Python tracker ___ ___ Pytho

[issue14840] Tutorial: Add a bit on the difference between tuples and lists

2012-05-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am ok with Ezio's 3rd version. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue14854] faulthandler: fatal error with "SystemError: null argument to internal routine"

2012-05-19 Thread STINNER Victor
STINNER Victor added the comment: Hum, a test may be added to ensure that we will not have the regression anymore. -- ___ Python tracker ___

[issue13210] Support Visual Studio 2010

2012-05-19 Thread Richard Oudkerk
Richard Oudkerk added the comment: PCbuild/build.bat and Modules/_decimal/tests/runall.bat still use vcbuild instead of msbuild. It also seems that if an external dependency is unavailable then msbuild can fail to build targets which do not depend on it. For instance if I rename openssl-1.0

[issue14854] faulthandler: fatal error with "SystemError: null argument to internal routine"

2012-05-19 Thread STINNER Victor
STINNER Victor added the comment: The patch looks good to me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue11571] Turtle window pops under the terminal on OSX

2012-05-19 Thread Marc Abramowitz
Marc Abramowitz added the comment: I wonder if this could be applied at some lower level in TkInter, because this bug happens with every Tk app -- e.g.: turtle, idle, web2py -- nosy: +Marc.Abramowitz ___ Python tracker

[issue1602] windows console doesn't print or input Unicode

2012-05-19 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue11571] Turtle window pops under the terminal on OSX

2012-05-19 Thread Ned Deily
Changes by Ned Deily : Removed file: http://bugs.python.org/file21581/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue11571] Turtle window pops under the terminal on OSX

2012-05-19 Thread Ned Deily
Ned Deily added the comment: Marc, it could although that would be a change in behavior that possibly might not be desired by all tkinter apps. Perhaps the thing to do is add an optional "topmost" argument to tkinter.Tk() with the default value being True. --

[issue13210] Support Visual Studio 2010

2012-05-19 Thread Martin v . Löwis
Martin v. Löwis added the comment: I propose that we declare this issue closed, and defer any new issues arising from the switch to VS 2010 in separate issues. There will surely be many issues over the next weeks and months, and there is little point in tracking this all on this single page.

[issue13210] Support Visual Studio 2010

2012-05-19 Thread Martin v . Löwis
Martin v. Löwis added the comment: So closing this issue. Kristjan, if you want your patch reviewed further and/or approved by Brian, please copy it into a new issue. -- status: open -> closed ___ Python tracker

[issue14854] faulthandler: fatal error with "SystemError: null argument to internal routine"

2012-05-19 Thread Zbyszek Jędrzejewski-Szmek
Zbyszek Jędrzejewski-Szmek added the comment: % PYTHONFAULTHANDLER=1 ./python -E -c 'import faulthandler; faulthandler._sigsegv()' [3]14516 segmentation fault (core dumped) Unless I'm missing something, the env. var. is not working as documented. Patch with two tests is attached: the firs

[issue12760] Add create mode to open()

2012-05-19 Thread Petri Lehtinen
Petri Lehtinen added the comment: Shouldn't the documentation of builtin open() (in Doc/library/functions.rst) be updated too? -- nosy: +petri.lehtinen ___ Python tracker ___ _

[issue1602] windows console doesn't print or input Unicode

2012-05-19 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Not sure whether a solution has already been proposed because the issue is very long, but I just bumped into this on Windows and come up with this: from __future__ import print_function import sys def safe_print(s): try: print(s) except Un

[issue14854] faulthandler: fatal error with "SystemError: null argument to internal routine"

2012-05-19 Thread STINNER Victor
STINNER Victor added the comment: > PYTHONFAULTHANDLER=1 ./python -E ... Documentation of the -E option "Ignore all PYTHON* environment variables, e.g. PYTHONPATH and PYTHONHOME, that might be set." http://docs.python.org/dev/using/cmdline.html#cmdoption-E So the option works as expected. ---

[issue1602] windows console doesn't print or input Unicode

2012-05-19 Thread David-Sarah Hopwood
David-Sarah Hopwood added the comment: Giampaolo: See #msg120700 for why that won't work, and the subsequent comments for what will work instead (basically, using WriteConsoleW and a workaround for a Windows API bug). Also see the prototype win_console.patch from Victor Stinner: #msg145963 -

[issue14721] httplib doesn't specify content-length header for POST requests without data

2012-05-19 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Too late for asking to keep the parenthesis :-). I hate to have to remember non-obvious precedence rules :-). Cognitive overhead. -- ___ Python tracker _

[issue14860] devguide: Clarify how to run cpython test suite - esp. on 2.7

2012-05-19 Thread Marc Abramowitz
New submission from Marc Abramowitz : The way to test on Python 2.7 (discovered on IRC) is: ~/dev/hg-repos/cpython$ ./python.exe -m test.regrtest -j3 This is not documented. I will submit a patch... -- components: Devguide files: devguide.patch keywords: patch messages: 161155 nosy: Ma

[issue14843] support define_macros / undef_macros in setup.cfg

2012-05-19 Thread Daniel Holth
Daniel Holth added the comment: Looks like it can go into [build_ext] but not per-extension -- ___ Python tracker ___ ___ Python-bugs

[issue1602] windows console doesn't print or input Unicode

2012-05-19 Thread Matt Mackall
Changes by Matt Mackall : -- nosy: -Matt.Mackall ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue14588] PEP 3115 compliant dynamic class creation

2012-05-19 Thread Éric Araujo
Éric Araujo added the comment: Great doc patch. I think it would be worthwhile to backport it. -- ___ Python tracker ___ ___ Python-

[issue14843] support define_macros / undef_macros in setup.cfg

2012-05-19 Thread Daniel Holth
Daniel Holth added the comment: A tuple of (macro, '1') seems to do the trick define_macros has to be space-separated, not comma-separated -- hgrepos: +127 ___ Python tracker _

[issue14843] support define_macros / undef_macros in setup.cfg

2012-05-19 Thread Daniel Holth
Changes by Daniel Holth : -- keywords: +patch Added file: http://bugs.python.org/file25642/65c3af0d283b.diff ___ Python tracker ___ __

[issue14843] support define_macros / undef_macros in setup.cfg

2012-05-19 Thread Daniel Holth
Changes by Daniel Holth : Removed file: http://bugs.python.org/file25642/65c3af0d283b.diff ___ Python tracker ___ ___ Python-bugs-list mailing

[issue14860] devguide: Clarify how to run cpython test suite - esp. on 2.7

2012-05-19 Thread Marc Abramowitz
Marc Abramowitz added the comment: Revising per feedback from Taggnostr on IRC. -- Added file: http://bugs.python.org/file25643/devguide-1.patch ___ Python tracker ___ _

[issue14860] devguide: Clarify how to run cpython test suite - esp. on 2.7

2012-05-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 13e87e1715f8 by Ezio Melotti in branch 'default': #14860: mention that test.regrtest is required for 2.7. Patch by Marc Abramowitz. http://hg.python.org/devguide/rev/13e87e1715f8 -- nosy: +python-dev _

[issue14860] devguide: Clarify how to run cpython test suite - esp. on 2.7

2012-05-19 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! -- assignee: -> ezio.melotti resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: -Python 2.7 ___ Python tracker _

[issue13210] Support Visual Studio 2010

2012-05-19 Thread Jason R. Coombs
Jason R. Coombs added the comment: I agree. There is already an issue regarding the packaging dependencies. It currently references ctypes, but we can rename it to be more broad. issue14821 -- Added file: http://bugs.python.org/file25644/smime.p7s

[issue12014] str.format parses replacement field incorrectly

2012-05-19 Thread Ben Wolfson
Ben Wolfson added the comment: Ping! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue14472] .gitignore is outdated

2012-05-19 Thread Matej Cepl
Matej Cepl added the comment: On 19.5.2012 12:25, Petri Lehtinen wrote: > Against which branch or Python version your patch is? It doesn't > apply cleanly on any branch (and yes, I changed the target filename > to .gitignore first). It used to be master, but probably some time ago. Matěj

[issue13210] Support Visual Studio 2010

2012-05-19 Thread Martin v . Löwis
Changes by Martin v. Löwis : Removed file: http://bugs.python.org/file25644/smime.p7s ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue14472] .gitignore is outdated

2012-05-19 Thread Éric Araujo
Éric Araujo added the comment: I’m afraid “master” has no meaning with a Mercurial repo. Anyway we can still use your patch to update .gitignore, thanks! -- nosy: +eric.araujo ___ Python tracker

[issue13210] Support Visual Studio 2010

2012-05-19 Thread Martin v . Löwis
Martin v. Löwis added the comment: No broad issues, please. One tracker item, one issue. If something other than _ctypes_test fails to build, it may or may not have the same reason, so caution requires that we assume they are unrelated defects. --

[issue14821] _ctypes_test fails to build from the command line with VS 2010

2012-05-19 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- title: Ctypes extension module builds as _ctypes_test.pyd -> _ctypes_test fails to build from the command line with VS 2010 ___ Python tracker __

[issue14840] Tutorial: Add a bit on the difference between tuples and lists

2012-05-19 Thread Ezio Melotti
Ezio Melotti added the comment: Here's a patch against 2.7. I changed a bit the previous paragraphs to make this fit better. -- assignee: docs@python -> ezio.melotti Added file: http://bugs.python.org/file25645/issue14840.diff ___ Python tracker

[issue12988] Tkinter File Dialog crashes on Win7 when saving to Documents Library

2012-05-19 Thread Roger Serwy
Roger Serwy added the comment: On Win7, I can replicate the problem with 64-bit Python 3.2.3. However, it does not occur for 32-bit Python 3.2.2. This problem is not due to IDLE. There is a problem with the 64-bit version of tkinter's file dialog. From a 64-bit python environment, bring up th

[issue14572] 2.7.3: sqlite module does not build on centos 5 and Mac OS X 10.4

2012-05-19 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +dmalcolm ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue12014] str.format parses replacement field incorrectly

2012-05-19 Thread Eric V. Smith
Eric V. Smith added the comment: I'll look at it when I'm done with PEP 420. -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue12586] Enhanced email API: header objects

2012-05-19 Thread R. David Murray
Changes by R. David Murray : -- hgrepos: -44 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue12586] Enhanced email API: header objects

2012-05-19 Thread R. David Murray
Changes by R. David Murray : Removed file: http://bugs.python.org/file22700/README.txt ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue12586] Enhanced email API: header objects

2012-05-19 Thread R. David Murray
Changes by R. David Murray : Removed file: http://bugs.python.org/file22699/b22698463737.diff ___ Python tracker ___ ___ Python-bugs-list mail

[issue14731] Enhance Policy framework in preparation for adding email6 policies as provisional

2012-05-19 Thread R. David Murray
Changes by R. David Murray : -- components: +email ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue12988] Tkinter File Dialog crashes on Win7 when saving to Documents Library

2012-05-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I re-verified this on win7-64 with 3.3.0a3 >From Idle, Idle remains after clicking away the error box. >From Command Prompt, CP disappears after clicking away box. Problem is not specific to Donwloads. Other Libraries fail also. Desktop and other normal places

[issue12586] Provisional new email API: new policy implementing custom header objects

2012-05-19 Thread R. David Murray
R. David Murray added the comment: As mentioned on python-dev, I'm planning to introduce the new header parsing/folding code as a provisional API in the spirit if not quite the letter of PEP 411. Issue 14731 is a pre-requisite for this issue, since this patch builds on to of that one. This

[issue14572] 2.7.3: sqlite module does not build on centos 5 and Mac OS X 10.4

2012-05-19 Thread Ned Deily
Ned Deily added the comment: Thanks for the patch to configure.ac. It appears to work on OS X 10.4 and it should on any other system with an older version of sqlite3 installed. However, I think a better approach is to just change the two problematic references in Modules/_sqlite/connection.c

[issue14572] 2.7.3: sqlite module does not build on centos 5 and Mac OS X 10.4

2012-05-19 Thread Marc Abramowitz
Marc Abramowitz added the comment: My guess would be that the code was switched to use the new typedef because the SQLite docs say they're preferred. http://www.sqlite.org/c3ref/int64.html Maybe they are planning to deprecate the old typedef at some point? -- __

[issue14572] 2.7.3: sqlite module does not build on centos 5 and Mac OS X 10.4

2012-05-19 Thread Marc Abramowitz
Marc Abramowitz added the comment: Probably either approach will have the exact same effect for the foreseeable future, so I don't feel strongly either way. It would be nice to have one of them so folks can have a sqlite3 module without having to search around and apply patches. Big win.

[issue14843] support define_macros / undef_macros in setup.cfg

2012-05-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue14821] _ctypes and other modules not built with msbuild on vs2010 solution

2012-05-19 Thread Jason R. Coombs
Changes by Jason R. Coombs : -- title: _ctypes_test fails to build from the command line with VS 2010 -> _ctypes and other modules not built with msbuild on vs2010 solution ___ Python tracker _

[issue14822] Build unusable when compiled for Win 64-bit release

2012-05-19 Thread Jason R. Coombs
Jason R. Coombs added the comment: I'd like to, but Apple hosed my Windows partition when upgrading to OS X Lion. A minor setback, but I'll be unable to test for a while. -- ___ Python tracker ___

  1   2   >