[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-04-03 Thread Andreas Schwab
Andreas Schwab added the comment: Finn Thain writes: > until Aranym gets fixed. Aranym *is* fixed. Andreas. -- ___ Python tracker ___

[issue21116] Failure to create multiprocessing shared arrays larger than 50% of memory size under linux

2014-04-03 Thread Médéric Boquien
Médéric Boquien added the comment: Thanks for the explanations Charles-François. I guess the new API would not be before 3.5 at least. Is there still a chance to integrate my patch (or any other) to improve the situation for the 3.4 series though? -- __

[issue20969] Author of EPUB version of Python docs is set to Unknown instead of PSF

2014-04-03 Thread Christian Clauss
Christian Clauss added the comment: Makefile and make.bat in https://github.com/python/pythondotorg/blob/master/docs are NOT the correct files to modify. It is unclear to where the correct files are. -- ___ Python tracker

[issue21136] fractions.Fraction.__pow__ does unneeded renormalization

2014-04-03 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks Mark, that is an excellent suggestion. -- Added file: http://bugs.python.org/file34719/fraction_pow2.diff ___ Python tracker ___ _

[issue1100942] Add datetime.time.strptime and datetime.date.strptime

2014-04-03 Thread Maciej Szulik
Maciej Szulik added the comment: Alexander yes it's correct. It's checking for time part in date.strptime and for time part in time.strptime. The only problem I came into is that when passing 0 hours or 0 minutes into date.strptime it won't raise an exception, though doc explicitly says: "(...

[issue21151] winreg.SetValueEx causes crash if value = None

2014-04-03 Thread eryksun
eryksun added the comment: In Py2Reg, the REG_BINARY (3) case sets `*retDataSize = 0` when the value is None: http://hg.python.org/cpython/file/04f714765c13/PC/winreg.c#l766 It doesn't modify *retDataBuf. Then in PySetValueEx, PyMem_DEL is called for the uninitialized address in data: http:

[issue17390] display python version on idle title bar

2014-04-03 Thread Westley Martínez
Westley Martínez added the comment: I second that the title should start with the filename, by default. This seems to be the precedent, and it makes it easy when working with multiple files. Example: xxx.py - IDLE x.y.z: C:\mydir\xxx.py Terry, I think we can generalize this as ' - : ' and ap

[issue21145] Add the @cached_property decorator

2014-04-03 Thread Madison May
Madison May added the comment: There's currently an example of a cached property decorator implementation in the wiki, although it doesn't leverage functools: https://wiki.python.org/moin/PythonDecoratorLibrary#Cached_Properties -- nosy: +madison.may ___

[issue21141] Don't mention Perl in Windows build output

2014-04-03 Thread Zachary Ware
Zachary Ware added the comment: Sure; currently, the "ssl" project emits messages from build_ssl.py concerning the finding of Perl. On a machine with a usable Perl, it's just " Found a working perl at 'C:\Perl\bin\perl.exe'" On machines without Perl, its the more worrisome """ Can

[issue21151] winreg.SetValueEx causes crash if value = None

2014-04-03 Thread Dave Odell
New submission from Dave Odell: Here's a small program that crashes Python 3. import winreg winreg.SetValueEx(winreg.HKEY_CURRENT_USER, 'Value', 0, 3, None) I get a 0xC374 exception (STATUS_HEAP_CORRUPTION) when trying to run this. Here's a stack dump: (snip) ntdll.dll!RtlpLogHeapFailure+

[issue21140] Idle: saving an OutputWindow should default to .txt

2014-04-03 Thread Raymond Hettinger
Raymond Hettinger added the comment: FWIW, students commonly save shell sessions as a record of everything they tried in call. It would nice if there were a way to trigger a periodic autosave (perhaps every five minutes or so). -- nosy: +rhettinger ___

[issue21149] logging._removeHandlerRef is not threadsafe during interpreter shutdown

2014-04-03 Thread R. David Murray
R. David Murray added the comment: Yes, I remember previous discussions of the corporate agreement from Google, so I'm sure it exists. -- nosy: +r.david.murray ___ Python tracker __

[issue21149] logging._removeHandlerRef is not threadsafe during interpreter shutdown

2014-04-03 Thread Devin Jeanpierre
Devin Jeanpierre added the comment: Are you sure? There should have been many previous contributions by Google, so the relevant copyright agreements _should_ have already been signed. I asked internally and was told that a corporate version of this agreement had been signed a long time ago. -

[issue20375] ElementTree: Document handling processing instructions

2014-04-03 Thread Nikolaus Rath
Changes by Nikolaus Rath : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-04-03 Thread mirabilos
mirabilos added the comment: Andreas Schwab dixit: >There is no excuse for using a broken emulator. Sure, if nobody releases a fixed version… and even then, there’s got to be a grace period. I say that if you break ARAnyM you kill off Debian/m68k on ARAnyM (and I’ll have to shut down my buildd

[issue21116] Failure to create multiprocessing shared arrays larger than 50% of memory size under linux

2014-04-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Or maybe it's time to add an API to access shared memory from Python > (since > that's really what we're trying to achieve here). That sounds like a good idea. Especially since we now have the memoryview type. -- _

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-04-03 Thread Andreas Schwab
Andreas Schwab added the comment: There is no excuse for using a broken emulator. -- ___ Python tracker ___ ___ Python-bugs-list maili

[issue21149] logging._removeHandlerRef is not threadsafe during interpreter shutdown

2014-04-03 Thread Vinay Sajip
Vinay Sajip added the comment: > please let me know if there are any contributor agreements Yes, there is a contributor agreement form which needs to be completed and signed: https://www.python.org/psf/contrib/contrib-form-python/ -- ___ Python tra

[issue21128] testing stdlib and compatibility with pypy

2014-04-03 Thread Benjamin Peterson
Benjamin Peterson added the comment: This patch appears to have been generated against a pypy checkout rather than a cpython checkout. -- nosy: +benjamin.peterson ___ Python tracker ___

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-04-03 Thread mirabilos
mirabilos added the comment: Andreas Schwab dixit: >Andreas Schwab added the comment: > >> Enabling this *will* break Python on Linux/m68k > >??? It will not of course, it will *fix* it. You have no idea what you are >talking about. No: it will break Debian/m68k which heavily uses Python, bec

[issue21141] Don't mention Perl in Windows build output

2014-04-03 Thread Martin v . Löwis
Martin v. Löwis added the comment: Can you please explain what this has to do with dropping the mentioning of Perl? -- ___ Python tracker ___

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-04-03 Thread Andreas Schwab
Andreas Schwab added the comment: > Enabling this *will* break Python on Linux/m68k ??? It will not of course, it will *fix* it. You have no idea what you are talking about. -- ___ Python tracker ___

[issue14060] Implement a CSP-style channel

2014-04-03 Thread Sarah Mount
Changes by Sarah Mount : -- nosy: +snim2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue1100942] Add datetime.time.strptime and datetime.date.strptime

2014-04-03 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Is this documentation still valid? +.. staticmethod:: date.strptime(date_string, format) + + Return a :class:`date` corresponding to *date_string*, parsed according to + *format*. This is equivalent to ``date(*(time.strptime(date_string, + format)[0

[issue21118] str.translate is absurdly slow in majority of use cases (takes up to 60x longer than similar functions)

2014-04-03 Thread Josh Rosenberg
Josh Rosenberg added the comment: Hmm... Maybe I'm testing it wrong, but I'm finding your patch is slowing down translation by a small amount on my test case; not a lot, maybe a 10% slowdown on enlarging translations, 6% for 1-1, and deletion in between. -- ___

[issue20375] ElementTree: Document handling processing instructions

2014-04-03 Thread Eli Bendersky
Eli Bendersky added the comment: On Thu, Apr 3, 2014 at 1:19 PM, Nikolaus Rath wrote: > > Nikolaus Rath added the comment: > > Thanks for the commit! > > My intention is to fix the behavior itself for 3.5 (see issue 9521), so I > think adding testcases for the old behavior in the meantime isn't

[issue1100942] Add datetime.time.strptime and datetime.date.strptime

2014-04-03 Thread Maciej Szulik
Maciej Szulik added the comment: I've just checked the patch still applies to current HEAD. What about the question regarding 0's in date.strptime(...) I asked in previous comment? I'd like to move this issue forward now when 3.4 is released. -- ___

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-04-03 Thread mirabilos
mirabilos added the comment: Veto on m68k-float-prec.patch for Linux/m68k for now. Reasoning is same as in #18062 (thanks skrah for linking it): Enabling this *will* break Python on Linux/m68k on the most widespread emulator in all released versions of that emulator (ARAnyM) because the emulato

[issue21148] avoid memset in small tuple creation

2014-04-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: A 5% improvement on a micro-benchmark probably means 0% on real workloads. You could try to run the benchmarks suite at http://hg.python.org/benchmarks -- nosy: +pitrou ___ Python tracker

[issue21149] logging._removeHandlerRef is not threadsafe during interpreter shutdown

2014-04-03 Thread Ned Deily
Changes by Ned Deily : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue21150] Add quick links table to argparse docs

2014-04-03 Thread Raymond Hettinger
New submission from Raymond Hettinger: The argparse module has many functions and options. It would benefit from a summary and quick links table at the top of the page just like we have for the itertools module docs and the builtins module docs. -- assignee: docs@python components: Doc

[issue18062] m68k FPU precision issue

2014-04-03 Thread Stefan Krah
Stefan Krah added the comment: Can we somehow merge this issue with #20904? -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue21149] logging._removeHandlerRef is not threadsafe during interpreter shutdown

2014-04-03 Thread Devin Jeanpierre
New submission from Devin Jeanpierre: If another thread is active during interpreter shutdown, it can hold the last reference to a handler; when it drops that reference, the weakref callback -- _removeHandlerRef -- will be executed in this other thread. So while this callback is running, the m

[issue20375] ElementTree: Document handling processing instructions

2014-04-03 Thread Nikolaus Rath
Nikolaus Rath added the comment: Thanks for the commit! My intention is to fix the behavior itself for 3.5 (see issue 9521), so I think adding testcases for the old behavior in the meantime isn't necessary. -- ___ Python tracker

[issue19354] test_format fails on RHEL-6

2014-04-03 Thread Stefan Krah
Stefan Krah added the comment: Is this still an issue? -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing

[issue20355] -W command line options should have higher priority than PYTHONWARNINGS environmental variable

2014-04-03 Thread Stefan Krah
Changes by Stefan Krah : -- nosy: -skrah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue20361] -W command line options and PYTHONWARNINGS environmental variable should not override -b / -bb command line options

2014-04-03 Thread Stefan Krah
Changes by Stefan Krah : -- nosy: -skrah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue21141] Don't mention Perl in Windows build output

2014-04-03 Thread Zachary Ware
Zachary Ware added the comment: Here's a slightly revised patch, including documentation changes in PCbuild/readme.txt. Also, this patch doesn't rename build_ssl.(bat|py), so Rietveld should accept the patch as reviewable. I think the renames should actually happen, though. -- Added

[issue21128] testing stdlib and compatibility with pypy

2014-04-03 Thread mattip
mattip added the comment: the gc.collect is not needed, sorry. I updated the patch, which affects test_argparse.py (make files rw before rmtree) test_file.py (add file.close() ) test_file2k.py (add file.close() ) test_httpservers.py (add file.close() ) -- Added file: http://bugs.python.o

[issue21034] Python docs reference the Distribute package which has been deprecated in favor of Setuptools

2014-04-03 Thread Ned Deily
Changes by Ned Deily : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue21124] _struct module compilation error under Cygwin 1.7.17 on Python 3.4

