[issue20517] Support errors with two filenames for errno exceptions

2014-02-04 Thread Larry Hastings
New submission from Larry Hastings: There are a bunch of functions provided by Python, e.g. PyErr_SetFromErrnoWithFilenameObject(), that allow specifying a filename associated with the error. But there are some errors that really need two filenames, like copy(), symlink(), and rename(). The

[issue20465] Upgrade SQLite to 3.8.3 with 3.4.0 Windows and OS X installers

2014-02-04 Thread Larry Hastings
Larry Hastings added the comment: Ned, yeah I recall the discussion, and I didn't think you needed a further pronouncement from me. I was just saying, I'm not sure you *ever* needed a pronouncement from me. ;-) Everything's perfectly alright now. We're fine... we're all fine here now. Thank

[issue20465] Upgrade SQLite to 3.8.3 with 3.4.0 Windows and OS X installers

2014-02-04 Thread Ned Deily
Ned Deily added the comment: Larry, I thought we had agreed on everything in email so I wasn't expecting any further pronouncements from you, just documenting that post feature cutoff decision. I think we're good to go. -- ___ Python tracker

[issue20465] Upgrade SQLite to 3.8.3 with 3.4.0 Windows and OS X installers

2014-02-04 Thread Larry Hastings
Larry Hastings added the comment: I assumed that you guys took responsibility for the binary installers, and the decision was up to you. But I'm happy to take ultimate responsibility for the decision to ship SQLite 3.8.3 with 3.4 if that's what policy demands, and yes I give it my blessing.

[issue20516] Concurrent.futures base concurrency improvement (with patch)

2014-02-04 Thread Glenn Langford
New submission from Glenn Langford: The current approach taken in as_completed() and wait() is to immediately lock the entire set of given Futures simultaneously. This limits concurrency, particularly when the number of futures is large, and also requires the complete set of Futures to be know

[issue20465] Upgrade SQLite to 3.8.3 with 3.4.0 Windows and OS X installers

2014-02-04 Thread Ned Deily
Ned Deily added the comment: With the consent of the release manager, the SQLite library to be shipped with the OS X installers for 3.4.0 has been updated to 3.8.3. Assigning to MvL for the Windows installers. -- assignee: -> loewis ___ Python trac

[issue20465] Upgrade SQLite to 3.8.3 with 3.4.0 Windows and OS X installers

2014-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 32af4954e46a by Ned Deily in branch 'default': Issue #20465: Update SQLite shipped with OS X installer to 3.8.3. http://hg.python.org/cpython/rev/32af4954e46a -- nosy: +python-dev ___ Python tracker

[issue12691] tokenize.untokenize is broken

2014-02-04 Thread Gareth Rees
Changes by Gareth Rees : -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue12691] tokenize.untokenize is broken

2014-02-04 Thread Gareth Rees
Gareth Rees added the comment: Yury, let me see if I can move this issue forward. I clearly haven't done a good job of explaining these problems, how they are related, and why it makes sense to solve them together, so let me have a go now. 1. tokenize.untokenize() raises AssertionError if you pa

[issue20515] Null pointer dereference in tkinter module

2014-02-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Is the fix needed for 2.7? -- nosy: +terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailin

[issue3068] IDLE - Add an extension configuration dialog

2014-02-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: (Because of PEP 434, this could be added to all current versions if and when it is added. Marking for 3.5 is enough for now.) I am not yet very familiar with either extensions or configuration. > many extensions have parameters, but setting them can only be do

[issue15216] Support setting the encoding on a text stream after creation

2014-02-04 Thread Nick Coghlan
Nick Coghlan added the comment: Metaclasses and monkeypatching encourage bad API design, too, but we still provide them because they're essential tools for some use cases. In Python, the system integrator is always right, and we provide them with power tools to deal with the cases where reality d

[issue20368] Tkinter: handle the null character

