[issue5770] SA bugs with unittest.py
New submission from Garrett Cooper yaneg...@gmail.com: A handful of valid bugs were reported with pylint when I was backporting unittest.py r71263 to 2.4/2.5 from HEAD. The attached diff fixes them. -- components: Extension Modules, Tests files: unittest-sa_fix-r71263.diff keywords: patch messages: 86018 nosy: yaneurabeya severity: normal status: open title: SA bugs with unittest.py type: compile error versions: Python 2.7 Added file: http://bugs.python.org/file13700/unittest-sa_fix-r71263.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5770 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5771] SA bugs with unittest...@r71263
New submission from Garrett Cooper yaneg...@gmail.com: A handful of valid bugs were reported with pylint when I was backporting unittest.py r71263 to 2.4/2.5 from HEAD for http://code.google.com/p/python-unittest-backport. The attached diff fixes them. -- components: Extension Modules, Tests files: unittest-sa_fix-r71263.diff keywords: patch messages: 86019 nosy: benjamin.peterson, gregory.p.smith, michael.foord, yaneurabeya severity: normal status: open title: SA bugs with unittest...@r71263 type: compile error versions: Python 2.7 Added file: http://bugs.python.org/file13701/unittest-sa_fix-r71263.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5771 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5771] SA bugs with unittest...@r71263
Garrett Cooper yaneg...@gmail.com added the comment: Ugh... The `...@staticmethod fix' was invalid. -- Added file: http://bugs.python.org/file13702/unittest-sa_fix-r71263.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5771 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5771] SA bugs with unittest...@r71263
Changes by Garrett Cooper yaneg...@gmail.com: Removed file: http://bugs.python.org/file13701/unittest-sa_fix-r71263.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5771 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5772] For float.__format__, don't add a trailing .0 if we're using no type code and we have an exponent
New submission from Eric Smith e...@trueblade.com: The point of the empty type code is to make sure a number looks like a float (so as to avoid formatting 2.0 as 2). But if we have an exponent, the result already looks like a float, so there's no need to modify the number further. -- assignee: eric.smith components: Interpreter Core keywords: easy messages: 86021 nosy: eric.smith, marketdickinson priority: normal severity: normal status: open title: For float.__format__, don't add a trailing .0 if we're using no type code and we have an exponent type: behavior versions: Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5772 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5772] For float.__format__, don't add a trailing .0 if we're using no type code and we have an exponent
Eric Smith e...@trueblade.com added the comment: For a more detailed discussion, scroll to the bottom of http://mail.python.org/pipermail/python-dev/2009-April/088417.html -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5772 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5630] Create alternatieve CObject API that is safe and clean
Larry Hastings la...@hastings.org added the comment: I've updated the patch: * Capsule now has a custom repr that includes whatever name is set. * I've updated the documentation to talk about Capsules and not CObjects; the documentation discusses naming your capsules. * PyCapsule_Import now takes a no_block parameter; if true, PyCapsule_Import will import the module using PyImport_ImportModuleNoBlock, and if the import fails it will return failure but *not* raise an exception. * I checked all the exceptions to ensure they were of reasonable types. This is as far as I can take the patch without some input from the community. I hope the fate of this patch can be decided before the 3.1 feature freeze. -- Added file: http://bugs.python.org/file13703/lch.capsule.r71641.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5630 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5313] multiprocessing.process using os.close(sys.stdin.fileno) instead of sys.stdin.close()
Marcin Cieslik marcin.cies...@gmail.com added the comment: Hello, I believe I am the edge-case. I've written a minimalist python Tkinter-shell around Tkinter.Text and code.InteractiveConsole by hi-jacking stdin, stdout and stderr. It hangs when using multiprocessing pool. to reproduce run papy_gui.py and type: from math import sqrt from multiprocessing import Pool p = Pool() print p multiprocessing.pool.Pool object at 0xb723738c p.map(sqrt, [1,2,3]) no more output ever -- nosy: +i000 Added file: http://bugs.python.org/file13704/papy_gui.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5313 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5768] logging don't encode Unicode message correctly.
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: I think that in r69448, the test does not match the code: codecs.getwriter('cp1251') has no attribute 'encoding', and no function in test_logging ever pass a stream with an explicit encoding. Also, the test in emit() should be reversed, otherwise msg.encode() is called only when msg is a 8bit string. And in this case, a unicode string should be passed to the stream. See attached patch. The codecs.getwriter should probably grow an 'encoding' attribute automatically, but this is another issue. -- assignee: - vsajip nosy: +amaury.forgeotdarc, vsajip Added file: http://bugs.python.org/file13705/logging_encoding.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5768 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5773] Crash on shutdown after os.fdopen(2) in debug builds
New submission from Amaury Forgeot d'Arc amaur...@gmail.com: With a 2.6 or 2.7 debug build: python_d -c import os; os.fdopen(2) Displays the famous Debug Assertion Failure: ... Expression: (_osfile(fh) FOPEN) ... The error occurs when closing pyhon, in call_ll_exitfuncs() there is a call to fflush(stderr) -- assignee: krisvale components: Windows messages: 86026 nosy: amaury.forgeotdarc, krisvale severity: normal status: open title: Crash on shutdown after os.fdopen(2) in debug builds versions: Python 2.6, Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5773 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5630] Create alternatieve CObject API that is safe and clean
Larry Hastings la...@hastings.org added the comment: Whoopsie-daisy, I forgot to touch up a whole lot of places to match the new API. Attached is an updated patch; here's what changed: * The documentation is now much better; there is a capsule.rst, and cobject.rst has a deprecation warning. * Added a deprecation warning in a comment to Include/cobject.h. * Added the PyCapsule APIs to refcounts.dat and the .def files for OS/2 builds. * Changed a commented mention of CObject to Capsule in Lib/test/test_sys.py. -- Added file: http://bugs.python.org/file13706/lch.capsule.r71641.diff.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5630 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5657] bad repr of itertools.count object with negative value on OS X 10.4 with 10.5 build
Ronald Oussoren ronaldousso...@mac.com added the comment: I intend to fix this next weekend, therefore assigning the issue to myself. -- assignee: loewis - ronaldoussoren priority: - release blocker stage: - needs patch type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5657 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5772] For float.__format__, don't add a trailing .0 if we're using no type code and we have an exponent
Mark Dickinson dicki...@gmail.com added the comment: Just for the public record, I think that getting rid of the '.0' is the right thing to do here. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5772 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5274] sys.exc_info()[1] - different handling from str() and unicode() - py 2.6
Vlastimil Brom vlastimil.b...@gmail.com added the comment: I just want to confirm, that the reported issue is the same in python 2.6.2, is it really the intended behaviour in python 2.6 (as opposed to 2.5)? vbr -- components: +Unicode ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5274 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2636] Regexp 2.7 (modifications to current re 2.2.2)
Matthew Barnett pyt...@mrabarnett.plus.com added the comment: Try issue2636-patch-2.diff. -- Added file: http://bugs.python.org/file13707/issue2636-patch-2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2636 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5767] xmlrpclib loads invalid documents
Jean-Paul Calderone exar...@divmod.com added the comment: This actually appears to be an issue with the sgmlop-based parser, not the expat-based parser. After removing sgmlop, the exception-raising behavior is restored. Perhaps this bug should be closed as invalid, then. Only, I wonder if this is the right bug tracker to use for sgmlop, or if it has one somewhere else? -- nosy: +effbot ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5767 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5767] xmlrpclib loads invalid documents
Fredrik Lundh fred...@effbot.org added the comment: sgmlop doesn't do much validation; to quote the homepage: [sgmlop] is tolerant, and happily accepts XML-like data that are not well-formed. If you need strictness, use another parser. But given that Python ships with cElementTree these days, and cElementTree's XMLParser (based on expat) is faster than both sgmlop and pyexpat, maybe it's time to remove sgmlop support from xmlrpclib... -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5767 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5773] Crash on shutdown after os.fdopen(2) in debug builds
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Sure. But we tried hard to remove all these assertion failures, so that python never shows a popup dialog. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5773 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5767] xmlrpclib loads invalid documents
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: maybe it's time to remove sgmlop support from xmlrpclib... +1 -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5767 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5463] Remove deprecated features from struct module
Andreas Schawo andreas.sch...@gmail.com added the comment: Hi Mark, currently there will be no struct.error neither TypeErorr because PyLong_AsLong floors a given float (see my msg84620). The Question is: should I test for long explicitly and raise an error if a different type is given? In this case a test is needed, I give in. I'm not sure what's the right style here. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5463 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5770] SA bugs with unittest.py
Changes by Benjamin Peterson benja...@python.org: -- resolution: - duplicate status: open - closed superseder: - SA bugs with unittest...@r71263 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5770 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5771] SA bugs with unittest...@r71263
Changes by Georg Brandl ge...@python.org: -- assignee: - michael.foord ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5771 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5774] _winreg.OpenKey() is documented with keyword arguments, but doesn't take them
New submission from Daniel Stutzbach dan...@stutzbachenterprises.com: I noticed this in 2.6, but I imagine it affects 2.7, and 3.x as well. The documentation for _winreg.OpenKey reads in part: _winreg.OpenKey(key, sub_key[, res=0][, sam=KEY_READ]) However: import _winreg _winreg.OpenKey(_winreg.HKEY_CURRENT_USER, 'Software', sam=_winreg.KEY_ALL_ACCESS) Traceback (most recent call last): File stdin, line 1, in module TypeError: OpenKey() takes no keyword arguments Probably the OpenKey implementation should be updated to use PyArg_ParseTupleAndKeywords instead of PyArg_ParseTuple? -- components: Library (Lib) messages: 86038 nosy: stutzbach severity: normal status: open title: _winreg.OpenKey() is documented with keyword arguments, but doesn't take them versions: Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5774 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5768] logging don't encode Unicode message correctly.
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: Fix checked into trunk and release26-maint. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5768 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5515] 'n' formatting for int and float handles leading zero padding poorly
Eric Smith e...@trueblade.com added the comment: Fixed in trunk (will be 3.1) in r71665. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5515 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5515] 'n' formatting for int and float handles leading zero padding poorly
Changes by Eric Smith e...@trueblade.com: -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5515 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5515] 'n' formatting for int and float handles leading zero padding poorly
Eric Smith e...@trueblade.com added the comment: Fixed in py3k (will be 3.1) in r71665. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5515 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5772] For float.__format__, don't add a trailing .0 if we're using no type code and we have an exponent
Eric Smith e...@trueblade.com added the comment: Fixed in py3k (which will become 3.1) in r71665. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5772 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5237] Allow auto-numbered replacement fields in str.format() strings
Eric Smith e...@trueblade.com added the comment: Terry, are you still interested in documenting this (please say yes!)? I'm hoping it can be done by the beta release. Thanks. Eric. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5237 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4660] multiprocessing.JoinableQueue task_done() issue
Brian br...@merrells.org added the comment: Jesse, I am afraid my last post may have confused the issue. As I mentioned in my first post, the problem arises when JoinableQueue.put is preempted between its two lines. Perhaps the easiest way to illustrate this is to exacerbate it by modifying JoinableQueue.put to force a preemption at this inopportune time. import time def put(self, item, block=True, timeout=None): Queue.put(self, item, block, timeout) time.sleep(1) self._unfinished_tasks.release() Almost any example will now fail. from multiprocessing import JoinableQueue, Process def printer(in_queue): while True: print in_queue.get() in_queue.task_done() if __name__ == '__main__': jqueue = JoinableQueue() a = Process(target = printer, args=(jqueue,)).start() jqueue.put(blah) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4660 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5237] Allow auto-numbered replacement fields in str.format() strings
Terry J. Reedy tjre...@udel.edu added the comment: Yes, added to 'do in next few days' list. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5237 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5237] Allow auto-numbered replacement fields in str.format() strings
Eric Smith e...@trueblade.com added the comment: Terry J. Reedy wrote: Terry J. Reedy tjre...@udel.edu added the comment: Yes, added to 'do in next few days' list. Thanks so much. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5237 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3873] Unpickling is really slow
Changes by Antoine Pitrou pit...@free.fr: -- priority: - normal stage: - patch review versions: +Python 3.1 -Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3873 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3873] Unpickling is really slow
Antoine Pitrou pit...@free.fr added the comment: By the way, the patch won't work with unseekable files, which is probably bad. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3873 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1580] Use shorter float repr when possible
Mark Dickinson dicki...@gmail.com added the comment: The py3k-short-float-repr branch has been merged to py3k in two parts: r71663 is mostly concerned with the inclusion of David Gay's code into the core, and the necessary floating-point fixups to allow Gay's code to be used (SSE2 detection, x87 control word manipulation, etc.) r71665 contains Eric's *mammoth* rewrite and upgrade of the all the float formatting code to use the new _Py_dg_dtoa and _Py_dg_strtod functions. Note: the new code doesn't give short float repr on *all* platforms, though it's close. The sticking point is that Gay's code needs 53-bit rounding precision, and the x87 FPU uses 64-bit rounding precision by default (though some operating systems---e.g., FreeBSD, Windows---change that default). For the record, here's the strategy that I used: feedback (esp. from experts) would be appreciated. - If the float format is not IEEE 754, don't use Gay's code. - Otherwise, if we're not on x86, we're probably fine. (Historically, there are other FPUs that have similar problems---e.g., the Motorola 68881/2 FPUs---but I think they're all too old to be worth worrying about by now.) - x86-64 in 64-bit mode is also fine: there, SSE2 is the default. x86-64 in 32-bit mode (e.g., 32-bit Linux on Core 2 Duo) has the same problems as plain x86. (OS X is fine: its gcc has SSE2 enabled by default even for 32-bit mode.) - Windows/x86 appears to set rounding precision to 53-bits by default, so we're okay there too. So: - On gcc/x86, detect the availability of SSE2 (by examining the result of the cpuid instruction) and add the appropriate flags (-msse2 -mfpmath=sse2) to BASECFLAGS if SSE2 is available. - On gcc/x86, if SSE2 is *not* available, so that we're using the x87 FPU, use inline assembler to set the rounding precision (and rounding mode) before calling Gay's code, and restore the FPU state directly afterwards. Use of inline assembler is pretty horrible, but it seems to be *more* portable than any of the alternatives. The official C99 way is to use fegetenv/fesetenv to get and set the floating-point environment, but the fenv_t type used to store the environment can (and will) vary from platform to platform. - There's an autoconf test for double-rounding. If there's no evidence of double rounding then it's likely to be safe to use Gay's code: double rounding is an almost unavoidable symptom of 64-bit precision on x87. So on non-Windows x86 platforms that *aren't* using gcc and *do* exhibit double rounding (implying that they're not using SSE2, and that the OS doesn't change the FPU rounding precision to 53 bits), we're out of luck. In this case the old long float repr is used. The most prominent platform that I can think of that's affected by this would be something like Solaris/x86 with Sun's own compiler, or more generally any Unix/x86 combination where the compiler isn't gcc. Those platforms need to be dealt with on a case-by-case basis, by figuring out for each such platform how to detect and use SSE2, and how to get and set the x87 control word if SSE2 instructions aren't available. Note that if any of the above heuristics is wrong and we end up using Gay's code inappropriately, then there will be *loud* failure: we'll know about it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1580 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5775] marshal.c needs to be checked for out of memory errors
New submission from Eric Smith e...@trueblade.com: With the changes in r71665, w_object() in marshal.c needs to be checked for out of memory errors when converting floats to strings. I'm not convinced the existing error checking was correct, but I haven't spent a lot of time looking at it. The fact that w_object() is recursive makes the problem that much tougher. I'll get to this before the next 3.1 release. -- assignee: eric.smith components: Interpreter Core messages: 86049 nosy: eric.smith priority: release blocker severity: normal status: open title: marshal.c needs to be checked for out of memory errors type: resource usage versions: Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5775 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4482] 10e667.__format__('+') should return 'inf'
Mark Dickinson dicki...@gmail.com added the comment: A somewhat related comment about formatting of infs and nans: I think that a formatted nan should never include a sign, even when it's explicitly asked for. For example: %+e % float('nan') should give nan rather than +nan or -nan. (In contrast, infinities should, and currently do, get the requested sign.) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4482 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4482] 10e667.__format__('+') should return 'inf'
Mark Dickinson dicki...@gmail.com added the comment: Here are my proposed tests for this---they're for percent formatting rather than format() formatting. They conflict slightly with Daniel's tests, in that I think format(float('inf'), '+') should produce '+inf' rather than plain 'inf'. -- Added file: http://bugs.python.org/file13708/issue4482_tests.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4482 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5728] Support telling TestResult objects a test run has finished
Robert Collins robe...@robertcollins.net added the comment: Updates - docs, and fixes a couple of stubbed out upcalls in the logging result put in while bootsrapping. -- Added file: http://bugs.python.org/file13709/start-stop-TestRun.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5728 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2531] float compared to decimal is silently incorrect.
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: Mark, any thoughts? I would like to apply this patch for ordering comparisons other than __eq__ and __ne__. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2531 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3119] pickle.py is limited by python's call stack
Changes by Tennessee Leeuwenburg tleeuwenb...@gmail.com: -- keywords: +needs review -patch stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3119 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5766] Mac/scripts/BuildApplet.py reset of sys.executable during install can cause it to use wrong modules
Bryan Blackburn b...@users.sourceforge.net added the comment: FYI, I'm able to avoid this by using PYTHONHOME=$(DESTDIR)$(prefix) before $(RUNSHARED) when running BuildApplet.py and $(BUNDLEBULDER) in Mac/Makefile.in, Mac/IDLE/Makefile.in, and Mac/PythonLauncher/Makefile.in. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5766 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com