[issue22261] Document how to use Concurrent Build when using MsBuild

2014-08-28 Thread Zachary Ware
Zachary Ware added the comment: I finally managed to get a review posted on Rietveld, which should have sent you an email (sorry for the delay!). -- ___ Python tracker ___ _

[issue1102] Add support for _msi.Record.GetString() and _msi.Record.GetInteger()

2014-08-28 Thread Zachary Ware
Zachary Ware added the comment: Sorry, I have no familiarity with msilib, _msi, or the internals of MSIs in general. The patch looks reasonably harmless to me, but I don't have the confidence to take responsibility for it. -- ___ Python tracker

[issue20745] test_statistics fails in refleak mode

2014-08-28 Thread Zachary Ware
Zachary Ware added the comment: Thanks, Xavier! -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed superseder: -> test_asyncio unstable in refleak mode ___ Python tracker __

[issue22098] Behavior of Structure inconsistent with BigEndianStructure when using __slots__

2014-08-28 Thread Claudiu Popa
Changes by Claudiu Popa : -- stage: patch review -> commit review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue22295] Clarify available commands for package installation

2014-08-28 Thread Nick Coghlan
Nick Coghlan added the comment: Yes, that came up on Twitter as well (where this conversation started). I think that's the best way to go - it's the only invocation that works *everywhere*, regardless of how your Python instance got installed. -- __

[issue22182] distutils.file_util.move_file unpacks wrongly an exception

2014-08-28 Thread Berker Peksag
Berker Peksag added the comment: Thanks Claudiu. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___ _

[issue22182] distutils.file_util.move_file unpacks wrongly an exception

2014-08-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset a3452677a386 by Berker Peksag in branch '3.4': Issue #22182: Use e.args to unpack exceptions correctly in distutils.file_util.move_file. http://hg.python.org/cpython/rev/a3452677a386 New changeset f01413758114 by Berker Peksag in branch 'default':

[issue17535] IDLE: Add an option to show line numbers along the left side of the editor window, and have it enabled by default.

2014-08-28 Thread Roger Serwy
Roger Serwy added the comment: When it comes to the checkmark next to Code Context in the menu, be aware of issue13179. You can launch IDLE, open two separate editors, enable Code Context in one, and the other will have its menu entry checked as well when it is not enabled. -- __

[issue21611] int() docstring - unclear what number is

2014-08-28 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue22276] pathlib glob issues

2014-08-28 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue22189] collections.UserString missing some str methods

2014-08-28 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue22282] ipaddress module accepts octal formatted IPv4 addresses in IPv6 addresses

2014-08-28 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +ncoghlan, pitrou, pmoody ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue21720] "TypeError: Item in ``from list'' not a string" message

2014-08-28 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch, David! +def test_fromlist_error_messages(self): +# Test for issue #21720: fromlist unicode error messages +try: +__import__('encodings', fromlist=[u'aliases']) +except TypeError as exc: +se

[issue21720] "TypeError: Item in ``from list'' not a string" message

2014-08-28 Thread David Szotten
David Szotten added the comment: first ever patch to python, so advice on the patch would be appreciated found an example in the stdlib that triggers bug (used in test): `__import__('encodings', fromlist=[u'aliases'])` -- keywords: +patch Added file: http://bugs.python.org/file36500/fr

[issue22273] abort when passing certain structs by value using ctypes

2014-08-28 Thread Ned Deily
Changes by Ned Deily : -- nosy: +amaury.forgeotdarc, belopolsky, meador.inge ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue22273] abort when passing certain structs by value using ctypes

2014-08-28 Thread Weeble
Weeble added the comment: I had a closer look at the cif object in gdb. The ffi_type of the argument in question has size 16, alignment 1, type FFI_TYPE_STRUCT and elements contains a single nested ffi_type, of size 8, alignment 8, type FFI_TYPE_POINTER. I think this pointer type is wrong. The

[issue22295] Clarify available commands for package installation

2014-08-28 Thread Donald Stufft
Donald Stufft added the comment: If you want to be completely unambiguous, python -m pip works as well. -- nosy: +dstufft ___ Python tracker ___ _

[issue20996] Backport TLS 1.1 and 1.2 support for ssl_version

2014-08-28 Thread Alex Gaynor
Alex Gaynor added the comment: This is resolved now. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python

[issue22295] Clarify available commands for package installation

2014-08-28 Thread Nick Coghlan
New submission from Nick Coghlan: https://docs.python.org/3/installing/index.html is too subtle in pointing out the command in a source build or system Python on POSIX is "pip3" or "pip3.4" rather than the unadorned "pip". At least one example should show pip3, and it's likely worth having an

[issue22189] collections.UserString missing some str methods

2014-08-28 Thread Julian Gindi
Julian Gindi added the comment: Good catch. I'm gonna look into this. Seems like you should be able to access these from UserString as well. -- nosy: +Julian.Gindi ___ Python tracker __

[issue21720] "TypeError: Item in ``from list'' not a string" message

2014-08-28 Thread Julian Gindi
Julian Gindi added the comment: Interesting...I'll try to dig in and see what's going on. -- ___ Python tracker ___ ___ Python-bugs-li

