[issue11914] pydoc modules/help('modules') crash in dirs with unreadable subdirs

2011-10-07 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Thanks for your suggested code and test. Somewhat different fixes to pkgutil have been added by the changes for Issue7367 and a necessary backport of a fix for pydoc from 3.x to 2.7 was made for Issue7425. With these fixes in place, pydoc for 3.3.0,

[issue13114] check -r fails with non-ASCII unicode long_description

2011-10-07 Thread Кирилл Кузьминых
Changes by Кирилл Кузьминых sai...@mail.ru: -- versions: +3rd party ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13114 ___ ___ Python-bugs-list

[issue12696] pydoc error page due to lacking permissions on ./*

2011-10-07 Thread Ned Deily
Ned Deily n...@acm.org added the comment: This problem has been fixed with the changes for Issue7367 and, for 2.7, Issue7425. They should appear in 3.3.0, 3.2.3, and 2.7.3. -- resolution: - duplicate stage: test needed - committed/rejected status: open - closed superseder: -

[issue13078] Python Crashes When Saving Or Opening

2011-10-07 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +brian.curtin, tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13078 ___ ___ Python-bugs-list

[issue13078] Python Crashes When Saving Or Opening

2011-10-07 Thread Brian Curtin
Brian Curtin br...@python.org added the comment: You are attempting to open or save .py files from what? IDLE? What are the steps you would use to reproduce this issue? How was this error message obtained? -- ___ Python tracker

[issue7015] Getting call trace while executing modules spam at help prompt

2011-10-07 Thread Ned Deily
Ned Deily n...@acm.org added the comment: The problem of pydoc apropos failing due to exceptions raised by pkgutil walk_packages is fixed in 2.7.3 by the changes for Issue7425; they were already fixed in 3.x. -- nosy: +ned.deily resolution: invalid - duplicate superseder: - Improve

[issue1164953] logging.basicConfig creates phantom handler

2011-10-07 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: Can basicConfig() report its failure with DEBUG level when called twice? -- nosy: +techtonik ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1164953

[issue13112] backreferences in comprehensions

2011-10-07 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Hi, You're proposing a change to the core language and syntax; the bug-tracker's not really appropriate for this---it's better suited for small, focused changes (preferably with patches!). I suggest that you start a thread on the

[issue13112] backreferences in comprehensions

2011-10-07 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: I meant to include a link to the mailing list: http://mail.python.org/mailman/listinfo/python-ideas -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13112

[issue13121] collections.Counter's += copies the entire object

2011-10-07 Thread Lars Buitinck
New submission from Lars Buitinck l.j.buiti...@uva.nl: I've found some counterintuitive behavior in collections.Counter while hacking on the scikit-learn project [1]. I wanted to use a bunch of Counters to do some simple term counting in a set of documents, roughly as follows: count_total

[issue13119] Newline for print() is \n on Windows, and not \r\n as expected

2011-10-07 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I changed how newlines are handled on Windows to fix an issue with CGI: see the issue #10841. changeset: 67431:0933c3753a71 user:Victor Stinner victor.stin...@haypocalc.com date:Fri Jan 07 18:47:22 2011 +

[issue13121] collections.Counter's += copies the entire object

2011-10-07 Thread Petri Lehtinen
Petri Lehtinen pe...@digip.org added the comment: This is slightly backwards incompatible, as some people may depend on the old behavior. Otherwise sounds like a good idea to me. -- nosy: +petri.lehtinen, rhettinger stage: - patch review versions: +Python 3.3 -Python 3.4

[issue13119] Newline for print() is \n on Windows, and not \r\n as expected

2011-10-07 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: print() uses PyFile_WriteString(\n, file) by default (if the end argument is not set) to write the newline. TextIOWrapper.write(\n) replaces \n by TextIOWrapper._writenl. On Windows, stdin, stdout and stderr are creates using

[issue13121] collections.Counter's += copies the entire object

2011-10-07 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- assignee: - rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13121 ___ ___

[issue13121] collections.Counter's += copies the entire object

2011-10-07 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- type: behavior - feature request ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13121 ___ ___

[issue13121] collections.Counter's += copies the entire object

2011-10-07 Thread Lars Buitinck
Lars Buitinck l.j.buiti...@uva.nl added the comment: If this is not implemented because it is backwards incompat, then it might be useful to add a note to update's docstring explaining that it is much more efficient than +=. I was very surprised that it took *minutes* to add a few thousand

[issue13119] Newline for print() is \n on Windows, and not \r\n as expected

2011-10-07 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: If the output is redirected (e.g. into a file), TextIOWrapper is created with line_buffering=False. How does this affect the \r\n translation? -- ___ Python tracker rep...@bugs.python.org

[issue1164953] logging.basicConfig creates phantom handler

2011-10-07 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: @anatoly: What failure do you mean? The behaviour that logistix described is not a failure, it's by design. See my closing comment. -- ___ Python tracker rep...@bugs.python.org

[issue13114] check -r fails with non-ASCII unicode long_description

2011-10-07 Thread Кирилл Кузьминых
Changes by Кирилл Кузьминых sai...@mail.ru: -- type: crash - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13114 ___ ___ Python-bugs-list

[issue10141] SocketCan support

2011-10-07 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: From python-dev: I work on Ubuntu Jaunty for my cpython development work - an old version, I know, but still quite serviceable and has worked well for me over many months. With the latest default cpython repository, however, I can't

[issue13121] collections.Counter's += copies the entire object

2011-10-07 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: I'll add the in-place methods including __iadd__, __isub__, __iand__, and __ior__. If speed is your issue, you should continue to use the update() method which will always be faster because it doesn't have a step to strip zeros

[issue1164953] logging.basicConfig creates phantom handler

2011-10-07 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: I know that it is by design, but from all logging users you may be the only one who keeps this behaviour in mind. The message why basicConfig() failed will be more user-friendly. -- ___

[issue12943] tokenize: add python -m tokenize support back

2011-10-07 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: Éric, thanks. I fixed most of your points. And thanks to everyone that reviewed this. Much appreciated. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12943

[issue12943] tokenize: add python -m tokenize support back

2011-10-07 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 85254bb6c1c6 by Meador Inge in branch 'default': Issue #12943: python -m tokenize support has been added to tokenize. http://hg.python.org/cpython/rev/85254bb6c1c6 -- nosy: +python-dev

[issue12943] tokenize: add python -m tokenize support back

2011-10-07 Thread Meador Inge
Changes by Meador Inge mead...@gmail.com: -- assignee: docs@python - meador.inge resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12943

[issue12192] Doc that collection mutation methods return item or None

2011-10-07 Thread Mike Hoy
Changes by Mike Hoy mho...@gmail.com: -- nosy: +mikehoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12192 ___ ___ Python-bugs-list mailing list

[issue12602] Missing using docs cross-references

2011-10-07 Thread Mike Hoy
Changes by Mike Hoy mho...@gmail.com: -- nosy: +mikehoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12602 ___ ___ Python-bugs-list mailing list

[issue12602] Missing using docs cross-references

2011-10-07 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: The 'using docs' are, oddly enough, the part of the docs called 'using' :) In particular, the part about the command line components (including the 'script' argument): http://docs.python.org/using/cmdline.html --

[issue13063] test_concurrent_futures failures on Windows: IOError('[Errno 232] The pipe is being closed') on _send_bytes()

2011-10-07 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset d8d8374ddbcc by Antoine Pitrou in branch '3.2': Issue #13063: the Windows error ERROR_NO_DATA (numbered 232 and described http://hg.python.org/cpython/rev/d8d8374ddbcc New changeset 3784b6000640 by Antoine Pitrou in

[issue13063] test_concurrent_futures failures on Windows: IOError('[Errno 232] The pipe is being closed') on _send_bytes()

2011-10-07 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Hopefully this will fix the random failures (EPIPE is caught somewhere down in multiprocessing.Queue._feed). -- resolution: - fixed stage: patch review - committed/rejected status: open - pending ___

[issue1164953] logging.basicConfig creates phantom handler

2011-10-07 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: anatoly techtonik techto...@gmail.com added the comment: I know that it is by design, but from all logging users you may be the only one who keeps this behaviour in mind. The message why basicConfig() failed will be more

[issue1164953] logging.basicConfig creates phantom handler

2011-10-07 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: There were no request to change the behaviour, because there is already this closed issue where it is clearly said that this won't be fixed. However, this doesn't cancel the fact that logging package needs enhancements to be more

[issue10141] SocketCan support

2011-10-07 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: I added the line in the suggested place: #ifdef HAVE_LINUX_TIPC_H # include linux/tipc.h #endif #ifdef HAVE_LINUX_CAN_H #include linux/socket.h /* the line I added - line 76 */ #include linux/can.h #endif #ifdef HAVE_LINUX_CAN_RAW_H