2014-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset d83ce3a2d954 by Christian Heimes in branch '3.3': Issue #20515: Fix NULL pointer dereference introduced by issue #20368 http://hg.python.org/cpython/rev/d83ce3a2d954 New changeset 145032f626d3 by Christian Heimes in branch 'default': Issue #20515: F

[issue20515] Null pointer dereference in tkinter module

2014-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset d83ce3a2d954 by Christian Heimes in branch '3.3': Issue #20515: Fix NULL pointer dereference introduced by issue #20368 http://hg.python.org/cpython/rev/d83ce3a2d954 New changeset 145032f626d3 by Christian Heimes in branch 'default': Issue #20515: F

[issue20514] Errno 10013 - ipython notebook

2014-02-04 Thread Ned Deily
Ned Deily added the comment: ipython is not part of the standard Python library. Suggest you ask on the ipython mailing list or help chat room (http://ipython.org) or perhaps on an Anaconda list. -- nosy: +ned.deily resolution: -> invalid stage: -> committed/rejected status: open ->

[issue20515] Null pointer dereference in tkinter module

2014-02-04 Thread Christian Heimes
New submission from Christian Heimes: varname_converter() doesn't check the return value of PyUnicode_AsUTF8AndSize() for NULL. The bug was introduced by http://hg.python.org/cpython/rev/321b714653e3 / issue #20368 3. returned_null: Function "PyUnicode_AsUTF8AndSize(PyObject *, Py_ssize_t *)"

[issue1654367] [PATCH] Debuggers need a way to change the locals of a frame

2014-02-04 Thread Fabio Zadrozny
Fabio Zadrozny added the comment: Hi Armin, Sure, just attached the test case with tests failing (on the top, comment the save_locals(frame) which has a 'pass' to see it working). Mostly, it happens when editing something not in the top-frame (but sometimes I think it could fail there too, de

[issue3068] IDLE - Add an extension configuration dialog

2014-02-04 Thread Tal Einat
Tal Einat added the comment: As the title suggests, this patch adds a second configuration dialog, used to configure extensions. This is useful because many extensions have parameters, but setting them can only be done by editing a file. Also, the documentation for such parameters is hard to

[issue20507] TypeError from str.join has no message

2014-02-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Looks good to me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue20514] Errno 10013 - ipython notebook

2014-02-04 Thread Robert Copperwhite
New submission from Robert Copperwhite: Hello, I've recently installed ipython (Anaconda) and haven't managed to get up and running. When I execute "ipython notebook" from the command prompt I get the attached error message, basically: "Errno 10013: An attempt was made to access a socket in

[issue20512] Python3.3 segfaults when using big5hkscs encoding

2014-02-04 Thread Ned Deily
Ned Deily added the comment: This is definitely a duplicate of Issue18458 since the build signature indicates you are using 3.3.2 from the python.org OS X binary installer. The problem is fixed in the current Python 3.3.3 installer. -- nosy: +ned.deily resolution: -> duplicate stage:

[issue15216] Support setting the encoding on a text stream after creation

2014-02-04 Thread Nikolaus Rath
Nikolaus Rath added the comment: On 02/04/2014 03:28 AM, Nick Coghlan wrote: > > Nick Coghlan added the comment: > > If operating systems always exposed accurate metadata and configuration > settings, I'd agree with you. They don't though, so sometimes developers need > to be able to override

[issue3068] IDLE - Add an extension configuration dialog

2014-02-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: I expect I will look at this eventually. However, my priorities are bugs, tests, and enhancements that benefit me. From the description, this moves one configuration option that I do not use to a new dialog. So I do not see any immediate improvement for me. Is

[issue20508] IndexError from ipaddress._BaseNetwork.__getitem__ has no message

2014-02-04 Thread Ned Deily
Changes by Ned Deily : -- nosy: +ncoghlan, pmoody ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue19362] Documentation for len() fails to mention that it works on sets

