[issue21691] set() returns random output with Python 3.4.1, in non-interactive mode

2014-06-07 Thread Ned Deily
Ned Deily added the comment: To expand a bit, this is by design, a consequence of the hash randomization feature; see https://docs.python.org/3/using/cmdline.html#envvar-PYTHONHASHSEED As noted there, if necessary, it is possible to disable hash randomization. But tests with set values or di

[issue21691] set() returns random output with Python 3.4.1, in non-interactive mode

2014-06-07 Thread Benjamin Peterson
Benjamin Peterson added the comment: Yep, set order like dictionary order is arbitrary. -- nosy: +benjamin.peterson resolution: -> not a bug status: open -> closed ___ Python tracker __

[issue21691] set() returns random output with Python 3.4.1, in non-interactive mode

2014-06-07 Thread Jackson Cooper
New submission from Jackson Cooper: The set() built-in returns random output, only when Python 3 is being used, and in non-interactive mode (executing a file). Steps to reproduce: 1. Create file with only print(set(['A', 'B'])) inside it. 2. Execute file with Python 3.4.1 numerous times (10+)

[issue1559298] test_popen fails on Windows if installed to "Program Files"

2014-06-07 Thread eryksun
eryksun added the comment: This is fixed for subprocess.Popen in 2.7, 3.1, and 3.2; see issue 2304. In 2.7, nt.popen still has this problem. As mentioned above, it can be worked around by using subprocess.Popen as described here: https://docs.python.org/2/library/subprocess.html#replacing-os-p

[issue20578] BufferedIOBase.readinto1 is missing

2014-06-07 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: fixed -> status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue20699] Behavior of ZipFile with file-like object and BufferedWriter.

2014-06-07 Thread Martin Panter
Martin Panter added the comment: I have a related issue in Python 3.4. I suspect it is the same underlying problem as Henning’s. BufferedWriter is trying to write memoryview() objects, but the documentation for RawIOBase.write() implies it only has to accept bytes() and bytearray() objects. >

[issue20578] BufferedIOBase.readinto1 is missing

