[issue12181] SIGBUS error on OpenBSD (sparc64)
Charles-François Natali neolo...@free.fr added the comment: @neologix: New try. Why did you remove your patch? Sorry, I completely forgot about this issue. Because it was incorrect (it would have fixed the SIGBUS, but would have produced incorrect results). IIRC, the problem is that those members are used in several places, so it requires a little bit more work to produce a clean patch. I'll try to provide a new one in a couple days, but since I don't have any OpenBSD box, I won't be able to test it myself. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12181 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12502] 100% cpu usage when using asyncore with UNIX socket
Charles-François Natali neolo...@free.fr added the comment: Looks good, the patch seems to fix the problem. Alright. Giampaolo, do you agree? Also, I noticed that test_asyncore currently only tests AF_INET sockets. I'm working a patch to add AF_UNIX (and maybe AF_INET6) tests. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12502 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12326] Linux 3: tests should avoid using sys.platform == 'linux2'
Charles-François Natali neolo...@free.fr added the comment: @neologix: I don't understand why do you want to hurry, this issue will not be fixed in the next release (3.2.1, it's too late), and I don't think that the next release (3.3? or is it something before?) will come before few months. Well, I'm not familiar (yet :-) with the release cycle, but I was concerned with the upcoming Linux 3.0 release (probably a matter of weeks now). But if we can't reach a consensus here, we should maybe move this discussion to the mailing list. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12326 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12502] 100% cpu usage when using asyncore with UNIX socket
Giampaolo Rodola' g.rod...@gmail.com added the comment: Sorry for delay. Yes, patch looks ok to me and some tests for AF_UNIX sockets would definitively be welcome. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12502 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11969] Can't launch multiproccessing.Process on methods
Changes by Petri Lehtinen pe...@digip.org: -- stage: test needed - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11969 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1982] Feature: extend strftime to accept milliseconds
Ben magicbad...@gmail.com added the comment: Sorry to chime in on an old issue. Whilst it is good to have the ability to format the string up to microsecond precision, it would be better to be able to control the precision used. For instance, the ISO8601 specification states that there is no strictly defined precision to be used, and that any such precision should be agreed between parties exchanging ISO8601 datetimes. Would it be possible to state the precision when formatting ISO8601 datetimes - e.g. %3f to only print up to millisecond precision? presumable %f would keep the original functionality of printing right up to the microseconds. -- nosy: +magicbadger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1982 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12504] packaging: fix uninstall and stop skipping its tests
Éric Araujo mer...@netwok.org added the comment: Excellent! I will apply this. I looked through the rest of database.py and did not see any other generators that appeared to erroneously hold a file handle open. Me neither. Thanks for checking. In addition there is one generator function (list_distinfo_files) which feeds off of the generator I have changed but I didn't see a need to alter them as they work fine as generators. I think using a generator can save some memory, if the underlying list is huge, but the important thing here is that all functions with a similar name (list_*) behave in a consistent way, i.e. returning lists or generators but not a mix. -- priority: normal - high ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12504 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10117] Tools/scripts/reindent.py fails on non-UTF-8 encodings
Éric Araujo mer...@netwok.org added the comment: Even with PYTHONIOENCODING? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10117 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8668] Packaging: add a 'develop' command
Changes by Éric Araujo mer...@netwok.org: Added file: http://bugs.python.org/file22614/b1b9da3b3d20.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8668 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12279] Add build_distinfo command to packaging
Éric Araujo mer...@netwok.org added the comment: I forgot one thing: setuptools’ egg_info command does write a list of paths, so we can look at how it solved the problem with the RECORD and RESOURCES files. I was wrong: I just checked the output of egg_info, and it does not generate files with paths. So, what do we do? 1) don’t generate RECORD at all → invalid PEP 376 2) generate RECORD with paths to the files in the build dir 3) other? 4) don’t add a build_distinfo command, just run install_distinfo to the build dir from the test and develop commands -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12279 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12344] Add **kwargs to get_reinitialized_command
Éric Araujo mer...@netwok.org added the comment: I don’t know if you’ve seen the review I made (there is a bug with user names on the code review site, sometimes mail does not get sent). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12344 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11512] adding test suite for cgitb
Antoine Pitrou pit...@free.fr added the comment: Not sure this is related, but test_robotparser has started failing on one of the buildbots after this change: http://www.python.org/dev/buildbot/all/builders/AMD64%20Gentoo%20Wide%203.x/builds/2070 -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11512 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12519] Call next version 3.3.0
New submission from Éric Araujo mer...@netwok.org: As discussed and agreed shortly before the 3.2 release, it’d be best to call the first 3.3 release 3.3.0. -- assignee: georg.brandl messages: 140025 nosy: eric.araujo, georg.brandl, terry.reedy priority: normal severity: normal status: open title: Call next version 3.3.0 versions: Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12519 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12503] with statement error message is more confusing in Py2.7
Éric Araujo mer...@netwok.org added the comment: Could AttributeError be improved to say something like this: AttributeError: type 'type' has no attribute '__enter__' -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12503 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12515] email modifies the message structure when the parsed email is invalid
Changes by Éric Araujo mer...@netwok.org: -- assignee: - r.david.murray components: +Library (Lib) -None stage: - needs patch title: The email package modifies the message structure (when the parsed email is invalid) - email modifies the message structure when the parsed email is invalid type: - behavior versions: +Python 3.2, Python 3.3 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12515 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12277] Missing comma in os.walk docs
Éric Araujo mer...@netwok.org added the comment: “pending” does not mean “soon to be fixed”, but “soon to be closed if nobody reacts”. In the future, we may have auto-closing of pending bugs. -- status: pending - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12277 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12169] Factor out common code for d2 commands register, upload and upload_docs
Roundup Robot devnull@devnull added the comment: New changeset c2785ed52ed4 by Éric Araujo in branch 'default': Factor out code used by packaging commands for HTTP requests (#12169). http://hg.python.org/cpython/rev/c2785ed52ed4 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12169 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11512] adding test suite for cgitb
Robbie Clemons robclem...@gmail.com added the comment: Pretty sure it has nothing to do with the new cgitb test. Apparently testPasswordProtectedSite (test.test_robotparser.NetworkTestCase) uses website http://mueblesmoraleda.com to run it's test and that site is currently down. On Fri, Jul 8, 2011 at 7:58 AM, Antoine Pitrou rep...@bugs.python.org wrote: Antoine Pitrou pit...@free.fr added the comment: Not sure this is related, but test_robotparser has started failing on one of the buildbots after this change: http://www.python.org/dev/buildbot/all/builders/AMD64%20Gentoo%20Wide%203.x/builds/2070 -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11512 ___ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11512 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12169] Factor out common code for d2 commands register, upload and upload_docs
Éric Araujo mer...@netwok.org added the comment: I added a few blank lines, changed the error message when boundary is not bytes, moved test_encode_multipart to test_util.py and committed. Thanks again! -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12169 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4672] Distutils SWIG support blocks use of SWIG -outdir option
Éric Araujo mer...@netwok.org added the comment: Lists are used because that’s what the UNIX exec call accepts, or the constructor of subprocess.Popen. About using %r in error messages, see also #11599. -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4672 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11352] Update cgi module doc
Changes by Éric Araujo mer...@netwok.org: -- keywords: +needs review, patch nosy: +amaury.forgeotdarc, andyharrington, erob, flox, gagenellina, haypo, oopos, pebbe, r.david.murray, tcourbon, tobias, v+python priority: normal - high stage: - patch review title: Bug in cgi module doc - Update cgi module doc type: behavior - versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11352 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12504] packaging: fix uninstall and stop skipping its tests
Roundup Robot devnull@devnull added the comment: New changeset 2b9a0a091566 by Éric Araujo in branch 'default': Close file handles in a timely manner in packaging.database (#12504). http://hg.python.org/cpython/rev/2b9a0a091566 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12504 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12504] packaging: fix database to stop skipping uninstall tests on win32
Éric Araujo mer...@netwok.org added the comment: Edited a bit and committed. Thanks again! -- resolution: - fixed stage: patch review - committed/rejected status: open - closed title: packaging: fix uninstall and stop skipping its tests - packaging: fix database to stop skipping uninstall tests on win32 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12504 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12519] Call next version 3.3.0
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12519 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12516] imghdr.what should take one argument
SilentGhost ghost@gmail.com added the comment: This seems like a change suitable for 3.3 -- nosy: +SilentGhost versions: +Python 3.3 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12516 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12440] test_ssl.test_options() failure on Snow Leopard: can't clear options before OpenSSL 0.9.8m
Roundup Robot devnull@devnull added the comment: New changeset 52ed0c6bb461 by Antoine Pitrou in branch '3.2': Issue #12440: When testing whether some bits in SSLContext.options can be http://hg.python.org/cpython/rev/52ed0c6bb461 New changeset 4120cd8a86f4 by Antoine Pitrou in branch 'default': Issue #12440: When testing whether some bits in SSLContext.options can be http://hg.python.org/cpython/rev/4120cd8a86f4 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12440 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12440] test_ssl.test_options() failure on Snow Leopard: can't clear options before OpenSSL 0.9.8m
Antoine Pitrou pit...@free.fr added the comment: Should be fixed now. -- assignee: janssen - resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12440 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12440] test_ssl.test_options() failure on Snow Leopard: can't clear options before OpenSSL 0.9.8m
Antoine Pitrou pit...@free.fr added the comment: That said, we will probably need to supply our own libssl for Python installers in the future as there are rumors that Apple has hinted it may no longer supply openssl in the future. What about their own Python? Will it come without an ssl module? -- assignee: - janssen resolution: fixed - stage: committed/rejected - status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12440 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12440] test_ssl.test_options() failure on Snow Leopard: can't clear options before OpenSSL 0.9.8m
Changes by Antoine Pitrou pit...@free.fr: -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12440 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12486] tokenize module should have a unicode API
Changes by Petri Lehtinen pe...@digip.org: -- nosy: +petri.lehtinen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12486 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12518] In string.Template it's impossible to transform delimiter in the derived class
SilentGhost ghost@gmail.com added the comment: 3.1 is in security fixes-only mode -- nosy: +SilentGhost versions: +Python 3.2 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12518 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12517] Large file support on Windows: sizeof(off_t) is 32 bits
Changes by Ralf Schmitt python-b...@systemexit.de: -- nosy: +schmir ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12517 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11512] adding test suite for cgitb
Antoine Pitrou pit...@free.fr added the comment: Pretty sure it has nothing to do with the new cgitb test. Apparently testPasswordProtectedSite (test.test_robotparser.NetworkTestCase) uses website http://mueblesmoraleda.com to run it's test and that site is currently down. Indeed. It's actually related to that + the fact that this particular buildbot uses OpenDNS. Fixed in 71fed8437db1 and friends. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11512 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11863] Enforce PEP 11 - remove support for legacy systems
Roundup Robot devnull@devnull added the comment: New changeset 638039a4fef3 by Antoine Pitrou in branch 'default': Issue #11863: remove unused file Python/thread_wince.h http://hg.python.org/cpython/rev/638039a4fef3 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11863 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python
Ned Deily n...@acm.org added the comment: I haven't seen any failures yet so let's close it. -- status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8716 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11863] Enforce PEP 11 - remove support for legacy systems
Roundup Robot devnull@devnull added the comment: New changeset 0aa3f90f0830 by Antoine Pitrou in branch 'default': Issue #11863: Remove support for legacy systems deprecated in Python 3.2 http://hg.python.org/cpython/rev/0aa3f90f0830 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11863 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12520] spurious output in test_warnings
New submission from Antoine Pitrou pit...@free.fr: $ ./python -m test test_warnings [1/1] test_warnings test.test_warnings:553: UserWarning: test Also, I don't understand how test_filename_none is supposed to check for issue #12467 (it doesn't use a subprocess). -- assignee: haypo components: Tests messages: 140043 nosy: haypo, pitrou priority: low severity: normal stage: needs patch status: open title: spurious output in test_warnings type: behavior versions: Python 2.7, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12520 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11863] Enforce PEP 11 - remove support for legacy systems
Changes by Antoine Pitrou pit...@free.fr: -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11863 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12167] test_packaging reference leak
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: I can confirm what Andreas said - I just removed the two lines referencing the logger in BaseFix, and ran the regression tests - with no failures. So I, too, think those lines should go. -- nosy: +vinay.sajip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12167 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12449] Add accelerator F to button Finish in all MSI installers made by bdist_msi
Thomas Holmes tho...@devminded.com added the comment: bdist does not appear to be enabled in 3.3 development branch, is this correct? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12449 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12521] Mac OS 10.6 Tcl/Tk 8.5 - ActiveState Tcl/Tk 8.5
New submission from Alastair McCann alastair.mcc...@gmail.com: I am running Python 3.2 on Mac OSX 10.6.8 I have installed ActiveState Tcl/Tk 8.5. I installed Python first, and then Tcl/Tk. When I create a simple script, IDLE crashes every time I try to execute it. Any suggestions?? -- components: IDLE messages: 140046 nosy: almccann priority: normal severity: normal status: open title: Mac OS 10.6 Tcl/Tk 8.5 - ActiveState Tcl/Tk 8.5 type: crash versions: Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12521 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12518] In string.Template it's impossible to transform delimiter in the derived class
R. David Murray rdmur...@bitdance.com added the comment: You are correct that this is a feature request as written. I think there is also a doc bug (the docs should probably mention that changing delimiter after class creation is a no-op). To add this feature the computation of the regex would need to be moved from the metaclass init to the object init. The question is, was doing this in a metaclass a design decision (perhaps a micro-optimization?), or a cute trick that turns out to cause unintuitive consequences? I think Barry was involved in adding the Template feature, so I'm adding him as nosy (I don't have a clone handy to check hg annotate). -- nosy: +barry, r.david.murray versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12518 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12344] Add **kwargs to get_reinitialized_command
Thomas Holmes tho...@devminded.com added the comment: I have made a patch based on your suggestions made to higery, Éric. I have two questions: 1) In Distributions.get_reinitialized_command should the reinitialization of the subcommands also get passed the kwargs? Unfortunately my understanding of the (sub)command flow is not rock solid. 2) What are your thoughts on an effective test for this? This command does not currently have one. I believe I know a simple way to test the new kwargs functionality but if one were to write a test for get_reinitialized_command I think it should probably test the rest of the function as well. Thoughts? -- hgrepos: +39 nosy: +thomas.holmes ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12344 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12344] Add **kwargs to get_reinitialized_command
Changes by Thomas Holmes tho...@devminded.com: Added file: http://bugs.python.org/file22615/d863f392c094.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12344 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12521] IDLE 3.2 crashes on Mac OS 10.6 with ActiveState Tcl/Tk 8.5
Ned Deily n...@acm.org added the comment: We need more information to be able to assist you: 1. How do you launch IDLE? Are you clicking on an icon and, if so, which one, or are you entering a command from a terminal window or something else? 2. When IDLE starts up, what are the exact lines that appear first in the Python Shell window it opens? It should be something similar to but not identical to: Python 3.2.1rc1+ (default, Jul 3 2011, 23:55:09) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type help, copyright, credits or license for more information. 3. What is the contents of the script that causes the crash? 4. What are the exact commands you enter to produce the crash? 5. If you aren't already, try launching IDLE from a Terminal.app shell window this way, assuming you used a python.org installer: /usr/local/bin/idle3.2 If IDLE crashes, what is reported in the terminal shell window? Thanks! -- assignee: - ned.deily nosy: +ned.deily stage: - test needed title: Mac OS 10.6 Tcl/Tk 8.5 - ActiveState Tcl/Tk 8.5 - IDLE 3.2 crashes on Mac OS 10.6 with ActiveState Tcl/Tk 8.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12521 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12486] tokenize module should have a unicode API
Terry J. Reedy tjre...@udel.edu added the comment: Hmm. Python 3 code is unicode. Python reads program text as Unicode code points. The tokenize module purports to provide a lexical scanner for Python source code. But it seems not to do that. Instead it provides a scanner for Python code encoded as bytes, which is something different. So this is at least a doc update issue (which affects 2.7/3.2 also). Another doc issue is given below. A deeper problem is that tokenize uses the semi-obsolete readline protocol, which probably dates to 1.0 and which expects the source to be a file or file-like. The more recent iterator protocol would lets the source be anything. A modern tokenize function should accept an iterable of strings. This would include but not be limited to a file opened in text mode. A related problem is that 'tokenize' is a convenience function that does several things bundled together. 1. Read lines as bytes from a file-like source. 2. Detect encoding. 3. Decode lines to strings. 4. Actually tokenize the strings to tokens. I understand this feature request to be a request that function 4, the actual Python 3 code tokenizer be unbundled and exposed to users. I agree with this request. Any user that starts with actual Py3 code would benefit. (Compile() is another function that bundles a tokenizer.) Back to the current doc and another doc problem. The entry for untokenize() says Converts tokens back into Python source code. ...The reconstructed script is returned as a single string. That would be nice if true, but I am going to guess it is not, as the entry continues It returns bytes, encoded using the ENCODING token,. In Py3, string != bytes, so this seems an incomplete doc conversion from Py2. -- nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12486 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12510] IDLE get_the_calltip mishandles raw strings
Terry J. Reedy tjre...@udel.edu added the comment: What platform? It sometimes makes a difference with tcl/tk and hence idle. -- nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12510 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com