[issue13130] test_gdb: attempt to dereference a generic pointer

2011-10-07 Thread Stefan Krah
New submission from Stefan Krah : The Fedora bot fails since yesterday: Breakpoint 1, builtin_id (self=, v=Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.krah-fedora/build/python-gdb.py", line 1329, in to_string return pyop.get_truncated_repr(MAX_OUTPUT_LEN) Fil

[issue10517] test_concurrent_futures crashes with "--with-pydebug" on RHEL5 with "Fatal Python error: Invalid thread state for this thread"

2011-10-07 Thread Graham Dumpleton
Graham Dumpleton added the comment: Did anyone test this fix for case of fork() being called from Python sub interpreter? Getting a report of fork() failing in sub interpreters under mod_wsgi that may be caused by this change. Still investigating. Specifically throwing up error: Couldn't

[issue13129] bad argument exceptions observed in AST

2011-10-07 Thread rmtew
rmtew added the comment: False alarm, must have reproduced this in wrong source tree :-( Purely Stackless-specific. -- resolution: -> invalid status: open -> closed ___ Python tracker __

[issue13129] bad argument exceptions observed in AST

2011-10-07 Thread rmtew
New submission from rmtew : Platform Windows 7. hg id: a3f2dba93743+ (3.2) I do not know any reproduction steps for this bug outside as a side-effect within an incomplete and problematic Stackless merge. This bug also seems to exist in cpython, and is not in Stackless specific code. It seems

[issue13128] httplib debuglevel on CONNECT doesn't print response headers

2011-10-07 Thread Matt Spear
New submission from Matt Spear : httplib with a debuglevel prints out the response headers, but does not do so with CONNECT requests (when set_tunnel is used). Attached is a small patch to print the reply when the CONNECT request returns something other than 200 OK. I'm not sure if it is wor

[issue13127] xml.dom.Attr.name is not labeled as read-only

2011-10-07 Thread Dillon Amburgey
Dillon Amburgey added the comment: The behavior can be verified as follows. Notice that despite changing the value, the output XML does not change >>> from xml.dom import minidom, Node >>> a = minidom.parseString("http://asd.com\";>asd") >>> a >>> a.childNodes [] >>> a.childNodes[0] >>> a.ch

[issue13127] xml.dom.Attr.name is not labeled as read-only

2011-10-07 Thread Dillon Amburgey
New submission from Dillon Amburgey : http://docs.python.org/library/xml.dom.html#dom-attr-objects does not label the name attribute as read-only (like localName) even though it is. -- assignee: docs@python components: Documentation messages: 145155 nosy: dillona, docs@python priority:

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

2011-10-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: I disagree about 3.2 not being 'stable'. With more bugs fixes, it should be more stable. People should be encouraged to download 3.2. 2.7 came out 8 months before, and that should be updated (and again when 3.3 comes out). -- nosy: +terry.reedy _

[issue13086] Update howto/cporting.rst so it talks about 3.x instead of 3.0

2011-10-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, 'to Python 3'. Patch welcome. I would make it up to date as of 3.2. For 3.3, the Unicode api will change (grow) but that has not been finalized yet. -- nosy: +terry.reedy versions: +Python 2.7 ___ Python tracke

[issue13081] Crash in Windows with unknown cause

2011-10-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: If I understand the messages, this is more a program bug than a Python bug and the 'fix' for this tracker would be a doc patch. Adding one would be welcome. -- nosy: +terry.reedy ___ Python tracker

[issue13078] Python Crashes When Saving Or Opening

2011-10-07 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

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

2011-10-07 Thread Mark Hammond
Mark Hammond added the comment: My apologies Eric - I had completely overlooked those tests. Attaching a new patch with a test. Note the existing test doesn't actually perform a build so the new test also doesn't, but it does check the core logic (ie, that a manifest with only the msvcrt re

[issue11085] expose _abcoll as collections.abc

2011-10-07 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue11085] expose _abcoll as collections.abc

2011-10-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: A couple of years ago, various people worked hard to remove unneeded imports from the interpreter startup routine. The result was both quite noticeable and much appreciated on my old xp machine. I hate to see much of that progress tossed away. -- __

[issue12602] Missing cross-references in Doc/using

2011-10-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: As of 2.7/3.2, the doc is named "Python Setup and Usage" at http://docs.python.org/index.html http://docs.python.org/using/cmdline.html (and other chapters) and in the contents list of the Windows help version. For new doc editors, it would be nicer if the filen

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

2011-10-07 Thread Ezio Melotti
Ezio Melotti added the comment: AFAIK the doc for 3.1 is not rebuilt anymore, so even if it's fixed, the change won't have any visible effect -- unless someone manually triggers a rebuild. Regarding the 3.1 link on the py3k page: I think 'stable' still applies, even if it only receives securit

[issue13111] Error 2203 when installing Python/Perl?

2011-10-07 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +brian.curtin, tim.golden ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

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

2011-10-07 Thread Michael Foord
Michael Foord added the comment: Well, it would be nice for the Python test suite, maybe not so useful for external users of the api. Something for regrtest rather than unittest I think. -- ___ Python tracker ___

[issue3902] Packages containing only extension modules have to contain __init__.py

2011-10-07 Thread Mike Hoy
Mike Hoy added the comment: > We’re working on a patch on the core-mentorship list. Éric, I emailed the diff to the Core-Mentorship list, but since there was no reply I will just attach it here. Please review patch and let me know if you want any changes. -- keywords: +patch nosy: +m

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

2011-10-07 Thread Ezio Melotti
Ezio Melotti 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. -- nosy: +ezio.melotti

[issue11682] PEP 380 reference implementation for 3.3

2011-10-07 Thread Armin Ronacher
Armin Ronacher 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 well (StopIteration(value=42) i

[issue10141] SocketCan support

2011-10-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset d4ce850b06b7 by Charles-François Natali in branch 'default': Issue #10141: fix socketmodule compilation on Linux systems with http://hg.python.org/cpython/rev/d4ce850b06b7 -- ___ Python tracker

[issue11085] expose _abcoll as collections.abc

2011-10-07 Thread Georg Brandl
Georg Brandl 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) startup time is already

[issue8087] Unupdated source file in traceback

2011-10-07 Thread Ezio Melotti
Ezio Melotti 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 reload the traceback was

[issue13060] allow other rounding modes in round()

2011-10-07 Thread Aaron Robson
Aaron Robson 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: http://en.wikipedia.org/wiki/Rounding#Tie-breaking

[issue11085] expose _abcoll as collections.abc

2011-10-07 Thread Antoine Pitrou
Antoine Pitrou 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 should happen

[issue11085] expose _abcoll as collections.abc

2011-10-07 Thread Terry J. Reedy
Terry J. Reedy 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 should happen as fast

[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 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 tracker

[issue13126] find() slower than rfind()

2011-10-07 Thread Antoine Pitrou
New submission from Antoine Pitrou : 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

[issue11250] 2to3 truncates files at formfeed character

2011-10-07 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue12436] Missing items in installation/setup instructions

2011-10-07 Thread Antoine Pitrou
Antoine Pitrou 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 have chosen t

[issue12436] Missing items in installation/setup instructions

2011-10-07 Thread Antoine Pitrou
Antoine Pitrou 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 __

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

2011-10-07 Thread Ross Lagerwall
Ross Lagerwall 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') Right. http://bugs.p

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

2011-10-07 Thread Stefan Krah
Stefan Krah 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 lines of ./configure and an

[issue12436] Missing items in installation/setup instructions

2011-10-07 Thread Ezio Melotti
Ezio Melotti 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 I'm not sure how popul

[issue13125] test_all_project_files() expected failure

2011-10-07 Thread Roundup Robot
Roundup Robot 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 in branch 'default': - Re-enable

[issue11250] 2to3 truncates files at formfeed character

2011-10-07 Thread Roundup Robot
Roundup Robot 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 ___ Python tr

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

2011-10-07 Thread Eric Snow
Eric Snow 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 CFP closes :). If anyone wa

[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 : -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

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

2011-10-07 Thread Ezio Melotti
Ezio Melotti 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 install Python and T

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

2011-10-07 Thread Roundup Robot
Roundup Robot 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: Ensure test directory always gets

[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 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

[issue13123] bdist_wininst uninstaller does not remove pycache directories

2011-10-07 Thread Paul Moore
Paul Moore 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 when I need one :-(

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

2011-10-07 Thread Kirill Kuzminykh
Kirill Kuzminykh added the comment: Latin transliteration of my name is Kirill Kuzminykh. -- ___ Python tracker ___ ___ Python-bugs-l

[issue13125] test_all_project_files() expected failure

2011-10-07 Thread Barry A. Warsaw
New submission from Barry A. Warsaw : 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 going to leave t

[issue12436] Missing items in installation/setup instructions

2011-10-07 Thread Mike Hoy
Mike Hoy 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 Do you think

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

2011-10-07 Thread Eric Snow
New submission from Eric Snow : 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 page may also be out of date..

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

2011-10-07 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: It would be nice if expectedFailure took a bug number and printed a url to the tracker. -- nosy: +barry ___ Python tracker ___ __

[issue11250] 2to3 truncates files at formfeed character

2011-10-07 Thread Barry A. Warsaw
Barry A. Warsaw 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 it. -- __

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

2011-10-07 Thread Éric Araujo
Éric Araujo 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. -- ___ Python tracker <

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

2011-10-07 Thread Éric Araujo
Éric Araujo 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. -- _

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

2011-10-07 Thread Éric Araujo
Éric Araujo 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 -> bdist_wininst ins

[issue12436] Missing items in installation/setup instructions

2011-10-07 Thread Éric Araujo
Éric Araujo 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 docs, mostly to

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

2011-10-07 Thread Éric Araujo
Éric Araujo 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') http://bugs.python.o

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

2011-10-07 Thread Mitch Frazier
Mitch Frazier added the comment: On 10/7/2011 10:27 AM, Éric Araujo wrote: > > Éric Araujo added the comment: > > Are these winsinst or MSI installers? They are windows installers (winsinst). > > -- > components: +Distutils2 -Distutils > nosy: +alexis > versions: +3rd party, Python 3.

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

2011-10-07 Thread Éric Araujo
Éric Araujo 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

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

2011-10-07 Thread Éric Araujo
Éric Araujo 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 runner. -- __

[issue10141] SocketCan support

2011-10-07 Thread Vinay Sajip
Vinay Sajip 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 :-) -- ___ Python tracker

[issue8087] Unupdated source file in traceback

2011-10-07 Thread Éric Araujo
Éric Araujo 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 ___ Python tracker

[issue10141] SocketCan support

2011-10-07 Thread Charles-François Natali
Charles-François Natali 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 underestimate the potential f

[issue12436] Missing items in installation/setup instructions

2011-10-07 Thread Mike Hoy
Mike Hoy 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... > The item you

[issue9100] test_sysconfig fails (test_user_similar)

2011-10-07 Thread Éric Araujo
Éric Araujo added the comment: I will work on a patch. -- assignee: tarek -> eric.araujo versions: -Python 3.1 ___ Python tracker ___ ___

[issue10359] ISO C cleanup

2011-10-07 Thread Éric Araujo
Éric Araujo added the comment: I will commit this fix and push this week-end or Monday. -- ___ Python tracker ___ ___ Python-bugs-lis

[issue10141] SocketCan support

2011-10-07 Thread Vinay Sajip
Vinay Sajip 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 with the Ubuntu repos fo

[issue13078] Python Crashes When Saving Or Opening

2011-10-07 Thread Ezio Melotti
Ezio Melotti added the comment: Maybe #12988 is related. -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue10141] SocketCan support

2011-10-07 Thread Antoine Pitrou
Antoine Pitrou 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

[issue10141] SocketCan support

2011-10-07 Thread Vinay Sajip
Vinay Sajip 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, the same error (AF_CAN und

[issue10359] ISO C cleanup

2011-10-07 Thread Ezio Melotti
Ezio Melotti 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 (Éric, do you want to take

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

2011-10-07 Thread Éric Araujo
Éric Araujo added the comment: I will commit this today or tomorrow. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue13123] bdist_wininst uninstaller does not remove pycache directories

2011-10-07 Thread Éric Araujo
Éric Araujo 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 tracker

[issue11250] 2to3 truncates files at formfeed character

2011-10-07 Thread Barry A. Warsaw
Barry A. Warsaw 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

[issue12602] Missing cross-references in Doc/using

2011-10-07 Thread Éric Araujo
Éric Araujo added the comment: Terry, might that other issue be #12298? -- title: Missing using docs cross-references -> Missing cross-references in Doc/using ___ Python tracker __

[issue11250] 2to3 truncates files at formfeed character

2011-10-07 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- assignee: -> barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue12436] Missing items in installation/setup instructions

2011-10-07 Thread Éric Araujo
Éric Araujo 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 actual example of

[issue10141] SocketCan support

2011-10-07 Thread Charles-François Natali
Charles-François Natali added the comment: > which would imply that on this system at least, the AF_CAN definition is > supposed to come from elsewhere. Yes, from . Looks like a crappy libc version: is present, but AF_CAN is not defined. Just for fun, is PF_CAN defined? You might try the fo

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

2011-10-07 Thread Éric Araujo
Éric Araujo 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 __

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

2011-10-07 Thread Éric Araujo
Éric Araujo 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 me a Latin transl

[issue13123] bdist_wininst uninstaller does not remove pycache directories

2011-10-07 Thread Paul Moore
New submission from Paul Moore : 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 removed properly. -

[issue1164953] logging.basicConfig creates phantom handler

2011-10-07 Thread Vinay Sajip
Vinay Sajip 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 the documentation is c

[issue10141] SocketCan support

2011-10-07 Thread Vinay Sajip
Vinay Sajip 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) ... #define AF_CAN 29

[issue10141] SocketCan support

2011-10-07 Thread Vinay Sajip
Vinay Sajip 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 #endif Now, the snippet from pre-processing is: # 182 "/usr/include/linux/tipc.h" 3 4 struct sockaddr_tipc { unsigned s

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

2011-10-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: Fixed now. Hopefully the replacement resource is good enough. -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker _

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

2011-10-07 Thread Roundup Robot
Roundup Robot 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 -- ___ Python tracker

[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 : 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 time when 3.2 w

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

2011-10-07 Thread Roundup Robot
Roundup Robot 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 branch 'default': Issue #12823: rem

[issue13118] Py_BuildValue format f incorrect description.

2011-10-07 Thread Félix-Antoine Fortin
Félix-Antoine Fortin added the comment: I stand corrected. -- resolution: -> rejected status: open -> closed ___ Python tracker ___

[issue10141] SocketCan support

2011-10-07 Thread Vinay Sajip
Vinay Sajip added the comment: I added the line in the suggested place: #ifdef HAVE_LINUX_TIPC_H # include #endif #ifdef HAVE_LINUX_CAN_H #include /* the line I added - line 76 */ #include #endif #ifdef HAVE_LINUX_CAN_RAW_H #include #endif Strangely, it seems to make no difference! I co

[issue1164953] logging.basicConfig creates phantom handler

2011-10-07 Thread anatoly techtonik
anatoly techtonik 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 pythonic (i.e. intuitive a

[issue1164953] logging.basicConfig creates phantom handler

2011-10-07 Thread Vinay Sajip
Vinay Sajip added the comment: > anatoly techtonik 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. You're not likely to be awar

[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 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 ___ Python trac

[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 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 branch 'default': Issue #13063:

[issue12602] Missing using docs cross-references

2011-10-07 Thread Nick Coghlan
Nick Coghlan 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 '

[issue12602] Missing using docs cross-references

2011-10-07 Thread Mike Hoy
Changes by Mike Hoy : -- nosy: +mikehoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

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

2011-10-07 Thread Mike Hoy
Changes by Mike Hoy : -- nosy: +mikehoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

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

2011-10-07 Thread Meador Inge
Changes by Meador Inge : -- assignee: docs@python -> meador.inge resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

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

2011-10-07 Thread Roundup Robot
Roundup Robot 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 ___ Python tracker

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

2011-10-07 Thread Meador Inge
Meador Inge added the comment: Éric, thanks. I fixed most of your points. And thanks to everyone that reviewed this. Much appreciated. -- ___ Python tracker ___

[issue1164953] logging.basicConfig creates phantom handler

2011-10-07 Thread anatoly techtonik
anatoly techtonik 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. -- ___ Python tracker

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

2011-10-07 Thread Raymond Hettinger
Raymond Hettinger 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 and negative values from th

[issue10141] SocketCan support

2011-10-07 Thread Charles-François Natali
Charles-François Natali 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 run the regress

  1   2   >