PyDev 2.2.3 Released

2011-10-07 Thread Fabio Zadrozny
Hi All, PyDev 2.2.3 has been released Details on PyDev: http://pydev.org Details on its development: http://pydev.blogspot.com Release Highlights: --- * Performance improvements * Major: Fixed critical issue when dealing with zip files. * Added option to create

ANN: hgview 1.4.0 - Mercurial log navigator

2011-10-07 Thread Alain Leufroy
Announcing HgView 1.4.0 === HgView home page: http://www.logilab.org/project/hgview Tarball: http://ftp.logilab.org/pub/hgview/hgview-1.4.0.tar.gz Hg repository: http://www.logilab.org/src/hgview About this release == Text mode inside make it

pypiserver 0.3.0 - minimal pypi server

2011-10-07 Thread Ralf Schmitt
Hi, I've just uploaded pypiserver 0.3.0 to the python package index. pypiserver is a minimal PyPI compatible server. It can be used to serve a set of packages and eggs to easy_install or pip. pypiserver is easy to install (i.e. just easy_install pypiserver). It doesn't have any external

sending ftp file list to mail???

2011-10-07 Thread selahattin ay
hi all. I want to get my ftp list and send the list to my mail adress... my codes are from ftplib import FTP import smtplib from email.MIMEMultipart import MIMEMultipart from email.MIMEText import MIMETextbaglanti = FTP(ftp.guncelyorum.org) baglanti.login(**, ***) print baglanti.dir()

matplotlib on osx 10.6

2011-10-07 Thread luca72
hello i try to install matplotlib on osx 10.6 , i have also installed freetype libpng and numpy but i get this error: BUILDING MATPLOTLIB matplotlib: 1.1.0 python: 2.6.1 (r261:67515, Jun 24 2010, 21:47:49) [GCC 4.2.1 (Apple Inc. build 5646)]

Re: Deleting files on a shared server

2011-10-07 Thread Tim Golden
On 07/10/2011 02:14, Josh English wrote: This is a follow-up to some questions I posted a month or two ago. I have two programs running on various Windows XP boxes, sharing several resource files on a Windows 2003 server. It's a mapped drive on the workstations to a shared folder. I am using a

Re: database connection

2011-10-07 Thread Gabriel Genellina
En Fri, 07 Oct 2011 02:18:04 -0300, masood shaik masood@gmail.com escribió: can u please tell me how we can connect to database without changing the permission of db file using sqlite3 The OS user who executes the Python script must have read (and write, usually) access to the

Re: How to inspect slot wrappers arguments in Python?

2011-10-07 Thread Gabriel Genellina
En Sat, 01 Oct 2011 12:13:45 -0300, julian bilcke julian.bil...@gmail.com escribió: I would like to get the list of parameters I need to initialize an AST node. I'm trying to use the `inspect` module, however it seems I can't use it on a built-in (native?) class, or else I

Thread handling issue

2011-10-07 Thread Paul
I'm wondering what the best solution for this problem is. I've got a wxpython app, in one part a user makes some selections then opens a dialog to select where to output. At which point the app starts a thread processing their selection while they're choosing an output location, hopefully

Re: Thread handling issue

2011-10-07 Thread Tim Golden
On 07/10/2011 09:29, Paul wrote: I'm wondering what the best solution for this problem is. I've got a wxpython app, in one part a user makes some selections then opens a dialog to select where to output. At which point the app starts a thread processing their selection while they're choosing an

Python selenium web driver

2011-10-07 Thread Yesudian Rajkumar Johnkoilpillai
Hi, I am looking into using Selenium 2.0 for launching Firefox and browse few sites. I am using Python APIs to talk to webdriver on Ubuntu 11.04. I am basically trying to follow the steps mentioned at http://pypi.python.org/pypi/selenium . When I run the program, it throws error as below.

Re: sending ftp file list to mail???

2011-10-07 Thread Gabriel Genellina
En Fri, 07 Oct 2011 03:23:57 -0300, selahattin ay selahattin...@msn.com escribió: hi all. I want to get my ftp list and send the list to my mail adress... my codes are And your problem is...? -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list

Re: sending ftp file list to mail???

