cx_Freeze 4.2.3

2011-03-21 Thread Anthony Tuininga
What is cx_Freeze? cx_Freeze is a set of scripts and modules for freezing Python scripts into executables in much the same way that py2exe and py2app do. Unlike these two tools, however, cx_Freeze is cross platform and should work on any platform that Python itself works on. Where do I get it?

ANN: psutil (python process utilities) 0.2.1 released

2011-03-21 Thread Giampaolo Rodolà
Hi, I'm pleased to announce the 0.2.1 release of psutil: http://code.google.com/p/psutil === About === psutil is a module providing an interface for retrieving information on running processes and system utilization (CPU, memory) in a portable way by using Python, implementing many

cx_Oracle 5.1

2011-03-21 Thread Anthony Tuininga
What is cx_Oracle? cx_Oracle is a Python extension module that allows access to Oracle and conforms to the Python database API 2.0 specifications with a few exceptions. Where do I get it? http://cx-oracle.sourceforge.net What's new? 1) Remove support for UNICODE mode and permit Unicode to

Re: Twisted and txJSON-RPC

2011-03-21 Thread Travis
This problem has come up for me as well. $ sudo easy_install pylisp-ng [sudo] password for _: install_dir /usr/local/lib/python2.6/dist-packages/ Searching for pylisp-ng Reading http://pypi.python.org/simple/pylisp-ng/ Reading https://launchpad.net/pylisp-ng Best match: pyLisp-NG 2.0.0

Re: python time

2011-03-21 Thread Ulrich Eckhardt
ecu_jon wrote: import time,os,string,getpass,md5,ConfigParser from time import strftime,localtime You are importing the time module first, then import some symbols from the time module. This seems redundant to me. Note that after the import time, the name time refers to the module you

Re: os.walk/list

2011-03-21 Thread Peter Otten
ecu_jon wrote: yes i agree breaking stuff into smaller chunks is a good way to do it. even were i to do something like def safe_copy() f1=file(files ,'rb') f2 = file(os.path.join(currentdir,fname,files)) truth = md5.new(f1.read()).digest() == md5.new(f2.read()).digest()

Re: Use cookies from a script in a browser

2011-03-21 Thread Rafael Durán Castañeda
I think thishttp://stackoverflow.com/questions/189555/how-to-use-python-to-login-to-a-webpage-and-retrieve-cookies-for-later-usagecould help you 2011/3/18 gervaz ger...@gmail.com On 18 Mar, 22:52, Miki Tebeka miki.teb...@gmail.com wrote: You can use mechanize, which holds a cookie jar and

os.stat bug?

2011-03-21 Thread Laszlo Nagy
Hi All, I have a Python program that goes up to 100% CPU. Just like this (top): PID USERNAME THR PRI NICE SIZERES STATE C TIME WCPU COMMAND 80212 user1 2 440 70520K 16212K select 1 0:30 100.00% /usr/local/bin/python process_updates_ss_od.py -l 10 I

Re: os.stat bug?

2011-03-21 Thread Christian Heimes
Am 21.03.2011 09:32, schrieb Laszlo Nagy: I must also tell you that the os.stat call is taking long because this system has about 7 million files on a slow disk. It would be normal for an os.stat call to return after 10 seconds. I have no problem with that. But I think that the 100% CPU is

Proxy authentication required

2011-03-21 Thread gervaz
Hi all, I've got to download some web pages but I'm behind a proxy. So far this is what I've used without any successful result receiving the error: urllib.error.HTTPError: HTTP Error 407: Proxy Authentication Required ( The ISA Server requires auth orization to fulfill the request. Access to the

Re: os.utime

2011-03-21 Thread Christian Heimes
Am 21.03.2011 03:32, schrieb Dan Stromberg: Well, it is, and it's not. It was originally called creation time, but many today find change time a better description of what it actually does, sort of retroactively changing what the c means. This is because the ctime reflects the change time of

Re: os.stat bug?

2011-03-21 Thread Martin v. Loewis
Could it be a problem with the operation system? Is it possible that an os.stat call requires 100% CPU power from the OS? Or is it a problem with the Python implementation? There is a chance that the CPU usage actually comes from the thread doing sleep(). If you have a very short sleep time,

