[issue11934] build with --prefix=/dev/null and zlib enabled in Modules/Setup failed

2013-10-13 Thread Georg Brandl
Georg Brandl added the comment: Closing due to lack of feedback. -- nosy: +georg.brandl resolution: -> works for me status: pending -> closed ___ Python tracker ___

[issue13329] Runs normal as console script but falls as CGI

2013-10-13 Thread Georg Brandl
Georg Brandl added the comment: Closing due to lack of feedback. -- nosy: +georg.brandl resolution: -> out of date status: pending -> closed ___ Python tracker ___ _

[issue6602] Add argument to control file object used by BaseHTTPServer’s log_message

2013-10-13 Thread Georg Brandl
Georg Brandl added the comment: Agreed. -- nosy: +georg.brandl resolution: -> rejected status: pending -> closed ___ Python tracker ___ __

[issue8229] Interpreter crash on application shutdown

2013-10-13 Thread Georg Brandl
Georg Brandl added the comment: Closing due to lack of feedback. -- nosy: +georg.brandl resolution: -> out of date status: pending -> closed ___ Python tracker ___ __

[issue16063] HMAC trans_5C is a string, causing a TypeError

2013-10-13 Thread Georg Brandl
Changes by Georg Brandl : -- status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue10888] os.stat(filepath).st_mode gives wrong 'executable permission' result

2013-10-13 Thread Georg Brandl
Georg Brandl added the comment: Closing as suggested. -- nosy: +georg.brandl resolution: -> wont fix status: pending -> closed ___ Python tracker ___ ___

[issue9613] Python considers pid longs under 64-bit Windows

2013-10-13 Thread Georg Brandl
Georg Brandl added the comment: Antoine, ping? -- nosy: +georg.brandl status: pending -> open ___ Python tracker ___ ___ Python-bugs-li

[issue15996] pow() for complex numbers is rough around the edges

2013-10-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: > OS math libraries are bad enough at *float* math, > let alone complex; I'd rather not depend on them unless we have to. This makes good sense. We should control how the special cases resolve and not be subject the whims of various C libraries.

[issue16846] relative import solution

2013-10-13 Thread Georg Brandl
Changes by Georg Brandl : -- status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue18758] Fix internal references in the documentation

2013-10-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > The -n (nitpicky) option to Sphinx should also report missing references. Great. -- ___ Python tracker ___

[issue10040] GZipFile failure on large files

2013-10-13 Thread Georg Brandl
Georg Brandl added the comment: Closing due to lack of feedback. -- nosy: +georg.brandl resolution: -> invalid status: pending -> closed ___ Python tracker ___ _

[issue9889] PyUnicode_FormatV and Py_UNICODE*?

2013-10-13 Thread Georg Brandl
Changes by Georg Brandl : -- status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue15362] pyport.h includes antiquated UTF handling for FreeBSD

2013-10-13 Thread Georg Brandl
Georg Brandl added the comment: Closing due to lack of feedback. -- nosy: +georg.brandl resolution: -> out of date status: pending -> closed ___ Python tracker ___ _

[issue8194] Incompatible API change in xmlrpclib.Transport.parse_response() of Python 2.7 and 3.2

2013-10-13 Thread Georg Brandl
Georg Brandl added the comment: It would appear so. -- nosy: +georg.brandl status: pending -> closed ___ Python tracker ___ ___ Python-

[issue19197] Improve cross-references in shlex documentation

2013-10-13 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue17212] os.path.isfile() in Python 3.3 sometimes fails

2013-10-13 Thread Georg Brandl
Georg Brandl added the comment: Closing due to lack of feedback. -- nosy: +georg.brandl status: pending -> closed ___ Python tracker ___ _

[issue1634774] locale 1251 does not convert to upper case properly

2013-10-13 Thread Georg Brandl
Georg Brandl added the comment: I agree that it's better not to touch this in 2.x. -- nosy: +georg.brandl status: pending -> closed ___ Python tracker ___ _

[issue19197] Improve cross-references in shlex documentation

2013-10-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset bca5ba1ea5aa by Serhiy Storchaka in branch '2.7': Issue #19197: Improved cross-references in the shlex module documentation. http://hg.python.org/cpython/rev/bca5ba1ea5aa New changeset 325fedff6178 by Serhiy Storchaka in branch '3.3': Issue #19197:

[issue17360] Regular expressions on mmap'd files can overflow

