[issue15344] devinabox: failure when running make_a_box multiple times

2012-07-13 Thread Eric Snow
Eric Snow ericsnowcurren...@gmail.com added the comment: I just got the same error with a clean install. I'll have to poke at it some other time. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15344

[issue15296] Minidom can't create ASCII representation

2012-07-13 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: Serhiy - why did you remove that documentation bit? Because it's not relevant anymore. With patch you will never get UnicodeError exceptions in case of unrepresentable text data. -- ___ Python

[issue13686] Some notes on the docs of multiprocessing

2012-07-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset caea3c64442b by Eli Bendersky in branch 'default': Some fixes for the documentation of multiprocessing (per issue #13686) http://hg.python.org/cpython/rev/caea3c64442b -- nosy: +python-dev

[issue13686] Some notes on the docs of multiprocessing

2012-07-13 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Switching this to 3.3 only Fixes for 1-3 committed in caea3c64442b -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13686 ___

[issue15296] Minidom can't create ASCII representation

2012-07-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 7b97cea795d8 by Eli Bendersky in branch 'default': Issue #15296: Fix minidom.toxml/toprettyxml for non-unicode encodings. Patch by Serhiy Storchaka, with some minor style adjustments by me.

[issue15296] Minidom can't create ASCII representation

2012-07-13 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Fixed in 3.3 Thanks for the patch -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15296 ___

[issue15342] os.path.join behavior

2012-07-13 Thread Ned Deily
Ned Deily n...@acm.org added the comment: os.path.join is working as documented. See http://docs.python.org/library/os.path.html#os.path.join If any component is an absolute path, all previous components (on Windows, including the previous drive letter, if there was one) are thrown away, and

[issue13686] Some notes on the docs of multiprocessing

2012-07-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 1110692aac71 by Eli Bendersky in branch 'default': Additional fixes to multiprocessing docs (for issue #13686) http://hg.python.org/cpython/rev/1110692aac71 -- ___ Python

[issue13686] Some notes on the docs of multiprocessing

2012-07-13 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Done (except 5 and 6, which are non-issues on a second look) -- status: open - closed versions: +Python 3.3 -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13686

[issue1767933] Badly formed XML using etree and utf-16

2012-07-13 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Serhiy, can you also take a look at #9458 - it may be related? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1767933 ___

[issue14190] Minor C API documentation bugs

2012-07-13 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Closing, as I don't think it's terribly important to backport this. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14190

[issue15307] Patch for --symlink support in pyvenv with framework python

2012-07-13 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Fixing sys.executable to point to the stub launcher instead of the interpreter in the fw will also fix other unrelated issues, like making python3-32 work properly in 64-/32-bit builds for IDLE and for tests that spawn interpreters in subprocesses.

[issue15238] shutil.copystat should copy Linux extended attributes

2012-07-13 Thread Hynek Schlawack
Hynek Schlawack h...@ox.cx added the comment: Hynek: You must forgive me, I'm a recovering Windows programmer. I thought extended attributes were a Linux-only thing. Can you tell me what other platforms they are available on? And/or suggest some alternate language?

[issue15307] Patch for --symlink support in pyvenv with framework python

2012-07-13 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: I removed the call to realpath from pythonw because resolving symlinks breaks the feature. Realpath also converts relative paths to absolute paths, and that probably explains the new failure you're having. I'll try to find a solution

[issue4832] idle filename extension

2012-07-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 677a9326b4d4 by Ned Deily in branch 'default': Issue #4832: Modify IDLE to save files with .py extension by http://hg.python.org/cpython/rev/677a9326b4d4 -- nosy: +python-dev

[issue4832] IDLE does not supply a default ext of .py on Windows or OS X for new file saves

2012-07-13 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Committed for 3.3. I'm +0.5 for 2.7 and 3.2. It seems like a bug to me. Terry, I'll leave it up to you to handle that and any further doc updates you want to make. -- title: idle filename extension - IDLE does not supply a default ext of

[issue15342] os.path.join behavior

2012-07-13 Thread Pan Yongzhi
Pan Yongzhi fossi...@users.sourceforge.net added the comment: I know this is working as documented. But working as documented does not mean it is not a bug. I cannot deduce that it will append a separator if joining with an empty string from the documentation. Also, this behavior is implicit,

[issue11445] python.exe on OS X shared-llbrary build erroneously linked to MacPorts python library

2012-07-13 Thread Eduardo Cereto Carvalho
Changes by Eduardo Cereto Carvalho eduardocer...@gmail.com: -- nosy: +Eduardo.Cereto.Carvalho ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11445 ___

[issue15338] test_UNC_path failure in test_import

2012-07-13 Thread Tim Golden
Tim Golden m...@timgolden.me.uk added the comment: Well os.listdir doesn't fail to access a UNC path on Windows x64 in general. So presumably this particular path is not accessible by the buildbot process owner? -- ___ Python tracker

[issue11624] distutils should support a custom list of exported symbols for Windows dlls.

2012-07-13 Thread Daniel Holth
Daniel Holth dho...@fastmail.fm added the comment: I must have missed the export_symbols keyword argument to Extension(), or it was added. -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org

[issue15338] test_UNC_path failure in test_import

2012-07-13 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Well, this particular path is the build directory itself, so it's certainly accessible through the normal (non-UNC) path. There has to be something else :-) Jeremy told me his buildbot process runs as a service, perhaps that is related?

[issue15338] test_UNC_path failure in test_import

2012-07-13 Thread Tim Golden
Tim Golden m...@timgolden.me.uk added the comment: It's using an administrative share (\\server\d$) and those are usually restricted with share permissions -- different from NTFS permissions. That the process runs as a service is likely to have an effect since services are conventionally run

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

2012-07-13 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: ElementTree write works with two kinds of output -- binary and text. The difference between them is only determined by encoding argument. If encoding is unicode, then output is text, else it is binary. There is no other way for filename

[issue15338] test_UNC_path failure in test_import

2012-07-13 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: It's using an administrative share (\\server\d$) and those are usually restricted with share permissions -- different from NTFS permissions. That the process runs as a service is likely to have an effect since services are conventionally run

[issue15338] test_UNC_path failure in test_import

2012-07-13 Thread Tim Golden
Tim Golden m...@timgolden.me.uk added the comment: For this particular buildbot setup, maybe yes. But it would be possible in principle to have a buildbot configuration which could allow the test to execute. (eg one running under a user account which can access the path via an admin share). Does

[issue15338] test_UNC_path failure in test_import

2012-07-13 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +jkloth ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15338 ___ ___ Python-bugs-list mailing

[issue15345] HOWTOs Argparse tutorial - code example raises SyntaxError

2012-07-13 Thread Simon Hayward
New submission from Simon Hayward simonhayw...@gmail.com: HOWTOs - Argparse Tutorial, the code example will raise a syntax error when run. A trailing python3 reference (if called as a function): 'end=', to suppresses a newline remains. print {}^{} == .format(args.x, args.y), end= Should

[issue15307] Patch for --symlink support in pyvenv with framework python

2012-07-13 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: v5 adds test cases for sys.executable and calls realpath on dirname(argv[0]) in pythonw.c and also has the changes in Ned's v4. The test failure for test_venv is expected, the note in http://docs.python.org/dev/library/venv.html

[issue15338] test_UNC_path failure in test_import

2012-07-13 Thread Jeremy Kloth
Jeremy Kloth jeremy.kl...@gmail.com added the comment: The buildbot service account is a standard user (per the buildbot servce installation directions). When logged on, the user can access the share. Just when logged on as a service is when it cannot. After much searching, I still cannot

[issue10614] ZipFile: add a filename_encoding argument

2012-07-13 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: umedoblock: your patch is incorrect, as it produces moji-bake. if there is a file name b'f\x94n', it will decode as sjis under your patch (to u'f\u99ac'), even though it was meant as cp437 (i.e. u'f\xf6n'). --

[issue15320] thread-safety issue in regrtest.main()

2012-07-13 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I find the patch complicated. If you are using a Lock, surely you don't need a deque, you can keep the original iterator (which is also more readable since it mirrors the semantics quite closely)? --

[issue10614] ZipFile: add a filename_encoding argument

2012-07-13 Thread umedoblock
umedoblock umedobl...@gmail.com added the comment: Hi, Martin. I tried your test case with attached file. And I got below result. p3 ./encodings.py encoding: sjis, filename: f馬 encoding: cp437, filename: fön sjis_filename = f馬 cp437_filename = fön There are two success cases. So I think that

[issue15342] os.path.join behavior

2012-07-13 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Whatever the good or bad points of the API design, it is what it is and has been for a very long time. It is not something that is going to change, because the break in backward compatibility would be too large. What is unclear about

[issue15338] test_UNC_path failure in test_import

2012-07-13 Thread Tim Golden
Tim Golden m...@timgolden.me.uk added the comment: My guess is that it's to do with Service Hardening. I did a quick dump of my token in an interactive session and as the owner of a service. Quite a few differences. I haven't read up on this area yet so I'm not sure what options there are / how

[issue15053] imp.lock_held() Changed in Python 3.3 mention accidentally one function up

2012-07-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset c09f454af2c6 by Brett Cannon in branch 'default': Issue #15053: Make sure all functions related to the import lock have http://hg.python.org/cpython/rev/c09f454af2c6 -- nosy: +python-dev

[issue15053] imp.lock_held() Changed in Python 3.3 mention accidentally one function up

2012-07-13 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15053 ___

[issue15151] Documentation for Signature, Parameter and signature in inspect module

2012-07-13 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- nosy: +Yury.Selivanov, larry, yselivanov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15151 ___ ___

[issue15338] test_UNC_path failure in test_import

2012-07-13 Thread Tim Golden
Tim Golden m...@timgolden.me.uk added the comment: Simplest solution might be to catch PermissionError and call skipTest from within. This would allow buildbots to run the test which had access through the relevant share. -- ___ Python tracker

[issue15169] Clear C code under PyImport_ExecCodeModuleObject()

2012-07-13 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- priority: normal - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15169 ___ ___

[issue15169] Clear C code under PyImport_ExecCodeModuleObject()

2012-07-13 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- assignee: - brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15169 ___ ___

[issue14600] Change ImportError reference handling, naming

2012-07-13 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Yep, bf23a6c215f6 fixed it, thanks for the ping. Brian or Antoine, can you close this or was there something else? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14600

[issue15346] Tkinter dnd has no documentation

2012-07-13 Thread Daniel Swanson
New submission from Daniel Swanson popcorn.tomato.d...@gmail.com: The title should be self explanatory. I needed Drag-and-drop for a project I was working on, (maybe I shouldn't be refering to it in the past tense as I haven't started yet) so I checked the documentation for tkinter and found:

[issue14600] Change ImportError reference handling, naming

2012-07-13 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14600 ___

[issue15169] Clear C code under PyImport_ExecCodeModuleObject()

2012-07-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 9e164b404983 by Brett Cannon in branch 'default': Issues #15169, #14599: Make PyImport_ExecCodeModuleWithPathnames() use http://hg.python.org/cpython/rev/9e164b404983 -- nosy: +python-dev

[issue14599] Windows test_import failure thanks to ImportError.path

2012-07-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 9e164b404983 by Brett Cannon in branch 'default': Issues #15169, #14599: Make PyImport_ExecCodeModuleWithPathnames() use http://hg.python.org/cpython/rev/9e164b404983 --

[issue15169] Clear C code under PyImport_ExecCodeModuleObject()

2012-07-13 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15169 ___

[issue14599] Windows test_import failure thanks to ImportError.path

2012-07-13 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: MAXPATHLEN no longer shows up in Python/import.c. -- dependencies: +Clear C code under PyImport_ExecCodeModuleObject() resolution: - fixed status: open - closed ___ Python tracker

[issue15339] document the threading facts of life in Python

2012-07-13 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: If no one gets to it first, I'll write-up a draft when I get a chance. -- assignee: docs@python - rhettinger nosy: +rhettinger priority: normal - low ___ Python tracker

[issue15345] HOWTOs Argparse tutorial - code example raises SyntaxError

2012-07-13 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15345 ___ ___

[issue15307] Patch for --symlink support in pyvenv with framework python

2012-07-13 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: Ned mentioned that test_venv fails on line 95 when you run test_venv *in* a virtualenv, that is: $ pyvenv testenv $ testenv/bin/python3 -m test.test_venv This fails because sys.prefix != sys.base_prefix for testenv/bin/python3, and

[issue15307] Patch for --symlink support in pyvenv with framework python

2012-07-13 Thread Ned Deily
Ned Deily n...@acm.org added the comment: That's correct, the failing test was being run from a venv. I see now that what had changed is that the fixes for Issue15241 recently added the test_prefixes test case to test_venv and that fails when the test is run from within a venv. Without that

[issue15339] document the threading facts of life in Python

2012-07-13 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15339 ___ ___

[issue15328] datetime.strptime slow

2012-07-13 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +tshepang status: pending - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15328 ___

[issue15327] Argparse: main arguments and subparser arguments indistinguishable

2012-07-13 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +bethard, tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15327 ___ ___

[issue15302] Use argparse instead of getopt in test.regrtest

2012-07-13 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15302 ___ ___

[issue10716] Modernize pydoc to use better HTML and separate CSS

2012-07-13 Thread Víctor Terrón
Víctor Terrón quinta...@gmail.com added the comment: I would like to take on this issue if, as it seems, Ron is no longer working on it. I'm thinking of using HTML5 and maybe replicating the default output of Sphinx. -- nosy: +vterron ___ Python

[issue15338] test_UNC_path failure in test_import

2012-07-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 4d480a2a6296 by Antoine Pitrou in branch '3.2': Issue #15338: skip test_UNC_path when the current user doesn't have enough permissions to access the path. http://hg.python.org/cpython/rev/4d480a2a6296 New changeset

[issue15270] Economy of Expression section outdated

2012-07-13 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15270 ___ ___

[issue15338] test_UNC_path failure in test_import

2012-07-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 7eac87fa7a06 by Antoine Pitrou in branch '2.7': Issue #15338: skip test_UNC_path when the current user doesn't have enough permissions to access the path. http://hg.python.org/cpython/rev/7eac87fa7a06 --

[issue15334] access denied for HKEY_PERFORMANCE_DATA

2012-07-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset ec2caf810e5e by Antoine Pitrou in branch '3.2': Issue #15334: skip test_dynamic_key when run in non-interactive mode. http://hg.python.org/cpython/rev/ec2caf810e5e -- nosy: +python-dev

[issue15334] access denied for HKEY_PERFORMANCE_DATA

2012-07-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 1242ed59573e by Antoine Pitrou in branch 'default': Issue #15334: skip test_dynamic_key when run in non-interactive mode. http://hg.python.org/cpython/rev/1242ed59573e --

[issue10716] Modernize pydoc to use better HTML and separate CSS

2012-07-13 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Using an HTML5 doctype is ok, but I'm not sure it's a good idea to use new HTML5 elements/features yet (those shouldn't be necessary anyway, so basically you should end up with valid HTML 4 strict with an HTML5 doctype). --

[issue15334] access denied for HKEY_PERFORMANCE_DATA

2012-07-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 9bbc4900301c by Antoine Pitrou in branch '2.7': Issue #15334: skip test_dynamic_key when run in non-interactive mode. http://hg.python.org/cpython/rev/9bbc4900301c -- ___

[issue15335] IDLE - debugger steps through run.py internals

2012-07-13 Thread Roger Serwy
Roger Serwy roger.se...@gmail.com added the comment: I suggest to add a decorator @Debugger.internal for all methods that the debugger should not step into. It should set a function attribute that the debugger then checks for. The decorator idea may work. I'll need to see how to make it

[issue15275] isinstance is called a more times that needed in ntpath

2012-07-13 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Have you tried doing some benchmarks before and after the patch? If this patch is applied I think it would be good to change posixpath too. Also make sure that the changes you made are covered by the tests. -- nosy: +ezio.melotti

[issue15324] --match does not work for regrtest

2012-07-13 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - patch review superseder: - Use argparse instead of getopt in test.regrtest type: - enhancement versions: +Python 3.4 -Python 3.3 ___ Python tracker

[issue15325] --fromfile does not work for regrtest

2012-07-13 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - patch review superseder: - Use argparse instead of getopt in test.regrtest type: - enhancement versions: +Python 3.4 -Python 3.3 ___ Python tracker

[issue15326] --random does not work for regrtest

2012-07-13 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - patch review superseder: - Use argparse instead of getopt in test.regrtest type: - enhancement versions: +Python 3.4 -Python 3.3 ___ Python tracker

[issue15331] Missing codec aliases for bytes-bytes codecs

2012-07-13 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15331 ___ ___

[issue15347] IDLE - does not close if the debugger was active

2012-07-13 Thread Roger Serwy
New submission from Roger Serwy roger.se...@gmail.com: IDLE fails to close if the debugger was active. Steps to reproduce: 1) Start IDLE with only a shell. 2) Enable debugger. 3) Press enter in the shell. (Causes debugger to activate) 4) Close the shell window. (File-Exit or click X) 5) Click