[issue13118] Py_BuildValue format f incorrect description.

2011-10-07 Thread Félix-Antoine Fortin
Félix-Antoine Fortin felixantoinefortin+pyt...@gmail.com added the comment: I stand corrected. -- resolution: - rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13118

[issue12823] Broken link in SSL wrapper for socket objects document

2011-10-07 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 459f5e10cd4f by Antoine Pitrou in branch '3.2': Issue #12823: remove broken link and replace it with another resource. http://hg.python.org/cpython/rev/459f5e10cd4f New changeset e80121fd12ba by Antoine Pitrou in

[issue13122] Out of date links in the sidebar of the documentation index of versions 3.1 and 3.2

2011-10-07 Thread Sven Marnach
New submission from Sven Marnach s...@marnach.net: The sidebar on http://docs.python.org/release/3.1.3/ names 3.2 as the development version of Python, while the link points to 3.3. The sidebar on http://docs.python.org/py3k/ links to 3.1 as the stable version -- obviously a relict from the

[issue12823] Broken link in SSL wrapper for socket objects document

2011-10-07 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 666e7e325795 by Antoine Pitrou in branch '2.7': Issue #12823: remove broken link and replace it with another resource. http://hg.python.org/cpython/rev/666e7e325795 --

[issue12823] Broken link in SSL wrapper for socket objects document