2014-02-04 Thread Gareth Rees
Gareth Rees added the comment: Here's a revised patch for Terry ("Return the number of items of a sequence or collection.") -- Added file: http://bugs.python.org/file33916/len-set.patch ___ Python tracker

[issue19362] Documentation for len() fails to mention that it works on sets

2014-02-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: My objection to 'container' is that it is inaccurate and leads to inaccurate mental models. A set is like a non-exclusive club or association, defined either by rule or roster, not like a box or room, which contain exclusively. I am 'in' the set Python Develop

[issue1654367] [PATCH] Debuggers need a way to change the locals of a frame

2014-02-04 Thread Armin Rigo
Armin Rigo added the comment: Also, can you provide a concrete case? Trying around in CPython 2.7, it seems that locals of the current frame can always be modified from a pdb.set_trace(). -- ___ Python tracker

[issue1654367] [PATCH] Debuggers need a way to change the locals of a frame

2014-02-04 Thread Armin Rigo
Armin Rigo added the comment: Hi Fabio! This is admittedly a corner-case use case, but if you think it would be worth it, we can very easily add this as a feature to PyPy (by making frame.f_locals writeable). Then we can add the write inside pdb, and you could do the same for PyDev when runn

[issue20502] Context.create_decimal_from_float() inconsistent precision for zeros after decimal mark

2014-02-04 Thread Mauricio de Alencar
Mauricio de Alencar added the comment: Thank you. This function accomplishes what I need, avoiding the float->string->Decimal conversion path. I will use a slight variation of it accepting floats and a precision value: from decimal import Decimal, Contextdef sigdec(f, prec):x = Context(prec

[issue20512] Python3.3 segfaults when using big5hkscs encoding

2014-02-04 Thread R. David Murray
R. David Murray added the comment: Most likely, then, this is a duplicate of issue 18458. -- ___ Python tracker ___ ___ Python-bugs-li

[issue20512] Python3.3 segfaults when using big5hkscs encoding

2014-02-04 Thread Alexis Daboville
Alexis Daboville added the comment: @David: yes, 10.9. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue20513] Python 2.7. Script interruption on logoff from 0 session under Win2003 and earlier

2014-02-04 Thread Victor Scherba
Changes by Victor Scherba : -- title: Script interruption on logoff from 0 session under Win2003 and earlier -> Python 2.7. Script interruption on logoff from 0 session under Win2003 and earlier ___ Python tracker

[issue20512] Python3.3 segfaults when using big5hkscs encoding

2014-02-04 Thread R. David Murray
R. David Murray added the comment: Alexis: are you on 10.9, by any chance? -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-

[issue20513] Script interruption on logoff from 0 session under Win2003 and earlier

2014-02-04 Thread Victor Scherba
Changes by Victor Scherba : -- keywords: +patch Added file: http://bugs.python.org/file33915/ConsoleCtrlHandler.patch ___ Python tracker ___ _

[issue20513] Script interruption on logoff from 0 session under Win2003 and earlier

2014-02-04 Thread Victor Scherba
Changes by Victor Scherba : Removed file: http://bugs.python.org/file33915/ConsoleCtrlHandler.patch ___ Python tracker ___ ___ Python-bugs-lis

[issue20513] Script interruption on logoff from 0 session under Win2003 and earlier

2014-02-04 Thread Victor Scherba
Changes by Victor Scherba : Added file: http://bugs.python.org/file33915/ConsoleCtrlHandler.patch ___ Python tracker ___ ___ Python-bugs-list

[issue20512] Python3.3 segfaults when using big5hkscs encoding

2014-02-04 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +haypo, loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue20513] Script interruption on logoff from 0 session under Win2003 and earlier

2014-02-04 Thread Victor Scherba
New submission from Victor Scherba: To get the bug: 1. Windows Server 2003 (same bug should be under earlier versions: XP, 2000, ...). 2. Any Windows service should spawn process with Python script. 3. Py script should stay into time.sleep. 4. Any Windows user should login in console session 0.

