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

2012-07-13 Thread Larry Hastings
Larry Hastings added the comment: That patch from Victor looks pretty good. I'll try to get it in for beta 2, however I'm on the road right now. I'm back Sunday night and will try to do it then. If someone else wants to jump in that's fine with me. -- assignee: -> larry _

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

2012-07-13 Thread Ned Deily
Ned Deily 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 interpreter is lau

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

2012-07-13 Thread Ned Deily
Ned Deily added the comment: There is a proposed patch by haypo with Issue4591. -- ___ Python tracker ___ ___ Python-bugs-list mailin

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

2012-07-13 Thread Larry Hastings
Larry Hastings 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 were signed or unsi

[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 : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

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

2012-07-13 Thread do1
do1 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 __

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

2012-07-13 Thread Larry Hastings
Larry Hastings 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 makes no guara

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

2012-07-13 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

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

2012-07-13 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

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

2012-07-13 Thread Ned Deily
Ned Deily added the comment: Possible duplicate of Issue4591? -- nosy: +haypo, ned.deily ___ Python tracker ___ ___ Python-bugs-list

[issue14458] Non-admin installation fails

2012-07-13 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue15334] access denied for HKEY_PERFORMANCE_DATA

2012-07-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: It worked! -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___

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

2012-07-13 Thread Mark Shannon
Mark Shannon 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 __

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

2012-07-13 Thread Roundup Robot
Roundup Robot 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 -- ___ Python tracker

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

2012-07-13 Thread samwyse
Changes by samwyse : -- nosy: +samwyse ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/m

[issue15338] test_UNC_path failure in test_import

2012-07-13 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___ P

[issue14458] Non-admin installation fails

2012-07-13 Thread Cesar Mello
Cesar Mello 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 machine. But if I ins

[issue15334] access denied for HKEY_PERFORMANCE_DATA

2012-07-13 Thread Roundup Robot
Roundup Robot 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 approach to fix issue #15334. http://h

[issue15334] access denied for HKEY_PERFORMANCE_DATA

2012-07-13 Thread Tim Golden
Tim Golden added the comment: (I just ran up a service and its environ does include PROMPT, at least on an XP machine) -- ___ Python tracker ___ ___

[issue15334] access denied for HKEY_PERFORMANCE_DATA

2012-07-13 Thread Roundup Robot
Roundup Robot 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 added the comment: Take the other approach and catch ACCESS_DENIED and skip? -- ___ Python tracker ___ ___ Python-bugs-lis

[issue15328] datetime.strptime slow

2012-07-13 Thread R. David Murray
R. David Murray added the comment: If someone wants to propose a patch we can reopen the issue. -- status: open -> closed ___ Python tracker ___

[issue15334] access denied for HKEY_PERFORMANCE_DATA

2012-07-13 Thread Antoine Pitrou
Antoine Pitrou 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 ___

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

2012-07-13 Thread Vinay Sajip
Vinay Sajip 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. -- __

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

2012-07-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Patch updated with some comments. -- Added file: http://bugs.python.org/file26377/etree_write_utf16_5.patch ___ Python tracker ___diff -r 6

[issue15324] --match does not work for regrtest

2012-07-13 Thread Chris Jerdonek
Chris Jerdonek 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. -- __

[issue15327] Argparse: main arguments and subparser arguments indistinguishable

2012-07-13 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti stage: -> test needed type: enhancement -> behavior versions: +Python 3.3, Python 3.4 -Python 2.6, Python 3.1 ___ Python tracker ___

[issue15345] HOWTOs Argparse tutorial - code example raises SyntaxError

2012-07-13 Thread Ezio Melotti
Ezio Melotti 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

[issue15345] HOWTOs Argparse tutorial - code example raises SyntaxError

2012-07-13 Thread Roundup Robot
Roundup Robot 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 ___ Python

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

2012-07-13 Thread Roger Serwy
Changes by Roger Serwy : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

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

