[issue15344] devinabox: failure when running make_a_box multiple times
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15296] Minidom can't create ASCII representation
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 tracker rep...@bugs.python.org http://bugs.python.org/issue15296 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13686] Some notes on the docs of multiprocessing
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13686 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13686] Some notes on the docs of multiprocessing
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15296] Minidom can't create ASCII representation
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. http://hg.python.org/cpython/rev/7b97cea795d8 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15296 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15296] Minidom can't create ASCII representation
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15342] os.path.join behavior
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 joining continues. ... This means that an empty last part will result in a path that ends with a separator. So, to have the path end with a separator, use an empty string rather than '/' as the last component. import os os.path.join('/','Users', 'nad') '/Users/nad' os.path.join('/','Users', 'nad', '') '/Users/nad/' -- nosy: +ned.deily resolution: - invalid stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15342 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13686] Some notes on the docs of multiprocessing
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 tracker rep...@bugs.python.org http://bugs.python.org/issue13686 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13686] Some notes on the docs of multiprocessing
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1767933] Badly formed XML using etree and utf-16
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14190] Minor C API documentation bugs
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15307] Patch for --symlink support in pyvenv with framework python
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. Today, while the main process is 32-bit, the interpreters in subprocesses are 64-bit. I did a little clean up and fixed up the documentation somewhat; see the revised patch. But building a stock installer and running the tests showed two issues: 1) test_osx_env fails at line 28, checking PYTHONEXECUTABLE 2) when running the tests within a venv, test_venv now fails at line 95; sys.baseprefix != sys.prefix. This did not fail previously Also, I saw another test failure when building and running with a test framework environment that included a relative link. It appeared that _NSGetExecutablePath in pythonw.c returned an unnormalized path: sys.executable '/py/dev/default/b10.7_t10.7_x4.3_cclang_d/fw/./root/bin/python3.3' which caused a test_venv failure. I probably won't have time to look at this again for a few days. -- Added file: http://bugs.python.org/file26373/venv-symlinks-v4.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15307 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15238] shutil.copystat should copy Linux extended attributes
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? http://en.wikipedia.org/wiki/Xattr has a list. The question what’s most user friendly. The best way for the user would be your text. However we’ll have to dig through the docs once we support xattr on more platforms. However as I see it, we’re deep down this path already anyway (http://docs.python.org/dev/library/os.html?highlight=xattr#linux-extended-attributes), so I guess we can keep your docs. One nit: I’d swap your quoted extended attributes to unquoted but linked to the doc above. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15238 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15307] Patch for --symlink support in pyvenv with framework python
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 for this, possibly by calling realpath on dirname(argv[0]) instead of the whole path. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15307 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4832] idle filename extension
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4832 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4832] IDLE does not supply a default ext of .py on Windows or OS X for new file saves
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 .py on Windows or OS X for new file saves ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4832 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15342] os.path.join behavior
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, and have to guess. Either the document or the behaivor have to be changed. I think it is not only me: http://stackoverflow.com/questions/1945920/os-path-join-python -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15342 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11445] python.exe on OS X shared-llbrary build erroneously linked to MacPorts python library
Changes by Eduardo Cereto Carvalho eduardocer...@gmail.com: -- nosy: +Eduardo.Cereto.Carvalho ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11445 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15338] test_UNC_path failure in test_import
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 rep...@bugs.python.org http://bugs.python.org/issue15338 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11624] distutils should support a custom list of exported symbols for Windows dlls.
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 http://bugs.python.org/issue11624 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15338] test_UNC_path failure in test_import
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? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15338 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15338] test_UNC_path failure in test_import
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 with minimum-privilege accounts. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15338 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9458] xml.etree.ElementTree.ElementTree.write(): encoding handling problems
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 or general file-like object to determine kind of output. If these are not explained in the documentation, then the documentation should be improved. The patch can cause data corruption because direct writing to underlying file by fileno conflicts with TextIOBase/BufferedIOBase internal buffering. And not every file-like object have fileno. With patch the behavior becomes less obvious and will lead to confusion. I don't see a behavior bug which should be fixed. Only one thing can be enhanced -- error diagnostic in some corner cases. When we can determines that file object is instance of RawIOBase or TextIOBase and it is conflicts with encoding argument value, it will be helpful for novices to raise a descriptive exception. This is of course not eliminate all causes for confusing. -- nosy: +storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9458 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15338] test_UNC_path failure in test_import
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 with minimum-privilege accounts. Ok, so I guess skipping the test in this case would be appropriate? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15338 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15338] test_UNC_path failure in test_import
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 the buildbot owner have anything to say on the account and share permissions? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15338 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15338] test_UNC_path failure in test_import
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +jkloth ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15338 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15345] HOWTOs Argparse tutorial - code example raises SyntaxError
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 read: print {}^{} ==.format(args.x, args.y), -- assignee: docs@python components: Documentation files: argparse-howto.patch keywords: patch messages: 165381 nosy: docs@python, simon.hayward priority: normal severity: normal status: open title: HOWTOs Argparse tutorial - code example raises SyntaxError type: behavior versions: Python 2.7 Added file: http://bugs.python.org/file26374/argparse-howto.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15345 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15307] Patch for --symlink support in pyvenv with framework python
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 explains that sys.base_prefix and sys.base_exec_prefix point to the non-venv Python installation which was used to create the venv. The test fails because it assumes that sys.base_prefix of the created venv is same as sys.prefix of the running python, which is not true when you create a venv in a venv. 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. -- Added file: http://bugs.python.org/file26375/venv-symlinks-v5.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15307 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15338] test_UNC_path failure in test_import
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 find any information on how to get that user to access to those shares. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15338 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10614] ZipFile: add a filename_encoding argument
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'). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10614 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15320] thread-safety issue in regrtest.main()
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)? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15320 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10614] ZipFile: add a filename_encoding argument
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 the patch needs to change default_encoding before or in _decode_filename(). But I have no idea about how to change a default_encoding. -- Added file: http://bugs.python.org/file26376/encodings.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10614 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15342] os.path.join behavior
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 the documentation that Ned quoted (This means that an empty last part will result in a path that ends with a separator.)? How would you suggest improving the documentation? -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15342 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15338] test_UNC_path failure in test_import
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 easy to get the necessary privs. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15338 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15053] imp.lock_held() Changed in Python 3.3 mention accidentally one function up
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15053 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15053] imp.lock_held() Changed in Python 3.3 mention accidentally one function up
Changes by Brett Cannon br...@python.org: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15053 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15151] Documentation for Signature, Parameter and signature in inspect module
Changes by Brett Cannon br...@python.org: -- nosy: +Yury.Selivanov, larry, yselivanov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15151 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15338] test_UNC_path failure in test_import
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 rep...@bugs.python.org http://bugs.python.org/issue15338 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15169] Clear C code under PyImport_ExecCodeModuleObject()
Changes by Brett Cannon br...@python.org: -- priority: normal - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15169 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15169] Clear C code under PyImport_ExecCodeModuleObject()
Changes by Brett Cannon br...@python.org: -- assignee: - brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15169 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14600] Change ImportError reference handling, naming
É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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15346] Tkinter dnd has no documentation
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: 3.3.0 b1 tkinter.dnd Drag-and-drop support for tkinter. This is experimental and should become deprecated when it is replaced with the Tk DND. 3.2.2 (and .2.3) tkinter.dnd Drag-and-drop support for tkinter. This is experimental and should become deprecated when it is replaced with the Tk DND. 2.7.3 Tkdnd Drag-and-drop support for Tkinter. This is experimental and should become deprecated when it is replaced with the Tk DND. I think that tkinter.dnd needs some documentation, whether or not it is replaced with Tk DND. -- assignee: docs@python components: Documentation messages: 165392 nosy: docs@python, weirdink13 priority: normal severity: normal status: open title: Tkinter dnd has no documentation versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15346 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14600] Change ImportError reference handling, naming
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15169] Clear C code under PyImport_ExecCodeModuleObject()
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15169 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14599] Windows test_import failure thanks to ImportError.path
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 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14599 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15169] Clear C code under PyImport_ExecCodeModuleObject()
Changes by Brett Cannon br...@python.org: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15169 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14599] Windows test_import failure thanks to ImportError.path
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 rep...@bugs.python.org http://bugs.python.org/issue14599 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15339] document the threading facts of life in Python
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 rep...@bugs.python.org http://bugs.python.org/issue15339 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15345] HOWTOs Argparse tutorial - code example raises SyntaxError
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15345 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15307] Patch for --symlink support in pyvenv with framework python
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 that's expected. Unless I'm mistaken nothing is wrong here. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15307 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15307] Patch for --symlink support in pyvenv with framework python
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 new test case, test_venv didn't fail at 3.3.0b1 when run from a venv. Whether it should is another matter and is out of scope for this issue. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15307 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15339] document the threading facts of life in Python
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15339 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15328] datetime.strptime slow
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +tshepang status: pending - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15328 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15327] Argparse: main arguments and subparser arguments indistinguishable
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +bethard, tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15327 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15302] Use argparse instead of getopt in test.regrtest
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15302 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10716] Modernize pydoc to use better HTML and separate CSS
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 tracker rep...@bugs.python.org http://bugs.python.org/issue10716 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15338] test_UNC_path failure in test_import
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 7d5e84a44b82 by Antoine Pitrou in branch 'default': 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/7d5e84a44b82 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15338 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15270] Economy of Expression section outdated
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15270 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15338] test_UNC_path failure in test_import
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 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15338 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15334] access denied for HKEY_PERFORMANCE_DATA
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15334 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15334] access denied for HKEY_PERFORMANCE_DATA
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 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15334 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10716] Modernize pydoc to use better HTML and separate CSS
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). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10716 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15334] access denied for HKEY_PERFORMANCE_DATA
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 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15334 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15335] IDLE - debugger steps through run.py internals
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 work with the existing debugging code. OTOH, I fail to see the problem. Stepping through the standard library may be useful, and if you don't want to do that, you can choose to step over still. I'm not sure why stepping through an IDE's internals is desirable when debugging one's own program. As it stands, the _RPCFile patch represents an unintended behavior change to the debugger. That needs to be either corrected or documented. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15335 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15275] isinstance is called a more times that needed in ntpath
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 stage: - patch review type: - performance versions: +Python 3.4 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15275 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15324] --match does not work for regrtest
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 rep...@bugs.python.org http://bugs.python.org/issue15324 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15325] --fromfile does not work for regrtest
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 rep...@bugs.python.org http://bugs.python.org/issue15325 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15326] --random does not work for regrtest
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 rep...@bugs.python.org http://bugs.python.org/issue15326 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15331] Missing codec aliases for bytes-bytes codecs
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15331 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15347] IDLE - does not close if the debugger was active
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 OK in the dialog box. IDLE keeps running despite all windows being closed. -- components: IDLE messages: 165410 nosy: serwy priority: normal severity: normal status: open title: IDLE - does not close if the debugger was active type: behavior versions: Python 2.7, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15347 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15348] IDLE - shell becomes unresponsive if debugger windows is closed while active.
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 shell. (activates the debugger) 4) Close the debugger by clicking X. The shell is no longer responsive to new commands. Selecting Restart Shell does not fix the problem either. -- components: IDLE messages: 165411 nosy: serwy priority: normal severity: normal status: open title: IDLE - shell becomes unresponsive if debugger windows is closed while active. versions: Python 2.7, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15348 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15348] IDLE - shell becomes unresponsive if debugger windows is closed while active.
Changes by Roger Serwy roger.se...@gmail.com: -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15348 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15345] HOWTOs Argparse tutorial - code example raises SyntaxError
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15345 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15345] HOWTOs Argparse tutorial - code example raises SyntaxError
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 rep...@bugs.python.org http://bugs.python.org/issue15345 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15327] Argparse: main arguments and subparser arguments indistinguishable
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 http://bugs.python.org/issue15327 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15324] --match does not work for regrtest
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. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15324 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1767933] Badly formed XML using etree and utf-16
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 ___diff -r 677a9326b4d4 Lib/test/test_xml_etree.py --- a/Lib/test/test_xml_etree.pyMon Jul 09 18:16:11 2012 -0700 +++ b/Lib/test/test_xml_etree.pyFri Jul 13 23:23:04 2012 +0300 @@ -21,7 +21,7 @@ import weakref from test import support -from test.support import findfile, import_fresh_module, gc_collect +from test.support import TESTFN, findfile, unlink, import_fresh_module, gc_collect pyET = None ET = None @@ -888,65 +888,6 @@ ET.XML(?xml version='1.0' encoding='%s'?xml / % encoding) -def encoding(): -r -Test encoding issues. - - elem = ET.Element(tag) - elem.text = abc - serialize(elem) -'tagabc/tag' - serialize(elem, encoding=utf-8) -b'tagabc/tag' - serialize(elem, encoding=us-ascii) -b'tagabc/tag' - serialize(elem, encoding=iso-8859-1) -b?xml version='1.0' encoding='iso-8859-1'?\ntagabc/tag - - elem.text = \\' - serialize(elem) -'taglt;amp;\'gt;/tag' - serialize(elem, encoding=utf-8) -b'taglt;amp;\'gt;/tag' - serialize(elem, encoding=us-ascii) # cdata characters -b'taglt;amp;\'gt;/tag' - serialize(elem, encoding=iso-8859-1) -b'?xml version=\'1.0\' encoding=\'iso-8859-1\'?\ntaglt;amp;\'gt;/tag' - - elem.attrib[key] = \\' - elem.text = None - serialize(elem) -'tag key=lt;amp;quot;\'gt; /' - serialize(elem, encoding=utf-8) -b'tag key=lt;amp;quot;\'gt; /' - serialize(elem, encoding=us-ascii) -b'tag key=lt;amp;quot;\'gt; /' - serialize(elem, encoding=iso-8859-1) -b'?xml version=\'1.0\' encoding=\'iso-8859-1\'?\ntag key=lt;amp;quot;\'gt; /' - - elem.text = '\xe5\xf6\xf6' - elem.attrib.clear() - serialize(elem) -'tag\xe5\xf6\xf6lt;gt;/tag' - serialize(elem, encoding=utf-8) -b'tag\xc3\xa5\xc3\xb6\xc3\xb6lt;gt;/tag' - serialize(elem, encoding=us-ascii) -b'tag#229;#246;#246;lt;gt;/tag' - serialize(elem, encoding=iso-8859-1) -b?xml version='1.0' encoding='iso-8859-1'?\ntag\xe5\xf6\xf6lt;gt;/tag - - elem.attrib[key] = '\xe5\xf6\xf6' - elem.text = None - serialize(elem) -'tag key=\xe5\xf6\xf6lt;gt; /' - serialize(elem, encoding=utf-8) -b'tag key=\xc3\xa5\xc3\xb6\xc3\xb6lt;gt; /' - serialize(elem, encoding=us-ascii) -b'tag key=#229;#246;#246;lt;gt; /' - serialize(elem, encoding=iso-8859-1) -b'?xml version=\'1.0\' encoding=\'iso-8859-1\'?\ntag key=\xe5\xf6\xf6lt;gt; /' - - def methods(): r Test serialization methods. @@ -2166,16 +2107,185 @@ self.assertEqual(self._subelem_tags(e), ['a1']) -class StringIOTest(unittest.TestCase): +class IOTest(unittest.TestCase): +def tearDown(self): +unlink(TESTFN) + +def test_encoding(self): +# Test encoding issues. +elem = ET.Element(tag) +elem.text = abc +self.assertEqual(serialize(elem), 'tagabc/tag') +self.assertEqual(serialize(elem, encoding=utf-8), +b'tagabc/tag') +self.assertEqual(serialize(elem, encoding=us-ascii), +b'tagabc/tag') +for enc in (iso-8859-1, utf-16, utf-32): +self.assertEqual(serialize(elem, encoding=enc), +(?xml version='1.0' encoding='%s'?\n + tagabc/tag % enc).encode(enc)) + +elem = ET.Element(tag) +elem.text = \\' +self.assertEqual(serialize(elem), 'taglt;amp;\'gt;/tag') +self.assertEqual(serialize(elem, encoding=utf-8), +b'taglt;amp;\'gt;/tag') +self.assertEqual(serialize(elem, encoding=us-ascii), +b'taglt;amp;\'gt;/tag') +for enc in (iso-8859-1, utf-16, utf-32): +self.assertEqual(serialize(elem, encoding=enc), +(?xml version='1.0' encoding='%s'?\n + taglt;amp;\'gt;/tag % enc).encode(enc)) + +elem = ET.Element(tag) +elem.attrib[key] = \\' +self.assertEqual(serialize(elem), 'tag key=lt;amp;quot;\'gt; /') +self.assertEqual(serialize(elem, encoding=utf-8), +b'tag key=lt;amp;quot;\'gt; /') +self.assertEqual(serialize(elem, encoding=us-ascii), +b'tag key=lt;amp;quot;\'gt; /') +for enc in (iso-8859-1, utf-16, utf-32): +self.assertEqual(serialize(elem, encoding=enc), +(?xml version='1.0' encoding='%s'?\n + tag key=\lt;amp;quot;'gt;\ / % enc).encode(enc)) + +elem = ET.Element(tag) +elem.text = '\xe5\xf6\xf6' +self.assertEqual(serialize(elem), 'tag\xe5\xf6\xf6lt;gt;/tag') +self.assertEqual(serialize(elem, encoding=utf-8), +
[issue15307] Patch for --symlink support in pyvenv with framework python
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. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15307 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15334] access denied for HKEY_PERFORMANCE_DATA
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 http://bugs.python.org/issue15334 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15328] datetime.strptime slow
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15334] access denied for HKEY_PERFORMANCE_DATA
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15334] access denied for HKEY_PERFORMANCE_DATA
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 rep...@bugs.python.org http://bugs.python.org/issue15334 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15334] access denied for HKEY_PERFORMANCE_DATA
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15334] access denied for HKEY_PERFORMANCE_DATA
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 approach to fix issue #15334. http://hg.python.org/cpython/rev/b4e4c57637cf -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15334 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14458] Non-admin installation fails
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 machine. But if I install in a clean Windows XP, I can't get it to work. It seems something is not right with the CRT using this command line. -- nosy: +Cesar.Mello ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14458 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15338] test_UNC_path failure in test_import
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13866] {urllib, urllib.parse}.urlencode should not use quote_plus
Changes by samwyse samw...@gmail.com: -- nosy: +samwyse ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13866 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15241] venv module and pyvenv script documented, but not python behavior itself
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 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15241 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15301] os.chown: OverflowError: Python int too large to convert to C long
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15301 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15334] access denied for HKEY_PERFORMANCE_DATA
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14458] Non-admin installation fails
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14458 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15301] os.chown: OverflowError: Python int too large to convert to C long
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15275] isinstance is called a more times that needed in ntpath
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 mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15280] Don't use builtins as variable names in urllib.request
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15280 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15301] os.chown: OverflowError: Python int too large to convert to C long
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 makes no guarantee that uid_t and gid_t are unsigned. On the other hand: chown takes special values defined as (uid_t)-1 and (gid_t)-1 to indicate don't change this value. If we change chown to use k for uid and gid, then in order to use this value you'd have to pass in the equivalent unsigned value. And that'd require you to know the size of an int on the local platform. Yuck! If this is a genuine problem, then I think we have to take O (or O!) and convert the long by hand. If it's -1, use (uid_t)-1 (etc), otherwise convert as unsigned. On the other hand, if this is only a theoretical problem then I'd prefer to wontfix and keep the code simple. p.s. find uid_t / gid_t here: http://pubs.opengroup.org/onlinepubs/009695399/basedefs/sys/types.h.html chown here: http://pubs.opengroup.org/onlinepubs/009695399/functions/chown.html -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15301 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15301] os.chown: OverflowError: Python int too large to convert to C long
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 http://bugs.python.org/issue15301 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15301] os.chown: OverflowError: Python int too large to convert to C long
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15301 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15301] os.chown: OverflowError: Python int too large to convert to C long
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 were signed or unsigned? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15301 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15301] os.chown: OverflowError: Python int too large to convert to C long
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15307] Patch for --symlink support in pyvenv with framework python
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 interpreter is launched directly (not via pythonw), PYTHONEXECUTABLE works correctly. Also, the patch needs to be tab-free: no more tabs for C files! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15307 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com