[issue15348] IDLE - shell becomes unresponsive if debugger windows is closed while active.

2012-07-13 Thread Roger Serwy
New submission from Roger Serwy roger.se...@gmail.com: The IDLE shell does not respond to commands if the debugger window is closed by clicking X. This is due to PyShell's executing flag not being reset. Steps to reproduce: 1) Start IDLE with a shell. 2) Enable debugger. 3) Press enter in the

[issue15348] IDLE - shell becomes unresponsive if debugger windows is closed while active.

2012-07-13 Thread Roger Serwy
Changes by Roger Serwy roger.se...@gmail.com: -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15348 ___ ___ Python-bugs-list

[issue15345] HOWTOs Argparse tutorial - code example raises SyntaxError

2012-07-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset de18c4470ff1 by Ezio Melotti in branch '2.7': #15345: fix SyntaxError in argparse tutorial example. Patch by Simon Hayward. http://hg.python.org/cpython/rev/de18c4470ff1 -- nosy: +python-dev

[issue15345] HOWTOs Argparse tutorial - code example raises SyntaxError

2012-07-13 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Fixed, thanks for the patch! -- assignee: docs@python - ezio.melotti nosy: +ezio.melotti resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker

[issue15327] Argparse: main arguments and subparser arguments indistinguishable