2011-10-07 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Fixed now. Hopefully the replacement resource is good enough. -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue10141] SocketCan support

2011-10-07 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: Just to test, I added the full absolute path name in socketmodule.h: #ifdef HAVE_LINUX_CAN_H #include /usr/include/linux/socket.h #include linux/can.h #endif Now, the snippet from pre-processing is: # 182 /usr/include/linux/tipc.h 3 4

[issue10141] SocketCan support

2011-10-07 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: Ok, I found that linux/socket.h *is* actually included earlier, from /usr/include/linux/netlink.h. However, the AF_CAN definition appears only under the condition #if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ 2) ...

[issue1164953] logging.basicConfig creates phantom handler

2011-10-07 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: There were no request to change the behaviour, because there is already this closed issue where it is clearly said that this won't be fixed. Sure, but this issue seldom comes up as a point of confusion on comp.lang.python. If you think

[issue13123] bdist_wininst uninstaller does not remove pycache directories

2011-10-07 Thread Paul Moore
New submission from Paul Moore p.f.mo...@gmail.com: When uninstalling a package installed using a bdist_wininst installer, the uninstall reports XXX files and directories could not be removed. The problem appears to be the __pycache__ directories introduced in Python 3.2, which are not

[issue13114] check -r fails with non-ASCII unicode long_description

2011-10-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks for the quick patch! I feared it would be something more complicated :) I will add a test and commit this. (I added 3.2 and 3.3 to the versions because I will add the test there too, to make sure the code behaves right.) Can you give