[issue20512] Python3.3 segfaults when using big5hkscs encoding

2014-02-04 Thread Yury Selivanov
Yury Selivanov added the comment: Can't reproduce this on 3.3.3 Python 3.3.3 (default, Dec 2 2013, 01:40:21) [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.2.79)] on darwin -- nosy: +yselivanov ___ Python tracker

[issue20512] Python3.3 segfaults when using big5hkscs encoding

2014-02-04 Thread Alexis Daboville
New submission from Alexis Daboville: When using the 'big5hkscs' encoding it's possible to make Python3.3 segfault, here is how to repro: ✗ 13:41 adaboville @ adoboville-mbp in ~ $ py3 Python 3.3.2 (v3.3.2:d047928ae3f6, May 13 2013, 13:52:24) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darw

[issue20510] Test cases in test_sys don't match the comments

2014-02-04 Thread Gareth Rees
Gareth Rees added the comment: I normally try not to make changes "while we're in here" for fear of introducing errors! But I guess the test cases are less critical, so I've taken your review comments as a license to submit a revised patch that: * incorporates your suggestion to use assert_pytho

[issue19573] Fix the docstring of inspect.Parameter and the implementation of _ParameterKind

2014-02-04 Thread Yury Selivanov
Yury Selivanov added the comment: The patch looks good to me. I'll merge it in 3.5 later. -- ___ Python tracker ___ ___ Python-bugs-li

[issue19573] Fix the docstring of inspect.Parameter and the implementation of _ParameterKind

2014-02-04 Thread Antony Lee
Antony Lee added the comment: Submitted new patch as suggested. -- Added file: http://bugs.python.org/file33913/inspect.py.diff ___ Python tracker ___ ___

[issue20502] Context.create_decimal_from_float() inconsistent precision for zeros after decimal mark

2014-02-04 Thread Stefan Krah
Stefan Krah added the comment: Mauricio de Alencar wrote: > The floats I posted are examples of computation results. The meaningful > figures are related to the precision of the measurements fed to the > computation. Thank you, that makes it clear. Constructing Decimal('256.2') preserves the e

[issue20511] asyncio: StreamReader should use bytearray for its internal buffer

2014-02-04 Thread Yury Selivanov
New submission from Yury Selivanov: This issue on google code: https://code.google.com/p/tulip/issues/detail?id=124 -- files: sr_ba_01.patch keywords: needs review, patch messages: 210253 nosy: gvanrossum, haypo, pitrou, yselivanov priority: normal severity: normal status: open title: as

[issue20491] textwrap: Non-breaking space not honored

2014-02-04 Thread Kaarle Ritvanen
Changes by Kaarle Ritvanen : Added file: http://bugs.python.org/file33911/honor-non-breaking-spaces.patch ___ Python tracker ___ ___ Python-bu

[issue20510] Test cases in test_sys don't match the comments

2014-02-04 Thread Zachary Ware
Zachary Ware added the comment: Good catch! See my review comments. Also, if you haven't already, could you please sign a contributor's agreement? See http://www.python.org/psf/contrib/. -- stage: -> patch review versions: +Python 2.7, Python 3.3 ___

[issue20510] Test cases in test_sys don't match the comments

2014-02-04 Thread Zachary Ware
Changes by Zachary Ware : -- nosy: +zach.ware ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue19363] Python 2.7's future_builtins.map is not compatible with Python 3's map

2014-02-04 Thread Gareth Rees
Gareth Rees added the comment: What about a documentation change instead? The future_builtins chapter in the standard library documentation could note the incompatibility. I've attached a patch which adds the following note to the documenta

[issue20481] Clarify type coercion rules in statistics module

2014-02-04 Thread Wolfgang Maier
Wolfgang Maier added the comment: Hi Steven, sounds reasonable, still here's the patch in diff version. Its rules for type coercion are detailed in _coerce_types's docstring. Questions and comments are welcome. Best, Wolfgang -- keywords: +patch Added file: http://bugs.python.org/file339