2012-07-13 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - test needed type: enhancement - behavior versions: +Python 3.3, Python 3.4 -Python 2.6, Python 3.1 ___ Python tracker rep...@bugs.python.org

[issue15324] --match does not work for regrtest

2012-07-13 Thread Chris Jerdonek
Chris Jerdonek chris.jerdo...@gmail.com added the comment: This and the two similar issues can be fixed without waiting for the enhancement patch by correcting the typos in the getopt invocation. I would be happy to file patches or a combined patch to fix just the typos. --

[issue1767933] Badly formed XML using etree and utf-16

2012-07-13 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: Patch updated with some comments. -- Added file: http://bugs.python.org/file26377/etree_write_utf16_5.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1767933

[issue15307] Patch for --symlink support in pyvenv with framework python

2012-07-13 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: As the test is constructed now, that test will fail if run from a venv. It will be a simple matter to skip it if test_venv being run from a venv - I can add that at some point, but I agree it's orthogonal to the crux of this issue.

[issue15334] access denied for HKEY_PERFORMANCE_DATA

2012-07-13 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Apparently the patch didn't work: http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/290/steps/test/logs/stdio -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org

[issue15328] datetime.strptime slow

2012-07-13 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: If someone wants to propose a patch we can reopen the issue. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15328

[issue15334] access denied for HKEY_PERFORMANCE_DATA