[issue2945] bdist_rpm does not list dist files (should effect upload)

2011-10-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Great! Could you add a test for this? By the way, do you have a machine with rpm installed? I don’t, so I won’t be able to test the patch. -- ___ Python tracker rep...@bugs.python.org

[issue10141] SocketCan support

2011-10-07 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: which would imply that on this system at least, the AF_CAN definition is supposed to come from elsewhere. Yes, from bits/socket.h. Looks like a crappy libc version: linux/can.h is present, but AF_CAN is not defined. Just for fun,

[issue12436] Missing items in installation/setup instructions

2011-10-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks Mike! So the first item is covered (at least for UNIX, can you check the Windows docs too?), but not the second. The item you linked to explains how to modify a script so that it’s possible to run ./script on Unix, but does not give an

[issue11250] 2to3 truncates files at formfeed character

2011-10-07 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: - barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11250 ___ ___ Python-bugs-list

[issue12602] Missing cross-references in Doc/using

2011-10-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Terry, might that other issue be #12298? -- title: Missing using docs cross-references - Missing cross-references in Doc/using ___ Python tracker rep...@bugs.python.org

[issue11250] 2to3 truncates files at formfeed character

2011-10-07 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: I also noticed that test_parser.py isn't being run in either 3.2 or 3.3. I'll fix that at the same time I port this patch to 3.2. -- ___ Python tracker rep...@bugs.python.org

[issue13123] bdist_wininst uninstaller does not remove pycache directories

2011-10-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks for the report. Are you familiar with the bdist_wininst code? I am not (yet), so if you could make a patch it would help a lot. See also #11254 (which I will commit shortly). -- ___ Python

[issue11254] distutils doesn't byte-compile .py files to __pycache__ during installation

2011-10-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I will commit this today or tomorrow. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11254 ___

[issue10359] ISO C cleanup

2011-10-07 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: According to the latest patch updated by Victor, there are only 3 files left: * Lib/distutils/tests/test_config_cmd.py * Python/Python-ast.c * Modules/_ctypes/libffi/src/x86/ffi.c The first is in a test and it's probably safe to fix

[issue10141] SocketCan support

2011-10-07 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Making the change in configure.in didn't lead to any change: no error when I ran configure Did you run autoconf (or autoreconf) before? -- ___ Python tracker rep...@bugs.python.org

[issue10141] SocketCan support

2011-10-07 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: PF_CAN is defined by #define PF_CAN AF_CAN in linux/socket.h :-( Making the change in configure.in didn't lead to any change: no error when I ran configure (which is ./configure --with-py-debug in my case), and when I build,

[issue13078] Python Crashes When Saving Or Opening

2011-10-07 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Maybe #12988 is related. -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13078 ___

[issue10141] SocketCan support

2011-10-07 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: Did you run autoconf (or autoreconf) before? D'oh! I didn't realise I had to, though in retrospect it should have been obvious ... autoconf isn't even installed on my system, and I can't install it at the moment because of some problem

[issue10359] ISO C cleanup

2011-10-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I will commit this fix and push this week-end or Monday. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10359 ___

[issue9100] test_sysconfig fails (test_user_similar)

2011-10-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I will work on a patch. -- assignee: tarek - eric.araujo versions: -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9100 ___

[issue12436] Missing items in installation/setup instructions

2011-10-07 Thread Mike Hoy
Mike Hoy mho...@gmail.com added the comment: Thanks Mike! So the first item is covered (at least for UNIX, can you check the Windows docs too?), but not the second. http://docs.python.org/dev/using/windows.html Makes no reference to preparing a text editor. This I could help with but...

[issue10141] SocketCan support