[issue20509] logging.config.fileConfig() docs could link to the config file format

2014-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 45aa817ec853 by Vinay Sajip in branch '2.7': Issue #20509: Added cross-reference in documentation. http://hg.python.org/cpython/rev/45aa817ec853 New changeset f8318b069146 by Vinay Sajip in branch '3.3': Issue #20509: Added cross-reference in docume

[issue20481] Clarify type coercion rules in statistics module

2014-02-04 Thread Steven D'Aprano
Steven D'Aprano added the comment: Wolfgang, Thanks for the patch, I have some concerns about it, but the basic idea does look reasonable. However, I've been convinced that supporting mixed types at all needs more careful thought. Under the circumstances, I'm more concerned about making sure

[issue20509] logging.config.fileConfig() docs could link to the config file format

2014-02-04 Thread Vinay Sajip
Changes by Vinay Sajip : -- assignee: docs@python -> vinay.sajip nosy: +vinay.sajip versions: +Python 3.4 ___ Python tracker ___ ___ P

[issue20510] Test cases in test_sys don't match the comments

2014-02-04 Thread Gareth Rees
New submission from Gareth Rees: Lib/test/test_sys.py contains test cases with incorrect comments -- or comments with incorrect test cases, if you prefer: # call without argument try: sys.exit(0) except SystemExit as exc: self.assertEqual(exc.code, 0) ... # c

[issue20509] logging.config.fileConfig() docs could link to the config file format

2014-02-04 Thread Marius Gedminas
New submission from Marius Gedminas: When one is reading the description of logging.config.fileConfig() at http://docs.python.org/3.3/library/logging.config.html#logging.config.fileConfig not immediately apparent what the "configparser-format file" should contain (i.e. the naming convention fo

[issue20502] Context.create_decimal_from_float() inconsistent precision for zeros after decimal mark

2014-02-04 Thread Mauricio de Alencar
Mauricio de Alencar added the comment: > You need to stop lecturing. I'm sorry, I didn't mean to offend anyone. I just felt I was failing to communicate the issue when I got the suggestion to use format(Decimal(1), ".2f"). > The above sentence you wrote directly contradicts the Wikipedia link

[issue20481] Clarify type coercion rules in statistics module

2014-02-04 Thread Wolfgang Maier
Wolfgang Maier added the comment: Hi Nick and Oscar, my patch including tests is ready. What else should I say than that I think it is ok, but of course with only days remaining and still no feedback from Steven, I'm not sure there is any chance for it going into 3.4 still. Anyway, before uploa

[issue14376] sys.exit documents argument as "integer" but actually requires "subtype of int"

2014-02-04 Thread Gareth Rees
Gareth Rees added the comment: Patch attached. I added a test case to Lib/test/test_sys.py. -- Added file: http://bugs.python.org/file33906/exit.patch ___ Python tracker ___

[issue20494] Backport of http://bugs.python.org/issue11849 to Python 2.7 (Make it more likely for the system allocator to release free()d memory arenas on glibc-based systems).