2013-10-13 Thread Georg Brandl
Georg Brandl added the comment: Closed due to lack of feedback. -- nosy: +georg.brandl resolution: -> works for me status: pending -> closed ___ Python tracker ___ _

[issue11084] Serialization of decimal.Decimal to XML-RPC

2013-10-13 Thread Georg Brandl
Georg Brandl added the comment: Adding a special case for Decimal isn't as well justified as one for None -- after all it is a fundamental singleton. (Also, None is encoded without lossy conversion.) The encoder/decoder are already extensible by extending Marshaller.dispatch and Unmarshaller.

[issue706263] print in pythonw raises silent exception when no console available

2013-10-13 Thread Georg Brandl
Georg Brandl added the comment: I agree with Christian; closing as suggested. -- nosy: +georg.brandl status: pending -> closed ___ Python tracker ___ ___

[issue18736] Invalid charset in HTML pages inside documentation in CHM format

2013-10-13 Thread Georg Brandl
Changes by Georg Brandl : -- resolution: -> invalid status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue18986] Add a case-insensitive case-preserving dict

2013-10-13 Thread Mark Dickinson
Changes by Mark Dickinson : -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue18375] python -m test --randseed 1234 does not randomize tests

2013-10-13 Thread Georg Brandl
Georg Brandl added the comment: I think this is fine to close. -- nosy: +georg.brandl resolution: -> fixed status: pending -> closed ___ Python tracker ___ _

[issue13519] Tkinter rowconfigure and columnconfigure functions crash if minsize, pad, or weight is not None

2013-10-13 Thread Georg Brandl
Georg Brandl added the comment: I agree. -- nosy: +georg.brandl resolution: -> fixed status: pending -> closed ___ Python tracker ___ ___

[issue16938] pydoc confused by __dir__

2013-10-13 Thread Ethan Furman
Ethan Furman added the comment: That portion of classify_class_attrs now reads: else: homecls = getattr(get_obj, "__objclass__", None) if homecls not in possible_bases: # if the resulting object does not live somewhere in the # mro, drop it and go with

[issue8010] tkFileDialog.askopenfiles crashes on Windows 7

2013-10-13 Thread Georg Brandl
Changes by Georg Brandl : -- resolution: -> duplicate status: pending -> closed superseder: -> tkinter - askopenfilenames returns string instead of tuple in windows 2.6.1 release ___ Python tracker __

[issue18512] sys.stdout.write does not allow bytes in Python 3.x

2013-10-13 Thread Georg Brandl
Changes by Georg Brandl : -- resolution: -> wont fix status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue17104] Tk() not defined in Tkinter module

2013-10-13 Thread Georg Brandl
Georg Brandl added the comment: Closing due to lack of feedback. -- nosy: +georg.brandl resolution: -> invalid status: pending -> closed ___ Python tracker ___ _

[issue14010] deeply nested filter segfaults

2013-10-13 Thread Georg Brandl
Georg Brandl added the comment: See issue14507 for another instance of this in starmap(). -- nosy: +georg.brandl ___ Python tracker ___ __

[issue14507] Segfault with deeply nested starmap calls

2013-10-13 Thread Georg Brandl
Changes by Georg Brandl : -- resolution: later -> duplicate status: pending -> closed superseder: -> deeply nested filter segfaults ___ Python tracker ___ __

[issue5557] Byte-code compilation uses excessive memory

2013-10-13 Thread Georg Brandl
Georg Brandl added the comment: Closing, as without a specific issue to fix it is unlikely that this will change. -- nosy: +georg.brandl resolution: -> wont fix status: pending -> closed ___ Python tracker ___

[issue19030] inspect.getmembers and inspect.classify_class_attrs mishandle descriptors

2013-10-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3752c94368dd by Ethan Furman in branch 'default': Issue19030: commit tests for DynamicClassAttribute http://hg.python.org/cpython/rev/3752c94368dd -- ___ Python tracker

[issue6011] python doesn't build if prefix contains non-ascii characters

2013-10-13 Thread Georg Brandl
Changes by Georg Brandl : -- status: -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue19207] Improve cross-references in os documentation

2013-10-13 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue19204] Improve cross-references in urllib documentation

2013-10-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I haven't applied the patch to 2.7 because in 2.7 urllib is totally different. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed versions: -Python 2.7 ___ Python tracker

[issue19203] Improve cross-references in curses howto

2013-10-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I haven't applied patch to 2.7 because 2.7 and 3.3 are desynchronized enough. If anyone want update curses howto in 2.7 it should do this in separated issue. -- ___ Python tracker