2014-04-03 Thread Ned Deily
Changes by Ned Deily : -- nosy: -ned.deily resolution: duplicate -> stage: committed/rejected -> superseder: Add Mingw recognition to pyport.h to allow building extensions -> ___ Python tracker

[issue21148] avoid memset in small tuple creation

2014-04-03 Thread Julian Taylor
New submission from Julian Taylor: attached a prototype patch that avoids the memset of ob_item in PyTuple_New which is not necessary for the BUILD_TUPLE bytecode and PyTuple_Pack as these overwrite every entry in ob_item anyway. This improves small tuple creation by about 5%. It does this by

[issue21116] Failure to create multiprocessing shared arrays larger than 50% of memory size under linux

2014-04-03 Thread Charles-François Natali
Charles-François Natali added the comment: > Also, the FreeBSD man page for mmap() has the following warning: That's mostly important for real file-backed mapping. In our case, we don't want a file-backed mmap: we expect the mapping to fit entirely in memory, so the writeback/read performance is

[issue21147] sqlite3 doesn't complain if the request contains a null character

2014-04-03 Thread STINNER Victor
New submission from STINNER Victor: >>> import sqlite3 >>> c=sqlite3.connect(":memory:") >>> c.execute("select 1") >>> c.execute("select 1").fetchall() [(1,)] >>> c.execute("\0select 1").fetchall() [] -- messages: 215459 nosy: haypo priority: normal severity: normal status: open title:

[issue19279] UTF-7 to UTF-8 decoding crash

2014-04-03 Thread STINNER Victor
STINNER Victor added the comment: > Georg, is this issue wort to be fixed in 3.2? If yes, use the patch against > 2.7. Ping? -- ___ Python tracker ___ _

[issue12546] builtin __format__ methods cannot fill with \x00 char

2014-04-03 Thread Eric V. Smith
Changes by Eric V. Smith : -- versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list ma

[issue12546] builtin __format__ methods cannot fill with \x00 char

2014-04-03 Thread STINNER Victor
STINNER Victor added the comment: #17705 has been closed as a duplicate of this issue. -- ___ Python tracker ___ ___ Python-bugs-list

[issue17705] Fill Character cannot be \0

2014-04-03 Thread Stefan Krah
Changes by Stefan Krah : -- superseder: -> builtin __format__ methods cannot fill with \x00 char ___ Python tracker ___ ___ Python-bu

[issue17705] Fill Character cannot be \0

2014-04-03 Thread Stefan Krah
Stefan Krah added the comment: This looks like a duplicate of #12546. -- resolution: -> duplicate stage: patch review -> committed/rejected status: open -> closed versions: +Python 3.5 -Python 2.7, Python 3.3 ___ Python tracker

[issue21034] Python docs reference the Distribute package which has been deprecated in favor of Setuptools

