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

2013-10-13 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- nosy: +ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19239 ___ ___ Python-bugs-list

[issue19240] iglob should try to use `readdir`

2013-10-13 Thread Charles-François Natali
Charles-François Natali added the comment: Actually, it should probably be using a generator-based version of os.listdir(). See #11406. -- dependencies: +There is no os.listdir() equivalent returning generator instead of list nosy: +neologix ___

[issue19223] Add 'x' mode to bz2.open()

2013-10-13 Thread Vajrasky Kok
Vajrasky Kok added the comment: Added doc. -- Added file: http://bugs.python.org/file32075/add_x_mode_to_bz2_v2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19223 ___

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

2013-10-13 Thread Georg Brandl
Georg Brandl added the comment: Very nice, thanks for porting this. 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. -- ___ Python tracker

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

2013-10-13 Thread Georg Brandl
Georg Brandl added the comment: You said you made it a bit more efficient; is this python-specific or can it be ported back to Sphinx? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4965

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

2013-10-13 Thread Georg Brandl
Georg Brandl added the comment: I updated the patch to current tip, fixed three issues from the review, and added documentation updates. -- nosy: +georg.brandl Added file: http://bugs.python.org/file32076/issue16203_mrab_2.patch ___ Python tracker

[issue19236] Add Tornado HTTP benchmark

2013-10-13 Thread Stefan Behnel
Stefan Behnel added the comment: Another thing: you are only using one thread for both the client and the server, and the app writes the entire content in one go (during one call to get()). Wouldn't it be more interesting to make the app's get() method asynchronous as well, so that each chunk

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

2013-10-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset b51218966201 by Georg Brandl in branch 'default': Add re.fullmatch() function and regex.fullmatch() method, which anchor the http://hg.python.org/cpython/rev/b51218966201 -- nosy: +python-dev resolution: - fixed stage: patch review -

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

2013-10-13 Thread Georg Brandl
Georg Brandl added the comment: Sorry, accidental push, already reverted. -- resolution: fixed - status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16203 ___

[issue9951] introduce bytes.hex method

2013-10-13 Thread Georg Brandl
Georg Brandl added the comment: Blasphemous question: why not give bytes a __hex__ method? Then you could use hex() to convert them :) The patch is outdated; it should not use PyUnicode_AS_UNICODE, but PyUnicode_New(..., 127) and then PyUnicode_1BYTE_DATA to get the char array. --

[issue19201] Add 'x' mode to lzma.open()

2013-10-13 Thread Vajrasky Kok
Vajrasky Kok added the comment: Added doc. Revamped the test. The patch did not cater to the order of modes (wb is equal to bw?). I think that deserves a separate ticket. -- Added file: http://bugs.python.org/file32077/add_x_mode_to_lzma_v2.patch

[issue13744] raw byte strings are described in a confusing way

2013-10-13 Thread Georg Brandl
Georg Brandl added the comment: 3.3 is now released with both br and rb allowed, and in 2.7 the current text looks good enough for me. -- nosy: +georg.brandl resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org

[issue14486] Add some versionchanged notes in threading docs

2013-10-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 81c28c415718 by Georg Brandl in branch '2.7': Closes #14486: add versionchanged notices throughout the threading docs for PEP8-compliant APIs; the note at the top of the page is too hard to notice. http://hg.python.org/cpython/rev/81c28c415718

[issue11120] threading.Thread.daemon Documentation Incomplete

2013-10-13 Thread Georg Brandl
Georg Brandl added the comment: This is now fixed with changeset 81c28c415718. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11120

[issue15829] Threading Lock - Wrong Exception Name

2013-10-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset d7e9c0a6dbcf by Georg Brandl in branch '2.7': Closes #15829: document ThreadError and fix exception raised for releasing unlocked locks. http://hg.python.org/cpython/rev/d7e9c0a6dbcf -- nosy: +python-dev resolution: - fixed stage: -

[issue15829] Threading Lock - Wrong Exception Name