2011-10-07 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: Here's a better patch. It only touches socketmodule.c, so no need for autoconf, just use make. If it works on your box, I'll test it on the custom buildbots before pushing it for good (if I learned one thing, it's to never

[issue8087] Unupdated source file in traceback

2011-10-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I do not understand what the proposed feature is. I also think it should be discussed on the python-ideas mailing list first: http://mail.python.org/listinfo/python-ideas -- nosy: +eric.araujo ___

[issue10141] SocketCan support

2011-10-07 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: That did the trick - I can now build the socket module. Thanks! I noticed that the module initialisation code uses #ifdef AF_CAN and #ifdef PF_CAN rather than #ifdef HAVE_LINUX_CAN_H :-) -- ___

[issue12314] regrtest checks (os.environ, sys.path, etc.) are hard to use

2011-10-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Idea: when a regrtest check fails, the test is run again but a WatchfulMixin is injected into the test case’s bases, so that setUp and tearDown call the right methods. This would be more efficient than always running with a watchful test

[issue13038] distutils windows installer STATUS_INVALID_CRUNTIME_PARAMETER (C0000417) exception when python dir is read only

2011-10-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Are these winsinst or MSI installers? -- components: +Distutils2 -Distutils nosy: +alexis versions: +3rd party, Python 3.3 -Python 2.7 ___ Python tracker rep...@bugs.python.org

[issue13038] distutils windows installer STATUS_INVALID_CRUNTIME_PARAMETER (C0000417) exception when python dir is read only

2011-10-07 Thread Mitch Frazier
Mitch Frazier mi...@comwestcr.com added the comment: On 10/7/2011 10:27 AM, Éric Araujo wrote: Éric Araujomer...@netwok.org added the comment: Are these winsinst or MSI installers? They are windows installers (winsinst). -- components: +Distutils2 -Distutils nosy: +alexis

[issue4489] shutil.rmtree is vulnerable to a symlink attack

2011-10-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I made another review but my mail was rejected. http://bugs.python.org/review/4489/diff/3383/10563#newcode319 Lib/test/test_shutil.py:319: @unittest.skipIf(threading == None, 'requires threading') You can just say skipUnless(threading, 'msg')

[issue12436] Missing items in installation/setup instructions

2011-10-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: http://docs.python.org/dev/using/windows.html Makes no reference to preparing a text editor. This I could help with but... Cool, please follow the guidelines in the devguide to make a patch for 3.2. It should be something short, like the unix

[issue13038] bdist_wininst installers should warn if target dir is read-only

2011-10-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: All right. Reclassifying as a feature request for distutils2/packaging (in Python 3.3). -- stage: - needs patch title: distutils windows installer STATUS_INVALID_CRUNTIME_PARAMETER (C417) exception when python dir is read only -

[issue7833] bdist_wininst installers fail to load extensions built with Issue4120 patch

2011-10-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: There is a already a test for manifest things in Lib/distutils/tests/test_msvc9compiler.py, and higher-level tests for building extension modules in Lib/distutils/tests/test_build_ext.py and Lib/distutils/tests/test_install.py. --

[issue7833] bdist_wininst installers fail to load extensions built with Issue4120 patch

2011-10-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Let me add that I don’t know the MS toolchain at all, but if you tell me what a test should do (e.g. compile a C extension, open some compiled file and look for some bytes) I can write a test. -- ___

[issue11250] 2to3 truncates files at formfeed character

2011-10-07 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: Okay, re-enabling test_parser.py introduces a number of test failures in test_all_project_files(). Because I don't want to continue to shave the yak on this one, I'm going to wrap this test in @expectedFailure and open a separate bug for

[issue12681] unittest expectedFailure could take a message argument like skip does

2011-10-07 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: It would be nice if expectedFailure took a bug number and printed a url to the tracker. -- nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12681

[issue13124] Add Running a Build Slave page to the devguide

2011-10-07 Thread Eric Snow
New submission from Eric Snow ericsnowcurren...@gmail.com: Here's a patch to add a page to the devguide on running a build slave. I copied pretty liberally from the wiki (http://wiki.python.org/moin/BuildBot). That page may or may not be up to date (I don't know), so the bulk of this new

[issue12436] Missing items in installation/setup instructions