2014-04-03 Thread Jurko Gospodnetić
Jurko Gospodnetić added the comment: Or, if you do not want to get into the specifics of how to manually install setuptools/pip, it would probably be better to just refer the user to the 'ensurepip' module for the initial installation and tell him to upgrade whatever is needed from there without

[issue21140] Idle: saving an OutputWindow should default to .txt

2014-04-03 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Added file: http://bugs.python.org/file34714/issue21140-34.patch ___ Python tracker ___ ___ Python-bugs-list m

[issue21140] Idle: saving an OutputWindow should default to .txt

2014-04-03 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: Attaching a patch. The file type on OutputWIndow defaults to .txt. Can be very easily made to default to none aswell. Tested on linux for 2.7 and 3.4.(Debian Wheezy, Gnome 3) On 2.7, made changes so that ispythonsource(in EditorWindow) behaves similar to

[issue21143] Copy-paste error in documentation of __builtin__.max

2014-04-03 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for the report. -- nosy: +rhettinger resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue21143] Copy-paste error in documentation of __builtin__.max

2014-04-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8fe2bb0c5851 by Raymond Hettinger in branch '3.4': Issue 21143: Fix typo in docs for max(). http://hg.python.org/cpython/rev/8fe2bb0c5851 -- nosy: +python-dev ___ Python tracker

[issue20887] stdlib compatibility with pypy, test_zipfile.py

2014-04-03 Thread Benjamin Peterson
Benjamin Peterson added the comment: Thanks for the patch. 3.x test_zipfile can be dealt with elsewhere if desired. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker __

[issue20887] stdlib compatibility with pypy, test_zipfile.py

