[issue4186] type() doesn't accept bases and dict keyword arguments
New submission from Barry A. Warsaw [EMAIL PROTECTED]: According to bug 1683368, Python 3.0's object.__init__() no longer accepts arbitrary keyword arguments. What's new in Python 2.6 says the same thing has been implemented in 2.6. However, type() no longer accepts /any/ keyword arguments, including the documented 'bases' and 'dict' keyword arguments. This seems to be a bug. It's not clear to me we no longer want to support type()'s documented keyword arguments, but even if we do, we should deprecate them in 2.6 and remove them in 2.7. The work around is fairly easy (pass positional args), but this will still break existing code. -- components: Interpreter Core messages: 75136 nosy: barry priority: critical severity: normal status: open title: type() doesn't accept bases and dict keyword arguments versions: Python 2.6 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4186 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4178] codecs: Documentation Inconsistency
Walter Dörwald [EMAIL PROTECTED] added the comment: I agree that the documentation should be fixed to read encode/decode instead of encoder/decoder. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4178 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4049] IDLE does not open too
nut [EMAIL PROTECTED] added the comment: would you help me to open IDLE it can't open in 2.6 version but can use python in terminal my OS is MacOSX. I'm the new one in python so, i need you help very much. -- components: +IDLE nosy: +zeromtmu -Chris_L, Raj, giampaolo.rodola, loewis, scionkiller title: IDLE does not open at all - IDLE does not open too ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4049 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4174] Performance optimization for min() and max() over lists
Hrvoje Nikšić [EMAIL PROTECTED] added the comment: Note that the item retrieved by PyList_GET_ITEM must be increffed before being passed to the function. Otherwise mutating the list can remove the item from the list and destroy the underlying object, in which case the current maxitem can refer to a freed object. This pitfall is described in http://docs.python.org/extending/extending.html#thin-ice in some detail. -- nosy: +hniksic ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4174 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3518] multiprocessing: BaseManager.from_address documented but doesn't exist
Mart Sõmermaa [EMAIL PROTECTED] added the comment: The documentation should be amended as follows: Running the following commands creates a server for a single shared queue which remote clients can access: from multiprocessing.managers import BaseManager import Queue queue = Queue.Queue() class QueueManager(BaseManager): pass ... QueueManager.register('getQueue', callable=lambda:queue) m = QueueManager(address=('', 5), authkey='abracadabra') s = m.get_server() s.serve_forever() One client can access the server as follows: from multiprocessing.managers import BaseManager class QueueManager(BaseManager): pass ... QueueManager.register('getQueue') m = QueueManager(address=('localhost', 5), authkey='abracadabra') m.connect() q = m.getQueue() q.put('hello') Another client can also use it: from multiprocessing.managers import BaseManager class QueueManager(BaseManager): pass ... QueueManager.register('getQueue') m = QueueManager(address=('localhost', 5), authkey='abracadabra') m.connect() q = m.getQueue() q.get() -- nosy: +mrts ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3518 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3518] multiprocessing: BaseManager.from_address documented but doesn't exist
Mart Sõmermaa [EMAIL PROTECTED] added the comment: Also, it would be helpful to elaborate a bit more on: major: * how to implement a queue that is shared both locally and remotely (i.e. n local processes access the queue as well as m remote processes) minor: * blocking (assumption: q.get() blocks on socket.recv()) * timeout (assumption: the socket does not time out, e.g. q.get() blocks endlessly on socket.recv()) ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3518 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4177] Crash in MIMEText on FreeBSD
Sérgio Surkamp [EMAIL PROTECTED] added the comment: Testing on Linux: $ ulimit -m 128000 $ ulimit -v 196000 $ python test_MIMEText.py [...] Traceback (most recent call last): File test_MIMEText.py, line 23, in module txt = MIMEText(buffer, _subtype=plain, _charset=iso-8859-1) File /usr/lib/python2.5/email/mime/text.py, line 30, in __init__ self.set_payload(_text, _charset) File /usr/lib/python2.5/email/message.py, line 220, in set_payload self.set_charset(charset) File /usr/lib/python2.5/email/message.py, line 262, in set_charset self._payload = charset.body_encode(self._payload) File /usr/lib/python2.5/email/charset.py, line 386, in body_encode return email.quoprimime.body_encode(s) File /usr/lib/python2.5/email/quoprimime.py, line 198, in encode body = fix_eols(body) File /usr/lib/python2.5/email/utils.py, line 77, in fix_eols s = re.sub(r'(?!\r)\n', CRLF, s) File /usr/lib/python2.5/re.py, line 150, in sub return _compile(pattern, 0).sub(repl, string, count) MemoryError Ok. Setting a low ulimit for memory and vmemory, raise a MemoryError on Linux too. Chacking the same limits on FreeBSD, they are set to unlimited, so the problem should not occour there. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4177 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4178] codecs: Documentation Inconsistency
Walter Dörwald [EMAIL PROTECTED] added the comment: Fixed in r67005 (trunk) and r67006 (pk3k). -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4178 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4187] IDLE will not start.
New submission from ldehkire [EMAIL PROTECTED]: IDLE will not start. I have installed python via the python-2.6-macosx.dmg image found on http://www.python.org/download/. I didn't find any resolutions in bugs.python.org, but did note that you are having some trouble with tk (as discussed in other bugs). I haven't tried much to troubleshoot the issue yet other than note that the 2.5 version of IDLE does start. Below is some info on the problem: I see the following in my logs every time I try and start IDLE: Oct 23 07:15:03 kaos [0x0-0x30030].org.python.IDLE[333]: Traceback (most recent call last): Oct 23 07:15:03 kaos [0x0-0x30030].org.python.IDLE[333]: File /Applications/Python 2.6/IDLE.app/Contents/Resources/idlemain.py, line 6, in module Oct 23 07:15:03 kaos [0x0-0x30030].org.python.IDLE[333]: from idlelib.PyShell import main Oct 23 07:15:03 kaos [0x0-0x30030].org.python.IDLE[333]: File /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/idlelib/PyShell.py, line 14, in module Oct 23 07:15:03 kaos [0x0-0x30030].org.python.IDLE[333]: import macosxSupport Oct 23 07:15:03 kaos [0x0-0x30030].org.python.IDLE[333]: File /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/idlelib/macosxSupport.py, line 6, in module Oct 23 07:15:03 kaos [0x0-0x30030].org.python.IDLE[333]: import Tkinter Oct 23 07:15:03 kaos [0x0-0x30030].org.python.IDLE[333]: File /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk/Tkinter.py, line 39, in module Oct 23 07:15:03 kaos [0x0-0x30030].org.python.IDLE[333]: import _tkinter # If this fails your Python may not be configured for Tk Oct 23 07:15:03 kaos [0x0-0x30030].org.python.IDLE[333]: ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/_tkinter.so, 2): Library not loaded: /Library/Frameworks/Tcl.framework/Versions/8.5/Tcl Oct 23 07:15:03 kaos [0x0-0x30030].org.python.IDLE[333]: Referenced from: /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/_tkinter.so Oct 23 07:15:03 kaos [0x0-0x30030].org.python.IDLE[333]: Reason: image not found Oct 23 07:15:03 kaos com.apple.launchd[87] ([0x0-0x30030].org.python.IDLE[333]): Exited with exit code: 1 I looked, and found the following in the referenced directory: -rwxrwxr-x 1 root admin 225936 Oct 1 17:49 _tkinter.so System info: MacBook Pro, Intel Core 2 Duo, 2 GB RAM, Mac OS X 10.5.5 -- components: IDLE messages: 75144 nosy: ldehkire severity: normal status: open title: IDLE will not start. type: crash versions: Python 2.6 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4187 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3997] zipfile and winzip
vali [EMAIL PROTECTED] added the comment: I could verify that the patch works with both the Windows Compress utility, WinZip and 7zip. Thank you! ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3997 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4187] IDLE will not start.
nut [EMAIL PROTECTED] added the comment: it same as me. If you can open that please help me. -- nosy: +zeromtmu ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4187 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4187] IDLE will not start.
Guilherme Polo [EMAIL PROTECTED] added the comment: Closing this in favor of issue4017. Check if anything there works for you, or add something new. -- nosy: +gpolo resolution: - duplicate status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4187 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4184] Remove use of private attributes in smtpd
Changes by Giampaolo Rodola' [EMAIL PROTECTED]: -- nosy: +giampaolo.rodola ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4184 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4171] SSL handshake fails after TCP connection in getpeername()
Changes by Giampaolo Rodola' [EMAIL PROTECTED]: -- nosy: +giampaolo.rodola, janssen ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4171 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4017] Tkinter cannot find Tcl/Tk on Mac OS X
Benjamin Peterson [EMAIL PROTECTED] added the comment: Assigning to Ronald. I all that needs to be done, it have the installers built correctly. -- assignee: - ronaldoussoren nosy: +ronaldoussoren ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4017 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4188] Lib/threading.py causes infinite recursion when running as verbose
New submission from Guilherme Polo [EMAIL PROTECTED]: Lib/threading.py gets into infinite recursion while testing (or using) it with verbose set. This didn't happen before because Thread.__started didn't use to be an Event, but now it is. Typical situation: _DummyThread calls _Thread__started.set, which calls __started.__cond.notify_all(), which calls __cond.notify(). If there are no waiters, it calls _Verbose._note, which calls currentThread, but if there is no current thread _DummyThread is called, which calls _Thread__started.set ... -- components: Library (Lib) files: move_Thread__started.diff keywords: patch messages: 75149 nosy: gpolo severity: normal status: open title: Lib/threading.py causes infinite recursion when running as verbose versions: Python 2.6, Python 2.7, Python 3.0, Python 3.1 Added file: http://bugs.python.org/file11869/move_Thread__started.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4188 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4189] Tilde compression isn't applied in TOC
New submission from Jeffrey Harris [EMAIL PROTECTED]: When Sphinx builds TOC nodes, it isn't applying the tilde rule (use only the last dotted name). For example compare the heading for: http://people.osafoundation.org/~jeffrey/rearch_documentation/Chandler-Platform/Core.html#the-dashboardentry-class to the table of contents at the top of the page, or to the node's link on: http://people.osafoundation.org/~jeffrey/rearch_documentation/Chandler-Platform/README.html -- assignee: georg.brandl components: Documentation tools (Sphinx) messages: 75150 nosy: georg.brandl, jeffreyharris severity: normal status: open title: Tilde compression isn't applied in TOC type: behavior ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4189 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4190] IDLE (2.6) doesn't stay open
New submission from Andrew Shaw [EMAIL PROTECTED]: Downloaded Python 2.6 for Mac OS X. When launching IDLE.app, it puts the icon on the dock for a second, then disappears. Nothing else ever happens. X11 does not open either. -- components: IDLE messages: 75151 nosy: andrew.t.shaw7 severity: normal status: open title: IDLE (2.6) doesn't stay open type: crash versions: Python 2.6 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4190 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4190] IDLE (2.6) doesn't stay open
Benjamin Peterson [EMAIL PROTECTED] added the comment: Duplicate of #4017. -- nosy: +benjamin.peterson resolution: - duplicate status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4190 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4120] Do not embed manifest files in *.pyd when compiling with MSVC
Mark Hammond [EMAIL PROTECTED] added the comment: I don't see a problem with this and can see how it would help with private assemblies. -- nosy: +mhammond ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4120 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com