2011-10-07 Thread Mike Hoy
Mike Hoy mho...@gmail.com added the comment: mostly to recommend Notepad++ I think. In addition to Notepad++ do you think it would be a good idea to at least mention Vim and Emacs with a disclaimer about the learning curve? For Windows users, added a section about how to use a terminal and

[issue13125] test_all_project_files() expected failure

2011-10-07 Thread Barry A. Warsaw
New submission from Barry A. Warsaw ba...@python.org: In working on issue 11250, I noticed that lib2to3's test_parser.py tests were not enabled. Fixing that was easy enough, but then test_all_project_files() in TestParserIdempotency began failing. I've shaved enough yaks for the day so I am

[issue13114] check -r fails with non-ASCII unicode long_description

2011-10-07 Thread Kirill Kuzminykh
Kirill Kuzminykh sai...@mail.ru added the comment: Latin transliteration of my name is Kirill Kuzminykh. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13114 ___

[issue13123] bdist_wininst uninstaller does not remove pycache directories

2011-10-07 Thread Paul Moore
Paul Moore p.f.mo...@gmail.com added the comment: Not really (tbh, not at all). If I get some spare time, I can have a look at producing a patch, but I have little time available for coding at the moment (and I'm switching constantly between 3 PCs, so never have a working development environment

[issue13063] test_concurrent_futures failures on Windows: IOError('[Errno 232] The pipe is being closed') on _send_bytes()

2011-10-07 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Mmh, for some reason it seems it was not enough: http://www.python.org/dev/buildbot/all/builders/x86%20XP-4%203.x/builds/5328/steps/test/logs/stdio -- status: pending - open ___ Python tracker

[issue7367] pkgutil.walk_packages fails on write-only directory in sys.path

2011-10-07 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 17b5afd321a8 by Ned Deily in branch '2.7': Issue #7367: Ensure test directory always gets removed. http://hg.python.org/cpython/rev/17b5afd321a8 New changeset ff72f76dcf43 by Ned Deily in branch '3.2': Issue #7367:

[issue13124] Add Running a Build Slave page to the devguide

2011-10-07 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: A few comments: * are you following some convention about the spelling of buildbot/Buildbot/BuildBot? * +3. the standard development toolchain. Which is? I think a compiler is the only missing bit. * (in which case you'll have to

[issue13122] Out of date links in the sidebar of the documentation index of versions 3.1 and 3.2

2011-10-07 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13122 ___ ___ Python-bugs-list mailing

[issue13124] Add Running a Build Slave page to the devguide

2011-10-07 Thread Eric Snow
Eric Snow ericsnowcurren...@gmail.com added the comment: Great feedback! Keep in mind that nearly all the content in my patch is pulled unedited from either the wiki page and the python-dev thread I mentioned. I'll work on cleaning it up when I get a chance (probably after Wednesday's PyCon

[issue11250] 2to3 truncates files at formfeed character

2011-10-07 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 6e0e9237d8e8 by Barry Warsaw in branch '3.2': - Issue #11250: Back port fix from 3.3 branch, so that 2to3 can handle files http://hg.python.org/cpython/rev/6e0e9237d8e8 -- nosy: +python-dev

[issue13125] test_all_project_files() expected failure

2011-10-07 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 914d3f035887 by Barry Warsaw in branch 'default': - Re-enable lib2to3's test_parser.py tests, though with an expected failure http://hg.python.org/cpython/rev/914d3f035887 New changeset ed0315b9da72 by Barry Warsaw

[issue12436] Missing items in installation/setup instructions

2011-10-07 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: In addition to Notepad++ do you think it would be a good idea to at least mention Vim and Emacs with a disclaimer about the learning curve? I'm not sure how many windows user use Vim/Emacs. Maybe PyScripter could be mentioned too, but

[issue13124] Add Running a Build Slave page to the devguide

2011-10-07 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: I think the whole security paragraph should be deleted. The discussion on python-dev has overstated the risks. Anyone who is *that* security conscious and in effect does not trust the Python committers should also audit the thousands of

[issue4489] shutil.rmtree is vulnerable to a symlink attack

2011-10-07 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com added the comment: http://bugs.python.org/review/4489/diff/3383/10563#newcode319 Lib/test/test_shutil.py:319: @unittest.skipIf(threading == None, 'requires threading') On 2011/10/07 19:29:47, eric.araujo wrote: You can just say skipUnless(threading, 'msg')

[issue12436] Missing items in installation/setup instructions

2011-10-07 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Oops. I just noticed this issue is not talking about the devguide, but the general docs. Please ignore the message above. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12436

[issue12436] Missing items in installation/setup instructions

2011-10-07 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: In addition to Notepad++ do you think it would be a good idea to at least mention Vim and Emacs with a disclaimer about the learning curve? I'm a bit surprised. I would think the devguide is aimed are people who are *already* programmers, and

[issue11250] 2to3 truncates files at formfeed character

2011-10-07 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11250 ___ ___ Python-bugs-list

[issue13126] find() slower than rfind()

2011-10-07 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: With some gcc versions, str.find() is slower than str.rfind(): - 11.22 0.0 s=ABC*33; ((s+D)*500+s+E).find(s+E) (*100) - 4.560.0 s=ABC*33; ((s+D)*500+E+s).find(E+s) (*100) - 6.710.0 s=ABC*33; (s+E) in

[issue13063] test_concurrent_futures failures on Windows: IOError('[Errno 232] The pipe is being closed') on _send_bytes()

2011-10-07 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Ah, this is because IOError is raised because of WindowsError, thus there's no errno translation. Ok, I'd like to wait for PEP 3151 to be merged, then, because it should solve this. -- ___ Python

[issue11085] expose _abcoll as collections.abc

2011-10-07 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: collections is one of those modules everyone will use in their code. Simply untrue, and definitely not in every program. It is also irrelevant for bringing up the interactive interpreter, where there initially is no user code and which

[issue11085] expose _abcoll as collections.abc

2011-10-07 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: collections is one of those modules everyone will use in their code. Simply untrue, and definitely not in every program. It is also irrelevant for bringing up the interactive interpreter, where there initially is no user code and which

[issue13060] allow other rounding modes in round()

2011-10-07 Thread Aaron Robson
Aaron Robson shiny.mag...@googlemail.com added the comment: When i run into I have to bodge around it in ways like the below code. I've only ever used round half up, has anyone here even used Bankers Rounding by choice before? For reference here are the other options:

[issue8087] Unupdated source file in traceback

2011-10-07 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: I'm not sure this is useful to have. If you changed your code you know that you have to reload, so why would you want a warning that tells you that you changed the code? For some reason I always had the opposite problem (i.e. after a

[issue11085] expose _abcoll as collections.abc

2011-10-07 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: You also have to think about command-line apps like Mercurial that need to be snappy. For those guys, a lot of added startup time is a big deal -- one of the reasons Matt Mackall hates thinking about a Python 3 port is that Python 3(.2)

[issue10141] SocketCan support

2011-10-07 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset d4ce850b06b7 by Charles-François Natali in branch 'default': Issue #10141: fix socketmodule compilation on Linux systems with linux/can.h http://hg.python.org/cpython/rev/d4ce850b06b7 --

[issue11682] PEP 380 reference implementation for 3.3

2011-10-07 Thread Armin Ronacher
Armin Ronacher armin.ronac...@active-4.com added the comment: A little bit of input on this issue. Considering that exceptions are now getting keyword arguments for things like import errors and other things for attributes I would find it much better if StopIteration would follow that as

[issue13107] Text width in optparse.py can become negative

2011-10-07 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: argparse has some similar code in Lib/argparse.py:489. Can you reproduce the problem with argparse? If you can't and argparse solved the problem already, we might adopt the same solution; if you can, it should be fixed there too.

  1   2   >