2012-07-13 Thread Tim Golden
Tim Golden m...@timgolden.me.uk added the comment: Take the other approach and catch ACCESS_DENIED and skip? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15334 ___

[issue15334] access denied for HKEY_PERFORMANCE_DATA

2012-07-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 814927ff4ef2 by Antoine Pitrou in branch '2.7': Try other approach to fix issue #15334. http://hg.python.org/cpython/rev/814927ff4ef2 -- ___ Python tracker

[issue15334] access denied for HKEY_PERFORMANCE_DATA

2012-07-13 Thread Tim Golden
Tim Golden m...@timgolden.me.uk added the comment: (I just ran up a service and its environ does include PROMPT, at least on an XP machine) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15334

[issue15334] access denied for HKEY_PERFORMANCE_DATA

2012-07-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset dad89e7479e8 by Antoine Pitrou in branch '3.2': Try other approach to fix issue #15334. http://hg.python.org/cpython/rev/dad89e7479e8 New changeset b4e4c57637cf by Antoine Pitrou in branch 'default': Try other

[issue14458] Non-admin installation fails

2012-07-13 Thread Cesar Mello
Cesar Mello cme...@gmail.com added the comment: Just as a note: the following command line with /q instead of /qb works without the need for elevation: msiexec /q /i python-2.7.3.amd64.msi MSIFASTINSTALL=7 TARGETDIR=C:\Users\Mello\Python27 And it is pretty fast! This was on a Windows 7