2014-04-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 03df2c1c6892 by Benjamin Peterson in branch '2.7': properly close files in test_zipfile (#20887) http://hg.python.org/cpython/rev/03df2c1c6892 -- nosy: +python-dev ___ Python tracker

[issue21135] Remove useless _vb_pattern parameter in cgi.valid_boundary

2014-04-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 54bd06097619 by Benjamin Peterson in branch '3.4': remove unused argument (closes #21135) http://hg.python.org/cpython/rev/54bd06097619 New changeset 2299cb5e8592 by Benjamin Peterson in branch 'default': merge 3.4 (#21135) http://hg.python.org/cpyt

[issue21034] Python docs reference the Distribute package which has been deprecated in favor of Setuptools

2014-04-03 Thread Benjamin Peterson
Benjamin Peterson added the comment: Good point. Perhaps we should reccomend https://raw.github.com/pypa/pip/master/contrib/get-pip.py instead, though? -- nosy: +benjamin.peterson ___ Python tracker __

[issue19655] Replace the ASDL parser carried with CPython

2014-04-03 Thread Eli Bendersky
Eli Bendersky added the comment: Since there has mostly been support for this, I'll wait a couple more days and commit it unless someones objects or asks for more time for review. -- ___ Python tracker ___

[issue21144] ensurepip "AssertionError: Multiple .dist-info directories"

2014-04-03 Thread R. David Murray
Changes by R. David Murray : -- nosy: +dstufft ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue20375] ElementTree: Document handling processing instructions

2014-04-03 Thread Eli Bendersky
Eli Bendersky added the comment: Thanks. Doc patch committed with some slight rewording. Would you like to prepare a separate patch for the tests, default branch only this time? -- versions: -Python 3.4 ___ Python tracker

[issue20375] ElementTree: Document handling processing instructions

2014-04-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 871278b87c62 by Eli Bendersky in branch '3.4': Issue #20375: Clarify ET's parsing of comments and processing instructions. http://hg.python.org/cpython/rev/871278b87c62 New changeset 5c3166ec80e1 by Eli Bendersky in branch 'default': Issue #20375: C

[issue21146] update gzip usage examples in docs

2014-04-03 Thread Wolfgang Maier
Wolfgang Maier added the comment: same speed is not surprising though as shutil.copyfileobj is implemented like this: def copyfileobj(fsrc, fdst, length=16*1024): """copy data from file-like object fsrc to file-like object fdst""" while 1: buf = fsrc.read(length) if not

[issue21146] update gzip usage examples in docs

2014-04-03 Thread Wolfgang Maier
Wolfgang Maier added the comment: >> with open(src, 'rb') as f_in: >> with gzip.open(dst, 'wb') as f_out: >>shutil.copyfileobj(f_in, f_out) +1 !! exactly as fast as my suggestion (with compression and de-compression), but a lot clearer ! Hadn't thought of it. -- __

[issue21146] update gzip usage examples in docs

2014-04-03 Thread INADA Naoki
INADA Naoki added the comment: Maybe, shutil.copyfileobj() is good. import gzip import shutil with open(src, 'rb') as f_in: with gzip.open(dst, 'wb') as f_out: shutil.copyfileobj(f_in, f_out) -- nosy: +naoki ___ Python tracker

[issue21140] Idle: saving an OutputWindow should default to .txt

2014-04-03 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : -- nosy: +sahutd ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue21145] Add the @cached_property decorator

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

[issue21142] Daily/weekly ABI scan?

2014-04-03 Thread Andrey
Andrey added the comment: There are just three simple steps to setup ABI checker: 1. Create ABI dump of the _reference_ version (see instructions [1]) and commit it to the source tree (ABI-ref.dump): $> abi-compliance-checker -l python -dump descriptor.xml -dump-path ABI-ref.dump 2. Create AB

[issue21146] update gzip usage examples in docs