2013-10-13 Thread Georg Brandl
Georg Brandl added the comment: 3.3 didn't need to be updated; it's RuntimeError there everywhere. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15829 ___

[issue14502] Document better what happens on releasing an unacquired lock

2013-10-13 Thread Georg Brandl
Georg Brandl added the comment: This is now fixed for 2.7 (see #15829); no fix needed for 3.3+. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14502

[issue18654] modernize mingwcygwin compiler classes

2013-10-13 Thread Roumen Petrov
Changes by Roumen Petrov bugtr...@roumenpetrov.info: Added file: http://bugs.python.org/file32079/0011-MINGW-compiler-customize-mingw-cygwin-compilers.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18654

[issue18654] modernize mingwcygwin compiler classes

2013-10-13 Thread Roumen Petrov
Changes by Roumen Petrov bugtr...@roumenpetrov.info: Added file: http://bugs.python.org/file32078/modernize-mingw+cygwin-compiler-class.tar.gz ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18654

[issue17375] Add docstrings to methods in the threading module

2013-10-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 24429118988b by Georg Brandl in branch '3.3': Closes #17375: port new threading docstrings from 2.7. http://hg.python.org/cpython/rev/24429118988b -- resolution: - fixed stage: - committed/rejected status: open - closed

[issue17219] cross add Python's library directory when building python standard extensions

2013-10-13 Thread Roumen Petrov
Changes by Roumen Petrov bugtr...@roumenpetrov.info: Added file: http://bugs.python.org/file32080/0002-issue17219-add-current-dir-in-library-path-if-buildi.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17219

[issue13740] winsound.SND_NOWAIT ignored on modern Windows platforms

2013-10-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset e08dea96b6e2 by Georg Brandl in branch '3.3': Closes #13740: SND_NOWAIT seems to be ignored on modern Windows. http://hg.python.org/cpython/rev/e08dea96b6e2 -- nosy: +python-dev resolution: - fixed stage: - committed/rejected status: open

[issue13740] winsound.SND_NOWAIT ignored on modern Windows platforms

2013-10-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3c8feb068694 by Georg Brandl in branch '2.7': Closes #13740: SND_NOWAIT seems to be ignored on modern Windows. http://hg.python.org/cpython/rev/3c8feb068694 -- ___ Python tracker rep...@bugs.python.org

[issue18632] mingw: build extensions with GCC

2013-10-13 Thread Roumen Petrov
Changes by Roumen Petrov bugtr...@roumenpetrov.info: Added file: http://bugs.python.org/file32081/0015-MINGW-build-extensions-with-GCC.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18632 ___

[issue18639] mingw: avoid circular dependency from time module during native build of extentions

2013-10-13 Thread Roumen Petrov
Changes by Roumen Petrov bugtr...@roumenpetrov.info: Added file: http://bugs.python.org/file32082/0021-MINGW-avoid-circular-dependency-from-time-module-dur.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18639

[issue16253] Docs for PyArg_ParseTupleAndKeywords say it doesn't accept nested tuples

2013-10-13 Thread Georg Brandl
Georg Brandl added the comment: This sentence appears to be from the 1.5.2 docs; I can't find it anywhere else. -- nosy: +georg.brandl resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org

[issue19232] Speed up _decimal import

2013-10-13 Thread Mark Dickinson
Mark Dickinson added the comment: Mark, Raymond: Would you support the change (__name__ hack and all)? No objections here. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19232 ___

[issue19237] Proposal : LCM function to complement GCD

2013-10-13 Thread Mark Dickinson
Mark Dickinson added the comment: To get the boundary cases correct, you need a special case for lcm(0, 0), which should be 0. Did you have any particular use-cases in mind for this? It may make sense to allow multiple arguments: e.g., lcm(4, 5, 6) - 60. Overall, I'm -0 on this addition: I

[issue18606] Add statistics module to standard library

2013-10-13 Thread Nick Coghlan
Nick Coghlan added the comment: Are the ReST docs the only missing piece here? It would be nice to have this included in alpha 4 next weekend (although the real deadline is beta 1 on November 24). -- nosy: +ncoghlan ___ Python tracker

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

2013-10-13 Thread Mark Dickinson
Mark Dickinson added the comment: +1 from me. You want `float.is_infinite` rather than `float.is_infinity`. `is_signed` is another one that may be worth considering. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18842

[issue18739] math.log of a long returns a different value of math.log of an int

2013-10-13 Thread Mark Dickinson
Mark Dickinson added the comment: Patch applied. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18739 ___

[issue18739] math.log of a long returns a different value of math.log of an int

2013-10-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset f543863f4e43 by Mark Dickinson in branch '2.7': Issue #18739: Fix inconsistent results from math.log(n) and math.log(long(n)) http://hg.python.org/cpython/rev/f543863f4e43 -- nosy: +python-dev ___ Python

[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 rep...@bugs.python.org http://bugs.python.org/issue18659 ___

[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

[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

[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

[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. --

[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

[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

[issue19232] Speed up _decimal import

2013-10-13 Thread Stefan Krah
Stefan Krah added the comment: Antoine Pitrou rep...@bugs.python.org 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

[issue19242] MINGW: generalization of posix installation in distutils

2013-10-13 Thread Roumen Petrov
Changes by Roumen Petrov bugtr...@roumenpetrov.info: -- components: +Installation versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19242 ___

[issue19241] MINGW: install import library

2013-10-13 Thread Roumen Petrov
Changes by Roumen Petrov bugtr...@roumenpetrov.info: -- type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19241 ___ ___

[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

[issue19242] MINGW: generalization of posix installation in distutils

2013-10-13 Thread Roumen Petrov
Changes by Roumen Petrov bugtr...@roumenpetrov.info: -- type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19242 ___ ___

[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

[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 :

[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 mingwcygwin compiler classes (new) issue17605 - mingw-meta: build interpreter core issue18653 -

[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:

[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:

[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 = {} for k in

[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 ___

[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 rep...@bugs.python.org http://bugs.python.org/issue19239 ___

[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 rep...@bugs.python.org http://bugs.python.org/issue19229

[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 rep...@bugs.python.org http://bugs.python.org/issue19219 ___

[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 rep...@bugs.python.org http://bugs.python.org/issue18659 ___

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

2013-10-13 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- stage: committed/rejected - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16203 ___

[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 rep...@bugs.python.org http://bugs.python.org/issue18842 ___

[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) ||

[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

[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

[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 rep...@bugs.python.org

[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

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

2013-10-13 Thread Lars Buitinck
Lars Buitinck added the comment: Ok, great. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18999 ___ ___ Python-bugs-list mailing list

[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

[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

[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

[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__ class 'type' staticmethod.__class__ class 'type' classmethod.__class__ class 'type' It's completely irrelevant to determining

[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

[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 rep...@bugs.python.org http://bugs.python.org/issue16938 ___

[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

[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

[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

[issue19247] Describe surrogateescape algorithm in the Library Reference

2013-10-13 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19247 ___ ___

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

2013-10-13 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +brian.curtin, tim.golden, tim.peters ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19246 ___

[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

[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 Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18919

[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 rep...@bugs.python.org http://bugs.python.org/issue16938

[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 rep...@bugs.python.org http://bugs.python.org/issue19239

[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 using

[issue19247] Describe surrogateescape algorithm in the Library Reference

2013-10-13 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- assignee: - docs@python components: +Documentation nosy: +docs@python ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19247 ___

[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:

[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

[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

[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

[issue19232] Speed up _decimal import

2013-10-13 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19232 ___

[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 arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19229 ___

[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

[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

[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':

[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

[issue19198] Improve cross-references in cgi documentation

2013-10-13 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19198

[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

[issue19203] Improve cross-references in curses howto

2013-10-13 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed versions: -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19203

[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 rep...@bugs.python.org

[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

[issue19207] Improve cross-references in os documentation

2013-10-13 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19207

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

2013-10-13 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- status: - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6011 ___ ___ Python-bugs-list mailing

[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 rep...@bugs.python.org

  1   2   3   >