2014-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4e43e5b3f7fc by Benjamin Peterson in branch '2.7': mmap obmalloc arenas so that they may be immediately returned to the system when unused (closes #20494) http://hg.python.org/cpython/rev/4e43e5b3f7fc -- nosy: +python-dev resolution: -> fi

[issue19186] expat symbols should be namespaced in pyexpat again

2014-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset c242a8f30806 by Benjamin Peterson in branch '3.3': restore namespacing of pyexpat symbols (closes #19186) http://hg.python.org/cpython/rev/c242a8f30806 New changeset a2d877fb53f6 by Benjamin Peterson in branch 'default': merge 3.3 (#19186) http://hg

[issue20481] Clarify type coercion rules in statistics module

2014-02-04 Thread Nick Coghlan
Nick Coghlan added the comment: Changing the behaviour is not urgent - documenting that it may change in the future is essential. -- ___ Python tracker ___ __

[issue20506] Command to display all available Import Library

2014-02-04 Thread Brett Cannon
Brett Cannon added the comment: The trick would be how to query finders to say "what could you find?" There is no API for that so either something pragmatic that won't work in the face of e.g. zipfiles would need to be used or a new optional API on finders to list what the tail name of modules

[issue20481] Clarify type coercion rules in statistics module

2014-02-04 Thread Oscar Benjamin
Oscar Benjamin added the comment: I was working on the basis that we were talking about Python 3.5. But now I see that it's a 3.4 release blocker. Is it really that urgent? I think the current behaviour is very good at handling a wide range of types. It would be nice to consistently report erro

[issue19186] expat symbols should be namespaced in pyexpat again

2014-02-04 Thread Lukas Vacek
Lukas Vacek added the comment: attaching patch -- keywords: +patch nosy: +Lukas.Vacek Added file: http://bugs.python.org/file33905/fix_expat_names.patch ___ Python tracker ___ __

[issue20502] Context.create_decimal_from_float() inconsistent precision for zeros after decimal mark

2014-02-04 Thread Stefan Krah
Stefan Krah added the comment: Mauricio de Alencar wrote: > > Mauricio de Alencar added the comment: > > "Digits after the decimal mark" is not the same as "significant digits". > See https://en.wikipedia.org/wiki/Significant_figures > > If I have a list of numbers [256.2, 1.3, 0.5] that have

[issue20185] Derby #17: Convert 49 sites to Argument Clinic across 13 files

2014-02-04 Thread Zachary Ware
Zachary Ware added the comment: Ok, so my changes to CONVERT_TO_DOUBLE don't fly with gcc, so that's out. In the two cases where convert_to_double wants a PyObject *, we could declare "PyObject *objself = (PyObject *)self;", but that's not particularly appealing. I'll leave the whole PyObjec

[issue1654367] [PATCH] Debuggers need a way to change the locals of a frame

2014-02-04 Thread Fabio Zadrozny
Fabio Zadrozny added the comment: Just a note for anyone interested: ctypes can be used to access that function: http://pydev.blogspot.com.br/2014/02/changing-locals-of-frame-frameflocals.html So, I think that the changes I proposed shouldn't be applied (it'd only be worth if someone provided

[issue20502] Context.create_decimal_from_float() inconsistent precision for zeros after decimal mark

2014-02-04 Thread Mauricio de Alencar
Mauricio de Alencar added the comment: "Digits after the decimal mark" is not the same as "significant digits". See https://en.wikipedia.org/wiki/Significant_figures If I have a list of numbers [256.2, 1.3, 0.5] that have 3 significant digits each, I would like to have them displayed as: ['256'

[issue20451] os.exec* mangles argv on windows (splits on spaces, etc)

2014-02-04 Thread R. David Murray
R. David Murray added the comment: I believe the problem lies with the way that Windows implements the 'exec' functions. Windows isn't posix, and sometimes its attempts to fake it go rather badly. So, I'm not sure what the actual rules are, but whatever they are there should at least be a me

[issue16296] Patch to fix building on Win32/64 under VS 2010

2014-02-04 Thread Paul Moore
Paul Moore added the comment: Maybe it's not applicable to 3.3 somehow, which is what I tried. I applied the patch to the distutils in the system installed Python, then ran pip install numpy from a virtualenv. It's quite possible that a million things could have gone wrong in that process - b

[issue20502] Context.create_decimal_from_float() inconsistent precision for zeros after decimal mark

2014-02-04 Thread Stefan Krah
Stefan Krah added the comment: Mauricio de Alencar wrote: > String formatting is completely unaware of the concept of *significant > digits*. >>> format(Decimal(1), ".2f") '1.00' -- ___ Python tracker __

[issue20502] Context.create_decimal_from_float() inconsistent precision for zeros after decimal mark

2014-02-04 Thread Mauricio de Alencar
Mauricio de Alencar added the comment: String formatting is completely unaware of the concept of *significant digits*. The only format that can get it right for every case is the 'e'. But then you always get the exponent, which is undesirable. I was hopeful that the decimal module would handle

[issue19362] Documentation for len() fails to mention that it works on sets

2014-02-04 Thread Gareth Rees
Changes by Gareth Rees : -- title: Documentation for len() fails to mention that it works on sets -> Documentation for len() fails to mention that it works on sets versions: +Python 3.4 ___ Python tracker __

[issue20502] Context.create_decimal_from_float() inconsistent precision for zeros after decimal mark

2014-02-04 Thread Mark Dickinson
Changes by Mark Dickinson : -- title: Context setting to print Decimal with as many digits as the "prec" setting -> Context.create_decimal_from_float() inconsistent precision for zeros after decimal mark ___ Python tracker

[issue19362] Documentation for len() fails to mention that it works on sets

2014-02-04 Thread Gareth Rees
Gareth Rees added the comment: Here's a revised patch using Ezio's suggestion ("Return the number of items of a sequence or container"). -- Added file: http://bugs.python.org/file33904/len-set.patch ___ Python tracker

[issue20508] IndexError from ipaddress._BaseNetwork.__getitem__ has no message

2014-02-04 Thread Gareth Rees
Changes by Gareth Rees : -- type: behavior -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue20502] Context setting to print Decimal with as many digits as the "prec" setting

2014-02-04 Thread Mark Dickinson
Changes by Mark Dickinson : -- type: enhancement -> behavior versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue20502] Context setting to print Decimal with as many digits as the "prec" setting