2014-04-03 Thread Wolfgang Maier
New submission from Wolfgang Maier: The current documentation of the gzip module should have its section "12.2.1. Examples of usage" updated to reflect the changes made to the module in Python3.2 (https://docs.python.org/3.2/whatsnew/3.2.html#gzip-and-zipfile). Currently, the recipe given for

[issue21145] Add the @cached_property decorator

2014-04-03 Thread Omer Katz
New submission from Omer Katz: cached properties are widely used in various prominent Python projects such as Django and pip (and many more). They are not very complicated and there are proven implementation out there. Unfortunately there are way too many of them. This situation leads me to su

[issue21144] ensurepip "AssertionError: Multiple .dist-info directories"

2014-04-03 Thread Nikolaus Demmel
New submission from Nikolaus Demmel: I am installing python 3.4 on OS X 10.9 Mavericks via Homebrew. The Homebrew formula is: https://github.com/Homebrew/homebrew/blob/4bd9b7538297c2ecbcaba281a6db86e8d8f660c8/Library/Formula/python3.rb During the installation, `ensurepip` is called, but failes

[issue21137] Better repr for threading.Lock()

2014-04-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: And of course we should keep "at 0x..." part, because it is the way to distinguish different lock objects. -- ___ Python tracker ___

[issue21137] Better repr for threading.Lock()

2014-04-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The repr of threading._RLock contains owner and count, but not lock/unlock status. The repr of locks from _dummy_thread also should contain lock/unlock status. And it would be nice to have the open/closed status in the repr of other synchronization primitive

[issue21143] Copy-paste error in documentation of __builtin__.max

2014-04-03 Thread Berker Peksag
Berker Peksag added the comment: I also fixed this as part of issue 20620. -- nosy: +berker.peksag ___ Python tracker ___ ___ Python-b

[issue21143] Copy-paste error in documentation of __builtin__.max

2014-04-03 Thread Jyrki Pulliainen
New submission from Jyrki Pulliainen: Looks like the documentation of the __builtin__.max() got copied over from the __builtin__.min. Instead of "the smallest of the positional arguments" it should say "the largest of the positional arguments". This was introduced in 3.4. Patch attached. Tha

[issue21116] Failure to create multiprocessing shared arrays larger than 50% of memory size under linux

2014-04-03 Thread Médéric Boquien
Médéric Boquien added the comment: "the process will get killed when first writing to the page in case of memory pressure." According to the documentation, the returned shared array is zeroed. https://docs.python.org/3.4/library/multiprocessing.html#module-multiprocessing.sharedctypes In that

[issue21142] Daily/weekly ABI scan?

2014-04-03 Thread Nick Coghlan
New submission from Nick Coghlan: At Anatoly's prompting, Andrey Ponomarenko set up ABI/API compatibility checks for CPython on the Linux upstream tracker (http://upstream-tracker.org/) Everything: http://upstream-tracker.org/versions/python.html Public API/ABI (no leading underscores): http:/

[issue21136] fractions.Fraction.__pow__ does unneeded renormalization

2014-04-03 Thread Mark Dickinson
Mark Dickinson added the comment: (And other operations like `__pos__`, `__neg__` and `__abs__` would benefit from a `_skip_normalization` flag, too.) -- ___ Python tracker ___

[issue21136] fractions.Fraction.__pow__ does unneeded renormalization

2014-04-03 Thread Mark Dickinson
Mark Dickinson added the comment: > Does this work correctly in the case `Fraction(0, 1) ** -2`? Looks like it doesn't. How about adding a `_skip_normalization` keyword argument to `Fraction.__new__` instead? That would ensure that any future changes made to `__new__` don't get skipped by th

[issue21136] fractions.Fraction.__pow__ does unneeded renormalization

2014-04-03 Thread Mark Dickinson
Mark Dickinson added the comment: Hmm. Does this work correctly in the case `Fraction(0, 1) ** -2`? -- ___ Python tracker ___ ___ Pyt

[issue21136] fractions.Fraction.__pow__ does unneeded renormalization

2014-04-03 Thread Mark Dickinson
Mark Dickinson added the comment: LGTM. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue17390] display python version on idle title bar

2014-04-03 Thread bagrat lazaryan
bagrat lazaryan added the comment: terry, i indeed didn't know about output windows. (or at least i didn't know i knew. by the way, what are they?) the logic behind my request is that the file being edited in the editor is the most important thing of the editor. a quick glance at the taskbar,

[issue1191964] asynchronous Subprocess

2014-04-03 Thread Richard Oudkerk
Richard Oudkerk added the comment: I would recommended using _overlapped instead of _winapi. I intend to move multiprocessing over in future. Also note that you can do nonblocking reads by starting an overlapped read then cancelling it immediately if it fails with "incomplete". You will need to