[issue15338] test_UNC_path failure in test_import

2012-07-13 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15338 ___

[issue13866] {urllib, urllib.parse}.urlencode should not use quote_plus

2012-07-13 Thread samwyse
Changes by samwyse samw...@gmail.com: -- nosy: +samwyse ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13866 ___ ___ Python-bugs-list mailing list

[issue15241] venv module and pyvenv script documented, but not python behavior itself

2012-07-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 0dbffd3c1317 by Ned Deily in branch 'default': Issue #15241: Fix test_prefixes failure in test_venv due to symlink in http://hg.python.org/cpython/rev/0dbffd3c1317 -- ___

[issue15301] os.chown: OverflowError: Python int too large to convert to C long

2012-07-13 Thread Mark Shannon
Mark Shannon m...@hotpy.org added the comment: Larry, you're the expert on this. Looks to me like the format character in PyArg_ParseTuple in posix_fchown and kin should be 'k' (unsigned long) rather than 'l' (signed long). -- nosy: +Mark.Shannon, larry type: - behavior

[issue15334] access denied for HKEY_PERFORMANCE_DATA

2012-07-13 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: It worked! -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15334 ___

[issue14458] Non-admin installation fails

2012-07-13 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14458 ___ ___ Python-bugs-list mailing

[issue15301] os.chown: OverflowError: Python int too large to convert to C long