[issue19203] Improve cross-references in curses howto

2013-10-13 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed versions: -Python 2.7 ___ Python tracker ___

[issue19198] Improve cross-references in cgi documentation

2013-10-13 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue19207] Improve cross-references in os documentation

2013-10-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset fd2c34e0104b by Serhiy Storchaka in branch '2.7': Issue #19207: Improved cross-references in the os, os.path, and posix modules http://hg.python.org/cpython/rev/fd2c34e0104b -- ___ Python tracker

[issue19207] Improve cross-references in os documentation

2013-10-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7ea984fc9be1 by Serhiy Storchaka in branch '3.3': Issue #19207: Improved cross-references in the os, os.path, and posix modules http://hg.python.org/cpython/rev/7ea984fc9be1 New changeset 74c3cf05fb1e by Serhiy Storchaka in branch 'default': Issue #

[issue19204] Improve cross-references in urllib documentation

2013-10-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3901ff1e6547 by Serhiy Storchaka in branch '3.3': Improve #19204: Improved cross-references in the urllib package documentation. http://hg.python.org/cpython/rev/3901ff1e6547 New changeset b5bd28d39cf3 by Serhiy Storchaka in branch 'default': Improv

[issue19246] GC does not really free up memory in console

2013-10-13 Thread R. David Murray
R. David Murray added the comment: My guess would be you are dealing with memory fragmentation issues, but I'll let someone more knowledgeable confirm that before closing the issue :) -- nosy: +r.david.murray ___ Python tracker

[issue15996] pow() for complex numbers is rough around the edges

2013-10-13 Thread Mark Dickinson
Mark Dickinson added the comment: See also http://stackoverflow.com/q/18243270/270986 , which points out the following inconsistencies: >>> 1e300 ** 2 OverflowError: (34, 'Result too large') >>> 1e300j ** 2 OverflowError: complex exponentiation >>> (1e300 + 1j) ** 2 OverflowError: complex expon

[issue19232] Speed up _decimal import

2013-10-13 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue19229] operator.py: move the Python implementation in the else block of try/except ImportError

2013-10-13 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue19235] Add a dedicated subclass for recursion errors

2013-10-13 Thread Georg Brandl
Georg Brandl added the comment: Attached is a patch, please review. Introduces a RecursionError that subclasses RuntimeError for compatibility. Note: I also tested this with RecursionError not subclassing RuntimeError, to make sure that except clauses in the test suite are sufficiently narrow

[issue19203] Improve cross-references in curses howto

2013-10-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 542f96b913ac by Serhiy Storchaka in branch 'default': Issue #19203: Improved cross-references in the curses howto. http://hg.python.org/cpython/rev/542f96b913ac -- ___ Python tracker

[issue19203] Improve cross-references in curses howto

2013-10-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 54d422f5a5c6 by Serhiy Storchaka in branch '3.3': Issue #19203: Improved cross-references in the curses howto. http://hg.python.org/cpython/rev/54d422f5a5c6 -- nosy: +python-dev ___ Python tracker

[issue19198] Improve cross-references in cgi documentation

2013-10-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 053eb1db0bf8 by Serhiy Storchaka in branch '2.7': Issue #19198: Improved cross-references in the cgi module documentation. http://hg.python.org/cpython/rev/053eb1db0bf8 New changeset e52e259d42e8 by Serhiy Storchaka in branch '3.3': Issue #19198: Im

[issue19247] Describe surrogateescape algorithm in the Library Reference

2013-10-13 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: -> docs@python components: +Documentation nosy: +docs@python ___ Python tracker ___ ___ Python

[issue19232] Speed up _decimal import

2013-10-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: I think we should save these sort of tricks only for modules imported during startup. Ideally, a user should expect that the code for the decimal module is in decimal.py. Ideally, tools like IDLE's "Open Module" should be able to find the source code usin

[issue19239] add inspect functions to retrieve attributes from both old dir() and overridden dir()

2013-10-13 Thread Ethan Furman
Ethan Furman added the comment: It would certainly be nice. We could do a dir() on the metaclass, discarding anything either not in dir(type) or not dundered, or both. -- ___ Python tracker __

[issue16938] pydoc confused by __dir__

2013-10-13 Thread Nick Coghlan
Nick Coghlan added the comment: I want to kill the dance in inspect completely. Just use __objclass__ and document it appropriately. -- ___ Python tracker ___ ___

[issue18919] Unify audio modules tests

2013-10-13 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue16938] pydoc confused by __dir__

