[issue19734] venv and ensurepip are affected by pip environment variable settings

2013-12-23 Thread Nick Coghlan
Nick Coghlan added the comment: Buildbot is happy with that version: http://buildbot.python.org/all/builders/AMD64%20Ubuntu%20LTS%203.x/builds/3496/steps/test/logs/stdio -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed type: - behavior

[issue19728] PEP 453: enable pip by default in the Windows binary installers

2013-12-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset cd62fc2488cf by Nick Coghlan in branch 'default': Issue #19728: fix ensurepip name clash with submodule http://hg.python.org/cpython/rev/cd62fc2488cf -- ___ Python tracker rep...@bugs.python.org

[issue19728] PEP 453: enable pip by default in the Windows binary installers

2013-12-23 Thread Nick Coghlan
Nick Coghlan added the comment: I noticed that actually importing ensurepip._uninstall would clobber the helper function, so I renamed it and added some new tests to check the basics of the command line functionality from the main ensurepip tests. --

[issue19861] Update What's New for Python 3.4

2013-12-23 Thread yegle
yegle added the comment: Hi all, It's my first time commenting on this issue tracker so bear with me if this looks naive. For the `plistlib` package, from Apple's own manual[1], there's actually a third JSON format. It'll be good to indicate that `plistlib` doesn't support JSON format in

[issue4709] Mingw-w64 and python on windows x64

2013-12-23 Thread Ralf Gommers
Changes by Ralf Gommers ralf.gomm...@gmail.com: -- nosy: +ralf.gommers ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4709 ___ ___ Python-bugs-list

[issue16136] Removal of VMS support

2013-12-23 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 21.12.2013 16:31, Christian Heimes wrote: All VMS code has been removed except for some code in Lib/platform.py. MAL: Do you want to keep the code in the platform module? The platform.py module is intended to be usable by several Python versions,

[issue16136] Removal of VMS support

2013-12-23 Thread Marc-Andre Lemburg
Changes by Marc-Andre Lemburg m...@egenix.com: -- assignee: lemburg - christian.heimes ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16136 ___ ___

[issue19861] Update What's New for Python 3.4

2013-12-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: For the `plistlib` package, from Apple's own manual[1], there's actually a third JSON format. See *issue14455.* -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19861

[issue19744] test_venv fails if SSL/TLS is not available

2013-12-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset f670d8db8ef3 by Nick Coghlan in branch 'default': Issue #19744: improve ensurepip error when ssl is missing http://hg.python.org/cpython/rev/f670d8db8ef3 -- ___ Python tracker rep...@bugs.python.org

[issue19744] test_venv fails if SSL/TLS is not available

2013-12-23 Thread Nick Coghlan
Nick Coghlan added the comment: I ended up not implementing step 3 - if you don't have SSL/TLS built, and you pass with_pip to the venv module API, or use the default settings for pyvenv, you *will* get an error from ensurepip. Instead, I just kept the test skip in test_venv. ensurepip and

[issue19995] hex() and %x, oct() and %o do not behave the same