2014-06-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset b1e99b4ec374 by Benjamin Peterson in branch 'default': backout 0fb7789b5eeb for test breakage (#20578) http://hg.python.org/cpython/rev/b1e99b4ec374 -- ___ Python tracker

[issue9849] Argparse needs better error handling for nargs

2014-06-07 Thread paul j3
paul j3 added the comment: http://bugs.python.org/issue21666 raises the possibility of testing the 'help' parameter in the same way. By adding (to _check_argument): # check the 'help' string try: self._get_formatter()._expand_help(action) except (ValueError,

[issue21666] Argparse exceptions should include which argument has a problem

2014-06-07 Thread paul j3
paul j3 added the comment: In http://bugs.python.org/file30010/nargswarn.patch adding the '_expand_help(action)' line should test the help string (during add_argument). def _check_argument(self, action): # check action arguments # focus on the arguments that the parent conta

[issue20578] BufferedIOBase.readinto1 is missing

2014-06-07 Thread Benjamin Peterson
Benjamin Peterson added the comment: Looks like test_file is unhappy: http://buildbot.python.org/all/builders/AMD64%20FreeBSD%209.x%203.x/builds/1758/steps/test/logs/stdio -- ___ Python tracker ___

[issue11709] help-method crashes if sys.stdin is None

2014-06-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset baca52bb5c74 by Benjamin Peterson in branch '3.4': make sure the builtin help function doesn't fail when sys.stdin is not a valid file (closes #11709) http://hg.python.org/cpython/rev/baca52bb5c74 New changeset 1a9c07880a15 by Benjamin Peterson in

[issue11709] help-method crashes if sys.stdin is None

2014-06-07 Thread B D
B D added the comment: I've updated the unit test and have verified that it does fail when the original patch is not included. I also ran make patchcheck again and re-ran all of the tests. This should be good to go. Thanks for your insights, Benjamin. -- Added file: http://bugs.python.

[issue20578] BufferedIOBase.readinto1 is missing

2014-06-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0fb7789b5eeb by Benjamin Peterson in branch 'default': add BufferedIOBase.readinto1 (closes #20578) http://hg.python.org/cpython/rev/0fb7789b5eeb -- nosy: +python-dev resolution: -> fixed stage: -> resolved status: open -> closed

[issue21666] Argparse exceptions should include which argument has a problem

2014-06-07 Thread paul j3
paul j3 added the comment: The ''_expand_help' method formats one action (argument) at a time, so it could issue an error message that includes that action's name. The disconnect that you noticed arises because your bad 'help' parameter wasn't tested until is was used in a 'print_help'. http:

[issue18141] tkinter.Image.__del__ can throw an exception if module globals are destroyed in the wrong order

2014-06-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you for the investigation. Unless there is a problem in 2.7, which you have not mentioned, this should be closed as out-of-date, or maybe fixed. -- ___ Python tracker __

[issue18910] IDle: test textView.py

2014-06-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset a0be81607a50 by Benjamin Peterson in branch '2.7': backed out 86ba41b7bb46 (#18910) for test breakage http://hg.python.org/cpython/rev/a0be81607a50 -- ___ Python tracker

[issue12063] tokenize module appears to treat unterminated single and double-quoted strings inconsistently

2014-06-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 188e5f42d4aa by Benjamin Peterson in branch '2.7': document TokenError and unclosed expression behavior (closes #12063) http://hg.python.org/cpython/rev/188e5f42d4aa New changeset ddc174c4c7e5 by Benjamin Peterson in branch '3.4': document TokenErro

[issue4071] ntpath.abspath fails for long str paths

2014-06-07 Thread Mark Lawrence
Mark Lawrence added the comment: I don't see that any further work can be done here owing to limitations of the Windows str API. Note that the same argument can be applied to issue1776160. -- nosy: +BreamoreBoy ___ Python tracker

[issue13247] under Windows, os.path.abspath returns non-ASCII bytes paths as question marks

2014-06-07 Thread Mark Lawrence
Mark Lawrence added the comment: I've read this entire issue and can't see that much can be done, so suggest it is closed as "won't fix" as has already happened for #16656, which was suggested is a duplicate of this in msg177609. -- nosy: +BreamoreBoy _

[issue10765] Build regression from automation changes on windows

2014-06-07 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue1559298] test_popen fails on Windows if installed to "Program Files"

2014-06-07 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue16667] timezone docs need "versionadded: 3.2"

2014-06-07 Thread Berker Peksag
Berker Peksag added the comment: The attached patch combines my changes with Andrew's patch. -- versions: +Python 3.5 -Python 3.2, Python 3.3 Added file: http://bugs.python.org/file35534/issue16667_v3.diff ___ Python tracker

[issue21685] zipfile module doesn't properly compress odt documents

2014-06-07 Thread Raimondo Giammanco
Raimondo Giammanco added the comment: SilentGhost, thank you for your reply but I am probably missing something with it. Maybe there is some misunderstanding because of my unclear report. Please let me sum up my point and excuse some repetitiveness >From the documentation of .writestr: ``If gi

[issue13924] Mercurial robots.txt should let robots crawl landing pages.

2014-06-07 Thread Benjamin Peterson
Benjamin Peterson added the comment: Unfortunately, I don't think it will be that easy because I don't think robots.txt supports wildcard paths like that. Possibly, we should just whitelist a few important repositories. -- nosy: +benjamin.peterson _

[issue13223] pydoc removes 'self' in HTML for method docstrings with example code

2014-06-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7aa72075d440 by Benjamin Peterson in branch '3.4': don't remove self from example code in the HTML output (closes #13223) http://hg.python.org/cpython/rev/7aa72075d440 New changeset e89c39125892 by Benjamin Peterson in branch '2.7': don't remove sel

[issue10765] Build regression from automation changes on windows

2014-06-07 Thread Mark Lawrence
Mark Lawrence added the comment: I agree with the sentiment expressed in msg160237. Having said that I believe that a lot of work has been put into the build system recently that might have covered this. -- nosy: +BreamoreBoy ___ Python tracker

[issue11681] -b option undocumented

2014-06-07 Thread Martin Panter
Martin Panter added the comment: Trouble is, in Python 2 bytes() and str() are the same thing, and most of those conditions don’t apply. Maybe something like this is more correct: -b : issue warnings about comparing bytearray with unicode. (-bb: issue errors) -- _

[issue1559298] test_popen fails on Windows if installed to "Program Files"

2014-06-07 Thread Mark Lawrence
Mark Lawrence added the comment: Is this worth pursuing given the wording here https://docs.python.org/3/library/subprocess.html#replacing-os-popen-os-popen2-os-popen3 ? -- nosy: +BreamoreBoy ___ Python tracker

[issue12594] Docs for "Using Python on a Macintosh" needs to be updated

2014-06-07 Thread Yuly Tenorio
Yuly Tenorio added the comment: Ok, I will definitely use that checker next time :) thanks! Thanks Ned! -- ___ Python tracker ___ ___

[issue21690] re documentation: re.compile links to re.search / re.match instead of regex.search / regex.match

2014-06-07 Thread Julian Gilbey
New submission from Julian Gilbey: In re.rst, the re.compile documentation says: Compile a regular expression pattern into a regular expression object, which can be used for matching using its :func:`match` and :func:`search` methods, described below. This results in linking to the re.

[issue11709] help-method crashes if sys.stdin is None

2014-06-07 Thread Benjamin Peterson
Benjamin Peterson added the comment: Unfortunately, the test doesn't fail without the fix in, probably because the pager() function replaces itself in the module and thus can only be called once. It might make more sense to just directly test the getpager function with sys.stdin = None. -

[issue14203] bytearray_getbuffer: unnecessary code

2014-06-07 Thread Kelley Nielsen
Kelley Nielsen added the comment: I have verified that this feature is unused in the source tree; in fact, there are no internal calls to bytearray_getbuffer() at all. The only thing bytearray_getbuffer() does with its second arg is pass it to PyBuffer_FillInfo(), which immediately checks it a

[issue16667] timezone docs need "versionadded: 3.2"

2014-06-07 Thread Yayoi Ukai
Yayoi Ukai added the comment: I did make patchcheck and make html and checked all versions HTML documents and looks great. Good job! -- nosy: +terab ___ Python tracker ___ _

[issue18141] tkinter.Image.__del__ can throw an exception if module globals are destroyed in the wrong order

2014-06-07 Thread Jan Kanis
Jan Kanis added the comment: The 3.3 branch is not affected as the f0833e6ff2d2 changeset was never merged into that branch. In the default branch the exception stops appearing after commit 79e2f5bbc30c: "Issue #18214: Improve finalization of Python modules to avoid setting their globals to N

[issue11974] Class definition gotcha.. should this be documented somewhere?

2014-06-07 Thread Renee Chu
Renee Chu added the comment: Submitting a patch for documentation. -- hgrepos: +255 keywords: +patch nosy: +reneighbor Added file: http://bugs.python.org/file35533/issue11974.patch ___ Python tracker __

[issue12063] tokenize module appears to treat unterminated single and double-quoted strings inconsistently

2014-06-07 Thread Amandine Lee
Amandine Lee added the comment: I confirmed that the behavior acts as described. I added a patch documenting the behavior, built the docs with the patch, and visually confirmed that the docs looks appropriate. Ready for review! -- keywords: +patch nosy: +amandine Added file: http://b

[issue11709] help-method crashes if sys.stdin is None

2014-06-07 Thread B D
B D added the comment: removed comments. -- Added file: http://bugs.python.org/file35531/issue11709.patch ___ Python tracker ___ ___ P

[issue8576] test_support.find_unused_port can cause socket conflicts on Windows

2014-06-07 Thread Vinay Sajip
Changes by Vinay Sajip : -- nosy: -vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue21688] Improved error msg for make.bat htmlhelp