2012-07-13 Thread Roger Serwy
New submission from Roger Serwy : 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 shell. (activates

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

2012-07-13 Thread Roger Serwy
New submission from Roger Serwy : 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 "OK" in the dialog bo

[issue15331] Missing codec aliases for bytes-bytes codecs

2012-07-13 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue15326] --random does not work for regrtest

2012-07-13 Thread Ezio Melotti
Changes by Ezio Melotti : -- 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 : -- 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 __

[issue15324] --match does not work for regrtest

2012-07-13 Thread Ezio Melotti
Changes by Ezio Melotti : -- 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 __

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

2012-07-13 Thread Ezio Melotti
Ezio Melotti 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 stage: -> patch review t

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

2012-07-13 Thread Roger Serwy
Roger Serwy 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 work with the exist

[issue15334] access denied for HKEY_PERFORMANCE_DATA

2012-07-13 Thread Roundup Robot
Roundup Robot 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 -- ___ Python tracker

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

2012-07-13 Thread Ezio Melotti
Ezio Melotti 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 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 -- ___ Python tracker

[issue15334] access denied for HKEY_PERFORMANCE_DATA

2012-07-13 Thread Roundup Robot
Roundup Robot 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 ___ Python tracker

[issue15338] test_UNC_path failure in test_import

2012-07-13 Thread Roundup Robot
Roundup Robot 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 -- __

[issue15270] "Economy of Expression" section outdated

2012-07-13 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue15338] test_UNC_path failure in test_import

2012-07-13 Thread Roundup Robot
Roundup Robot 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 7d5e84a44b82 by Antoine Pitrou i

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

2012-07-13 Thread Víctor Terrón
Víctor Terrón 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 tracker

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

2012-07-13 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue15327] Argparse: main arguments and subparser arguments indistinguishable

2012-07-13 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +bethard, tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue15328] datetime.strptime slow

2012-07-13 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang status: pending -> open ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue15339] document the threading "facts of life" in Python

2012-07-13 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

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

2012-07-13 Thread Ned Deily
Ned Deily 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 new test cas

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

2012-07-13 Thread Ronald Oussoren
Ronald Oussoren 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 that's expected. Unless

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

2012-07-13 Thread Vinay Sajip
Vinay Sajip added the comment: > In particular line 95 of test_venv explicitly tests that > sys.prefix == sys.base_prefix, which should fail when running the > test within a virtual env. Tweaking the test suite to avoid that > failure is beyond the scope of this issue. The first part of the tes

[issue15345] HOWTOs Argparse tutorial - code example raises SyntaxError

2012-07-13 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue15339] document the threading "facts of life" in Python

2012-07-13 Thread Raymond Hettinger
Raymond Hettinger 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 _

[issue14599] Windows test_import failure thanks to ImportError.path

2012-07-13 Thread Brett Cannon
Brett Cannon 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

[issue15169] Clear C code under PyImport_ExecCodeModuleObject()

2012-07-13 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue14599] Windows test_import failure thanks to ImportError.path

2012-07-13 Thread Roundup Robot
Roundup Robot 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 -- ___ Python tracker

[issue15169] Clear C code under PyImport_ExecCodeModuleObject()

2012-07-13 Thread Roundup Robot
Roundup Robot 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 ___ Python trac

[issue14600] Change ImportError reference handling, naming

2012-07-13 Thread Brian Curtin
Changes by Brian Curtin : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue15346] Tkinter dnd has no documentation

2012-07-13 Thread Daniel Swanson
New submission from Daniel Swanson : 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: 3.3.0 b1 tkinter.dnd Drag-and

[issue14600] Change ImportError reference handling, naming

2012-07-13 Thread Éric Araujo
Éric Araujo 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 ___ ___

[issue15169] Clear C code under PyImport_ExecCodeModuleObject()

2012-07-13 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: -> brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue15169] Clear C code under PyImport_ExecCodeModuleObject()