2013-12-23 Thread Ethan Furman
Ethan Furman added the comment: Thank you everyone for increasing my understanding. :) Terry J Reedy wrote: [snip everything I now agree with, which is most of Terry's comment] 3. Every core usage of __int__ looks for __index__ also. Int() does not do this now, but

[issue20054] IDLE won't work (Mac)

2013-12-23 Thread Sophie Chancheong
New submission from Sophie Chancheong: I'm having trouble with running Idle on my macbook pro os x 10.9.1 . two days ago it was running with absolutely no problem and now it won't start up. I've tried uninstalling and reinstalling, and I have updated the Tkinter and Tcl/Tk etc. It appears in

[issue20055] On Windows NT 6 with administrator account, there are two failing tests on test_shutil.py

2013-12-23 Thread Vajrasky Kok
New submission from Vajrasky Kok: Use administrator account and run Lib\test\test_shutil.py! You will get two failing tests. == FAIL: test_move_dangling_symlink (__main__.TestMove)

[issue20056] Got deprecation warning when running test_shutil.py on Windows NT 6

2013-12-23 Thread Vajrasky Kok
New submission from Vajrasky Kok: You don't have to be an administrator get this deprecation warning. I am not sure whether showing the deprecation warning is intended behaviour or not. C:\Users\vajrasky\Code\cpythonPCbuild\python.exe Lib\test\test_shutil.py

[issue19861] Update What's New for Python 3.4

2013-12-23 Thread R. David Murray
R. David Murray added the comment: Unless I missed something, the changes to plistlib didn't make the Beta cutoff for 3.4, so there's nothing to be done for whatsnew with regard to it. If the current documentation needs clarification, please open a new issue for that topic. --

[issue20055] On Windows NT 6 with administrator account, there are two failing tests on test_shutil.py

2013-12-23 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +hynek, tarek stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20055 ___

[issue19861] Update What's New for Python 3.4

2013-12-23 Thread R. David Murray
R. David Murray added the comment: Ah, looks like I did miss something. I'll have to sort out what actually changed, since issue 14455 is still open. I'll have to think about whether or not it is appropriate to discuss something that *hasn't* been added yet in whatsnew... --

[issue20053] venv and ensurepip are affected by default pip config file

2013-12-23 Thread R. David Murray
R. David Murray added the comment: I don't know anything about pip configuration or the tests, but perhaps you want to use something like: 'PIP_CONFIG_FILE={}'.format(os.devnull) -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org

[issue19999] test_monotonic fails on x86 OpenIndiana

2013-12-23 Thread Zachary Ware
Zachary Ware added the comment: That's weird. I ran the same test on the same computer with an installed 64-bit 3.3.2, and got the same results (70+% failure). I just ran the same test on a different computer (32-bit Windows 7), and also got the same results with both 3.4.0b1+ and 3.3.2

[issue20055] On Windows NT 6 with administrator account, there are two failing tests on test_shutil.py

2013-12-23 Thread Zachary Ware
Zachary Ware added the comment: See also issues #9949 and #15411. -- nosy: +zach.ware ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20055 ___ ___

[issue20053] venv and ensurepip are affected by default pip config file

2013-12-23 Thread Nick Coghlan
Nick Coghlan added the comment: Oh, I forgot about os.devnull. ensurepip.bootstrap mutates the environment of the current process (hence the recommendation to use the CLI instead), so yes, doing os.environ['PIP_CONFIG_FILE'] = os.devnull before importing pip should do the trick. And then

[issue20033] Fix makelocalealias.py for Python 3

2013-12-23 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20033

[issue19020] Regression: Windows-tkinter-idle, unicode, and 0xxx filename

2013-12-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If there are no objections I'll commit these patches tomorrow. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19020 ___

[issue18983] Specify time unit for timeit CLI

2013-12-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18983 ___ ___ Python-bugs-list mailing list

[issue19999] test_monotonic fails on x86 OpenIndiana

2013-12-23 Thread Tim Peters
Tim Peters added the comment: Hmm. One obvious difference on my box: Python 3.3.2 (v3.3.2:d047928ae3f6, May 16 2013, 00:03:43) [MSC v.1600 32 bit (Intel)] on win32 time.get_clock_info('monotonic') namespace(adjustable=False, implementation='GetTickCount64()', monotonic=True,

[issue20057] wrong behavior with fork and mmap

2013-12-23 Thread Brett Tiplitz
New submission from Brett Tiplitz: When running the example mmap library (with a slight modification, plus I did not handle all the changes for the 3.3 string handling as the example posted does not work with 3.x) When looking at the subprocess, the spawned process will have all the mmap'd

[issue20057] wrong behavior with fork and mmap

2013-12-23 Thread R. David Murray
R. David Murray added the comment: It seems very likely that this is addressed by PEP 446. Since that is not a behavior change that can be backported, I think this issue should probably be closed as out of date. -- nosy: +haypo, r.david.murray ___

[issue19683] test_minidom has many empty tests

2013-12-23 Thread Julian Gindi
Julian Gindi added the comment: So, it seems that there are many seemingly redundant tests and many tests whose intentions are unclear. I think this might be better suited for someone who has more experience with the xml minidom module. I have uploaded the work I have done but it is not

[issue19999] test_monotonic fails on x86 OpenIndiana

2013-12-23 Thread STINNER Victor
STINNER Victor added the comment: For more info on time, you can refer to the PEP 418. I may be interesting to add sleep to time.get_clock_info(). time.sleep() uses WaitForSingleObject() on windows. It may use internally a different clock with a different resolution than time.monoyonic

[issue19979] Missing nested scope vars in class scope (bis)

2013-12-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: As near as I can tell, class A: n = n currently works the same at module and nested scope, the latter with or without nonlocal n. class A: n=n [...] NameError: name 'n' is not defined def f(): class A: n=n f() [...] NameError: name 'n' is

[issue20057] wrong behavior with fork and mmap

2013-12-23 Thread Brett Tiplitz
Brett Tiplitz added the comment: Changing the code to subprocess.call([/bin/ls, -l, /proc/self/fd]) and running this on Python 3.3 does show this as being resolved by the broader fix implemented in PEP 446. It does seem bad that the os.system call remains in place with bad behavior as I

[issue20057] wrong behavior with fork and mmap

2013-12-23 Thread STINNER Victor
STINNER Victor added the comment: This issue is not specific to mmap. Many other functions and libraries may use private inheritable file descriptors. Python 3.4 does not fix the issue for third party libraries. os.system() must be avoided, use subprocess.call() instead. It avoids an useless

[issue20057] wrong behavior with fork and mmap

2013-12-23 Thread Brett Tiplitz
Brett Tiplitz added the comment: Man page currently says as follows: (this does not says it's deprecated or that files have to be closed on exec)... So I'd think some more comments would help. And as mentioned, which a user can close his own fd's, the mmap call creates a special problem

[issue20058] IDLE's shell returns a multiple-line string to input() or readline() when multiple lines of text are pasted by the user

2013-12-23 Thread Steven Barker
New submission from Steven Barker: Pasting multiple lines of input and then pressing Enter when IDLE is waiting to read a single line (such as when input() or sys.stdin.readline() have been called) will result is a multi-line string being given as the input, rather than a single line. This

[issue20054] IDLE won't work (Mac)

2013-12-23 Thread Ned Deily
Ned Deily added the comment: What happens if you try to start IDLE from a terminal session by typing: /usr/local/bin/idle3.3 -- nosy: +ned.deily ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20054

[issue20059] Inconsistent urlparse/urllib.parse handling of invalid port values?

2013-12-23 Thread Chad Birch
New submission from Chad Birch: I'm not sure if this is something that needs adjustment, but it seems somewhat inconsistent to me. After using urlparse() on various urls with invalid port values, trying to access .port on the result will raise a ValueError. This case includes urls such as:

[issue20054] IDLE won't work (Mac)

2013-12-23 Thread Sophie Chancheong
Sophie Chancheong added the comment: when i try to start it from terminal i get: sophiesmac:~ Sophie$ /usr/local/bin/idle3.3 Traceback (most recent call last): File /usr/local/bin/idle3.3, line 5, in module main() File

[issue19927] Path-based loaders lack a meaningful __eq__() implementation.

2013-12-23 Thread Eric Snow
Eric Snow added the comment: I'm fine with this. Thanks, Larry, for your attentiveness and diligence. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19927 ___

[issue11797] 2to3 does not correct reload

2013-12-23 Thread R. David Murray
R. David Murray added the comment: Since this patch was applied, imp.reload has been deprecated in favor of importlib.reload. I don't know how we handle differences between python3 versions...is there anything that should be done here, or do we just use imp.reload even though it is

[issue19999] test_monotonic fails on x86 OpenIndiana

2013-12-23 Thread Tim Peters
Tim Peters added the comment: @haypo, I've read the PEP and it has great ideas. What I'm wondering is whether they've been implemented correctly in the relevant cases on Windows here. That Zach see a resolution of 0.0156001 on Windows isn't plausibly a question of rounding errors: that

[issue19999] test_monotonic fails on x86 OpenIndiana

2013-12-23 Thread Tim Peters
Tim Peters added the comment: FYI, this person seems to have made a career ;-) of making sense of the Windows time functions: http://stackoverflow.com/questions/7685762/windows-7-timing-functions-how-to-use-getsystemtimeadjustment-correctly and their site:

[issue20054] IDLE won't work (Mac)

2013-12-23 Thread Ned Deily
Ned Deily added the comment: This problem was reported and fixed in Issue18270 which will be in the next set of Python maintenance releases. As explained there, what is causing this is that the Python 3.3 tkinter you are using is trying to use the known buggy system Tk 8.5 shipped with OS X.

[issue20033] Fix makelocalealias.py for Python 3

2013-12-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 22c59ddba494 by Serhiy Storchaka in branch '3.3': Issue #20033: makelocalealias.py now works with non-ASCII locales and produces http://hg.python.org/cpython/rev/22c59ddba494 New changeset 1287c570176b by Serhiy Storchaka in branch 'default': Issue

[issue20058] IDLE's shell returns a multiple-line string to input() or readline() when multiple lines of text are pasted by the user

2013-12-23 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +kbk, roger.serwy, serhiy.storchaka, terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20058 ___

[issue20058] IDLE's shell returns a multiple-line string to input() or readline() when multiple lines of text are pasted by the user

2013-12-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is simple patch. -- keywords: +patch stage: - patch review Added file: http://bugs.python.org/file33259/idle_readline.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20058