2014-02-04 Thread Mark Dickinson
Mark Dickinson added the comment: If you're after a particular string representation, you'll probably find that string formatting meets your needs. Python 3.3.3 (default, Nov 24 2013, 14:34:37) [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.2.79)] on darwin Type "help", "copyright", "credits"

[issue6299] pyexpat build failure on Solaris 10 for 2.6.1/2.6.2

2014-02-04 Thread STINNER Victor
Changes by STINNER Victor : -- versions: -Python 2.6, Python 3.1, Python 3.2, Python 3.5 ___ Python tracker ___ ___ Python-bugs-list m

[issue20502] Context setting to print Decimal with as many digits as the "prec" setting

2014-02-04 Thread Mauricio de Alencar
Mauricio de Alencar added the comment: I propose then to create a context setting that switches between the current textual representation of a Decimal and one that is "right zeros padded" up to context precision. Such that the line: print(Context(prec=4, precise_repr=True).create_decimal_fro

[issue20508] IndexError from ipaddress._BaseNetwork.__getitem__ has no message

2014-02-04 Thread Gareth Rees
New submission from Gareth Rees: If you try to look up an out-of-range address from an object returned by ipaddress.ip_network, then ipaddress._BaseNetwork.__getitem__ raises an IndexError with no message: Python 3.4.0b3 (default, Jan 27 2014, 02:26:41) [GCC 4.2.1 Compatible Apple LLVM

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

2014-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1b8ba1346e67 by Nick Coghlan in branch 'default': Close #20053: ignore default pip config settings http://hg.python.org/cpython/rev/1b8ba1346e67 -- nosy: +python-dev resolution: -> fixed stage: -> committed/rejected status: open -> closed

[issue16296] Patch to fix building on Win32/64 under VS 2010

2014-02-04 Thread Thomas Heller
Thomas Heller added the comment: Hm, what's the problem? For me, the patch applies cleanly (in Python 3.4.0b3, 32-bit and 64-bit on Windows), and py -3.4(-32) -m pip install numpy works correctly. At least py -3.4(-32) -c "import numpy; print(numpy.__version__)" prints "1.8.0". This is wit

[issue20485] Enable 'import .pyd'

2014-02-04 Thread Suzumizaki
Suzumizaki added the comment: Both Visual Studio 2012 and 2013 CANNOT install on Windows Vista. That's OK for you even Vista alive until April 2017? -- ___ Python tracker ___ __

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

2014-02-04 Thread Nick Coghlan
Changes by Nick Coghlan : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue20485] Enable 'import .pyd'

2014-02-04 Thread Nick Coghlan
Nick Coghlan added the comment: Oh, you're right - I temporarily forgot that the C runtime compatibility was compiler version specific on Windows. So such an approach *would* require updating the CPython compiler on Windows to at least VS2013 for 3.5. Still, we're likely to want to do that any

[issue6858] This is a python file, apply syntax highlighting

2014-02-04 Thread Tal Einat
Tal Einat added the comment: Roger's patch LGTM, and should be considered a bug-fix. I will note, however, that this doesn't address the original issue: It still does not supply an easily discoverable method of toggling highlighting. Having a keyboard shortcut documented in the help file is ne

[issue20184] Derby #16: Convert 50 sites to Argument Clinic across 9 files

2014-02-04 Thread Nick Coghlan
Nick Coghlan added the comment: Larry, I'd like to include the most-builtin-functions signature support for 3.4, but since the AC Derby is over, it's your call as release manager. If it looks good to you, go ahead and commit it (I won't have time until later in the week), otherwise just drop t

[issue12411] cgi.parse_multipart is broken on 3.x

2014-02-04 Thread Tal Einat
Changes by Tal Einat : -- nosy: -taleinat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue19619] Blacklist base64, hex, ... codecs from bytes.decode() and str.encode()

2014-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset f3ec00d2b75e by Nick Coghlan in branch 'default': Close #20404: blacklist non-text encodings in io.TextIOWrapper http://hg.python.org/cpython/rev/f3ec00d2b75e -- ___ Python tracker

[issue20404] Delayed exception using non-text encodings with TextIOWrapper

2014-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset f3ec00d2b75e by Nick Coghlan in branch 'default': Close #20404: blacklist non-text encodings in io.TextIOWrapper http://hg.python.org/cpython/rev/f3ec00d2b75e -- nosy: +python-dev resolution: -> fixed stage: commit review -> committed/rejec

[issue17296] Cannot unpickle classes derived from 'Exception'

2014-02-04 Thread Tal Einat
Changes by Tal Einat : -- nosy: -taleinat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue6299] pyexpat build failure on Solaris 10 for 2.6.1/2.6.2