2013-10-13 Thread Ethan Furman
Ethan Furman added the comment: Nick Couphlan added the comment: > > No, __class__ on a descriptor has *NOTHING* to do with how it was > looked up. It's the class of the *result*. Which is why in most cases it's discarded as the home class. (I could easily be saying this wrong, which is why I

[issue18919] Unify audio modules tests

2013-10-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset ee7563b07c6f by Serhiy Storchaka in branch '3.3': Issue #18919: Unified and extended tests for audio modules: aifc, sunau and http://hg.python.org/cpython/rev/ee7563b07c6f New changeset fc418ecd8777 by Serhiy Storchaka in branch 'default': Issue #18

[issue19246] GC does not really free up memory in console

2013-10-13 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +brian.curtin, tim.golden, tim.peters ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue19247] Describe surrogateescape algorithm in the Library Reference

2013-10-13 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue4965] Can doc index of html version be separately scrollable?

2013-10-13 Thread Ezio Melotti
Ezio Melotti added the comment: > One minor nit: when I close the sidebar, then scroll and then reopen > it, it does not immediately update the sidebar position, only when > scrolling again. I'll look into it. > You said you made it a bit more efficient; is this python-specific > or can it be p

[issue17827] Document codecs.encode and codecs.decode

2013-10-13 Thread Nick Coghlan
Nick Coghlan added the comment: Still need to backport this to 2.7 (Thanks for the preliminary patch Grant, but I'm afraid it didn't make it into what I ended up committing) -- versions: -Python 3.3, Python 3.4 ___ Python tracker

[issue16938] pydoc confused by __dir__

2013-10-13 Thread Nick Coghlan
Nick Coghlan added the comment: That means __objclass__ can have its meaning broadened to say "this is where this particular instance of this kind of object was defined", and that and __class__ are just coincidentally the same for Enum objects. We should *not* need to have any Enum specific co

[issue16938] pydoc confused by __dir__

2013-10-13 Thread Nick Coghlan
Nick Coghlan added the comment: However, setting __objclass__ on Enum members would be a perfectly reasonable thing to do. -- ___ Python tracker ___

[issue19236] Add Tornado HTTP benchmark

2013-10-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Wouldn't it be more interesting to make the app's get() method > asynchronous as well, so that each chunk actually gets passed > separately? That's a good point. I'll try to look into it. > Or maybe split it up into two benchmarks, one that exercises the > as

[issue16938] pydoc confused by __dir__

2013-10-13 Thread Nick Coghlan
Nick Coghlan added the comment: No, __class__ on a descriptor has *NOTHING* to do with how it was looked up. It's the class of the *result*. >> property.__class__ >>> staticmethod.__class__ >>> classmethod.__class__ It's completely irrelevant to determining *where the attribute came from*.

[issue17827] Document codecs.encode and codecs.decode

2013-10-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset b607ce6c9ee6 by Nick Coghlan in branch '3.3': Issue #17827: Document codecs.encode and codecs.decode http://hg.python.org/cpython/rev/b607ce6c9ee6 New changeset 32f3d6721c84 by Nick Coghlan in branch 'default': Issue #17827: document codecs.encode a

[issue18919] Unify audio modules tests

2013-10-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset a9f967c8d002 by Serhiy Storchaka in branch '2.7': Issue #18919: Added tests for the sunau module. Unified and extended tests http://hg.python.org/cpython/rev/a9f967c8d002 -- ___ Python tracker

[issue16938] pydoc confused by __dir__

2013-10-13 Thread Ethan Furman
Ethan Furman added the comment: 'None' is not an appropriate response to the "Where does this attribute come from" question. For one, it's wrong. For two, it breaks help. The current patch fixes that particular problem (as a last resort it walks the mro looking for the last class that report

[issue18999] Robustness issues in multiprocessing.{get, set}_start_method

2013-10-13 Thread Lars Buitinck
Lars Buitinck added the comment: Ok, great. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue18999] Robustness issues in multiprocessing.{get, set}_start_method

2013-10-13 Thread Richard Oudkerk
Richard Oudkerk added the comment: > I haven't read all of your patch yet, but does this mean a forkserver > will be started regardless of whether it is later used? No, it is started on demand. But since it is started using _posixsbuprocess.fork_exec(), nothing is inherited from the main proc

[issue18986] Add a case-insensitive case-preserving dict

2013-10-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Antoine, is the PEP ready for review? Well, I think it is. Do you think other points should be addressed in it? We still have some time. -- ___ Python tracker __

