[issue5569] Issue in transparency in top level tk window(python) on MAC
Yogendra Mohan yogendra_mo...@oxyent-medical.com added the comment: Hello Amaury Forgeot, Thanks for reply. As you said 'wm_attributes does not take keyword arguments' I have taken that pach from issue1500773 and updated the same. Still I am not able to run with Python 2.5.1 on MAC 10.5.1. Please let me know if anything else I have to do. Regards Yogendra Mohan -- status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5569 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5369] __ppc__ macro checking is incorrect
Artur Frysiak wi...@users.sourceforge.net added the comment: __ppc__ is defined on MacOS X, __powerpc__ on Linux. Only place when need check for both is Python/ceval.c -- keywords: +patch nosy: +wiget Added file: http://bugs.python.org/file13437/3.0-issue5369.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5369 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5369] __ppc__ macro checking is incorrect
Changes by Artur Frysiak wi...@users.sourceforge.net: -- versions: +Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5369 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5585] implement initializer for multiprocessing.BaseManager.start()
New submission from lekma lekma...@gmail.com: It would be useful to have the ability to run arbitrary code before a manager's server subprocess is started (I'd use this feature to install signal handlers for example). -- components: Library (Lib) messages: 84302 nosy: lekma severity: normal status: open title: implement initializer for multiprocessing.BaseManager.start() type: feature request ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5585 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5585] implement initializer for multiprocessing.BaseManager.start()
lekma lekma...@gmail.com added the comment: here is a patch doing just that (against trunk). ps: this is my first bug report and contribution to Python, please, be gentle :) -- keywords: +patch Added file: http://bugs.python.org/file13438/Issue5585.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5585 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4501] asyncore's urgent data management and connection closed events are broken when using poll()
Changes by intgr ma...@juffo.org: -- nosy: +intgr ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4501 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2944] asyncore doesn't handle connection refused correctly
Changes by intgr ma...@juffo.org: -- nosy: +intgr ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2944 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4277] asynchat's handle_error inconsistency
Changes by intgr ma...@juffo.org: -- nosy: +intgr ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4277 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1563] asyncore and asynchat incompatible with Py3k str and bytes
Changes by intgr ma...@juffo.org: -- nosy: +intgr ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1563 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue777588] asyncore is broken for windows if connection is refused
Changes by intgr ma...@juffo.org: -- nosy: +intgr ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue777588 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2073] asynchat push always sends 512 bytes (ignoring ac_out_buffer_size)
Changes by intgr ma...@juffo.org: -- nosy: +intgr ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2073 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3243] Support iterable bodies in httplib
Jeremy Hylton jer...@alum.mit.edu added the comment: Seems like a reasonable feature request. I'm going to apply a variant of the patch in 3.1 first. -- assignee: - jhylton nosy: +jhylton resolution: - accepted ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3243 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1736190] asyncore/asynchat patches
Changes by intgr ma...@juffo.org: -- nosy: +intgr ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1736190 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5377] Strange behavior when performing int on a Decimal made from -sys.maxint-1
Changes by Mark Dickinson dicki...@gmail.com: -- assignee: - marketdickinson priority: - low ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5377 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5377] Strange behavior when performing int on a Decimal made from -sys.maxint-1
Changes by Mark Dickinson dicki...@gmail.com: -- components: +Interpreter Core -Library (Lib) ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5377 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue658749] asyncore connect() and winsock errors
Changes by intgr ma...@juffo.org: -- nosy: +intgr ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue658749 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1370380] async_chat.push() can trigger handle_error(). undocumented.
Changes by intgr ma...@juffo.org: -- nosy: +intgr ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1370380 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1153027] http_error_302() crashes with 'HTTP/1.1 400 Bad Request
Changes by Jeremy Hylton jer...@alum.mit.edu: -- nosy: +jhylton ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1153027 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue918368] urllib doesn't correct server returned urls
Changes by Jeremy Hylton jer...@alum.mit.edu: -- nosy: +jhylton ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue918368 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5586] The documentation of os.makedirs is misleading
New submission from Mher Movsisyan mher.movsis...@gmail.com: The documentation of os.makedirs (http://docs.python.org/library/os.html? highlight=makedirs#os.makedirs) is misleading. It states that os.makedirs raises an exception if the leaf directory already exists but it doesn't. Lib/os.py: 136 def makedirs(name, mode=0777): 137 makedirs(path [, mode=0777]) 138 139 Super-mkdir; create a leaf directory and all intermediate ones. 140 Works like mkdir, except that any intermediate path segment (not 141 just the rightmost) will be created if it does not exist. This is 142 recursive. 143 144 145 head, tail = path.split(name) 146 if not tail: 147 head, tail = path.split(head) 148 if head and tail and not path.exists(head): 149 try: 150 makedirs(head, mode) 151 except OSError, e: 152 # be happy if someone already created the path 153 if e.errno != errno.EEXIST: 154 raise 155 if tail == curdir: # xxx/newdir/. exists if xxx/newdir exists 156 return 157 mkdir(name, mode) The attachment is a patch of the documentation (trunk, revision 70643). -- assignee: georg.brandl components: Documentation files: makedirs.diff keywords: patch messages: 84305 nosy: georg.brandl, mher severity: normal status: open title: The documentation of os.makedirs is misleading versions: Python 2.6, Python 3.0 Added file: http://bugs.python.org/file13439/makedirs.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5586 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue989712] Support using Tk without a mainloop
Guilherme Polo ggp...@gmail.com added the comment: I've changed the patch a bit and give it a quick try on the python-trunk. I didn't understand the need to verify for _tkinter while IDLE is already running, also, _tkinter.dooneevent is gone in py3k so I'm not using the module function (these are the differences in this patch). I find it nice to use Tkinter interactively on IDLE, is someone against this ? -- nosy: +gpolo Added file: http://bugs.python.org/file13440/issue989712.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue989712 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5261] with lock fails on multiprocessing
Tim Golden m...@timgolden.me.uk added the comment: Can I nudge this one a bit? It causes an interpreter crash and the patch seems good (subject to someone else's review). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5261 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5261] with lock fails on multiprocessing
Jesse Noller jnol...@gmail.com added the comment: I will be addressing all of the MP bugs during the pycon sprints starting sunday -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5261 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5040] Bug of CGIXMLRPCRequestHandler
Brian Quinlan br...@sweetapp.com added the comment: It turns out that there are a bunch of issues with the py3k XML-RPC client and server. Attached as some tests that demonstrate them. -- keywords: +patch nosy: +bquinlan Added file: http://bugs.python.org/file13442/xmlrpc-test.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5040 ___ ___ 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
Mark Dickinson dicki...@gmail.com added the comment: Oops. Out-of-date version of the diff. Here's the right one. -- Added file: http://bugs.python.org/file13443/cleanup_range_check_patch2.diff ___ 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
[issue5463] Remove deprecated features from struct module
Changes by Mark Dickinson dicki...@gmail.com: Removed file: http://bugs.python.org/file13441/cleanup_range_check_patch2.diff ___ 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
[issue5463] Remove deprecated features from struct module
Changes by Mark Dickinson dicki...@gmail.com: -- priority: - normal stage: - patch review ___ 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
[issue5040] Bug of CGIXMLRPCRequestHandler
Changes by Brian Quinlan br...@sweetapp.com: Added file: http://bugs.python.org/file13444/xmlrpc-fix.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5040 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4294] Macros for PyLong: sign, number of digits, fits in an int
Mark Dickinson dicki...@gmail.com added the comment: [Mark] PyLong_NDIGITS should stay in longintrepr.h, though, since it's dependent on the representation. [Victor] I don't understand why. [...] I expressed myself badly. I guess my point was that PyLong_SIGN and PyLong_EQUALS_ZERO (and PyLong_IS_NEGATIVE) have an obvious meaning for integers themselves, regardless of the particular implementation chosen. But there could be representations of integers for which PyLong_NDIGITS doesn't even make sense, or is ambiguous. Furthermore, if the implementation of long integers changes then the meanings of PyLong_SIGN and PyLong_EQUALS_ZERO won't change, but the meaning of PyLong_NDIGITS might well do. So it seems to me that PyLong_NDIGITS is only really a useful macro for *this particular* implementation of integers---it's something that should be internal to Objects/longobject.c and Include/longintrepr.h, and not exposed to the rest of Python. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4294 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5569] Issue in transparency in top level tk window(python) on MAC
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Please revert that patch, it is not correct! Did you try the commands I suggested in my previous post? And please, be more specific than I am not able to run. Do you get an error message? If yes, copy its content here. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5569 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5576] Don't use PyLong_SHIFT with _PyLong_AsScaledDouble()
Mark Dickinson dicki...@gmail.com added the comment: Thanks for this. I'll take a look. How about making the exponent type size_t or Py_ssize_t, rather than [unsigned] int? It seems to me that that fits better with the usual size in digits. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5576 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5576] Don't use PyLong_SHIFT with _PyLong_AsScaledDouble()
Changes by Mark Dickinson dicki...@gmail.com: -- assignee: - marketdickinson priority: - normal stage: - patch review type: - feature request ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5576 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5040] Bug of CGIXMLRPCRequestHandler
Changes by Brian Quinlan br...@sweetapp.com: -- type: performance - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5040 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5587] vars() no longer has a use __repr__
New submission from Raymond Hettinger rhettin...@users.sourceforge.net: The vars() builtin now returns a hard to view object. Formerly, it had a useful __repr__. Python 3.1a1 class A: pass vars(A) dict_proxy object at 0x0131FE70 IDLE 2.6.1 class A: pass vars(A) {'__module__': '__main__', '__doc__': None} -- components: Interpreter Core messages: 84315 nosy: rhettinger severity: normal status: open title: vars() no longer has a use __repr__ versions: Python 3.0, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5587 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5569] Issue in transparency in top level tk window(python) on MAC
Guilherme Polo ggp...@gmail.com added the comment: Amaury, can you be more specific on how it is not correct ? What patch should be reverted ? I'm closing this as invalid now. Although this, in some way, can be considered a duplicate of issue1500773, I don't see it that way. I'm just seeing an incorrect usage of wm_attributes, not a request to change how it works, besides the question being asked (can I do on MAC system or Not?) should be moved to a proper mail list. -- nosy: +gpolo resolution: duplicate - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5569 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5569] Issue in transparency in top level tk window(python) on MAC
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Guilherme, you are right. I think I looked at the wrong patch, sorry. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5569 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1757057] IDLE + BeautifulSoup = Error
Guilherme Polo ggp...@gmail.com added the comment: I can't seem to reproduce this here. I've tried both python 2.4.5 and 2.5.2 using beautifulsoup 3.0.7. I also used the sample html attached in that email as well part of the code that is supposed to cause the problem, and I can also run pickle on the body's contents without getting a RuntimeError. Any chance you can retry it ? And if you do reproduce it then include the instructions here instead of pointing to a mail list, please. -- nosy: +gpolo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1757057 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5006] Duplicate UTF-16 BOM if a file is open in append mode
Antoine Pitrou pit...@free.fr added the comment: It's better now, although I think it's not good to duplicate the encoding switch logic. It would be better to have a separate flag indicate whether it's the start of stream or not. I'm gonna produce a new patch, unless you beat me to it. Also, I'm adding Amaury to the nosy list so that he tells us whether he thinks the approach is sound. -- nosy: +amaury.forgeotdarc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5006 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2995] Idle, some Linuxes, cannot position Cursor by mouseclick
Guilherme Polo ggp...@gmail.com added the comment: I'm downloading Mandriva 2009.0 to hopefully reproduce the problem, but I'm afraid it won't happen. Apparently people that have this issue also reproduce it in different platforms, someone said on http://dev.laptop.org/ticket/7661 that this occurs both on a olpc as well on his mac. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2995 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5006] Duplicate UTF-16 BOM if a file is open in append mode
Antoine Pitrou pit...@free.fr added the comment: Here is a new patch catering to more cases (seek()) in addition to just opening in append mode. -- Added file: http://bugs.python.org/file13445/append_bom-3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5006 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5588] Add --randseed to regrtest
New submission from Collin Winter coll...@gmail.com: Add the ability to control the random seed used by regrtest.py -r. This patch adds a --randseed option, and makes regrtest.py -r indicate what random seed it's using so that that value can later be fed back to --randseed. This option is useful for tracking down test order-related issues found by make buildbottest, for example. -- components: Tests files: randseed.patch keywords: needs review, patch messages: 84322 nosy: collinwinter severity: normal stage: patch review status: open title: Add --randseed to regrtest type: feature request versions: Python 2.7 Added file: http://bugs.python.org/file13446/randseed.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5588 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5589] Wrong dump of floats
New submission from Sebastian Billaudelle st...@cream-project.org: Hi there, I just recognized a weird behaviour of the json module... Dumpig a float like 0.1 I get some crazy output. Here is an example: import json json.dumps([.1]) '[0.10001]' Very simple to reproduce;) - Sebastian -- components: Library (Lib) messages: 84323 nosy: stein severity: normal status: open title: Wrong dump of floats type: behavior versions: Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5589 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5585] implement initializer for multiprocessing.BaseManager.start()
Changes by Jesse Noller jnol...@gmail.com: -- assignee: - jnoller keywords: +needs review -patch nosy: +jnoller ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5585 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5589] Wrong dump of floats
Ezio Melotti ezio.melo...@gmail.com added the comment: .1 0.10001 Read http://docs.python.org/tutorial/floatingpoint.html -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5589 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5324] __subclasses__ undocumented
Georg Brandl ge...@python.org added the comment: Documented in r70648, r70649 (3k). -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5324 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5337] Scanner class in re module undocumented
Georg Brandl ge...@python.org added the comment: The class is commented as being experimental, and the interface probably could use improvement (it's a bit awkward to subclass Scanner), but since it's been around for so long, I guess enough people will be using it that we have to keep it that way and document it. Opinions? -- assignee: effbot - benjamin.peterson nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5337 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5589] Wrong dump of floats
R. David Murray rdmur...@bitdance.com added the comment: As Ezio points out, this is correct Python behavior. -- components: +Interpreter Core -Library (Lib) nosy: +bitdancer resolution: - invalid stage: - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5589 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5564] os.symlink/os.link docs should say old/new, not src/dst
Benjamin Peterson benja...@python.org added the comment: Fixed in r70650. -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5564 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5589] Wrong dump of floats
Changes by Benjamin Peterson benja...@python.org: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5589 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1468223] Hitting CTRL-C while in a loop closes IDLE on cygwin
Miki Tebeka miki.teb...@gmail.com added the comment: Happily(?) I don't use Windows anymore. Closing it. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1468223 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5585] implement initializer for multiprocessing.BaseManager.start()
R. David Murray rdmur...@bitdance.com added the comment: Note that the Multiprocessing docs say that the Process follows the API of threading.Thread, and this would represent a (minor) divergence. I also note that the patch does not contain any tests. -- assignee: jnoller - keywords: +patch nosy: +bitdancer ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5585 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue941262] List with Canvas.create_line Option arrow=LAST Broke
Guilherme Polo ggp...@gmail.com added the comment: Hi Brian (hope you are still there), the code in 31_8.tcl is not complete so I didn't bother looking into it. The tkdraw.py is not really correct, here is a cleaned up version that works: from Tkinter import Tk, Canvas, LAST, ROUND def StrokeBegin(event): print clicked at, event.x, event.y del stroke[:] tuple = (event.x, event.y) stroke.append(tuple) def Stroke(event): tuple = (event.x, event.y) coords = stroke[len(stroke)-1] + tuple stroke.append(tuple) canvas.create_line(coords, tag='segments') def StrokeEnd(event): canvas.delete('segments') if len(stroke) 2: # Just a click happened return canvas.create_line(stroke, tag='line', arrow=LAST, joinstyle=ROUND, smooth=1) stroke = [] root = Tk() canvas = Canvas(root, height=400, width=500) canvas.bind(Button-1, StrokeBegin) canvas.bind(B1-Motion, Stroke) canvas.bind(ButtonRelease-1, StrokeEnd) canvas.pack() root.mainloop() -- nosy: +gpolo resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue941262 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4011] Create DAG for PEP 101
Changes by Brett Cannon br...@python.org: -- assignee: brett.cannon - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4011 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2972] arguments and default path not set in site.py and sitecustomize.py
Changes by Brett Cannon br...@python.org: -- priority: - normal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2972 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3102] ctypes defines global symbols
Matthias Klose d...@debian.org added the comment: These are the symbols on the trunk (20090328). There are *very* general names as well. How should this be resolved? Introduce macros for the old names, or just rename these? module_methods probably could be static. AllocFunctionCallback ArrayType_Type Array_Type CData_AtAddress CData_FromBaseObj CData_Type CData_get CData_set CField_FromDesc CField_Type CFuncPtrType_Type CFuncPtr_Type CThunk_Type CreateArrayType Extend_Error_Info FreeClosure GetType IsSimpleSubType MallocClosure PointerType_Type Pointer_Type _pagesize _pointer_type_cache alloc_format_string conversion_mode_encoding conversion_mode_errors get_error_object getentry init_callbacks_in_module module_methods new_CArgObject Note there's a patch to get rid of FreeClosure: http://cvs.fedoraproject.org/viewvc/devel/python/python-2.6-ctypes-noexecmem.patch?view=markup -- nosy: +doko ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3102 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5590] pyexpat defines global symbol template_string
New submission from Matthias Klose d...@debian.org: pyexpat.c defines the global symbol template_string polluting the global namespace, which isn't used in the module. Is it ok to remove this definition altogether? -- messages: 84333 nosy: doko severity: normal status: open title: pyexpat defines global symbol template_string ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5590 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5591] global symbols in shared libpython not prefixed with Py or _Py
New submission from Matthias Klose d...@debian.org: There are four global symbols in libpython, which have are globally defined, and don't have a Py prefix. Would it be possible to define those with a _Py prefix instead? -- messages: 84334 nosy: doko severity: normal status: open title: global symbols in shared libpython not prefixed with Py or _Py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5591 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5592] Modules/_textio.c defines global symbol encodefuncs
New submission from Matthias Klose d...@debian.org: encodefuncs is only used locally. ok to make this variable static? -- messages: 84335 nosy: doko severity: normal status: open title: Modules/_textio.c defines global symbol encodefuncs ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5592 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4434] Embedding into a shared library fails
Matthias Klose d...@debian.org added the comment: I'm sure it does work, but what is the point of linking statically to libpython.a but then having other dependencies, for example on lib-dynload/time.so? Why not just link to libpython2.5.so in the first place? speed. Using a python executable with a statically linked libpython is about 10% faster on ix86, plus with some compilers on linux profile based optimization can be used on static objects, which doesn't work with shared libraries (at least on linux using gcc). -- nosy: +doko ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4434 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5592] Modules/_textio.c defines global symbol encodefuncs
Antoine Pitrou pit...@free.fr added the comment: Yes, ok. -- assignee: - pitrou components: +Library (Lib) nosy: +pitrou priority: - normal stage: - needs patch type: - behavior versions: +Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5592 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5592] Modules/_textio.c defines global symbol encodefuncs
Antoine Pitrou pit...@free.fr added the comment: Fixed in r70663, thanks! -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5592 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5591] global symbols in shared libpython not prefixed with Py or _Py
Antoine Pitrou pit...@free.fr added the comment: What are those symbols? -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5591 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5585] implement initializer for multiprocessing.BaseManager.start()
Changes by Jesse Noller jnol...@gmail.com: -- assignee: - jnoller ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5585 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2522] locale.format() problems with decimal separator
R. David Murray rdmur...@bitdance.com added the comment: This bug is more subtle than it first appears. As far as I've been able to figure out, there is in fact no way to reliably detect that there is non-format text after the format specifier short of completely parsing the format specifier. I went through several possibilities and found a counter example for each that shows it would introduce new bugs: See if last character of formatted string is different from last char of formatter: format('%s', 'things') would then incorrectly be an error. Make sure last character of format string is a valid format character: format('%fx', a) would be valid, but it has a 'x' on the end which is not part of the format string. (The suggested patch has a false negative in this case as well.) Check for a decimal in the formatted string and if it didn't get transformed, complain: format('%s', '1.234') would fail incorrectly. One could argue that at least \n and \r should be checked for since the output from those cases is least obviously wrong, but I don't think that is a strong argument. The extra control character is almost as visible in the output as the trailing 'x' would be in the above example, and the effects of the trailing x are equally mysterious. To fix this correctly would require reimplementing format parsing in the locale module, which would be a maintenance headache. I'm inclined to close this won't fix, unless someone can come up with a heuristic that won't give false positives or false negatives. -- nosy: +bitdancer resolution: - wont fix stage: - committed/rejected status: open - pending versions: +Python 2.7, Python 3.0, Python 3.1 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2522 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5588] Add --randseed to regrtest
Mark Dickinson dicki...@gmail.com added the comment: +1 on the idea. I'm not sure I understand the patch, though. If the line: random_seed = int(100 * random.random()) produces a random_seed of 0 (or if randseed=0 is supplied as an option), it looks as though random.seed is never called; is this intentional? Also, not that it really matters, but why do you use the expression above instead of the simpler random.randrange(100)? -- nosy: +marketdickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5588 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2578] Figure out what to do with unittest's redundant APIs
Gregory P. Smith g...@krypto.org added the comment: Attaching a patch that adds Google's unittest.TestCase assertFooEqual() extensions and automatically uses rich comparisons in assertEqual() with nicely formatted failure messages for list, tuple, dict, set, frozenset. The following are added by this patch: +def assertSequenceEqual(self, seq1, seq2, msg=None, seq_type=None): +def assertListEqual(self, list1, list2, msg=None): +def assertTupleEqual(self, tuple1, tuple2, msg=None): +def assertSetEqual(self, set1, set2, msg=None): +def assertIn(self, a, b, msg=None): +def assertNotIn(self, a, b, msg=None): +def assertDictEqual(self, d1, d2, msg=None): +def assertDictContainsSubset(self, expected, actual, msg=None): +def assertSameElements(self, expected_seq, actual_seq, msg=None): +def assertMultiLineEqual(self, first, second, msg=None): +def assertLess(self, a, b, msg=None): +def assertLessEqual(self, a, b, msg=None): +def assertGreater(self, a, b, msg=None): +def assertGreaterEqual(self, a, b, msg=None): +def assertIsNone(self, obj, msg=None): +def assertIsNotNone(self, obj, msg='unexpectedly None'): +def assertRaisesWithRegexpMatch(self, expected_exception, expected_regexp, As I said in the dev summit, I'll get some stats on how often each of these are used relative to others from a large code base which has had access to them for some time as an indicator of what may or may not be worth making standard. I did not include assertCommandSucceeds or assertCommandFails as those are more difficult to do the right thing for everyone on cross platform and our internal implementations use some other messy and not integration-worthy internal libraries at the moment. -- Added file: http://bugs.python.org/file13447/unittest-new-asserts-gps01.diff.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2578 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2522] locale.format() problems with decimal separator
Antoine Pitrou pit...@free.fr added the comment: AFAIK, locale.format() is supposed to be used with a single format specifier, not a complete format string. It's up to you to concatenate the various parts afterwards. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2522 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5588] Add --randseed to regrtest
Antoine Pitrou pit...@free.fr added the comment: +1 here too. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5588 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5588] Add --randseed to regrtest
Changes by Collin Winter coll...@gmail.com: Removed file: http://bugs.python.org/file13446/randseed.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5588 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5588] Add --randseed to regrtest
Collin Winter coll...@gmail.com added the comment: The if rand_seed: bit was a relic from a previous iteration; fixed. The only reason I didn't use randrange() is that I didn't see it; fixed. -- Added file: http://bugs.python.org/file13448/randseed.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5588 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1174606] Reading /dev/zero causes SystemError
R. David Murray rdmur...@bitdance.com added the comment: Antoine, I added you to the nosy list for this because it turns out the new io.c segfaults in this case. -- keywords: -patch nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1174606 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2522] locale.format() problems with decimal separator
R. David Murray rdmur...@bitdance.com added the comment: That is true, however the code contains the comment this is only for one-percent-specifier strings and this should be checked, implying that the intent is to make sure only a single format specifier has been passed. I don't think it is reasonable to perfect that check, however. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2522 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5588] Add --randseed to regrtest
Mark Dickinson dicki...@gmail.com added the comment: Updated patch looks good to me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5588 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1174606] Reading /dev/zero causes SystemError
Antoine Pitrou pit...@free.fr added the comment: The reason py3k is a lot longer to crash is because of a slight bug in _fileio.c :-) I'm gonna correct this one first. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1174606 ___ ___ 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: Patch issue2636-patch-1.diff contains a stripped down version of my regex engine and the other changes that are necessary to make it work. -- Added file: http://bugs.python.org/file13449/issue2636-patch-1.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
[issue1174606] Reading /dev/zero causes SystemError
Antoine Pitrou pit...@free.fr added the comment: A fix for py3k was committed in r70664. -- versions: -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1174606 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2497] stdbool support
R. David Murray rdmur...@bitdance.com added the comment: Since Martin said this should be rejected, I'm closing it rejected. -- nosy: +bitdancer resolution: - rejected stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2497 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2570] backport 3.0-style \u/\U processing in raw strings when unicode_literals is imported from __future__
Changes by R. David Murray rdmur...@bitdance.com: -- priority: - normal stage: - test needed type: - behavior versions: +Python 2.7 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2570 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2578] Figure out what to do with unittest's redundant APIs
Antoine Pitrou pit...@free.fr added the comment: With all due respect, I find the presence of numerous type specific functions (assertListEqual, etc.) awful. I don't understand why the type isn't simply cased in the standard assertEqual function. I also don't think adding so many assert methods makes the API easy to remember and pleasant to use. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2578 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5593] test_math.testFsum failure on release30-maint
New submission from Antoine Pitrou pit...@free.fr: I started getting this in release30-maint (not in py3k). == FAIL: testFsum (test.test_math.MathTests) -- Traceback (most recent call last): File /home/antoine/py3k/30/Lib/test/test_math.py, line 443, in testFsum self.assertEqual(actual, expected) AssertionError: 1.1102230246251565e-16 != 0.0 -- -- components: Interpreter Core messages: 84354 nosy: marketdickinson, pitrou priority: normal severity: normal status: open title: test_math.testFsum failure on release30-maint type: behavior versions: Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5593 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5593] test_math.testFsum failure on release30-maint
Antoine Pitrou pit...@free.fr added the comment: It only seems to happen on a 32-bit build on a 64-bit system. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5593 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5593] test_math.testFsum failure on release30-maint
Antoine Pitrou pit...@free.fr added the comment: And it actually also happens in py3k (but only in 32-bit mode, too). -- versions: +Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5593 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2570] backport 3.0-style \u/\U processing in raw strings when unicode_literals is imported from __future__
Changes by R. David Murray rdmur...@bitdance.com: -- keywords: +patch stage: test needed - needs patch Added file: http://bugs.python.org/file13450/issue2570-test.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2570 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2995] Idle, some Linuxes, cannot position Cursor by mouseclick
Guilherme Polo ggp...@gmail.com added the comment: Whoa, it went better than I expected. It failed on Mandriva just like it was mentioned, but I still haven't verified what is causing this problem. And while running IOBinding.py doesn't demonstrate the problem, running EditorWindow.py does. -- versions: +Python 2.7, Python 3.1 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2995 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2577] cmd.py should track input file objects so macros with submacros can be easily written
R. David Murray rdmur...@bitdance.com added the comment: Since it's been almost a year and the OP hasn't responded with an updated patch, I'm closing this as out of date. -- nosy: +bitdancer resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2577 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2578] Figure out what to do with unittest's redundant APIs
Gregory P. Smith g...@krypto.org added the comment: Some statistics from our large code base as to which of the assert methods get used relative to the others: These percentages are relative to the count of assertEqual(s) uses being 100% and cover python code written by a crazy large number of engineers. assertListEqual 4.61% assertNotEqual(s) 1.91% assertDictEqual 1.90% assertIn1.75% assertSameElements 1.08% assertIsNone0.47% assertGreater 0.37% assertMultiLineEqual0.36% assertNotIn 0.36% assertLess 0.24% assertRaisesWithRegexpMatch 0.23% assertIsNotNone 0.20% assertSetEqual 0.16% assertGreaterEqual 0.11% assertLessEqual 0.09% assertTupleEqual0.04% assertSequenceEqual 0.04% assertDictContainsSubset 0.02% assertSequenceEqual is used by the List and Tuple equal functions so its stand alone use isn't that relevant. DictContainsSubset does not appear to be used much. I -did- add casing for the type to the main assertEqual method so it may make sense to make the new type specific methods private so that they're not part of the public API (ie: I agree with pitrou that it seems pointless). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2578 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2578] Figure out what to do with unittest's redundant APIs
Gregory P. Smith g...@krypto.org added the comment: Oh for reference, i left these out but they may interest people for completeness sake. assert_ 15% assertTrue 9% assertFalse 5% We don't currently have the auto type checking in assertEqual in our internal codebase, direct use of the type specific methods has been encouraged in the past but that doesn't mean it is the right thing for Python. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2578 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2599] allow field_name in format strings to default to next positional argument (e.g., {})
R. David Murray rdmur...@bitdance.com added the comment: This was proposed on python-ideas, discussed, approved, and implemented for 2.7 and 3.1. Note that although this wasn't discussed, the internationalization issue is answered by the fact that when internationalizing, you are rewriting the string. At that time if you need a different order of the subsitutions you can specify it, so requiring non-default numbering in the original string doesn't really buy you anything for internationalization. -- nosy: +bitdancer resolution: - accepted stage: - committed/rejected status: open - closed versions: +Python 2.7, Python 3.1 -Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2599 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2568] Seconds range in time unit
R. David Murray rdmur...@bitdance.com added the comment: The 'double leap second' issue has been around a long time and is part of the Posix standard (for some background see http://www.ucolick.org/~sla/leapsecs/onlinebib.html, specifically the section named 'Unix system time and the POSIX standard'). This document notes that the double leap second was still in the standard in 1997, and according to Wikipedia that is after the last revision of the standard, so presumably it is still there. Therefore the time documentation of strftime is correct, since my understanding is that time is a wrapper around the Posix time functions. The datetime docs, on the other hand, are misleading in the strftime documentation. I've attached a doc patch to have the note clarify that datetime does not consume or produce leap seconds. -- keywords: +easy, patch nosy: +bitdancer priority: - low stage: - patch review versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1 Added file: http://bugs.python.org/file13451/issue2568-doc.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2568 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1174606] Reading /dev/zero causes SystemError
R. David Murray rdmur...@bitdance.com added the comment: Antoine, since your fix also goes into the io module in 2.6, and the buggish behavior even of the old code is more cosmetic than problematic, I'm thinking we can just close this as accepted. Do you concur? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1174606 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2591] ErrorHandler buffer overflow in ?unused? SGI extension module almodule.c
Guido van Rossum gu...@python.org added the comment: (Almost) nobody uses these any more, so let's close as won't fix. The SGI modules are removed from 3.0. The few people who still have Irix could probably care less about the buffer overflows, but they *might* care about the modules (otherwise they wouldn't be on Irix :-). -- nosy: +gvanrossum resolution: - wont fix status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2591 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5588] Add --randseed to regrtest
Collin Winter coll...@gmail.com added the comment: Committed as r70672 (trunk) and r70673 (py3k). Thanks for the quick review. -- resolution: - accepted status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5588 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com