Re: class error

2011-03-21 Thread Jean-Michel Pichavant
monkeys paw wrote: OK, i overlooked that and the error was not very enlightening. Thanks very much. module.__init__() takes at most 2 arguments (3 given) Are you sure about the clueless error message ? :) JM -- http://mail.python.org/mailman/listinfo/python-list

Re: os.stat bug?

2011-03-21 Thread Laszlo Nagy
On 2011-03-21 10:58, Martin v. Loewis wrote: Could it be a problem with the operation system? Is it possible that an os.stat call requires 100% CPU power from the OS? Or is it a problem with the Python implementation? There is a chance that the CPU usage actually comes from the thread doing

Re: Bounds checking

2011-03-21 Thread Jean-Michel Pichavant
Martin De Kauwe wrote: Sorry, are you trying to say that it is not practical to write correct code that isn't buggy? Well, you're honest, at least, still I can't help but feel that you're admitting defeat before even starting. No. What I am saying is the code is written has been well

Re: Bounds checking

2011-03-21 Thread Martin De Kauwe
On Mar 21, 9:43 pm, Jean-Michel Pichavant jeanmic...@sequans.com wrote: Martin De Kauwe wrote: Sorry, are you trying to say that it is not practical to write correct code that isn't buggy? Well, you're honest, at least, still I can't help but feel that you're admitting defeat before even

Re: Bounds checking

2011-03-21 Thread Jean-Michel Pichavant
Martin De Kauwe wrote: On Mar 21, 9:43 pm, Jean-Michel Pichavant jeanmic...@sequans.com wrote: Martin De Kauwe wrote: Sorry, are you trying to say that it is not practical to write correct code that isn't buggy? Well, you're honest, at least, still I can't help but feel that you're

How to build and upload eggs to pypi?

2011-03-21 Thread morphex
Hi, I have a couple of project which are on PyPi, and now I'd like to update some of them. Is there a good howto somewhere, showing how to add new versions (instead of updating one that's already there) etc? -Morten -- http://mail.python.org/mailman/listinfo/python-list

[OSX] side by side python

2011-03-21 Thread Robert
Can I install Python 2.7 and 3.2 (from python.org) side by side on OSX without them stepping all over each other? -- http://mail.python.org/mailman/listinfo/python-list

Re: [OSX] side by side python

2011-03-21 Thread FELD Boris
Yes, no problem. Follow the installation normally; if you want to change your default python version to a new one, you need to launch Update Shell Profile.command in your installation path (/Applications/Python X.X/) or choose the Update Shell Profile during the installation. No specific

Re: [OSX] side by side python

2011-03-21 Thread sigzero
Thanks! Oh, how do you like Sparrow vs Mail.app? On Mon, Mar 21, 2011 at 9:30 AM, FELD Boris lothiral...@gmail.com wrote: Yes, no problem. Follow the installation normally; if you want to change your default python version to a new one, you need to launch Update Shell Profile.command in your

Re: side by side python

2011-03-21 Thread macm
On Mar 21, 9:31 am, Robert sigz...@gmail.com wrote: Can I install Python 2.7 and 3.2 (from python.org) side by side on OSX without them stepping all over each other? Yes, sure! Look for python environment http://pypi.python.org/pypi/virtualenv Regards --

Re: side by side python

2011-03-21 Thread Robert
On Mar 21, 9:45 am, macm moura.ma...@gmail.com wrote: On Mar 21, 9:31 am, Robert sigz...@gmail.com wrote: Can I install Python 2.7 and 3.2 (from python.org) side by side on OSX without them stepping all over each other? Yes, sure! Look for python environment

Re: side by side python

2011-03-21 Thread FELD Boris
Yes, i did not mention this solution, using virtualenv is a very good practice, but before create a virtualenv with a specific version of python, you must have installed it globally, isn't it ? Regards, -- FELD Boris Sent with Sparrow On lundi 21 mars 2011 at 14:45, macm wrote: On Mar 21,

py to exe converter

2011-03-21 Thread PATRICIA MEDINA
I know there is a converter for python 2.x to executable file, but is there one for python 3.x yet? -- http://mail.python.org/mailman/listinfo/python-list