[issue19247] Describe surrogateescape algorithm in the Library Reference

2013-10-13 Thread Nick Coghlan
New submission from Nick Coghlan: The codecs module currently refers out to PEP 383 as the documentation for the details of the ``surrogateescape`` error handler. Instead (as per the recent python-dev discussion about not using PEPs as substitutes for reference docs), there should be a section

[issue18999] Robustness issues in multiprocessing.{get, set}_start_method

2013-10-13 Thread Lars Buitinck
Lars Buitinck added the comment: > BTW, the context objects are singletons. I haven't read all of your patch yet, but does this mean a forkserver will be started regardless of whether it is later used? That would be a good thing, since starting the fork server after reading in large data sets

[issue18842] Add float.is_finite is_nan is_infinite to match Decimal methods

2013-10-13 Thread Christian Heimes
Christian Heimes added the comment: Pardon? The methods could be added to complex, too. cmath implements the methods as: is_finite: Py_IS_FINITE(z.real) && Py_IS_FINITE(z.imag) is_infinite: Py_IS_INFINITY(z.real) || Py_IS_INFINITY(z.imag) is_nan: Py_IS_NAN(z.real) || Py_IS_NAN(z.ima

[issue18842] Add float.is_finite is_nan is_infinite to match Decimal methods

2013-10-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Fraction? complex? Complex? Integral? Number? -- nosy: +serhiy.storchaka ___ Python tracker ___ __

[issue16203] Proposal: add re.fullmatch() method

2013-10-13 Thread Nick Coghlan
Changes by Nick Coghlan : -- stage: committed/rejected -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue18659] test_precision in test_format.py is not executed and has unused variable

2013-10-13 Thread Mark Dickinson
Mark Dickinson added the comment: Buildbots are happy now. Closing. Thank you! -- resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue19219] speed up marshal.loads()

2013-10-13 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: In this case, we can remove a bunch of 'retval = NULL' from the code. -- ___ Python tracker ___

[issue19229] operator.py: move the Python implementation in the else block of try/except ImportError

2013-10-13 Thread Stefan Krah
Stefan Krah added the comment: To be fair, for the startup time I can't really detect any difference between importing _operator directly and the current setup. -- ___ Python tracker __

[issue19239] add inspect functions to retrieve attributes from both old dir() and overridden dir()

2013-10-13 Thread Nick Coghlan
Nick Coghlan added the comment: Should we go further and also consider attributes provided through the metaclass? -- ___ Python tracker ___ _

[issue18842] Add float.is_finite is_nan is_infinite to match Decimal methods

2013-10-13 Thread Christian Heimes
Christian Heimes added the comment: Here is a longer patch that also adds the methods to int and numbers.Real. It comes with tests and doc updates, too. -- stage: -> patch review Added file: http://bugs.python.org/file32090/issue18842.patch ___ Pyth

[issue19246] GC does not really free up memory in console

2013-10-13 Thread Пётр Дёмин
New submission from Пётр Дёмин: Taken from http://stackoverflow.com/a/19287553/135079 When I consume all memory: Python 2.7 (r27:82525, Jul 4 2010, 09:01:59) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> a = {}

[issue16938] pydoc confused by __dir__

2013-10-13 Thread Nick Coghlan
Nick Coghlan added the comment: Part of the issue 19030 patch was incorrect and we missed it in the review. Specifically, the else clause in this bit: try: get_obj = getattr(cls, name) except Exception as exc: pass else:

[issue18842] Add float.is_finite is_nan is_infinite to match Decimal methods

2013-10-13 Thread Christian Heimes
Christian Heimes added the comment: The code is already there so the patch is really small. http://hg.python.org/cpython/annotate/5bc7b20dc04a/Objects/floatobject.c#l1046 I love my time machine. *g* -- keywords: +patch nosy: +christian.heimes Added file: http://bugs.python.org/file3208

[issue3871] cross and native build of python for mingw* hosts

2013-10-13 Thread Roumen Petrov
Roumen Petrov added the comment: For protocol - as requested patches attached to this issue are split ans posted as separate issues. Please follow those listed below: issue18654 - modernize mingw&cygwin compiler classes (new) issue17605 - mingw-meta: build interpreter core issue18653 - mingw-me

[issue19245] mingw-meta: installation

2013-10-13 Thread Roumen Petrov
New submission from Roumen Petrov: this is meta issue for enhancement of issue3871 - part related to installation. Remark: build of core modules is in issue18653 . 01 : issue19241 : install import library 02 : issue19242 : generalization of posix installation in distutils 03 : issue19243 : su