2011-10-07 Thread Gabriel Genellina
En Fri, 07 Oct 2011 03:23:57 -0300, selahattin ay selahattin...@msn.com escribió: hi all. I want to get my ftp list and send the list to my mail adress... my codes are baglanti = FTP(ftp.guncelyorum.org) baglanti.login(**, ***) print baglanti.dir() posta = MIMEMultipart() def

Re: socket.getsockname is returning junk!!

2011-10-07 Thread Gabriel Genellina
En Wed, 05 Oct 2011 08:56:08 -0300, Wong Wah Meng-R32813 r32...@freescale.com escribió: I am migrating my application from python 1.5.2 to 2.7.1. One of the existing code breaks. The getsockname method from socket object somehow returns me with some number which I deem as junk, rather than

Re: A tuple in order to pass returned values ?

2011-10-07 Thread Jean-Michel Pichavant
Steven D'Aprano wrote: Jean-Michel Pichavant wrote: In a general manner, ppl will tend to use the minimum arguments required. However, do not pack values into tuple if they are not related. How would you return multiple values if not in a tuple? Tuples are *the* mechanism for

RE: socket.getsockname is returning junk!!

2011-10-07 Thread Wong Wah Meng-R32813
Thanks. Someone pointed out that this could be due to a corrupted build, which I revisited the process. I included -lxnet in the linking process of the build, and this problem is resolved. The -lxnet was stated in README file for HP-UX Itanium build, which I somehow dropped it out in the middle

Re: Thread handling issue

2011-10-07 Thread Paul
Tim Golden mail at timgolden.me.uk writes: On 07/10/2011 09:29, Paul wrote: I'm wondering what the best solution for this problem is. I've got a wxpython app, in one part a user makes some selections then opens a dialog to select where to output. At which point the app starts a

Re: A tuple in order to pass returned values ?