2014-06-07 Thread Olive Kilburn
Changes by Olive Kilburn : Removed file: http://bugs.python.org/file35518/mywork.patch ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue21688] Improved error msg for make.bat htmlhelp

2014-06-07 Thread Olive Kilburn
Changes by Olive Kilburn : Added file: http://bugs.python.org/file35530/mywork.patch ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue12594] Docs for "Using Python on a Macintosh" needs to be updated

2014-06-07 Thread Ned Deily
Ned Deily added the comment: Thank you for the patch, Yuly! You've made some good improvements to the current page. Because the current section is so old and out-of-sync with current practices (as you've noted in your changes) and with the nuances of Python on OS X, a more comprehensive rest

[issue21314] Document '/' in signatures

2014-06-07 Thread Emily Zhao
Emily Zhao added the comment: where's the best place for that documentation to live? -- ___ Python tracker ___ ___ Python-bugs-list ma

[issue21463] RuntimeError when URLopener.ftpcache is full

2014-06-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset b8f9ae84d211 by Benjamin Peterson in branch '3.4': in ftp cache pruning, avoid changing the size of a dict while iterating over it (closes #21463) http://hg.python.org/cpython/rev/b8f9ae84d211 New changeset 6f70a18313e5 by Benjamin Peterson in bran

[issue21463] RuntimeError when URLopener.ftpcache is full

2014-06-07 Thread Skyler Leigh Amador
Skyler Leigh Amador added the comment: Addressed review comments -- Added file: http://bugs.python.org/file35529/urllib-request-ftpcache-test.patch ___ Python tracker ___ ___

[issue11681] -b option undocumented

2014-06-07 Thread Emily Zhao
Emily Zhao added the comment: Here's an attempt (based on 3's main.c http://hg.python.org/cpython/file/8866ac6f2269/Modules/main.c) -- keywords: +patch Added file: http://bugs.python.org/file35528/issue11681.patch ___ Python tracker

[issue11709] help-method crashes if sys.stdin is None

2014-06-07 Thread B D
B D added the comment: added try finally as suggested by berkerpeksag. make patchcheck still works and all test cases still pass. did not use the test.support.swap_attr context manager because it may inhibit readability for those that are not familiar with it. -- Added file: http://bu

[issue21314] Document '/' in signatures

2014-06-07 Thread Benjamin Peterson
Benjamin Peterson added the comment: The original bug (junk in various doc strings) has been fixed, but I think the positional argument "/" syntax still needs docs. It's a little tricky because "/" is not actually valid syntax; it's just for documentation signatures. -- nosy: +benjamin

[issue11681] -b option undocumented

2014-06-07 Thread Emily Zhao
Emily Zhao added the comment: Might be worth making this addition from 3 (I'm not sure how to add this to 2) -b : issue warnings about str(bytes_instance), str(bytearray_instance) and comparing bytes/bytearray with str. (-bb: issue errors) Building on Martin's example: On all of t

[issue6550] asyncore incorrect failure when connection is refused and using async_chat channel

2014-06-07 Thread Mark Lawrence
Mark Lawrence added the comment: Has maintenance of asyncore effectively ceased owing to tulip/asyncio or are outstanding problems here, if any, still considered valid? -- nosy: +BreamoreBoy ___ Python tracker

[issue12594] Docs for "Using Python on a Macintosh" needs to be updated

2014-06-07 Thread Yuly Tenorio
Yuly Tenorio added the comment: Built with sphinx. No RST errors. -- keywords: +patch nosy: +yuly Added file: http://bugs.python.org/file35526/pythonusage_mac.patch ___ Python tracker __

[issue21314] Document '/' in signatures

2014-06-07 Thread Emily Zhao
Emily Zhao added the comment: Can someone close this? I think it's fixed. -- nosy: +emily.zhao ___ Python tracker ___ ___ Python-bugs-

[issue13223] pydoc removes 'self' in HTML for method docstrings with example code

2014-06-07 Thread Skyler Leigh Amador
Skyler Leigh Amador added the comment: The patch still applies cleanly, so I've just updated the comment. test passes, make patchcheck passes. -- nosy: +shiinee Added file: http://bugs.python.org/file35525/pydoc-self.patch ___ Python tracker

[issue6701] Make custom xmlrpc extension easier

2014-06-07 Thread Mark Lawrence
Mark Lawrence added the comment: Is there any value in the proof of concept patches attached here? -- nosy: +BreamoreBoy ___ Python tracker ___ ___

[issue13924] Mercurial robots.txt should let robots crawl landing pages.

2014-06-07 Thread Emily Zhao
Emily Zhao added the comment: I don't know too much about robots.txt but how about Disallow: */rev/* Disallow: */shortlog/* Allow: Are there any other directories we'd like to exclude? -- nosy: +emily.zhao ___ Python tracker

[issue12706] timeout sentinel in ftplib and poplib documentation

2014-06-07 Thread Greg
Greg added the comment: In the definition of FTP.connect(), I've changed the code to actually use None as a lack-of-explicit-timeout sentinel instead of -999. For FTP and FTP_TLS, I've changed the documentation to reflect what the code is doing. -- keywords: +patch nosy: +εσχατοκυριος

[issue11709] help-method crashes if sys.stdin is None

2014-06-07 Thread B D
B D added the comment: added unit test for this behavior with roxane. verified that the updated patch applies cleanly, passes make patch check, and unit tests all pass. -- nosy: +bdettmer, roxane Added file: http://bugs.python.org/file35523/issue11709.patch

[issue10503] os.getuid() documentation should be clear on what kind of uid it is referring

2014-06-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 19172062e5c0 by Benjamin Peterson in branch '3.4': specify that getuid() returns the real uid (closes #10503) http://hg.python.org/cpython/rev/19172062e5c0 New changeset 6dfbe504f659 by Benjamin Peterson in branch '2.7': specify that getuid() return

[issue21463] RuntimeError when URLopener.ftpcache is full

2014-06-07 Thread Benjamin Peterson
Benjamin Peterson added the comment: (I left some comments on Rietveld.) -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python

[issue21548] pydoc -k IndexError on empty docstring

2014-06-07 Thread Benjamin Peterson
Benjamin Peterson added the comment: Thanks for the patch! It looks like the "synopsis" function also has this bug. Could you fix that, too? -- nosy: +benjamin.peterson ___ Python tracker _

[issue21689] Docs for "Using Python on a Macintosh" needs to be updated.

2014-06-07 Thread Ned Deily
Ned Deily added the comment: Yes but I don't think we need to have two issues open. Let's make any comments in the already open issue. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Docs for "Using Python on a Macintosh" needs to be updated ___

[issue12594] Docs for "Using Python on a Macintosh" needs to be updated

2014-06-07 Thread Ned Deily
Changes by Ned Deily : -- title: Docs for py3k still refer to "MacPython 2.5 folder" -> Docs for "Using Python on a Macintosh" needs to be updated versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker

[issue21666] Argparse exceptions should include which argument has a problem

2014-06-07 Thread Glenn Linderman
Glenn Linderman added the comment: Yes, I hope someday the parse_intermixed_args patch can be released... but I know it is not relevant to this issue. I was aware of the %(substitution_variables) in the default help formatter, but I (1) goofed and entered % without escaping it (2) was surprise

[issue21689] Docs for "Using Python on a Macintosh" needs to be updated.

2014-06-07 Thread Yuly Tenorio
New submission from Yuly Tenorio: "Using Python on a Mac" needs updating since it is pointing to old tools and documentation. This is related to http://bugs.python.org/issue12594 -- assignee: docs@python components: Documentation messages: 219968 nosy: docs@python, ned.deily, yuly prio

[issue21404] Document options used to control compression level in tarfile

2014-06-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 390b7fd617a9 by Benjamin Peterson in branch '2.7': document the compress_level argument to tarfile.open (closes #21404) http://hg.python.org/cpython/rev/390b7fd617a9 New changeset 0c712828fb6e by Benjamin Peterson in branch '3.4': document the compr

[issue21463] RuntimeError when URLopener.ftpcache is full

2014-06-07 Thread Skyler Leigh Amador
Skyler Leigh Amador added the comment: I've made a test for this patch with a very minimal mock ftpwrapper. We can see it fails on dictionary size change without Erik's fix: == ERROR: test_ftp_cache_pruning (test.test_urllib.ur

[issue21642] "_ if 1else _" does not compile

2014-06-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4ad33d82193d by Benjamin Peterson in branch '3.4': allow the keyword else immediately after (no space) an integer (closes #21642) http://hg.python.org/cpython/rev/4ad33d82193d New changeset 29d34f4f8900 by Benjamin Peterson in branch '2.7': allow th

[issue17449] dev guide appears not to cover the benchmarking suite

2014-06-07 Thread Kavya Joshi
Kavya Joshi added the comment: I added a `Benchmarking` section in the dev guide with the relevant links and the intended use (testing rather than optimizing). I also added an entry for the section in the Index. Testing/verification: I built the docs and visually inspected them. -- key

[issue21404] Document options used to control compression level in tarfile

2014-06-07 Thread Jessica McKellar
Changes by Jessica McKellar : -- stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue21404] Document options used to control compression level in tarfile

2014-06-07 Thread Katherine Busch
Katherine Busch added the comment: Here's a patch. The docs built and I inspected the output. Everything looks correct. -- keywords: +patch nosy: +Katherine.Busch Added file: http://bugs.python.org/file35520/tardocs.patch ___ Python tracker

[issue12833] raw_input misbehaves when readline is imported

2014-06-07 Thread Dhanam Prakash
Dhanam Prakash added the comment: Hi, submitting a patch for the documentation. Thanks -- hgrepos: +254 keywords: +patch nosy: +dhanamp Added file: http://bugs.python.org/file35519/issue12833.patch ___ Python tracker

[issue21688] Improved error msg for make.bat htmlhelp

2014-06-07 Thread Olive Kilburn
New submission from Olive Kilburn: Currently if someone runs make.bat htmlhelp without first installing Htmlhelp Workshop, it outputs: c:\program not a valid . . . . This isn't very informative if you don't know you need Htmlhelp Workshop. The included patch has make.bat give a more helpful m

[issue21671] CVE-2014-0224: OpenSSL upgrade to 1.0.1h on Windows required

2014-06-07 Thread Georg Brandl
Georg Brandl added the comment: Well, it's entirely logical to follow our own policies :) -- ___ Python tracker ___ ___ Python-bugs-li

[issue15569] Doc doc: incorrect description of some roles as format-only

2014-06-07 Thread Emily Zhao
Emily Zhao added the comment: I moved the 3 misplaced roles (envvar, keyword, and option) and changed the description for the new section per Terry's suggestions. Patch is attached and needs to go in the devguide repo. https://docs.python.org/devguide/docquality.html#helping-with-the-developer

[issue18141] tkinter.Image.__del__ can throw an exception if module globals are destroyed in the wrong order

2014-06-07 Thread Jan Kanis
Jan Kanis added the comment: I have verified that DemoWindow._destroy(self) indeed gets called before the exception is raised. I did a bisect, on the default branch the bug was introduced by commit f0833e6ff2d2: "Issue #1545463: Global variables caught in reference cycles are now garbage-col

[issue7424] NetBSD: segmentation fault in listextend during install

2014-06-07 Thread Ned Deily
Ned Deily added the comment: See issue12673 msg219946. Apparently this was caused by a long-standing BSD sparc bug. -- nosy: +ned.deily resolution: -> third party stage: test needed -> resolved status: open -> closed ___ Python tracker

[issue21548] pydoc -k IndexError on empty docstring

2014-06-07 Thread Yuyang Guo
Yuyang Guo added the comment: Made change based on Terry J. Reedy's suggestion -- keywords: +patch nosy: +Yuyang.Guo Added file: http://bugs.python.org/file35516/issue21548.patch ___ Python tracker

[issue13143] os.path.islink documentation is ambiguous

2014-06-07 Thread Yayoi Ukai
Yayoi Ukai added the comment: Documentation is updated to be more clear -- keywords: +patch nosy: +terab Added file: http://bugs.python.org/file35515/mywork.patch ___ Python tracker

[issue10503] os.getuid() documentation should be clear on what kind of uid it is referring

2014-06-07 Thread Greg
Greg added the comment: Here's a wording change in the documentation to clarify this. -- keywords: +patch nosy: +εσχατοκυριος Added file: http://bugs.python.org/file35514/mywork.patch ___ Python tracker ___

[issue21687] Py_SetPath: Path components separated by colons

2014-06-07 Thread eryksun
eryksun added the comment: A Windows path uses ":" after the drive letter, e.g. "C:\\Windows", so the delimiter is a semicolon on Windows. Other platforms use a colon. CPython uses DELIM, which is defined in osdefs.h. This header isn't included by Python.h. http://hg.python.org/cpython/file/c

[issue10002] Installer doesn't install on Windows Server 2008 DataCenter R2

2014-06-07 Thread Mark Lawrence
Mark Lawrence added the comment: msg121605 says the OP isn't seeing issues with this so I'd guess this can be closed? -- nosy: +BreamoreBoy ___ Python tracker ___ __

[issue21600] mock.patch.stopall doesn't work with patch.dict to sys.modules

2014-06-07 Thread fumihiko kakuma
fumihiko kakuma added the comment: Hi michael, Certainly, thank you for your many advices. I attached the new patch file. -- Added file: http://bugs.python.org/file35513/support_patch_dict_by_stopall.diff ___ Python tracker

[issue8576] test_support.find_unused_port can cause socket conflicts on Windows

2014-06-07 Thread Paul Moore
Changes by Paul Moore : -- nosy: -pmoore ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue8576] test_support.find_unused_port can cause socket conflicts on Windows

2014-06-07 Thread Paul Moore
Paul Moore added the comment: TBH, I don't think I ever took this any further. As noted, the earlier patches fixed the failures I was hitting. It looks like Python 3.4 now has *two* definitions of find_unused_port, in test.test_support and in test.support. And test_asyncio and test_ftplib also

[issue8576] test_support.find_unused_port can cause socket conflicts on Windows

2014-06-07 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue21666] Argparse exceptions should include which argument has a problem

2014-06-07 Thread paul j3
paul j3 added the comment: First, 'parse_intermixed_args' on stack is not relevant. It's from an unreleased patch that we worked on. What matters is the 'print_help', invoked probably with a '-h'. The error message that normally specifies the problem argument is produced by ArgumentError. T

[issue9012] Separate compilation of time and datetime modules

2014-06-07 Thread Mark Lawrence
Mark Lawrence added the comment: msg111078 refers to r82035 for Visual Studio 2005 (VC8) builds. Given that http://code.activestate.com/lists/python-dev/131023/ refers to VC14 for 3.5 can we close this as out of date? -- nosy: +BreamoreBoy ___ Pyth

[issue8576] test_support.find_unused_port can cause socket conflicts on Windows

2014-06-07 Thread Mark Lawrence
Mark Lawrence added the comment: msg104677, msg104822 and msg104845 refer to various commits but msg104955 suggests that a follow up is needed so where do we stand with this issue? -- nosy: +BreamoreBoy ___ Python tracker

[issue12673] SEGFAULT error on OpenBSD (sparc)

2014-06-07 Thread Remi Pointel
Remi Pointel added the comment: For your information, this bug has been fixed in OpenBSD and the developper has contacted the NetBSD developper: http://marc.info/?l=openbsd-tech&m=140209064821540&w=2 So I think we could close this issue because it's a system issue, not Python. --

[issue15707] PEP 3121, 384 Refactoring applied to signal module

2014-06-07 Thread Mark Lawrence
Mark Lawrence added the comment: PEP 384 is listed as finished while 3121 is accepted so what if anything needs to be done here? I've checked https://docs.python.org/devguide/experts.html and nobody is listed against the signal module. The patch is C code which I don't have the knowledge to

[issue21687] Py_SetPath: Path components separated by colons

2014-06-07 Thread Florian Walch
New submission from Florian Walch: The documentation for Py_SetPath [1] states: > The path components should be separated by semicolons. I believe this should not say "semicolons", but "colons"; the default path as output by Py_GetPath is separated by colons. [1] https://docs.python.org/3/c-a

[issue8840] truncate() semantics changed in 3.1.2

2014-06-07 Thread Mark Lawrence
Mark Lawrence added the comment: Is any more work needed here as msg106725 asks about updating doc strings? -- nosy: +BreamoreBoy ___ Python tracker ___ __

[issue21686] IDLE - Test hyperparser

2014-06-07 Thread Saimadhav Heblikar
New submission from Saimadhav Heblikar: Test for idlelib.HyperParser 5 lines not tested. Any suggestion on how to hit those lines welcome. Will submit backport 2.7 once the patch for 3.4 is OK. -- components: IDLE files: test-hyperparser.diff keywords: patch messages: 219942 nosy: jesste

[issue18141] tkinter.Image.__del__ can throw an exception if module globals are destroyed in the wrong order

2014-06-07 Thread Jan Kanis
Jan Kanis added the comment: I tried changing the last block in turtulemodule/__init__.py to if __name__ == '__main__': demo = DemoWindow() print("ENTERING mainloop") demo.root.mainloop() print("Bye") but that does not solve the problem: > python3 -m turtledemo ENTERING mainloo

[issue21592] Make statistics.median run in linear time

2014-06-07 Thread Steven D'Aprano
Steven D'Aprano added the comment: On Sat, Jun 07, 2014 at 01:02:52PM +, Julian Taylor wrote: > but a selection algorithm is useful on its own for all of python and > then a multiselect should be considered. I like the idea of a select and/or multiselect for 3.5. As a new feature, it canno

[issue21569] PEP 466: Python 2.7 What's New preamble changes

2014-06-07 Thread Nick Coghlan
Changes by Nick Coghlan : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-l

[issue21569] PEP 466: Python 2.7 What's New preamble changes

2014-06-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset d23cea976f46 by Nick Coghlan in branch '3.4': Issue #21569: sync Python 2.7 What's New with 2.7 version http://hg.python.org/cpython/rev/d23cea976f46 New changeset b167df2912d6 by Nick Coghlan in branch 'default': Merge issue #21569 from 3.4 http://

[issue21569] PEP 466: Python 2.7 What's New preamble changes

2014-06-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7c28b3a92f40 by Nick Coghlan in branch '2.7': Updates to Python 2.7 What's New preamble http://hg.python.org/cpython/rev/7c28b3a92f40 -- nosy: +python-dev ___ Python tracker

[issue21667] Clarify status of O(1) indexing semantics of str objects

2014-06-07 Thread Nick Coghlan
Nick Coghlan added the comment: I've merged the character->code point clarifications, without the implementation detail section. For the time being, that leaves "doesn't provide O(1) indexing of strings" as the kind of discrepancy that often makes an appearance in "differences from the CPytho

[issue21667] Clarify status of O(1) indexing semantics of str objects

2014-06-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6ffb6909c439 by Nick Coghlan in branch '3.4': Issue #21667: Clarify string data model description http://hg.python.org/cpython/rev/6ffb6909c439 New changeset 7c120e77d6f7 by Nick Coghlan in branch 'default': Merge issue #21667 from 3.4 http://hg.pyt

[issue21685] zipfile module doesn't properly compress odt documents

2014-06-07 Thread SilentGhost
SilentGhost added the comment: Raimondo, the documentation clearly states that the compression method is either inherited from ZipInfo instance (when that one is passed) or set to ZIP_STORED otherwise. Since you're not passing ZipInfo instance, but the string (as the first argument to .writest

  1   2   >