[issue19244] MINGW: use replace instead rename to avoid failure on windows

2013-10-13 Thread Roumen Petrov
New submission from Roumen Petrov: Enhancement of issue3871 - installation -- components: Installation files: 0004-use-replace-instead-rename-to-avoid-failure-on-windo.patch keywords: patch messages: 199693 nosy: rpetrov priority: normal severity: normal status: open title: MINGW: use re

[issue19242] MINGW: generalization of posix installation in distutils

2013-10-13 Thread Roumen Petrov
Changes by Roumen Petrov : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue19243] MINGW: support stdcall without underscore

2013-10-13 Thread Roumen Petrov
New submission from Roumen Petrov: Split of issue3871 -- components: Extension Modules, Installation files: 0003-MINGW-support-stdcall-without-underscore.patch keywords: patch messages: 199692 nosy: rpetrov priority: normal severity: normal status: open title: MINGW: support stdcall with

[issue19241] MINGW: install import library

2013-10-13 Thread Roumen Petrov
Changes by Roumen Petrov : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue19242] MINGW: generalization of posix installation in distutils

2013-10-13 Thread Roumen Petrov
Changes by Roumen Petrov : -- components: +Installation versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue19232] Speed up _decimal import

2013-10-13 Thread Stefan Krah
Stefan Krah added the comment: Antoine Pitrou wrote: > You can apply it using "hg import --no-commit", I think. mercurial 2.1 throws an exception even though the patch was created with that version. Now I upgraded to 2.7.2 and it works. Rietveld also seems to choke on the first patch (no revi

[issue19242] MINGW: generalization of posix installation in distutils

2013-10-13 Thread Roumen Petrov
New submission from Roumen Petrov: Enhancement of issue3871 - installation -- files: 0002-MINGW-generalization-of-posix-installation-in-distut.patch keywords: patch messages: 199690 nosy: rpetrov priority: normal severity: normal status: open title: MINGW: generalization of posix install

[issue19241] MINGW: install import library

2013-10-13 Thread Roumen Petrov
New submission from Roumen Petrov: Enhancement of issue3871 - installation -- components: Installation files: 0001-MINGW-install-import-library.patch keywords: patch messages: 199689 nosy: rpetrov priority: normal severity: normal status: open title: MINGW: install import library version

[issue18659] test_precision in test_format.py is not executed and has unused variable

2013-10-13 Thread Mark Dickinson
Mark Dickinson added the comment: ... and the buildbots with sizeof(int) == sizeof(size_t) == 4 still fail, of course. http://hg.python.org/cpython/rev/d115dc671f52 fixes that by removing the check for the exact error message. It should be enough to check for ValueError anyway. --

[issue19237] Proposal : LCM function to complement GCD

2013-10-13 Thread CliffM
CliffM added the comment: I've handled a patch, and extended both lcm and gcd to take an arbitrary number of arguments -- via functools.reduce, as they are both multiplicative (in the first argument). Also handled the zero case , so lcm(0,0) = 0 = gcd(0,0) Use-case-wise, I do a reasonable amo

[issue18606] Add statistics module to standard library

2013-10-13 Thread Steven D'Aprano
Steven D'Aprano added the comment: On Sun, Oct 13, 2013 at 09:21:13AM +, Nick Coghlan wrote: > > Nick Coghlan added the comment: > > Are the ReST docs the only missing piece here? As far as I know, the only blocker is that the ReST docs are missing. Also Guido would like to see the docst

[issue18606] Add statistics module to standard library

2013-10-13 Thread Georg Brandl
Georg Brandl added the comment: In the attached patch I took the docstrings, put them in statistics.rst and reformatted/marked-up them according to our guidelines. This should at least be good enough to make this committable. I also modified statistics.py very slightly; I removed trailing spa

[issue18659] test_precision in test_format.py is not executed and has unused variable

2013-10-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset e7eed20f2da7 by Mark Dickinson in branch 'default': Issue #18659: fix test_format test that wasn't being executed. Thanks Vajrasky Kok for the patch. http://hg.python.org/cpython/rev/e7eed20f2da7 -- ___

[issue18659] test_precision in test_format.py is not executed and has unused variable

2013-10-13 Thread Mark Dickinson
Mark Dickinson added the comment: Let's try again. I'll close once the buildbots have run. -- ___ Python tracker ___ ___ Python-bugs-

<    1   2   3   >