2012-07-13 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Possible duplicate of Issue4591? -- nosy: +haypo, ned.deily ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15301 ___

[issue15275] isinstance is called a more times that needed in ntpath

2012-07-13 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15275 ___ ___ Python-bugs-list

[issue15280] Don't use builtins as variable names in urllib.request

2012-07-13 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15280 ___ ___ Python-bugs-list

[issue15301] os.chown: OverflowError: Python int too large to convert to C long

2012-07-13 Thread Larry Hastings
Larry Hastings la...@hastings.org added the comment: I don't think k is the right answer. POSIX defines the user and group parameters as uid_t and gid_t respectively; in turn, uid_t and gid_t are defined as integers, pointedly omitting the either of the words signed or unsigned. So POSIX

[issue15301] os.chown: OverflowError: Python int too large to convert to C long

2012-07-13 Thread do1
do1 d...@yandex.ru added the comment: Problem emerged when well-known backup software (rdiff-backup) is 'crashed' (as in no backups). So I think this is not that theoretical. -- ___ Python tracker rep...@bugs.python.org

[issue15301] os.chown: OverflowError: Python int too large to convert to C long

2012-07-13 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15301 ___

[issue15301] os.chown: OverflowError: Python int too large to convert to C long

2012-07-13 Thread Larry Hastings
Larry Hastings la...@hastings.org added the comment: Thinking about it some more, maybe we need to be smart about whether uid_t/gid_t are signed or unsigned. I'm no good with configure hackery--could anyone here enhance the configure script so it could tell us whether or not uid_t and gid_t

[issue15301] os.chown: OverflowError: Python int too large to convert to C long

2012-07-13 Thread Ned Deily
Ned Deily n...@acm.org added the comment: There is a proposed patch by haypo with Issue4591. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15301 ___

[issue15307] Patch for --symlink support in pyvenv with framework python

2012-07-13 Thread Ned Deily
Ned Deily n...@acm.org added the comment: v5 fixes the non normalized path issue. However, the PYTHONEXECUTABLE env var - argv processing is still broken, as detected by the test_osx_env failure. It's definitely caused by interaction between pythonw.c and the main interpreter; if the

  1   2   >