Re: os.stat bug?

2011-03-21 Thread Nobody
On Mon, 21 Mar 2011 09:32:11 +0100, Laszlo Nagy wrote: So the state of the process changes to STOP, but the program does not stop until the os.stat call returns back (sometimes for 30 seconds). Could it be a problem with the operation system? Is it possible that an os.stat call requires

Re: py to exe converter

2011-03-21 Thread Alan Harris-Reid
On 19:59, PATRICIA MEDINA wrote: I know there is a converter for python 2.x to executable file, but is there one for python 3.x yet? I use cx_Freeze without any problems (//cx-freeze.sourceforge.net/) HTH Alan -- http://mail.python.org/mailman/listinfo/python-list

Re: py to exe converter

2011-03-21 Thread Santoso Wijaya
There's also py2exe: http://www.py2exe.org/ ~/santa On Mon, Mar 21, 2011 at 11:06 AM, Alan Harris-Reid a...@baselinedata.co.ukwrote: On 19:59, PATRICIA MEDINA wrote: I know there is a converter for python 2.x to executable file, but is there one for python 3.x yet? I use cx_Freeze

Re: In messageBarna wrote:Can???t understand the point to it. ???GUI automation???

2011-03-21 Thread Roberto Salazar
Oh don't be obtuse, dude. GUI automation is much used for webbots and data scraping bamong other things. Why do you think so many sites are starting to use that irritating Captcha technology? To block GUI-manipulating scripts, of course. Though, for blind people Captcha makes navigation on some

Re: py to exe converter

2011-03-21 Thread Alan Harris-Reid
According to //sourceforge.net/projects/py2exe/files/, the latest version only goes as far as Python2.5 :-( Alan On 21/03/2011 19:47, Santoso Wijaya wrote: There's also py2exe: http://www..py2exe.org/

Re: py to exe converter

2011-03-21 Thread Santoso Wijaya
Nope. All the way to 2.7. [1] ~/santa [1] http://sourceforge.net/projects/py2exe/files/py2exe/0.6.9/ On Mon, Mar 21, 2011 at 1:29 PM, Alan Harris-Reid a...@baselinedata.co.ukwrote: According to //sourceforge.net/projects/py2exe/files/, the latest version only goes as far as Python2.5 :-(

Re: Proxy authentication required

2011-03-21 Thread Chris Rebert
On Mon, Mar 21, 2011 at 2:38 AM, gervaz ger...@gmail.com wrote: Hi all, I've got to download some web pages but I'm behind a proxy. So far this is what I've used without any successful result receiving the error: urllib.error.HTTPError: HTTP Error 407: Proxy Authentication Required ( The ISA

Re: Twisted and txJSON-RPC

2011-03-21 Thread Floris Bruynooghe
On Sunday, April 11, 2010 5:04:49 PM UTC+1, writeson wrote: I get an error message: error: docs/PRELUDE.txt: No such file or directory The setup.py code is trying to be too clever and the released package is missing files it requires. The easiest way to fix it is to simply get the latests

Decorator Syntax

2011-03-21 Thread Mike Patterson
In my Python class the other day, the professor was going over decorators and he briefly mentioned that there had been this huge debate about the syntax and using the @ sign to signify decorators. I read about the alternative forms proposed here (http://

Re: Proxy authentication required

2011-03-21 Thread python
On Mar 21, 7:02 pm, Chris Rebert c...@rebertia.com wrote: On Mon, Mar 21, 2011 at 2:38 AM, gervaz ger...@gmail.com wrote: Hi all, I've got to download some web pages but I'm behind a proxy. So far this is what I've used without any successful result receiving the error:

Re: Decorator Syntax

2011-03-21 Thread Benjamin Kaplan
On Mon, Mar 21, 2011 at 8:59 PM, Mike Patterson mikepatterso...@gmail.com wrote: In my Python class the other day, the professor was going over decorators and he briefly mentioned that there had been this huge debate about the syntax and using the @ sign to signify decorators. I read about

[no subject]

2011-03-21 Thread Sniper
-- http://mail.python.org/mailman/listinfo/python-list

Free Software University - Python Certificate

2011-03-21 Thread Giovani
Hi all, my name is Juan and I suscribed to this website called Free Software University, opened recently. One of the goals of this website is making some free high quality courses, one of them about Python. I want to say this message is not SPAM, is a call for every one who can and wants help us

Re: Decorator Syntax

2011-03-21 Thread Ian Kelly
On Mon, Mar 21, 2011 at 7:31 PM, Benjamin Kaplan benjamin.kap...@case.edu wrote: On Mon, Mar 21, 2011 at 8:59 PM, Mike Patterson mikepatterso...@gmail.com wrote: In my Python class the other day, the professor was going over decorators and he briefly mentioned that there had been this huge

how to install the PLY (Python Lex-Yacc) package in windows

2011-03-21 Thread Sachin Kumar Sharma
BB, I downloaded PLY (Python Lex-Yacc)http://www.dabeaz.com/ply/ package for a script use it for parsing and looking to install under windows. It has setup.py file, and the command mentioned for installation is Python setup.py install Doesn't work for windows. Any advice. Cheers Sachin

[issue11060] distutils2 sdist does not complain about version that is not PEP 386 compliant

2011-03-21 Thread yeswanth
Changes by yeswanth swamiyeswa...@yahoo.com: Removed file: http://bugs.python.org/file21008/help.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11060 ___

[issue11060] distutils2 sdist does not complain about version that is not PEP 386 compliant

2011-03-21 Thread yeswanth
yeswanth swamiyeswa...@yahoo.com added the comment: Added some test cases for it . -- keywords: +patch Added file: http://bugs.python.org/file21319/patch1.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11060

[issue10617] Collections ABCs can’t be linked to

2011-03-21 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: This looks fine, but it may be better to put the tables first and details second. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10617

[issue11421] Subversion keywords missing on 2.5 checkout

2011-03-21 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: How about the patch attached in the issue11579 -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11421 ___

[issue10617] Collections ABCs can’t be linked to

2011-03-21 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Yes; then the table entries will link to the descriptions below. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10617 ___

[issue10617] Collections ABCs can’t be linked to

2011-03-21 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: BTW: :meth:`x x` should not do anything different from :meth:`x`. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10617 ___

[issue9309] Add environment variable complementing command line option -no-user-cfg

2011-03-21 Thread Alexander Dreyer
Alexander Dreyer adre...@gmx.de added the comment: If a another solution via virtualenv could do it, I'd prefer that, too. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9309 ___

[issue10617] Collections ABCs can’t be linked to

2011-03-21 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: I put the list first and table second because the table contains more details and information, whereas the list only has a short description (usually the tables provide an overview and they are followed by a more comprehensive list). I

[issue9584] Allow curly brace expansion

2011-03-21 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: Yes, we recently switched to Mercurial. See http://docs.python.org/devguide/faq.html You shouldn't need to change your patches just because of the switch from svn. -- ___ Python tracker

[issue11421] Subversion keywords missing on 2.5 checkout

2011-03-21 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I was worried that the fatal error might not trigger anymore when doing something odd with subversion, but I guess this is unfounded worry. So I'm fine with the patch. -- ___ Python tracker

[issue11579] python 2.5 does not build from hg - looks for subversion keywords

2011-03-21 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset f9763c363cc3 by Martin v. Löwis in branch '2.5': Set subversion version identification to empty strings if this is not a subversion http://hg.python.org/cpython/rev/f9763c363cc3 -- nosy: +python-dev resolution: - fixed

[issue3080] Full unicode import system

2011-03-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: As I see Victor has dropped OS/2 support from Python/import.c Perhaps file Python/dynload_os2.c should be removed also. Not sure about other dynload_* files. 340f76a6a792 just removes few lines in import.c: they can easily be

[issue11594] 2to3 tool does not preserve line-endings

2011-03-21 Thread Alexander Belchenko
Alexander Belchenko bia...@ukr.net added the comment: @Éric Araujo: I've ran tests with python 3.2. All tests have passed: -- Ran 540 tests in 37.688s OK -- ___ Python tracker

[issue11421] Subversion keywords missing on 2.5 checkout

2011-03-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: f9763c363cc3 didn't close this issue whereas its message contains Closes #11579. Closes #11421.. This commit closed #11579. -- nosy: +haypo ___ Python tracker rep...@bugs.python.org

[issue11421] Subversion keywords missing on 2.5 checkout

2011-03-21 Thread Martin v . Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11421 ___

[issue11397] os.path.realpath() may produce incorrect results

2011-03-21 Thread Santoso Wijaya
Santoso Wijaya santoso.wij...@gmail.com added the comment: I'm attaching a patch that fixes this bug. I'm using a different algorithm altogether than the currently existing one, to allow a stack-based approach that lends itself to fixing this bug (as inspired by Wojciech). Hopefully it won't

[issue11397] os.path.realpath() may produce incorrect results

2011-03-21 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11397 ___ ___

[issue10837] Issue catching KeyboardInterrupt while reading stdin

2011-03-21 Thread Devin Jeanpierre
Devin Jeanpierre jeanpierr...@gmail.com added the comment: I can confirm this behavior on 2.7. On 3.2 for me it prints done., but not Interrupted! -- nosy: +Devin Jeanpierre ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10837

[issue10837] Issue catching KeyboardInterrupt while reading stdin

2011-03-21 Thread Devin Jeanpierre
Devin Jeanpierre jeanpierr...@gmail.com added the comment: Sorry, forgot to mention my system. 64-bit Windows 7. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10837 ___

[issue11619] On Windows, don't encode filenames in the import machinery

2011-03-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: open_exclusive() was created by: changeset: 14708:89b2aee43e0b branch: legacy-trunk user:Guido van Rossum gu...@python.org date:Wed Sep 20 20:31:38 2000 + files: Python/import.c description: On Unix,

[issue1677] Ctrl-C will exit out of Python interpreter in Windows

2011-03-21 Thread Devin Jeanpierre
Devin Jeanpierre jeanpierr...@gmail.com added the comment: Windows 7 64-bit (on the metal, not in a VM), can confirm. Holding down Ctrl+C will (eventually) halt Python on all the versions I have installed: 2.3, 2.7, 3.0, 3.1, 3.2. (All of these are 32-bit Pythons). Haven't done anything silly

[issue11619] On Windows, don't encode filenames in the import machinery

2011-03-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: dynload_win.patch: Fix part (a), _PyImport_LoadDynamicModule(). -- keywords: +patch Added file: http://bugs.python.org/file21321/dynload_win.patch ___ Python tracker

[issue10694] zipfile.py end of central directory detection not robust

2011-03-21 Thread Xuanji Li
Xuanji Li xua...@gmail.com added the comment: Hi, can someone look at the patch? There doesn't seem to be any objections to it and it'll solve a long-standing issue. Thanks! -- ___ Python tracker rep...@bugs.python.org

[issue10694] zipfile.py end of central directory detection not robust

2011-03-21 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10694 ___ ___

[issue11618] Locks broken wrt timeouts on Windows

2011-03-21 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com added the comment: Yes, the race condition with the timeout is a problem. Here is a patch that implements this lock using a condition variable. I agree that one must consider performance/simplicity when doing this. -- Added file:

[issue11618] Locks broken wrt timeouts on Windows

2011-03-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Yes, the race condition with the timeout is a problem. Here is a patch that implements this lock using a condition variable. I agree that one must consider performance/simplicity when doing this. I don't understand why you need something that

[issue11060] distutils2 sdist does not complain about version that is not PEP 386 compliant

2011-03-21 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Nice test. Remarks: you don’t need to instantiate MainProgram; the test would be better in test_version; you should test that “0.4.5dev” is rejected, as it’s what was initially reported. Testing versions in mkcfg will be a bit more difficult;

[issue10833] Replace %.100s by %s in PyErr_Format(): the arbitrary limit of 500 bytes is outdated

2011-03-21 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 74d3dc78f0db by Victor Stinner in branch 'default': Issue #10833: Use PyUnicode_FromFormat() and PyErr_Format() instead of http://hg.python.org/cpython/rev/74d3dc78f0db -- nosy: +python-dev

[issue11594] 2to3 does not preserve line endings

2011-03-21 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks. Would you like to work on a unit test or full patch? -- stage: - test needed title: 2to3 tool does not preserve line-endings - 2to3 does not preserve line endings ___ Python tracker

[issue10617] Collections ABCs can’t be linked to

2011-03-21 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I didn't include the () after the methods name because [...] they look ugly on the special __methods__() and it's clear that they are methods even without the (). I feel that way for all functions and methods in the docs, especially given

[issue11060] distutils2 sdist does not complain about version that is not PEP 386 compliant

2011-03-21 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: Please, don't use tabs to indent your code. Also check the trailing spaces and tabs. -- nosy: +SilentGhost ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11060

[issue11618] Locks broken wrt timeouts on Windows

2011-03-21 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com added the comment: I'm just providing this as a fast alternative to the Semaphore, which as far as I know, will cause a kernel call every time. Complicated is relative. In terms of the condition variable api, I wouldn't say that it is. But given

[issue11618] Locks broken wrt timeouts on Windows

2011-03-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I'm just providing this as a fast alternative to the Semaphore, which as far as I know, will cause a kernel call every time. A Semaphore might be slow, but I'm not sure other primitives are faster. For the record, I tried another implementation

[issue11572] bring Lib/copy.py to 100% coverage

2011-03-21 Thread Brandon Craig Rhodes
Brandon Craig Rhodes bran...@rhodesmill.org added the comment: Nick Coghlan rep...@bugs.python.org writes: Regarding __reduce__, other readers will have the same question Éric did, so that point should definitely go in a comment after the __reduce_ex__ check. I just sat down to review this

[issue11594] 2to3 does not preserve line endings

2011-03-21 Thread Alexander Belchenko
Alexander Belchenko bia...@ukr.net added the comment: Éric, thank you for the proposal, but I'm not familiar enough with the codebase to work on it. The short scan over the tests reveals that there is at least one test which tries to test CRLF behavior, in the file test_refactor.py, but I

[issue9302] distutils API Reference: setup() and Extension parameters' description not correct.

2011-03-21 Thread Ray.Allen
Ray.Allen ysj@gmail.com added the comment: I searched the distutils docs for such a parameter description table and find tow more on the distutils.core.setup() function descriptions. Reflected in my updated patch. -- title: distutils.core.Extension: list parameters documented as

[issue11572] bring Lib/copy.py to 100% coverage

2011-03-21 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: The suggestion about assertIsInstance was a mistake, I misread issubclass in the original code. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11572

[issue9309] Add environment variable complementing command line option -no-user-cfg

2011-03-21 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: This is discussed on https://github.com/pypa/virtualenv/issues/88 I noticed that the original Sage bug report requested that no-user-cfg be supported in the global distutils config file; this is more acceptable than adding an environment

[issue7330] PyUnicode_FromFormat: implement width and precision for %s, %S, %R, %V, %U, %A

2011-03-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Ray Allen: Your patch doesn't touch the documentation. At least, you should mention (using .. versionchanged:: 3.3) that PyUnicode_FromFormat() does now support width and precision. It is important to specify the unit of the sizes:

[issue11082] ValueError: Content-Length should be specified

2011-03-21 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: -haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11082 ___ ___

[issue11618] Locks broken wrt timeouts on Windows

2011-03-21 Thread sbt
sbt shibt...@gmail.com added the comment: If we are rolling our own instead of using Semaphores (as has been suggested for performance reasons) then using a Condition variable is IMHO safer than a custom solution because the correctness of that approach is so easily provable. Assuming

[issue9523] Improve dbm modules

2011-03-21 Thread Ray.Allen
Ray.Allen ysj@gmail.com added the comment: I think the patch will not be suitable for 3.1 and 3.2 Yes, it changes some api(e.g keys()), which may introduces compatibility issues. so there should be a doc patch to mention the limitations of the dbm API (keys() returning a list and all

[issue11046] setup.py/configure [darwin]

2011-03-21 Thread Steffen Daode Nurpmeso
Changes by Steffen Daode Nurpmeso sdao...@googlemail.com: -- status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11046 ___ ___

[issue11594] 2to3 does not preserve line endings

2011-03-21 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: I can fix it. I just need to find time. :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11594 ___

[issue11046] setup.py/configure

2011-03-21 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment: On Sat, Mar 19, 2011 at 11:09:27PM +, Ronald Oussoren wrote: AFAIK that means it is not necessary to keep this issue open. Yeah, all-automatic is even better than yet another command line option, i think - great! (Let's get

[issue11046] setup.py/configure

2011-03-21 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment: (P.S.: sorry all of you, have had no contact to roundup and thus [k=v] Subject: interpretation until 30 minutes ago.) -- resolution: later - fixed ___ Python tracker

[issue11621] DMG build error

2011-03-21 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: Looks like a bootstrap issue, could be related to the latest getopt changes: Could not find platform dependent libraries exec_prefix Consider setting $PYTHONHOME to prefix[:exec_prefix] Traceback (most recent call last): File

[issue11621] DMG build error

2011-03-21 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: -pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11621 ___ ___ Python-bugs-list mailing

[issue11618] Locks broken wrt timeouts on Windows

2011-03-21 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com added the comment: Emulating condition variables on windows became easy once Semaphores were provided by the OS because they provide a way around the lost wakeup problem. The current implementation in cpython was submitted by me :) The source

[issue1602] windows console doesn't print or input Unicode

2011-03-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I did some tests with WriteConsoleW(): - with raster fonts, U+00E9 is displayed as é, U+0141 as L and U+042D as ? = good (work as expected) - with TrueType font (Lucida), U+00E9 is displayed as é, U+0141 as Ł and U+042D as Э =

[issue11622] Documentation

2011-03-21 Thread Roberto De Renzi
New submission from Roberto De Renzi roberto.dere...@unipr.it: I don't know if a suggestion is allowed here. I am an absolute beginner trying to substitute my matlab+fortran with python. I just passed the stage of tutorials and I have to struggle looking for the right syntax to implement my

[issue11622] Documentation

2011-03-21 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: Did you try http://docs.python.org/tutorial/ ? -- nosy: +SilentGhost versions: -Python 2.7, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11622

[issue11595] Miscellaneous bugs in cfg_to_args() utility function

2011-03-21 Thread Erik Bray
Erik Bray erik.m.b...@gmail.com added the comment: I've got an additional patch to this function that also adds support for the package_data option, for extension modules (at least as they are currently specified in setup.cfg), and adds support for running setup_hook. The only problem is that

[issue11618] Locks broken wrt timeouts on Windows

2011-03-21 Thread sbt
sbt shibt...@gmail.com added the comment: Benchmarks (on an old laptop running XP without a VM) doing D:\Repos\cpython\PCbuildpython -m timeit -s from threading import Lock; l = Lock() l.acquire(); l.release() 100 loops, best of 3: 0.934 usec per loop default:0.934

[issue11621] build error: bootstrap issue with gettext

2011-03-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Actually, it's not specific to the DMG build. -- nosy: +pitrou, r.david.murray priority: normal - release blocker title: DMG build error - build error: bootstrap issue with gettext ___ Python tracker

[issue11621] build error: bootstrap issue with gettext

2011-03-21 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 160823d258b5 by Antoine Pitrou in branch 'default': Issue #11621: fix bootstrap issue with getopt/gettext (following d3e46930ffe9) http://hg.python.org/cpython/rev/160823d258b5 -- nosy: +python-dev

[issue3080] Full unicode import system

2011-03-21 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com added the comment: Understood. Sorry. I thought Python support only Windows and posix (Linux, BSD, MacOSX etc) systems now, all other OSes are not maintained. Anyway please don't care about that. -- ___

[issue11621] build error: bootstrap issue with gettext

2011-03-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Should be fixed. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11621 ___

[issue7330] PyUnicode_FromFormat: implement width and precision for %s, %S, %R, %V, %U, %A

2011-03-21 Thread Ray.Allen
Changes by Ray.Allen ysj@gmail.com: Removed file: http://bugs.python.org/file21032/issue7330_3.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7330 ___

[issue5863] bz2.BZ2File should accept other file-like objects. (issue4274045)

2011-03-21 Thread Nadeem Vawda
Nadeem Vawda nadeem.va...@gmail.com added the comment: From the discussion on python-dev, it seems that I will need to submit a Contributor Agreement to the PSF. Can I ask that you not commit this patch until the CA has been submitted? I will need to clear it with my employer, and it might

  1   2   >