2011-10-07 Thread Cameron Simpson
On 07Oct2011 11:43, Jean-Michel Pichavant jeanmic...@sequans.com wrote: | namedtuple sounds great (if you don't use unpacking :o) ), too bad | it is available only from python 2.6. It is easy enough to roll your own. Here's some example code with several flaws (it claims tuplehood, but is

Re: A tuple in order to pass returned values ?

2011-10-07 Thread Peter Otten
Cameron Simpson wrote: On 07Oct2011 11:43, Jean-Michel Pichavant jeanmic...@sequans.com wrote: | namedtuple sounds great (if you don't use unpacking :o) ), too bad | it is available only from python 2.6. It is easy enough to roll your own. Or use Raymond Hettinger's implementation:

Testing properties that are date-related

2011-10-07 Thread Tim Chase
Are there best practices for testing dates that are properties which take the current date into consideration? I have something like class Foo: def _get_year_range(self): return (self._min_year, self._max_year) def _set_year_range(self, year): if isinstance(year, tuple):

Re: Testing properties that are date-related

2011-10-07 Thread Peter Otten
Tim Chase wrote: Are there best practices for testing dates that are properties which take the current date into consideration? I have something like class Foo: def _get_year_range(self): return (self._min_year, self._max_year) def _set_year_range(self, year):

Re: Testing properties that are date-related

2011-10-07 Thread Tim Chase
On 10/07/11 07:38, Peter Otten wrote: Are there best practices for testing dates that are properties which take the current date into consideration The problem is that the behavior of the window_date function depends on the current date (the function makes a guess about adding the century if

Re: passing multiple string to a command line option

2011-10-07 Thread Miki Tebeka
Seems like self.ptype is a type that has __init__ with no arguments (other than self). You can add print type(self.ptype) as first line of convert to see what type it is (or place a breakpoint there). -- http://mail.python.org/mailman/listinfo/python-list

Re: Testing properties that are date-related

2011-10-07 Thread Ethan Furman
Tim Chase wrote: On 10/07/11 07:38, Peter Otten wrote: Are there best practices for testing dates that are properties which take the current date into consideration The problem is that the behavior of the window_date function depends on the current date (the function makes a guess about adding

Re: Thread handling issue

2011-10-07 Thread Tim Golden
On 07/10/2011 11:15, Paul wrote: My first thought was to use a flag but wouldn't the new thread see the cancel flag and stop as well? I could set it back but then any other threads might have been busy and not seen it while the flag was on. The thread goes through the selection and does a few

Re: Testing properties that are date-related

2011-10-07 Thread Tim Chase
On 10/07/11 09:45, Ethan Furman wrote: Tim Chase wrote: On 10/07/11 07:38, Peter Otten wrote: def setUp(self): foo.window_date = functools.partial(foo.window_date, around=date(2011, 1, 1)) it worked like a charm. Another option is injection: import foo def

Re: passing multiple string to a command line option

2011-10-07 Thread Mahmood Naderan
That print command generated a lot of errors. Since that error in my first post is related to the python code in simulator, I emailed them and consulted for help. Seems that it is going to be fixed Thanks for your kindness :)   // Naderan *Mahmood; - Original Message - From: Miki

Re: help

2011-10-07 Thread Redcat
On Fri, 07 Oct 2011 15:59:55 +, X1 wrote: I have this program that fails: $ vapt Traceback (most recent call last): File /usr/local/bin/vapt, line 3, in module from vapt import vapt File /usr/lib/python2.6/site-packages/vapt/__init__.py, line 11, in module

unsupported operand type(s) for pow(): 'unicode', 'long', 'long': Pycrypto

2011-10-07 Thread Kayode Odeyemi
Hello everyone, I'm writing a fairly large app which uses Oauth (python-oauth2). I am trying to generate a public/private key pair on user supplied parameters (whitespaced-delimited strings basically). When trying to encrypt the key, I'm getting the unsupported operand type(s) for pow():

Re: unsupported operand type(s) for pow(): 'unicode', 'long', 'long': Pycrypto

2011-10-07 Thread Ian Kelly
On Fri, Oct 7, 2011 at 11:16 AM, Kayode Odeyemi drey...@gmail.com wrote: Hello everyone, I'm writing a fairly large app which uses Oauth (python-oauth2). I am trying to generate a public/private key pair on user supplied parameters (whitespaced-delimited strings basically). When trying to

Re: help

2011-10-07 Thread Redcat
Thanks, I have the Tk module installed, but the program still fails. Probably it is a problem of path? That would be my guess - that the Tk module is installed somewhere other than where OpenGL.Tk is looking for it. -- http://mail.python.org/mailman/listinfo/python-list

Re: unsupported operand type(s) for pow(): 'unicode', 'long', 'long': Pycrypto

2011-10-07 Thread Kayode Odeyemi
On Fri, Oct 7, 2011 at 7:23 PM, Ian Kelly ian.g.ke...@gmail.com wrote: On Fri, Oct 7, 2011 at 11:16 AM, Kayode Odeyemi drey...@gmail.com wrote: Hello everyone, I'm writing a fairly large app which uses Oauth (python-oauth2). I am trying to generate a public/private key pair on user

RE: Thread handling issue

2011-10-07 Thread Prasad, Ramit
-Original Message- From: python-list-bounces+ramit.prasad=jpmorgan@python.org [mailto:python-list-bounces+ramit.prasad=jpmorgan@python.org] On Behalf Of Paul Sent: Friday, October 07, 2011 3:29 AM To: python-list@python.org Subject: Thread handling issue I'm wondering what the

Re: Advise on using logging.getLogger needed.

2011-10-07 Thread Vinay Sajip
On Oct 2, 11:12 pm, Steven W. Orr ste...@syslang.net wrote: I hope I don't sound like I'm ranting :-( You don't, but neither is it absolutely clear what you're trying to achieve. BTW the term root logger in the logging docs refers to a logger internal to the logging package, and not to a logger

deepcopy does not work for A subclassed list

2011-10-07 Thread txismis unzetabarrenetxeagoikolea
This is the issue I have created a mylist class by subclassing a List, added several attributes to mylist , and overrided the append method which takes into account one of the new attributes. mylist class is functional and works as I planned, but when I try to deepcopy objects from mylist I

[ANN] pypiserver 0.3.0 - minimal pypi server

2011-10-07 Thread Ralf Schmitt
Hi, I've just uploaded pypiserver 0.3.0 to the python package index. pypiserver is a minimal PyPI compatible server. It can be used to serve a set of packages and eggs to easy_install or pip. pypiserver is easy to install (i.e. just easy_install pypiserver). It doesn't have any external

Memory

2011-10-07 Thread Frank Ruiz
Quick question, What is the best way for pulling resource information for a system running linux? Was wondering if there was a python only way. Methods I am aware of are: 1. Parsing contents of /proc 2. Running a system command like free, or dmidecode and parsing the output. Is there any other

Re: Dabo 0.9.4 Released!

2011-10-07 Thread Ed Leafe
On Oct 6, 2011, at 12:18 PM, Neal Becker wrote: What is it? Sorry, I guess I should have included that. We've been around for so long I sometimes assume that everyone knows what Dabo is. Dabo is a framework for building desktop applications. It is strongly geared toward

Re: Memory

2011-10-07 Thread Christian Heimes
Am 07.10.2011 21:39, schrieb Frank Ruiz: Quick question, What is the best way for pulling resource information for a system running linux? Was wondering if there was a python only way. Methods I am aware of are: 1. Parsing contents of /proc 2. Running a system command like free, or

Re: recommend a graphics library for plotting by the pixel?

2011-10-07 Thread Adam Funk
On 2011-10-04, Ian Kelly wrote: On Tue, Oct 4, 2011 at 3:56 AM, Adam Funk a24...@ducksburg.com wrote: I'd like to create a window with a pause button and a large plotting area, in which I'd like to draw a polygon, detect the pixel coördinates of a mouse click, and then start setting the

Re: recommend a graphics library for plotting by the pixel?

2011-10-07 Thread Adam Funk
On 2011-10-05, Westley Martínez wrote: On Wed, Oct 05, 2011 at 02:29:38PM +0100, Adam Funk wrote: I only know PyGame because we did an exercise in recreating the old breakout game and messing around with it at a local Python group. I was under the mistaken impression from that exercise

Re: deepcopy does not work for A subclassed list

2011-10-07 Thread MRAB
On 07/10/2011 20:29, txismis unzetabarrenetxeagoikolea wrote: This is the issue I have created a mylist class by subclassing a List, added several attributes to mylIst , and overrided the append method which takes into account one of the new attributes. mylist class is functional and works as

Re: Thread handling issue

2011-10-07 Thread Cameron Simpson
On 07Oct2011 10:15, Paul poal...@gmail.com wrote: | Tim Golden mail at timgolden.me.uk writes: | On 07/10/2011 09:29, Paul wrote: | My problem is if the user doesn't select an output location and cancels the | dialog to go back to the selection I want to terminate the thread to avoid the |

Re: deepcopy does not work for A subclassed list

2011-10-07 Thread Terry Reedy
On 10/7/2011 4:37 PM, MRAB wrote: On 07/10/2011 20:29, txismis unzetabarrenetxeagoikolea wrote: Any ideas about how to make the copy module to behave as expected. The documentation talks about defining a __deepcopy__ method. Specifically, in the copy module doc In order for a class to

Re: help

2011-10-07 Thread Terry Reedy
On 10/7/2011 12:56 PM, Redcat wrote: On Fri, 07 Oct 2011 15:59:55 +, X1 wrote: I have this program that fails: $ vapt Traceback (most recent call last): File /usr/local/bin/vapt, line 3, inmodule from vapt import vapt File /usr/lib/python2.6/site-packages/vapt/__init__.py, line

Re: unsupported operand type(s) for pow(): 'unicode', 'long', 'long': Pycrypto

2011-10-07 Thread Terry Reedy
On 10/7/2011 2:54 PM, Kayode Odeyemi wrote: pow() needs params in non-unicode. pow() need 2 or 3 numbers as args. The function that calls it must turn the (2.x) string into a number, either with hash() or its own hash function. That latter function probably want integers code in range(256).

The hyper fused upper part of Nike Air

2011-10-07 Thread jerser-2009
The hyper fused upper part of Nike Air Max displays the humanity of the designer because of its lightweight, breathability and a feeling of plusher fitness. The mesh inner collar, and the soft springy cushion http://www.outlet-nike-air-max.com/inside can protect the feet against most possible

Re: Deleting files on a shared server

2011-10-07 Thread Gabriel Genellina
En Fri, 07 Oct 2011 04:45:32 -0300, Tim Golden m...@timgolden.me.uk escribió: On 07/10/2011 02:14, Josh English wrote: To delete the files, I am using os.unlink. One lock file refuses to disappear, even though I have code at both application startup and shutdown (on the OnInit and OnExit

[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

  1   2   >