[issue6937] multiprocessing lock on OS X Snow Leopard dumps core
aaditya sood aadi...@sood.net.in added the comment: Ronald, if you can also put the magic incantations on a wiki page somewhere it'd really help me out. I can then download 2.6.2 and build it for snow leopard. I can put up a downloadable version for other people if needed. I'm assuming this will bite a lot of people on snow leopard. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6937 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6881] incorrect signature in doc for PyByteArray_Resize
Ezio Melotti ezio.melo...@gmail.com added the comment: Fixed in r74958 (trunk), r74959 (release26-maint), r74960 (py3k) and r74961 (release31-maint). -- resolution: accepted - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6881 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6951] OS X IDLE has two Preferences menus on 2.6.x with Tk 8.4.7
New submission from Ned Deily n...@acm.org: Release blocker On OS X IDLE 2.6 shows two Preference menu items, the second dimmed out, but only when running with an installed Tk 8.4 8.4.7. This is the same problem identified in Issue6100 and was fixed in trunk but not backported. Now that the Apple-supplied 8.4 Tk in 10.6 is 8.4.19, the problem is more serious on 2.6. The attached patch backports r72946 from trunk. -- assignee: ronaldoussoren components: IDLE, Macintosh files: patch-nad0027-26.txt messages: 92883 nosy: ned.deily, ronaldoussoren severity: normal status: open title: OS X IDLE has two Preferences menus on 2.6.x with Tk 8.4.7 versions: Python 2.6 Added file: http://bugs.python.org/file14937/patch-nad0027-26.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6951 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6951] OS X IDLE has two Preferences menus on 2.6.x with Tk 8.4.7
Changes by Georg Brandl ge...@python.org: -- keywords: +easy priority: - critical ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6951 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6713] Integer Long types: Performance improvement of 1.6x to 2x for base 10 conversions
Mark Dickinson dicki...@gmail.com added the comment: I do think it would be unfortunately to not go a little further though - just because we can do better with little effort, we can save a few CPU cycles which means saving time, money and all of this can only be good for the planet. ;-) Gawain, Programmer cycles matter too. :-) Code clarity, especially in the Python core, is valued (at least by me) very highly---for all the usual reasons: readability, maintainability, fewer places for bugs to hide. Verifying the correctness of the shorter version of int_to_decimal_string takes significantly less time, for me, than verifying the longer version. Of course, that's probably partly because I wrote it, but I'd guess that it's still true for an independent viewer. For example, Tim Peters has been heard to say that if he did this all over again, he probably wouldn't have added Karatsuba multplication: http://mail.python.org/pipermail/python-dev/2008-November/083355.html It's not easy deciding where to draw the line, but for me, this particular tiny speed gain (12.5% on a microbenchmark isn't really that significant) just isn't worth this particular (also tiny, admittedly) complexity gain. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6713 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6864] IDLE 2.6.1 locks up on Mac OS 10.6
Ned Deily n...@acm.org added the comment: Here's a status update: After testing 2.6.3-pre-rc1 with various combinations of Apple and ActiveState Tk 8.4 and 8.5 on 10.5 and 10.6, so far I have only seen the new window hang problem with Apple's Tk 10.5 (10.5.7) as supplied with 10.6 Snow Leopard. Although the Apple-supplied 2.6.1 IDLE runs in 64- bit, the same hang shows up with Apple Tk 8.5.7 in 32-bit mode as well (this with a 32-bit 2.6-svn IDLE built on 10.5 in the manner of the standard python.org installers except with AS 8.5 Tk installed during the build). Running this last installer on either 10.6 or 10.5 with AS 8.5.7 installed (32-bit only), I have been unable to reproduce the new window hang. However, there are some other serious issues that I am still investigating. The good news is that, so far with one exception and with admittedly light testing, I have seen no regressions on either 10.6 or 10.5 using Tk 8.4 with 2.6 svn: Apple Tk 10.4.19 on 10.6, Apple Tk 10.4.7 on 10.5, AS Tk 10.4.19 on either 10.5 or 10.6. The exception is documented in Issue6951 with a supplied patch that should be go into 2.6.3. Even without the Tk problems, it is also unfortunate for IDLE users that the Snow Leopard Python is 2.6.1; a number of problems with IDLE on OSX were fixed in 2.6.2. So, with more work to be done, my recommendation at this point is to assume 2.6.3 can be released with an OS X installer dynamically linked as in the past with Tk 8.4 (so usable with either the system Tk 8.4 or a user-installed AS 8.4) and deployable on 10.3.9 through 10.6 on 32-bit Intel and PPC, where applicable. Pending further investigation and resolution, we should say that 2.6.3 does not support Tk 8.5 on OS X - period. -- nosy: +ned.deily ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6864 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6918] ctypes compilation error on SnowLeopard
Ronald Oussoren ronaldousso...@mac.com added the comment: Thomas: I haven't fixed anything yet. The error only happens when building a PPC binary (either a single- architecture build on a PPC machine or a fat binary). The error occurs in assembly files that contain manually constructed C++ exception stack unwind helper segments, I guess those are not entirely valid and the linker got more strict. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6918 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6851] urllib.urlopen crashes in a thread on Snow Leopard
Ronald Oussoren ronaldousso...@mac.com added the comment: The attached patch was not 100% correct in the error handling in the set_proxies functions. That is fixed in the actually commit. Committed as r74962 (trunk), r74963 (2.6). -- resolution: accepted - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6851 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5413] urllib ctypes error on Mac OS X Server 10.5
Ronald Oussoren ronaldousso...@mac.com added the comment: I've just committed a fix for another issue and that completely removes the ctypes-based code that causes this issue (replacing it by a C extension) Therefore this issue should no longer occur and hence can be closed. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5413 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6934] [PATCH] postflight.framework script (from the Mac OS X .dmg installer) fails.
Ronald Oussoren ronaldousso...@mac.com added the comment: I've fixed this issue in all 4 active branches. -- resolution: - fixed stage: - committed/rejected status: open - closed type: compile error - behavior versions: +Python 2.6, Python 2.7 -Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6934 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6952] deprecated conversion from string constant to char *
New submission from Barry Alan Scott barry-sc...@users.sourceforge.net: Many Python API functions are causing GCC to rightly complain that const char * strings are being passed to python functions that take char * but do not need to modify the args. g++ reports example.cxx:633: warning: deprecated conversion from string constant to ‘char*’ The example I encountered today, while testing PyCXX against G++ 4.2.1 on Mac OS X, was PyObject_CallMethod but it is not limited to this function. Would a patch help progress this issue? -- components: Interpreter Core messages: 92890 nosy: barry-scott severity: normal status: open title: deprecated conversion from string constant to char * type: compile error versions: Python 2.6, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6952 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6864] IDLE 2.6.1 locks up on Mac OS 10.6
Kevin Walzer wordt...@users.sourceforge.net added the comment: I don't understand the logic of saying that IDLE in Python 2.6.3 will not support Tk 8.5 in any fashion when you say that it runs fine with ActiveState Tk 8.5. 8.4 is obsolete. The new window hang bug is specific to the version of Tk 8.5.7. If ActiveState's build works, then why not say you need to install your own version of Tk 8.5 for it to work? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6864 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5080] PyArg_Parse* should raise TypeError for float parsed with integer format
Changes by Marcin Wider mwi...@gmail.com: -- nosy: +marcin.wider ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5080 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6937] multiprocessing lock on OS X Snow Leopard dumps core
Ronald Oussoren ronaldousso...@mac.com added the comment: To build universal build of Python use --enable-universalsdk or -- enable-universalsdk=/ (the former defaults to the 10.4 SDK, which doesn't support a 64-bit build). You can then use the --with- universal-archs option to select the type of build you want. Anyway, I can confirm that this does not affect either the trunk or the HEAD of release26-maint. Closing this issue as out of date. aaditya: you don't have to provide a seperate build for 10.6. Python 2.6.3 will be released soon and we will ship a Mac installer for that. As an aside: never replace /System/Library/Framework/Python.framework by something else. Apple ships a patched version of Python and replacing the system version might break the system or 3th-party applications. -- resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6937 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6953] readline documenation needs work
New submission from Ronald Oussoren ronaldousso...@mac.com: The documentation for the readline module is a bit too minimal. 1) function 'add_history' is described at the end of the documentation, not near the other functions for manipulation the history stack. 2) the index for remove_history_item and replace_history_item is 0- based, while the index for get_history_item is 1-based. The latter is a confusing API in the underlying readline library and should IMO be described in Python's documentation. (If readline were a new addition to the stdlib I'd prefer to fix the interface, but that would have too many backward compatibility issues at this point in time). -- assignee: georg.brandl components: Documentation messages: 92893 nosy: georg.brandl, ronaldoussoren severity: normal status: open title: readline documenation needs work type: feature request versions: Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6953 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6877] enable compilation of readline module on Mac OS X 10.5 and 10.6
Ronald Oussoren ronaldousso...@mac.com added the comment: Mark: it turns out that GNU readline has a rather odd interface, only the index of get_history_item is 1-based, all others are 0-based. This is not mentioned in the documentation (neither that of the readline module or the GNU documentation). I've attached a very minimal testcase for the history manipulation functions in the readline module that passes with GNU readline. The tests now also pass using libedit emulation (after fixing the compilation issues noted by Zvezdan). I'll file a new issue about the readline documentation, that's unrelated to getting libedit support into the repository. -- Added file: http://bugs.python.org/file14938/test_readline.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6877 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6877] enable compilation of readline module on Mac OS X 10.5 and 10.6
Ronald Oussoren ronaldousso...@mac.com added the comment: Committed my latest version of the patch as r74970 (trunk) and r74971 (3.2) Barry: what's your opinion on a backport of this to 2.6? -- nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6877 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6877] enable compilation of readline module on Mac OS X 10.5 and 10.6
Changes by Ronald Oussoren ronaldousso...@mac.com: -- resolution: - fixed stage: - committed/rejected type: crash - compile error ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6877 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6872] Support system readline on OS X 10.6
Ronald Oussoren ronaldousso...@mac.com added the comment: This is a duplicate of issue 6877, I'm therefore closing this one. I've just committed a slightly updated patch from that issue to the trunk and 3.2. -- resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6872 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3962] single architecture framework build fails on OS X 10.5
Ronald Oussoren ronaldousso...@mac.com added the comment: This should be fixed in the trunk and 2.6 branches due to autodetection of the -arch_only flag (which was needed for OSX 10.6 support) -- assignee: - ronaldoussoren nosy: +ronaldoussoren resolution: - fixed status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3962 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6812] Snow Leopard python program fails because _PyType_Modified is missing from python framework
Ronald Oussoren ronaldousso...@mac.com added the comment: The value of sys.path is rather strange, it includes both the system Python.framework and one in /Library/Frameworks. Have you installed a copy of Python (for example by using the 2.6.2 installer on the Python.org website)? If so, have you added symbolic links or a .pth file that adds bits of the system installation to that separate install? On my system the sys.path for the Python in /Library does not contain bits of /System/Library, and neither does sys.path for Apple's install of Python refer to /Library/Frameworks. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6812 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1766304] improve xrange.__contains__
Robert Lehmann lehman...@gmail.com added the comment: I revised the patch for Python 3.1 and added notices to Misc/NEWS and the range documentation. (Changing Type to resource usage.) -- nosy: +lehmannro type: feature request - resource usage Added file: http://bugs.python.org/file14939/range.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1766304 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6864] IDLE 2.6.1 locks up on Mac OS 10.6
Ned Deily n...@acm.org added the comment: @Kevin: I didn't say it runs fine with ActiveState TK 8.5.7; that's what the other serious issues refer to. I need to do some more work to isolate those problems. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6864 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6945] pprint.pprint does not pprint unsortable dicts in Python 3
Antoine Pitrou pit...@free.fr added the comment: Is it the same as #3976? -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6945 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6945] pprint.pprint does not pprint unsortable dicts in Python 3
Armin Ronacher armin.ronac...@active-4.com added the comment: Yes. Appears to be related. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6945 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3976] pprint._safe_repr is not general enough in one instance
Changes by Armin Ronacher armin.ronac...@active-4.com: -- nosy: +aronacher ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3976 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6945] pprint.pprint does not pprint unsortable dicts in Python 3
Armin Ronacher armin.ronac...@active-4.com added the comment: Duplicate of #3976 -- resolution: - duplicate ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6945 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6945] pprint.pprint does not pprint unsortable dicts in Python 3
Changes by Armin Ronacher armin.ronac...@active-4.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6945 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3976] pprint._safe_repr is not general enough in one instance
Georg Brandl ge...@python.org added the comment: Also note that this patch will not sort sequences of mixed types where some types are intercomparable correctly (in the way that Python 2 did), e.g. for {1:2, 2:3, 'a':4, 1.5: 5} the 1.5 key will not be placed between the 1 and 2 keys. I'm not aware of a way to implement that behavior without support for a general comparison function instead of a DSU key function. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3976 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3976] pprint._safe_repr is not general enough in one instance
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: I'm thinking that pprint should not try to sort unsortable items. try: items = sorted(items) except TypeError: items = list(items) -- assignee: - rhettinger nosy: +rhettinger versions: +Python 3.1, Python 3.2 -Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3976 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3976] pprint._safe_repr is not general enough in one instance
Georg Brandl ge...@python.org added the comment: OK, there *is* a way. Consider this: class safe_key(object): __slots__ = ('obj',) def __init__(self, obj): self.obj = obj def __eq__(self, other): return self.obj.__eq__(other.obj) def __lt__(self, other): try: return self.obj other.obj except TypeError: return id(type(self.obj)) id(type(other.obj)) ls = [2, 1, 1.0, 1.5, 'a', 'c', 'b'] print(sorted(ls, key=safe_key)) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3976 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3976] pprint._safe_repr is not general enough in one instance
Armin Ronacher armin.ronac...@active-4.com added the comment: @Georg: Instead of catching a TypeError i would rather call __gt__ / __lt__ directly and check for NotImplemented. Python 2.x did not catch TypeErrors either. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3976 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3976] pprint._safe_repr is not general enough in one instance
Armin Ronacher armin.ronac...@active-4.com added the comment: Eg, something like this: class safe_key(object): __slots__ = ('obj',) def __init__(self, obj): self.obj = obj def __eq__(self, other): return self.obj.__eq__(other.obj) def __lt__(self, other): rv = self.obj.__lt__(other.obj) if rv is NotImplemented: rv = id(type(self.obj)) id(type(other.obj)) return rv ls = [2, 1, 1.0, 1.5, 'a', 'c', 'b'] print(sorted(ls, key=safe_key)) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3976 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2504] Add gettext.pgettext() and variants support
Changes by Christoph Zwerschke c...@online.de: -- nosy: +cito ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2504 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6918] ctypes compilation error on SnowLeopard
Ronald Oussoren ronaldousso...@mac.com added the comment: I've merged the latest copy of Apple's version of libffi into libffi_osx, that ensures that libffi compiles again on OSX 10.6. Checked in in r74972 (trunk), r74973 (2.6), r74974 (3.x), r74975 (3.1). -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6918 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6951] OS X IDLE has two Preferences menus on 2.6.x with Tk 8.4.7
Ronald Oussoren ronaldousso...@mac.com added the comment: I've svnmerge-d the patch in r74976. BTW. Thanks for checking the various Tk releases on 10.5/10.6. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6951 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6864] IDLE 2.6.1 locks up on Mac OS 10.6
Ronald Oussoren ronaldousso...@mac.com added the comment: I agree that we should mention in the news file that Apple's version of Tk 8.5 in Snow Leopard causes problems with IDLE. W.r.t. Tk 8.4 vs. 8.5: the 2.6 binary releases will be linked to Tk 8.4 because of two reasons. Firstly all 2.6 releases upto now were linked with Tk 8.4, and secondly IMO it is important that IDLE.app works out of the box on all supported OSX releases. I'm willing to review patches for 2.7/3.2 that enable shipping two copies of _tkinter.so in the installer and automaticly selecting the best one at runtime (that is, ensure that import _tkinter imports the 8.5 version when that is available and the 8.4 version otherwise). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6864 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6864] IDLE 2.6.1 locks up on Mac OS 10.6
Ronald Oussoren ronaldousso...@mac.com added the comment: To explain my previous entry about shipping 8.4 and 8.5 versions of _tkinter, one way to implement this is: * Build two copies of _tkinter.so: _tkinter84.so and _tkinter85.so * Add _tkinter.py to Lib/plat-mac with the following contents: try: from _tkinter85 import * except ImportError: from _tkinter84 import * -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6864 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5764] 2.6.2 Python Manuals CHM file seems broken
Georg Brandl ge...@python.org added the comment: 2.6.3 will be out soon with a valid chm again. -- resolution: - later status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5764 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6864] IDLE 2.6.1 locks up on Mac OS 10.6
Ronald Oussoren ronaldousso...@mac.com added the comment: The problem is *not* reproducible using the trunk (2.7). I haven't been able to isolate the change that fixes the issue. As a quick hack I replaced _tkinter.so and Lib/idlelib/*.py in a 2.6 tree by the same files from the trunk. That didn't fix the issue, which probably indicates that some unrelated checkin accidently fixed the issue in the trunk. Both the trunk and 2.6 have a menu named IDLE to the right and have About Tcl/Tk in the application menu. (This is when using Apple's Tk 8.5 on OSX 10.6). That might be fixed by the patches in issue 6075. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6864 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6864] IDLE 2.6.1 locks up on Mac OS 10.6
Ronald Oussoren ronaldousso...@mac.com added the comment: I'm re-prioritizing this as high because the binary installer won't suffer from this issue and there is no straightforward bugfix. -- priority: release blocker - high ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6864 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6951] OS X IDLE has two Preferences menus on 2.6.x with Tk 8.4.7
Changes by Ronald Oussoren ronaldousso...@mac.com: -- resolution: - accepted stage: - committed/rejected status: open - closed type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6951 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6954] DISTUTILS_DEBUG causes stack trace, really simple fix
New submission from Ned Batchelder ned...@users.sourceforge.net: If you set the environment variable DISTUTILS_DEBUG=1, distutils will run with DEBUG, which will trace internal activity. But one of the traces is incorrect, and leads to this stack trace: Traceback (most recent call last): File setup.py, line 116, in module **more_setup_args File c:\python31\lib\distutils\core.py, line 123, in setup dist.parse_config_files() File c:\python31\lib\distutils\dist.py, line 357, in parse_config_files self.announce( reading, filename) File c:\python31\lib\distutils\dist.py, line 911, in announce log.log(level, msg) File c:\python31\lib\distutils\log.py, line 31, in log self._log(level, msg, args) File c:\python31\lib\distutils\log.py, line 20, in _log if level = self.threshold: TypeError: unorderable types: str() = int() The fix is simple: at line 356 of dist.py, change: if DEBUG: self.announce( reading, filename) to: if DEBUG: self.announce( reading + filename) -- assignee: tarek components: Distutils messages: 92916 nosy: nedbat, tarek severity: normal status: open title: DISTUTILS_DEBUG causes stack trace, really simple fix versions: Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6954 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6952] deprecated conversion from string constant to char *
Martin v. Löwis mar...@v.loewis.de added the comment: A patch would definitely help. Such a patch shouldn't whole-sale replace char with const char, but selectively only change locations where it is actually necessary and doesn't hurt. -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6952 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6954] DISTUTILS_DEBUG causes stack trace, really simple fix
Ned Batchelder ned...@users.sourceforge.net added the comment: Another one: Traceback (most recent call last): File setup.py, line 72, in module **addl_args File c:\python31\lib\distutils\core.py, line 149, in setup dist.run_commands() File c:\python31\lib\distutils\dist.py, line 919, in run_commands self.run_command(cmd) File c:\python31\lib\distutils\dist.py, line 937, in run_command cmd_obj.ensure_finalized() File c:\python31\lib\distutils\cmd.py, line 109, in ensure_finalized self.finalize_options() File c:\python31\lib\distutils\command\install.py, line 315, in finalize_options self.dump_dirs(pre-finalize_{unix,other}) File c:\python31\lib\distutils\command\install.py, line 427, in dump_dirs opt_name = opt_name.translate(longopt_xlate) TypeError: 'function' object is not subscriptable -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6954 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6954] DISTUTILS_DEBUG causes stack trace, really simple fix
Tarek Ziadé ziade.ta...@gmail.com added the comment: Thanks for noticing this. I'll add some test covering these and fix the problems. -- priority: - normal resolution: - accepted ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6954 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6955] Max() Not Working Properly
New submission from lovelygoo2 smergibblegibber...@usa.com: max(['34', '7']) '7' #This happens because it is comparing strings. #I have found a way to fix it though. def Max(li): ...greatest=li[0] ...for item in li: ...for item2 in li: ...if int(item)int(item2) or int(item)greatest: ...break ...else: ...greatest=int(item) ...return(greatest) -- components: IDLE messages: 92920 nosy: lovelygoo2 severity: normal status: open title: Max() Not Working Properly versions: Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6955 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6955] Max() Not Working Properly
Benjamin Peterson benja...@python.org added the comment: This is the way strings are compared. You can change this easily, though, using max(list_of_string_numbers, key=int). -- nosy: +benjamin.peterson resolution: - wont fix status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6955 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6715] xz compressor support
Changes by Leon Matthews l...@lost.co.nz: -- nosy: +leonov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6715 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com