2014-02-04 Thread koobs
koobs added the comment: Adding a patch for reference only -- keywords: +patch Added file: http://bugs.python.org/file33902/python-issue6299.patch ___ Python tracker ___ _

[issue10079] idlelib for Python 3 with Guilherme Polo GSoC enhancements

2014-02-04 Thread Tal Einat
Changes by Tal Einat : -- nosy: -taleinat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue1178] IDLE - add "paste code" functionality

2014-02-04 Thread Tal Einat
Changes by Tal Einat : -- nosy: -taleinat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue3068] IDLE - Add an extension configuration dialog

2014-02-04 Thread Tal Einat
Tal Einat added the comment: Is there any chance this patch could get some love? I've stopped using IDLE a long time ago, but this patch is a great improvement! -- versions: +Python 3.5 -Python 3.2 ___ Python tracker

[issue9262] IDLE: Use tabbed shell and edit windows

2014-02-04 Thread Tal Einat
Changes by Tal Einat : -- nosy: -taleinat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue1612262] Class Browser doesn't show internal classes

2014-02-04 Thread Tal Einat
Changes by Tal Einat : -- nosy: -taleinat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue7676] IDLE shell shouldn't use TABs

2014-02-04 Thread Tal Einat
Changes by Tal Einat : -- nosy: -taleinat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue1442493] IDLE shell window gets very slow when displaying long lines

2014-02-04 Thread Tal Einat
Changes by Tal Einat : -- nosy: -taleinat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

  1   2   >