[issue10845] test_multiprocessing failure under Windows
Changes by Georg Brandl ge...@python.org: -- priority: release blocker - critical ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10845 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11069] IDLE crashes when Stack Viewer opened
Georg Brandl ge...@python.org added the comment: Thanks, applied in r88258. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11069 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10961] Pydoc touchups in new browser for 3.2
Georg Brandl ge...@python.org added the comment: I fixed two instances of missing HTML escaping and committed as r88261. The code should be checked thoroughly for more such missing escaping. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10961 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11051] system calls per import
Changes by Nadeem Vawda nadeem.va...@gmail.com: -- nosy: +nvawda ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11051 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11051] system calls per import
Martin v. Löwis mar...@v.loewis.de added the comment: Something has gone out of control here. Why do we need to check so many alternative locations? What change do you propose? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11051 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11051] system calls per import
Changes by Raymond Hettinger rhettin...@users.sourceforge.net: -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11051 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11051] system calls per import
Changes by Georg Brandl ge...@python.org: -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11051 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11051] system calls per import
Antoine Pitrou pit...@free.fr added the comment: Something has gone out of control here. Why do we need to check so many alternative locations? What change do you propose? First, I don't understand why we need to check both foo.so and foomodule.so. Second, I don't understand why we need to check both foo.cpython32.so and foo.so. If you fix both these, the number of stat() calls per would-be extension module goes down from 6 to 2 per directory path. Then there seems to be a couple of redundant stat/fstat calls on some files. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11051 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10680] argparse: titles and add_mutually_exclusive_group don't mix (even with workaround)
Steven Bethard steven.beth...@gmail.com added the comment: Looks great, thanks. I've updated the patch so it applies okay to both release27-maint and py3k. All tests pass on both branches. It's a one line fix and the test case looks good, so there should be no problem applying this to release27-maint. For 3.2, the py3k branch is frozen for rc2, and Georg has said that he hopes for zero commits between rc2 and final. If anyone feels very strongly about this getting into 3.2, please ask Georg for permission. -- assignee: - bethard stage: unit test needed - patch review Added file: http://bugs.python.org/file20617/issue10680_withTestcase.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10680 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10680] argparse: titles and add_mutually_exclusive_group don't mix (even with workaround)
Changes by Steven Bethard steven.beth...@gmail.com: Removed file: http://bugs.python.org/file20548/issue10680_withTestcase.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10680 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10680] argparse: titles and add_mutually_exclusive_group don't mix (even with workaround)
Changes by Steven Bethard steven.beth...@gmail.com: Removed file: http://bugs.python.org/file20114/argparse.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10680 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10680] argparse: titles and add_mutually_exclusive_group don't mix (even with workaround)
Georg Brandl ge...@python.org added the comment: I haven't started yet actually releasing, so this got in as r88263. -- nosy: +georg.brandl resolution: - fixed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10680 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7502] All DocTestCase instances compare and hash equal to each other
Cédric Krier cedric.kr...@b2ck.com added the comment: Here is a patch that defines __eq__ and __hash__ on DocTestCase. -- keywords: +patch nosy: +ced Added file: http://bugs.python.org/file20618/doctestcase_eq_hash.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7502 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11069] IDLE crashes when Stack Viewer opened
Brian Curtin cur...@acm.org added the comment: This should be back-ported to the maintenance branch as well. I can take care of that if Georg is busy with release-related stuff. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11069 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10680] argparse: titles and add_mutually_exclusive_group don't mix (even with workaround)
Steven Bethard steven.beth...@gmail.com added the comment: Awesome, thanks! Do you want to apply to 2.7 or should I? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10680 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11071] What's New review comments
New submission from Nick Coghlan ncogh...@gmail.com: Reviewing the What's New docs, this seemed like the easiest way to give Raymond a list of things I noticed: - first sentence in the ast module section needs rewording (currently includes fragments from a couple of different phrasings) - in the dis module section, dis.dis has also acquired the ability to disassemble source string directly, avoiding the need to compile them manually first (see issue 6507). - in the dbm module section, there is another case of a sentence containing fragments from two different phrasings - the new handler of last resort functionality in the logging module deserves a mention (see issue 10626 and the explanation at http://docs.python.org/dev/howto/logging.html#what-happens-if-no-configuration-is-provided) - Vinay's rewrite of the logging module docs to be significantly more approachable (by splitting them into the raw logging API docs and the read-as-much-as-you-need-to logging HOWTO) is also a notable and welcome change. -- assignee: rhettinger components: Documentation messages: 127529 nosy: ncoghlan, rhettinger priority: normal severity: normal status: open title: What's New review comments versions: Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11071 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11071] What's New review comments
Nick Coghlan ncogh...@gmail.com added the comment: A couple more in the Build and CAPI section: - The is a new function should be There is a new function - The PyUnicode_CompareWithASCIIString() now either needs to drop the The or add function before the now. It's fascinating to read all that and realise how much actually has been done since 3.1 came out. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11071 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10680] argparse: titles and add_mutually_exclusive_group don't mix (even with workaround)
Georg Brandl ge...@python.org added the comment: Please do. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10680 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11069] IDLE crashes when Stack Viewer opened
Georg Brandl ge...@python.org added the comment: Please do. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11069 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11023] pep 227 missing text
Alan Isaac alan.is...@gmail.com added the comment: Bear with my confusion about your response. Are you saying that CPython documentation bugs cannot be submitted here, or that this does not constitute a CPython documentation bug? I assume the latter. But then, can you tell me where to find the correct CPython documentation after I read the following quote from PEP 277? http://www.python.org/dev/peps/pep-0227/ Implementation XXX Jeremy, is this still the case? The implementation for C Python uses flat closures [1]. In case you might care about a user confusion ... Your reply left me puzzled that PEPs that have reached the standards track would not be considered part of the CPython documentation distribution. Thank you, Alan Isaac -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11023 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10680] argparse: titles and add_mutually_exclusive_group don't mix (even with workaround)
Steven Bethard steven.beth...@gmail.com added the comment: Done in r88268. Thanks again everyone! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10680 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11071] What's New review comments
Nick Coghlan ncogh...@gmail.com added the comment: Another significant logging change: the addition of the style parameter for Formatter objects (allowing the use of str.format and string.Template style substitution instead of percent formatting) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11071 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11071] What's New review comments
Nick Coghlan ncogh...@gmail.com added the comment: The last two logging changes potentially worth mentioning that I noticed: - simple callables can now be supplied as logging filters (see the version 3.2 note in http://docs.python.org/dev/library/logging#filter-objects) - the logging API docs now include a section dedicated to the available attributes on LogRecord instances (http://docs.python.org/dev/library/logging#filter-objects). This makes it much easier to write Filter and Formatter objects that reference these attributes. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11071 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11071] What's New review comments
Nick Coghlan ncogh...@gmail.com added the comment: I was wrong, I found one more potentially notable logging change: http://docs.python.org/dev/library/logging#logging.setLogRecordFactory -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11071 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11071] What's New review comments
Nick Coghlan ncogh...@gmail.com added the comment: Adding Vinay, given the number of logging changes in 3.2 that don't appear to be in the What's New yet (the only logging change noted there at the moment is the inclusion of PEP 391) -- nosy: +vinay.sajip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11071 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11068] Python 2.7.1 Idle traceback on OS X (10.6.6)
David Meier djme...@gmail.com added the comment: Removing the 10.6 specific Python 2.7.1 installation (with the instructions provided by Ned) and reinstalling the 10.3-10.6 32bit installation fixed the aforementioned segfault. Thanks for the information, however, I do think it should be noted on the download page that there are problems with the 10.6 32/64-bit version and it is safer to go the 32-bit only installer unless there is a specific need. I did not see any caveats mentioned when I went to download it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11068 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9527] Add aware local time support to datetime module
Changes by Miki Tebeka miki.teb...@gmail.com: -- nosy: -tebeka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9527 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11048] import ctypes causes segfault on read-only filesystem
Marcin Bachry hegel...@gmail.com added the comment: This patch fixes issue with unitialized variable which makes ctypes crash in error handler. Note that for you it merely turns Segmentation fault into MemoryError exception. Python ships with buggy version of libffi, which tries to allocate memory using mmap() over a temporary file (the one seen in strace output above) instead of just doing mmap(MAP_ANONYMOUS|MAP_PRIVATE). The bug is fixed in this libffi commit: https://github.com/atgreen/libffi/commit/eaf444eabc4c78703c0f98ac0197b1619c1b1bef Until Python's libffi is updated, you can do mount -t tmpfs none /dev/shm. It's good to have tmpfs mounted anyway, just like proc and sysfs. -- keywords: +patch nosy: +marcin.bachry Added file: http://bugs.python.org/file20619/ctypes-erofs-crash.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11048 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11059] Mercurial fails on code.python.org repo
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment: 'Had to look on a sunday once again, and it is still impossible to clone branches/release2.7-maint. In the meanwhile the Mercurial people from http://mercurial.selenic.com reacted - they play the ball back to python.org. *However*: there are a lot of Issues at http://mercurial.selenic.com/bts/issueXY (try 2606, 2602, 2595, my 2239 and possibly others). -- status: closed - open title: code.python.org repo failures introduced! - Mercurial fails on code.python.org repo versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11059 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10716] Modernize pydoc to use CSS
Ron Adam ron_a...@users.sourceforge.net added the comment: A reminder: Check for instances where html.escape is not called on data inserted into the html pages. I'll update the patch as the non-css (error handling) parts made it into python 3.2. :-) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10716 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11059] Mercurial fails on code.python.org repo
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment: http://mercurial.selenic.com/bts/issue2595 says code.python.org/hg often seems unstable., so it seems to be a well known thing. I leave this issue now open nevertheless, and let some experienced Python.org user decide what to do with it. (Antoine Pitrou, you are nosy, and it seems i have completely missed your hint (Works fine here did not count for me) - will you close that as approbiate?) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11059 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11059] Mercurial fails on code.python.org repo
Antoine Pitrou pit...@free.fr added the comment: 'Had to look on a sunday once again, and it is still impossible to clone branches/release2.7-maint. It failed here on one attempt and succeeded on others. hg verify ran fine too, including on the server. I'm closing the issue again; in all likelihood, this is either a transient network issue, or a Mercurial bug - and certainly not a bug in Python itself which is what this tracker is for ;) -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11059 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11048] import ctypes causes segfault on read-only filesystem
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: It would be nice to add a unit test to this patch. I don't think messing with read-only filesystems is feasible in regrtest, but it seems from reading _ctypes_alloc_callback() source that similar behavior can be triggered by passing a failing converters list to a ctypes function constructor. A nit-pick: it would be easier to verify that all CThunkObject fields are initialized if initialization was done in the same order as declaration: typedef struct { PyObject_VAR_HEAD ... PyObject *callable; PyObject *restype; SETFUNC setfunc; ffi_type *ffi_restype; ffi_type *atypes[1]; } CThunkObject; In other words, p-restype = NULL; should go after p-callable = NULL;. -- nosy: +belopolsky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11048 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11071] What's New review comments
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: Nick, thanks for the read-through and comments. Later this week, will get add a section of logging. Other people are also welcome to use this tracker item for other comments. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11071 ___ ___ 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 devurandom devuran...@gmx.net: -- nosy: -devurandom ___ 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
[issue7502] All DocTestCase instances compare and hash equal to each other
Changes by Antoine Pitrou pit...@free.fr: -- stage: needs patch - patch review versions: +Python 3.3 -Python 2.6, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7502 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11069] IDLE crashes when Stack Viewer opened
Brian Curtin cur...@acm.org added the comment: Fixed in release31-maint in r88269. -- stage: - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11069 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10990] tests mutating sys.gettrace() w/o re-instating previous state
Changes by Brett Cannon br...@python.org: Removed file: http://bugs.python.org/file20581/issue10990.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10990 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10990] tests mutating sys.gettrace() w/o re-instating previous state
Brett Cannon br...@python.org added the comment: Sorry about that. New patch attached. -- Added file: http://bugs.python.org/file20620/issue_10990.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10990 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9931] test_ttk_guionly hangs on XP5
Paul Moore p.f.mo...@gmail.com added the comment: Patch looks good to me. Can this be applied? As a temporary workaround I have set my buildbot to run interactively. Once the fix is applied, I will switch back to running as a service. -- keywords: +buildbot ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9931 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9931] test_ttk_guionly hangs on XP5
Changes by Paul Moore p.f.mo...@gmail.com: -- nosy: +gpolo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9931 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue571767] string.capitlize() documentation
Isaul Vargas isa...@gmail.com added the comment: Internal python docs need to be updated. help(str.capitalize) still has the old incorrect documentation. I tested this on Python 2.6 on Windows, and Python 2.7 in Ubuntu 11.04 alpha. -- nosy: +Dude-X -fdrake, mdcowles type: - behavior versions: +Python 2.5, Python 2.6, Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue571767 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5863] bz2.BZ2File should accept other file-like objects.
Nadeem Vawda nadeem.va...@gmail.com added the comment: OK, I've rewritten the whole bz2 module (patch attached), and I think it is now ready for review. The BZ2File implementation is a cleaned-up version of the one from my previous patch, with some further additions. I've factored out the common compressor/decompressor stuff into classes Compressor and Decompressor in the _bz2 extension module; with these, BZ2Compressor, BZ2Decompressor, compress() and decompress() are trivial to implement in Python. My earlier efficiency concerns seem to have been unfounded; I ran some quick tests with a 4MB bz2 file, and there wasn't any measurable performance difference from the existing all-C implementation. I have added a peek() method to BZ2File, in accordance with Antoine's suggestion, but it's not clear how it should interpret its argument. I followed the lead of io.BufferedReader, and simply ignored the arg, returning whatever data as is already buffered. The patch also includes tests for peek() in test_bz2, based on test_io's BufferedRWPairTest. Also, while looking at io.BufferedReader's implementation, I noticed that it doesn't actually seem to use raw.peek() at all. If this is correct, then perhaps peek() is unnecessary, and shouldn't be added. The patch also adds a property 'eof' to BZ2Decompressor, so that the user can test whether EOF has been reached on the compressed stream. For the new files (Modules/_bz2module.c and Lib/bz2.py), I'm guessing there should be some license boilerplate stuff added at the top of each. I wasn't sure exactly what this should look like, though - some advice would be helpful here. -- Added file: http://bugs.python.org/file20621/bz2-v3.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5863 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9973] Sometimes buildbot fails to cleanup working copy
Antoine Pitrou pit...@free.fr added the comment: As far as I can tell, the same change also needs to be done in build-amd64.bat and clean-amd64.bat. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9973 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9973] Sometimes buildbot fails to cleanup working copy
Antoine Pitrou pit...@free.fr added the comment: By the way, the order of these lines in clean-amd64.bat looks wrong: cd PCbuild @echo Deleting .pyc/.pyo files ... del /s Lib\*.pyc Lib\*.pyo -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9973 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9973] Sometimes buildbot fails to cleanup working copy
Antoine Pitrou pit...@free.fr added the comment: Oh, and the regrtest command line in test-amd64.bat lacks some options (-rwW -n) compared to test.bat. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9973 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9973] Sometimes buildbot fails to cleanup working copy
David Bolen db3l@gmail.com added the comment: Probably - it's just a general sequencing change, so I suppose should apply equally to all platforms. I suppose even better would be to consolidate the two clean scripts into one (with a parameter for 32 v. 64), but just patching both is less of a change. Unrelated, but it's interesting how the amd64 script makes sure to be in the PCBuild tree before deleting byte compiled files, but the standard script doesn't. Oh, I should probably also update my prior thought in this ticket, since based on a python-dev thread Hirokazu pointed out that just having things at the end of test.bat could be exposed if the actual test itself never returns to the script. That might have higher odds than the build master losing contact with the slave between build and clean step, so the original patch is likely the better choice. Or maybe do it in both both places. But just moving things to clean first would cover the vast majority of cases I seem to see on my build slaves, which only rarely lose contact with the master. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9973 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9931] test_ttk_guionly hangs on XP5
David Bolen db3l@gmail.com added the comment: Perhaps somewhat orthogonal to the patch, but in terms of the original hang issue, does your service definition have the interact with desktop option checked? That ought to permit any normal UI processing to take place as if you were running it interactively. -- nosy: +db3l ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9931 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2193] Cookie Colon Name Bug
John J Lee jj...@users.sourceforge.net added the comment: I agree with And Clover that Carsten Klein's comments in #msg127366 are not correct, for the reason that And stated. Also, Carsten repeats again the idea that the trac issue is about the trac server failing to generate appropriate cookies -- but that issue was in fact about trac's processing of cookies generated by servers other than trac. In that particular case, the other server was probably under the control of the same group of people, but that isn't true in general. Please read all the comments before adding more comments. Re #msg127368: I don't think the patch applied to trac is relevant here. Somebody should write a patch for module Cookie, and then it can be reviewed. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2193 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11051] system calls per import
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11051 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10512] regrtest ResourceWarning - unclosed sockets and files
Brett Cannon br...@python.org added the comment: Attached is a simpler fix for test_cgi so it can get in for Python 3.2. You can reproduce the failure if you run ``./python -W error -m test test_cgi``. Georg, can I commit? -- assignee: - georg.brandl nosy: +brett.cannon, georg.brandl Added file: http://bugs.python.org/file20622/issue10512.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10512 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9931] test_ttk_guionly hangs on XP5
Changes by Nick Coghlan ncogh...@gmail.com: -- priority: normal - high ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9931 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11071] What's New review comments
Nick Coghlan ncogh...@gmail.com added the comment: Correct docs links for LogRecord attributes section: http://docs.python.org/dev/library/logging#logrecord-attributes -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11071 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9931] test_ttk_guionly hangs on XP5
Paul Moore p.f.mo...@gmail.com added the comment: Perhaps somewhat orthogonal to the patch, but in terms of the original hang issue, does your service definition have the interact with desktop option checked? That ought to permit any normal UI processing to take place as if you were running it interactively. It runs as a specific user, not as LocalSystem (and only LocalSystem has the interact with desktop checkbox, so yes, I think it does...) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9931 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9931] test_ttk_guionly hangs on XP5
David Bolen db3l@gmail.com added the comment: If I recall correctly, if you're not using localsystem then its much tougher, as by default it won't have access to your interactive desktop, just something internal that you won't see, maybe just a hidden windows station. You're right that the interact setting is only for localsystem. It's been many years, but I think I had some code that located and attached to the interactive desktop (if one was currently available) from within a background service that I used in a remote management system. Our remote service (functioned similarly to rshd) also ran under a specific user. At least in theory I think you might be able to tweak the local buildbot code to execute any tests from within a child process that does the same thing first. In the end it's only the executing test code that needs the access, not the buildbot itself. If I get a chance I'll see if I can scrounge up what I did, but will take that off-line from this ticket since it's a broader question. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9931 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11072] Add MLSD command support to ftplib
New submission from Giampaolo Rodola' g.rod...@gmail.com: From RFC-3659: The MLST and MLSD commands are intended to standardize the file and directory information returned by the server-FTP process. These commands differ from the LIST command in that the format of the replies is strictly defined although extensible. The patch in attachment adds support for MLSD command. This should ease the development of ftp clients which are forced to parse un-standardized LIST responses via dir() or retrlines() methods to obtain meaningful data for the directory listing. Example: import ftplib from pprint import pprint as pp f = ftplib.FTP() f.connect(localhost) f.login(anonymous) ls = f.mlsd() pp(ls) {'modify': 20100814164724, 'name': 'svnmerge.py', 'perm': 'r', 'size': 90850, 'type': 'file', 'unique': '80718b568'}, {'modify': 20101207185033, 'name': 'README', 'perm': 'r', 'size': 53731, 'type': 'file', 'unique': '80718aafe'}, {'modify': 20100417183215, 'name': 'install-sh', 'perm': 'r', 'size': 7122, 'type': 'file', 'unique': '80718b2d2'}, {'modify': 20110129210053, 'name': 'Include', 'perm': 'el', 'size': 4096, 'type': 'dir', 'unique': '8071a2bc4'}] -- files: ftplib_mlsd.patch keywords: patch messages: 127562 nosy: giampaolo.rodola, pitrou priority: normal severity: normal status: open title: Add MLSD command support to ftplib versions: Python 3.3 Added file: http://bugs.python.org/file20623/ftplib_mlsd.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11072 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10940] IDLE 3.2 hangs with Cmd-M hotkey on OS X 10.6 with 64-bit installer and A/S Tk 8.5
Ned Deily n...@acm.org added the comment: Committed in r88270 for release in 2.7.2. -- status: pending - closed versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10940 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10882] Add os.sendfile()
Giampaolo Rodola' g.rod...@gmail.com added the comment: In case someone is interested in statistics, I wrote a sendfile() wrapper by using ctypes for pyftpdlib and benchmark results are quite impressive: http://code.google.com/p/pyftpdlib/issues/detail?id=152#c5 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10882 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9362] Make exit/quit hint more novice friendly
Westley Martínez aniko...@gmail.com added the comment: This is annoying. Every beginner's Python tutorial I've read made it very clear how to exactly exit the interactive shell. Ctrl has been in use for years. Changing it for novices' sake is ridiculous. Do we need to expand every abbreviation? Python will turn into Java (joke). As for Ctrl-D or Ctrl-Z, I think it's fine the way it is. Python is used for scripting, and Windows administators are familiar with Ctrl-Z for EOF but may not necessarily be familiar with Ctrl-D. Ok, in final, I think the only thing that might be changed is the shell's opening message: Python 3.1.3 (r313:86834, Jan 28 2011, 20:00:55) [GCC 4.5.2] on linux2 Type help, copyright, credits or license for more information. Type exit(), quit() or Ctrl-D (i.e. EOF) to exit. On Windows, Ctrl-D is replaced with Ctrl-Z. -- nosy: +anikom15 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9362 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11073] threading.Thread documentation can be improved
New submission from Roy Smith r...@panix.com: The documentation for the threading.Thread constructor says: target is the callable object to be invoked by the run() method. Defaults to None, meaning nothing is called. This could be improved by explicitly stating that target is called in a static context. As written, it takes a bit of thought (and experimentation) to be sure of that. -- assignee: docs@python components: Documentation messages: 127566 nosy: docs@python, roysmith priority: normal severity: normal status: open title: threading.Thread documentation can be improved versions: Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11073 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11016] Add S_ISDOOR to the stat module
Jesús Cea Avión j...@jcea.es added the comment: Martin, what if C posix module (or whoever) would export the symbolic constants, and update stat.py to use those symbolic constants?. Do you think that would be an improvement?. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11016 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11072] Add MLSD command support to ftplib
Changes by Eric Smith e...@trueblade.com: -- nosy: +eric.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11072 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11073] threading.Thread documentation can be improved
R. David Murray rdmur...@bitdance.com added the comment: I have no idea what a static context means, so it wouldn't make it any clearer to me. Can you explain further what your confusion is? -- nosy: +r.david.murray type: - feature request versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11073 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11073] threading.Thread documentation can be improved
Roy Smith r...@panix.com added the comment: What I meant was whether target should be declared as @staticmethod or not. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11073 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11074] fix tokenize so it can be reloaded
New submission from Brett Cannon br...@python.org: The tokenize module stores the built-in open() module in a global assignment statement. Problem is that if you reload the module, that global assignment picks up the module's own open() that came into existence during the initial import. The attached patch fixes this by having tokenize.open() use builtins.open() instead of its own cached global version. -- assignee: georg.brandl components: Library (Lib) files: tokenize_reload.diff keywords: easy, patch messages: 127570 nosy: brett.cannon, georg.brandl, haypo priority: normal severity: normal stage: commit review status: open title: fix tokenize so it can be reloaded type: behavior versions: Python 3.2 Added file: http://bugs.python.org/file20624/tokenize_reload.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11074 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11071] What's New review comments
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: Eli, put your suggestions here. Do not edit the document directly. Right now, it's conflicting with my pending edits. Also, see the instruction at the top of the document. -- assignee: rhettinger - eli.bendersky nosy: +eli.bendersky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11071 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11071] What's New review comments
Eli Bendersky eli...@gmail.com added the comment: Raymond, as I said in the email sorry I wasn't aware of the issue, and Georg permitted me to commit directly to the file once the freeze is over. Maybe there was a misunderstanding. Also, can you refer me to the part of the file you mean? I see it says Anyone can add text to the document but then warns that you may change it later. I have no problem with that, and I split my commit to several to make it easier to fix/reject. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11071 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11071] What's New review comments
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: Can you join IRC #python for a bit? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11071 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10479] cgitb.py should assume a binary stream for output
Glenn Linderman v+pyt...@g.nevcal.com added the comment: So since cgi.py was fixed to use the .buffer attribute of sys.stdout, that leaves sys.stdout itself as a character stream, and cgitb.py can successfully write to that. If cgitb.py never writes anything but ASCII, then maybe that should be documented, and this issue closed. If cgitb.py writes non-ASCII, then it should use an appropriate encoding for the web application, which isn't necessarily the default encoding on the system. Some user control over the appropriate encoding should be given, or it should be documented that the encoding of sys.stdout should be changed to an appropriate encoding, because that is where cgitb.py will write its character stream. Guidance on how to do that would be appropriate for the documentation also, as a CGI application may be the first one a programmer might write that can't just use the default encoding configured for the system. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10479 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10480] cgi.py should document the need for binary stdin/stdout
Glenn Linderman v+pyt...@g.nevcal.com added the comment: Fixed by issue 10841 and issue 4953. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10480 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10512] regrtest ResourceWarning - unclosed sockets and files
Nadeem Vawda nadeem.va...@gmail.com added the comment: Looks good to me. My earlier patch was more defensive because I wasn't sure whether any of the other tests might be using cgi.log(), but it seems that this isn't the case. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10512 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11075] Turtle crash with IDLE on Mac OS X 10.6
New submission from Alex McNerney amcnerne...@yahoo.com: Info: I have Python 2.7.1:86832 (32-bit) installed using ActiveState Tcl/Tk 8.5.9 on Mac OS X 10.6 Problem: Whenever I try to run (from the IDLE) a Python script using the turtle module, the window that shows up will draw anything passed to it, but it will not come to the front using the listen() function, nor will clicking on the window do anything more than cause the spinning beach ball to appear. Because it does not come the the foreground, functions like onkey() and onclick() are completely unusable. However, when said Python script is run from the Terminal, the window is completely responsive. I believe this to be some sort of problem with the IDLE.app Things that I have tried: Tried different versions of tcl/tk: 8.4.19, 8.4.7, 8.5.9 Tried different versions of Python 2.7.1: 32-bit, 32/64-bit, 32-bit compiled from source. Other things that may be useful: This probably has no relevancy, but just in case: In the .mpkg installed Python 2.7.1 (32-bit), the IDLE says the GCC version is 4.0.1 In the source compiled version, it says 4.2.1 It is quite annoying to not be able to use the IDLE to create and test programs using the turtle module. Please help. -- assignee: ronaldoussoren components: IDLE, Macintosh, Tkinter messages: 127577 nosy: amcnerney13, ronaldoussoren priority: normal severity: normal status: open title: Turtle crash with IDLE on Mac OS X 10.6 type: crash versions: Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11075 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11071] What's New review comments
Changes by Raymond Hettinger rhettin...@users.sourceforge.net: -- Removed message: http://bugs.python.org/msg127573 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11071 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11071] What's New review comments
Georg Brandl ge...@python.org added the comment: I was just told about typo and grammar fixes though :) -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11071 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11071] What's New review comments
Changes by Raymond Hettinger rhettin...@users.sourceforge.net: -- assignee: eli.bendersky - rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11071 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11016] Add S_ISDOOR to the stat module
Martin v. Löwis mar...@v.loewis.de added the comment: Martin, what if C posix module (or whoever) would export the symbolic constants, and update stat.py to use those symbolic constants?. Do you think that would be an improvement?. Improvement compared to what? The status quo? Certainly. Compared to a path where the stat module is deprecated? Certainly not. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11016 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11071] What's New review comments
Eli Bendersky eli...@gmail.com added the comment: r88274 - python/branches/py3k/Doc/whatsnew/3.2.rst Revert r88272 -- the examples are more readable with spacing. Raymond - then perhaps we should consider revising PEP 8 as well. When I first read it, the no spaces around = rule for kwargs was strange at first, but then it grew on me. Regardless of personal style preferences, what we can't do (IMvHO) is have our official docs not follow PEP 8, and be inconsistent among themselves for that matter (very similar examples in argparse.rst and whatsnew/3.2.rst formatted differently) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11071 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com