[issue21720] "TypeError: Item in ``from list'' not a string" message

2014-08-28 Thread David Szotten
David Szotten added the comment: after some trial and error it only appears to break for 3rd party packages (all 20 or so i happened to have installed), whereas everything i tried importing from the standard library worked fine ``` >>> __import__('requests.', fromlist=[u'get']) Traceback (most

[issue22292] pickle whichmodule RuntimeError

2014-08-28 Thread Attilio Di Nisio
Changes by Attilio Di Nisio : -- keywords: +patch Added file: http://bugs.python.org/file36499/pickle.py.diff ___ Python tracker ___ _

[issue21720] "TypeError: Item in ``from list'' not a string" message

2014-08-28 Thread Julian Gindi
Julian Gindi added the comment: I'm trying to replicate this issue. I do not get an error when I run ``` >>> __import__('datetime', fromlist=[u'datetime']) ``` any more information you could provide to help move this issue forward? -- nosy: +Julian.Gindi _

[issue22239] asyncio: nested event loop

2014-08-28 Thread Daniel Arbuckle
Daniel Arbuckle added the comment: All right. However, for anyone who's interested, here is a patch that enables nested event loops in asyncio, and the accompanying unit tests -- keywords: +patch Added file: http://bugs.python.org/file36498/nested.patch ___

[issue22276] pathlib glob issues

2014-08-28 Thread R. David Murray
R. David Murray added the comment: Heh. I never noticed that about shell globs, but it is logical. Learn something new every day. -- nosy: +r.david.murray ___ Python tracker _

[issue22194] access to cdecimal / libmpdec API

2014-08-28 Thread Stefan Behnel
Stefan Behnel added the comment: > Stefan (Behnel), could you comment on the strategy that you had in mind? > Is it similar to module_get_symbol.diff or entirely different? I agree with Antoine that a Capsule would work better here (and yes, the performance problem of capsules is only with case

[issue22276] pathlib glob issues

2014-08-28 Thread João Guerra
João Guerra added the comment: Yes. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/

[issue22276] pathlib glob issues

2014-08-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: What is "*/" supposed to do? Only select directories? -- ___ Python tracker ___ ___ Python-bugs-list

[issue22293] unittest.mock: use slots in MagicMock to reduce memory footprint

2014-08-28 Thread Natalia B. Bidart
Changes by Natalia B. Bidart : -- nosy: +nessita ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue21527] concurrent.futures.ThreadPoolExecutor does not use a default value

2014-08-28 Thread Guido van Rossum
Guido van Rossum added the comment: Looks good. -- nosy: +gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue21305] PEP 466: update os.urandom

2014-08-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3e7f88550788 by Benjamin Peterson in branch '2.7': PEP 466: backport persistent urandom fd (closes #21305) http://hg.python.org/cpython/rev/3e7f88550788 -- nosy: +python-dev resolution: -> fixed stage: needs patch -> resolved status: open -

[issue22277] webbrowser.py add parameters to suppress output on stdout and stderr

2014-08-28 Thread Akira Li
Akira Li added the comment: open(url, stdout=DEVNULL) won't work on Windows (os.startfile()) and OS X (AppleScript) by default. UnixBrowser already suppresses the output when it is safe, if self.redirect_stdout=True and self.background=True are set. Also, open(url, stdout=DEVNULL) would probabl

[issue21305] PEP 466: update os.urandom

2014-08-28 Thread STINNER Victor
STINNER Victor added the comment: The third backport-urandom.diff (the one with the review link) looks good to me. -- ___ Python tracker ___ __

[issue21305] PEP 466: update os.urandom

2014-08-28 Thread Alex Gaynor
Alex Gaynor added the comment: Victor -- new patch is in `hg` format. -- Added file: http://bugs.python.org/file36497/backport-urandom.diff ___ Python tracker ___ ___

[issue21305] PEP 466: update os.urandom

2014-08-28 Thread STINNER Victor
STINNER Victor added the comment: @alex: please disable git format in your hgrc, so the bug tracker can create a "review" link to Rietveld for your patches. -- ___ Python tracker __

[issue21305] PEP 466: update os.urandom

2014-08-28 Thread Alex Gaynor
Alex Gaynor added the comment: This patch adds the finalizer to the backport -- not sure how I missed this the first time. -- Added file: http://bugs.python.org/file36496/backport-urandom.diff ___ Python tracker _

[issue21305] PEP 466: update os.urandom

2014-08-28 Thread Benjamin Peterson
Benjamin Peterson added the comment: You should probably backport _PyRandom_Fini and cleanup the FD like a good citizen. -- ___ Python tracker ___ __

[issue12319] [http.client] HTTPConnection.putrequest not support "chunked" Transfer-Encodings to send data

2014-08-28 Thread Rolf Krahl
Rolf Krahl added the comment: Thanks for the notice! As far as I read from the link you cite, getting rid of the current httplib in urllib3 is planned but far from being done. Furthermore, I don't like packages with too many 3rd party dependencies. Since my package is working fine with the

[issue21307] PEP 466: backport hashlib changes

2014-08-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3f73c44b1fd1 by Benjamin Peterson in branch '2.7': PEP 466: backport hashlib algorithm constants (closes #21307) http://hg.python.org/cpython/rev/3f73c44b1fd1 -- nosy: +python-dev resolution: -> fixed stage: needs patch -> resolved status:

[issue22244] load_verify_locations fails to handle unicode paths on Python 2

2014-08-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 97081a80f487 by Benjamin Peterson in branch '2.7': fix load_verify_locations on unicode paths (closes #22244) http://hg.python.org/cpython/rev/97081a80f487 -- nosy: +python-dev resolution: -> fixed stage: -> resolved status: open -> closed

[issue17620] Python interactive console doesn't use sys.stdin for input

2014-08-28 Thread Drekin
Drekin added the comment: I have found another example of where the current interaction between readline and Python core lead to confussion. It started with following report on my package: https://github.com/Drekin/win-unicode-console/issues/2 . Basically, IPython interactive console on Window

[issue22294] 2to3 consuming_calls: len, min, max, zip, map, reduce, filter, dict, xrange

2014-08-28 Thread Edward O
Changes by Edward O : -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue22293] unittest.mock: use slots in MagicMock to reduce memory footprint

2014-08-28 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +michael.foord title: mock could be less memory-intensive -> unittest.mock: use slots in MagicMock to reduce memory footprint ___ Python tracker ___

[issue22274] subprocess.Popen(stderr=STDOUT) fails to redirect subprocess stderr to stdout

2014-08-28 Thread Akira Li
Akira Li added the comment: Josh, on Windows, if at least one standard stream is replaced; all three hStdInput, hStdOutput, hStdError handles are provided (all-or-nothing). On POSIX, standard streams stdin (0), stdout (1), stderr (2) are always inherited from the parent. Each stream can be manipu

[issue22294] 2to3 consuming_calls: len, min, max, zip, map, reduce, filter, dict, xrange

2014-08-28 Thread Edward O
New submission from Edward O: This is a patch for issues similar to #16573 With this patch, the following new tests are now unchanged: r = dict(zip(s, range(len(s))), **d) r = len(filter(attrgetter('t'), self.a)) r = min(map(methodcaller('f'), self.a)) max(map(node.id, self.nodes)) + 1 if self.n

[issue12319] [http.client] HTTPConnection.putrequest not support "chunked" Transfer-Encodings to send data

2014-08-28 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: @Rotkraut The truth is http in stdlib is dead. Your best option is to use 3rd party libs like requests or urllib3. Authors of these libs plan to get rid of httplib entirely; see "Moving away from httplib" (https://github.com/shazow/urllib3/issues/58)

[issue22293] mock could be less memory-intensive

2014-08-28 Thread James Westby
New submission from James Westby: Hi, I'm looking in to the memory usage of our testsuite, which does a fair amount of def setUp(): patcher = patch.multiple(...) self.mock_whatever = patcher.start() self.addCleanup(patcher.stop) or other ways of creating a mock and assignin

[issue22288] Incorrect Call grammar in documentation

2014-08-28 Thread Martijn Pieters
Martijn Pieters added the comment: Fixed by revision 3ae399c6ecf6 -- resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue22292] pickle whichmodule RuntimeError

2014-08-28 Thread STINNER Victor
STINNER Victor added the comment: > A simple patch to freeze the list of sys.modules. Which patch? -- nosy: +haypo ___ Python tracker ___ ___

[issue22292] pickle whichmodule RuntimeError

2014-08-28 Thread Attilio Di Nisio
Attilio Di Nisio added the comment: diff -r fb3aee1cff59 Lib/pickle.py --- a/Lib/pickle.py Wed Aug 27 09:41:05 2014 -0700 +++ b/Lib/pickle.py Thu Aug 28 10:59:37 2014 +0200 @@ -280,7 +280,7 @@ module_name = getattr(obj, '__module__', None) if module_name is not None: re

[issue22292] pickle whichmodule RuntimeError

2014-08-28 Thread Attilio Di Nisio
Attilio Di Nisio added the comment: A simple patch to freeze the list of sys.modules. -- ___ Python tracker ___ ___ Python-bugs-list m

[issue21527] concurrent.futures.ThreadPoolExecutor does not use a default value

2014-08-28 Thread Claudiu Popa
Changes by Claudiu Popa : Added file: http://bugs.python.org/file36494/issue21527.patch ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue22231] httplib: unicode url will cause an ascii codec error when combined with a utf-8 string header

2014-08-28 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue12319] [http.client] HTTPConnection.putrequest not support "chunked" Transfer-Encodings to send data

2014-08-28 Thread Rolf Krahl
Rolf Krahl added the comment: I'd like to support the request. I have a use case where I definitely need this feature: I maintain a Python client for a scientific metadata catalogue, see [1] for details. The client also features the upload of the data files. The files may come in as a data

[issue22257] PEP 432: Redesign the interpreter startup sequence

2014-08-28 Thread Drekin
Changes by Drekin : -- nosy: +Drekin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/ma