2012-07-13 Thread Brett Cannon
Changes by Brett Cannon : -- priority: normal -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15338] test_UNC_path failure in test_import

2012-07-13 Thread Tim Golden
Tim Golden 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

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

2012-07-13 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: +Yury.Selivanov, larry, yselivanov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

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

2012-07-13 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

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

2012-07-13 Thread Roundup Robot
Roundup Robot 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 ___ Python track

[issue15338] test_UNC_path failure in test_import

2012-07-13 Thread Tim Golden
Tim Golden 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 easy to get the neces

[issue15342] os.path.join behavior

2012-07-13 Thread R. David Murray
R. David Murray 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 the documentation that

[issue10614] ZipFile: add a filename_encoding argument

2012-07-13 Thread umedoblock
umedoblock 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 the patch needs to cha

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

2012-07-13 Thread Antoine Pitrou
Antoine Pitrou 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)? -- ___ Python tra

[issue10614] ZipFile: add a filename_encoding argument

2012-07-13 Thread Martin v . Löwis
Martin v. Löwis 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'). -- ___

[issue15338] test_UNC_path failure in test_import

2012-07-13 Thread Jeremy Kloth
Jeremy Kloth 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 find any information on ho

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

2012-07-13 Thread Ronald Oussoren
Ronald Oussoren 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 explains that "sys.base_pre

[issue15345] HOWTOs Argparse tutorial - code example raises SyntaxError

2012-07-13 Thread Simon Hayward
New submission from Simon Hayward : 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 read: print "{}^{} =

[issue15338] test_UNC_path failure in test_import

2012-07-13 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +jkloth ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue15338] test_UNC_path failure in test_import

2012-07-13 Thread Tim Golden
Tim Golden 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 the buildbot owner h

[issue15338] test_UNC_path failure in test_import

2012-07-13 Thread Antoine Pitrou
Antoine Pitrou 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 with minimum

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

2012-07-13 Thread Serhiy Storchaka
Serhiy Storchaka 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 or general file-li

[issue15338] test_UNC_path failure in test_import

2012-07-13 Thread Tim Golden
Tim Golden 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 with minimum-privilege a

[issue15338] test_UNC_path failure in test_import

2012-07-13 Thread Antoine Pitrou
Antoine Pitrou 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? --

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

2012-07-13 Thread Daniel Holth
Daniel Holth 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 ___

[issue15338] test_UNC_path failure in test_import

2012-07-13 Thread Tim Golden
Tim Golden 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

[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 : -- nosy: +Eduardo.Cereto.Carvalho ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue15342] os.path.join behavior

2012-07-13 Thread Pan Yongzhi
Pan Yongzhi 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, and have to guess. Either the

[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 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 .py on Window

[issue4832] idle filename extension

2012-07-13 Thread Roundup Robot
Roundup Robot 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 ___ Python tracker

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

2012-07-13 Thread Ronald Oussoren
Ronald Oussoren 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 for this, possibly by ca

[issue15238] shutil.copystat should copy Linux extended attributes

2012-07-13 Thread Hynek Schlawack
Hynek Schlawack 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? http://en.wikipedia.org/wiki/

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

2012-07-13 Thread Ned Deily
Ned Deily 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. Today, while t

[issue14190] Minor C API documentation bugs

2012-07-13 Thread Eli Bendersky
Eli Bendersky added the comment: Closing, as I don't think it's terribly important to backport this. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ _

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

2012-07-13 Thread Eli Bendersky
Eli Bendersky added the comment: Serhiy, can you also take a look at #9458 - it may be related? -- ___ Python tracker ___ ___ Pytho

[issue13686] Some notes on the docs of multiprocessing

2012-07-13 Thread Eli Bendersky
Eli Bendersky 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 ___

[issue13686] Some notes on the docs of multiprocessing

2012-07-13 Thread Roundup Robot
Roundup Robot 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 tracker