ANN: ebook-thumbnailer.py v1.0

2012-05-25 Thread Iñigo Serna
Hello, I'm pleased to announce ebook-thumbnailer.py. ebook-thumbnailer.py is a python script which generates cover thumbnails for some common ebook formats (fb2, mobi, fb2, pdf, chm). The package also includes the needed schemas to be integrated with GNOME 3 but it should easily work with any

Uliweb release 0.1 version

2012-05-25 Thread limodou
http://pypi.python.org/pypi/Uliweb/0.1 About Uliweb Uliweb is a Python based web framework. This project was created and lead by Limodou limo...@gmail.com. License Uliweb is released under BSD license. Infrastructure Uliweb was not created

PyCon DE 2012 - Registration Open

2012-05-25 Thread Mike Müller
We are glad to announce that the registration for the second PyCon DE [1] in Leipzig is open. You can now buy tickets [2] at the early-bird rate until end of June before prices will go up. Don't miss the opportunity to come the larges meeting of the German-speaking Python community and secure your

Python for Programmers course - still some space

2012-05-25 Thread Mike Müller
There are still a couple of places left in our upcoming Python course for programmers in the beginning of June. Three intensive days of training with answers to your questions about Python. Python for Programmers -- You know another programming language and would like to

installing 2 and 3 alongside on MS Windows

2012-05-25 Thread Ulrich Eckhardt
Hi! I'm using Python 2.7 for mostly unit testing here. I'm using Boost.Python to wrap C++ code into a module, in another place I'm also embedding Python as interpreter into a test framework. This is the stuff that must work, it's important for production use. I'm running MS Windows XP here and

Re: Namespace hack

2012-05-25 Thread Devin Jeanpierre
On Thu, May 24, 2012 at 9:04 AM, Daniel Fetchinson fetchin...@googlemail.com wrote: Funny, you got to the last line of import this but apparently skipped the second line: Explicit is better than implicit. And you didn't even post your message on April 1 so no, I can't laugh even though I'd

Re: Scoping Issues

2012-05-25 Thread Jean-Michel Pichavant
Andrew Berg wrote: On 5/24/2012 8:59 PM, Dave Angel wrote: so I fixed that, and got inconsistent use of tabs and spaces in indentation because you mistakenly used tabs for indentation. Not to start another tabs-vs.-spaces discussion, Too late, the seeds of war have been

Re: getting started

2012-05-25 Thread Miki Tebeka
s.name = [a,b] s.value = [3,5] I get error that s is not defined. How do I define s and proceed to give its attributes? Either you create a class and use __init__: class S: def __init__(self, name, value): self.name = name self.value = value or create a generic object

Re: getting started

2012-05-25 Thread Dave Angel
On 05/25/2012 09:12 AM, Harvey Greenberg wrote: elementary ques...I set s.name = [a,b] s.value = [3,5] I get error that s is not defined. How do I define s and proceed to give its attributes? You just have to initialize s as an object that's willing to take those attributes. The most

Re: Email Id Verification

2012-05-25 Thread Grant Edwards
On 2012-05-25, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: On Thu, 24 May 2012 05:32:16 -0700, niks wrote: Hello everyone.. I am new to asp.net... I want to use Regular Expression validator in Email id verification.. Why do you want to write buggy code that makes your users

Re: Help doing it the python way

2012-05-25 Thread Ian Kelly
On Thu, May 24, 2012 at 5:12 PM, Emile van Sebille em...@fenx.com wrote: On 5/24/2012 2:30 PM Paul Rubin said... Paul Rubinno.email@nospam.invalid  writes:     new_list = chain( ((x,y-1), (x,y+1)) for x,y in coord_list ) Sorry:    new_list = list(chain( ((x,y-1), (x,y+1)) for x,y in

Re: Scoping Issues

2012-05-25 Thread Ethan Furman
Andrew Berg wrote: On 5/24/2012 8:59 PM, Dave Angel wrote: so I fixed that, and got inconsistent use of tabs and spaces in indentation because you mistakenly used tabs for indentation. Not to start another tabs-vs.-spaces discussion, but tabs are perfectly legal indentation in Python.

Re: Email Id Verification

2012-05-25 Thread Peter Pearson
On Fri, 25 May 2012 13:36:18 + (UTC), Grant Edwards wrote: [snip] . . . Nothing will make your users swear at you as certainly as when you refuse to accept the e-mail address at which the reeive e-mail all day every day. Amusingly, every time I log into Discovercard's web site, I get a

Re: Is there a custom fields plugin or component of django

2012-05-25 Thread Kev Dwyer
kevon wang wrote: I want to find a plugin of django what it can custom fields in the form. The functions include custom fields in web page and create the fields in database. snip You might have more luck getting an answer to this question on the django list (django-us...@googlegroups.com

Re: installing 2 and 3 alongside on MS Windows

2012-05-25 Thread Max Erickson
Ulrich Eckhardt ulrich.eckha...@dominolaser.com wrote: Hi! I'm using Python 2.7 for mostly unit testing here. I'm using Boost.Python to wrap C++ code into a module, in another place I'm also embedding Python as interpreter into a test framework. This is the stuff that must work, it's

Re: Email Id Verification

2012-05-25 Thread Chris Angelico
On Sat, May 26, 2012 at 2:25 AM, Peter Pearson ppearson@nowhere.invalid wrote: Amusingly, every time I log into Discovercard's web site, I get a red-letter warning that my registered email address is invalid.  Inquiring, I was told that the presence of the substring spam anywhere in the

Re: Email Id Verification

2012-05-25 Thread Ian Kelly
On Fri, May 25, 2012 at 10:33 AM, Chris Angelico ros...@gmail.com wrote: On Sat, May 26, 2012 at 2:25 AM, Peter Pearson ppearson@nowhere.invalid wrote: Amusingly, every time I log into Discovercard's web site, I get a red-letter warning that my registered email address is invalid.  

Re: Email Id Verification

2012-05-25 Thread Chris Angelico
On Sat, May 26, 2012 at 3:04 AM, Ian Kelly ian.g.ke...@gmail.com wrote: I would think that it is not an anti-spam measure, but simply due to the fact that most addresses containing spam tend to be something like nos...@invalid.net, being either a fake address or a junk inbox that is only

SQLObject 1.3.1

2012-05-25 Thread Oleg Broytman
Hello! I'm pleased to announce version 1.3.1, the first bug-fix release of branch 1.3 of SQLObject. What is SQLObject = SQLObject is an object-relational mapper. Your database tables are described as classes, and rows are instances of those classes. SQLObject is meant to be

PEP 405 vs 370

2012-05-25 Thread Damjan Georgievski
http://www.python.org/dev/peps/pep-0405/ I don't get what PEP 405 (Python Virtual Environments) brings vs what we already had in PEP 370 since Python 2.6. Obviously 405 has a tool to create virtual environments, but that's trivial for PEP 370 [1], and has support for isolation from the

Re: PEP 405 vs 370

2012-05-25 Thread Ian Kelly
On Fri, May 25, 2012 at 1:45 PM, Damjan Georgievski gdam...@gmail.com wrote: http://www.python.org/dev/peps/pep-0405/ I don't get what PEP 405 (Python Virtual Environments) brings vs what we already had in PEP 370 since Python 2.6. Obviously 405 has a tool to create virtual environments, but

Re: PEP 405 vs 370

2012-05-25 Thread Christian Heimes
Am 25.05.2012 21:45, schrieb Damjan Georgievski: http://www.python.org/dev/peps/pep-0405/ I don't get what PEP 405 (Python Virtual Environments) brings vs what we already had in PEP 370 since Python 2.6. My PEP 370 is about installing additional packages as an unprivileged user and for the

Re: Email Id Verification

2012-05-25 Thread Cameron Simpson
On 25May2012 13:36, Grant Edwards invalid@invalid.invalid wrote: | On 2012-05-25, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: | On Thu, 24 May 2012 05:32:16 -0700, niks wrote: | Hello everyone.. | I am new to asp.net... | I want to use Regular Expression validator in Email id

Re: getting started

2012-05-25 Thread Cameron Simpson
On 25May2012 09:37, Dave Angel d...@davea.name wrote: | On 05/25/2012 09:12 AM, Harvey Greenberg wrote: | elementary ques...I set | s.name = [a,b] | s.value = [3,5] | | I get error that s is not defined. How do I define s and proceed to | give its attributes? [...] | Of course if you told

Re: Email Id Verification

2012-05-25 Thread Jon Clements
On Friday, 25 May 2012 14:36:18 UTC+1, Grant Edwards wrote: On 2012-05-25, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: On Thu, 24 May 2012 05:32:16 -0700, niks wrote: Hello everyone.. I am new to asp.net... I want to use Regular Expression validator in Email id

Re: Dynamic comparison operators

2012-05-25 Thread Jon Clements
Any time you find yourself thinking that you want to use eval to solve a problem, take a long, cold shower until the urge goes away. If you have to ask why eval is dangerous, then you don't know enough about programming to use it safely. Scrub it out of your life until you have learned

usenet reading

2012-05-25 Thread Jon Clements
Hi All, Normally use Google Groups but it's becoming absolutely frustrating - not only has the interface changed to be frankly impractical, the posts are somewhat random of what appears, is posted and whatnot. (Ironically posted from GG) Is there a server out there where I can get my news

Re: usenet reading

2012-05-25 Thread memilanuk
On Friday, May 25, 2012 3:38:55 PM UTC-7, Jon Clements wrote: Hi All, Normally use Google Groups but it's becoming absolutely frustrating - not only has the interface changed to be frankly impractical, the posts are somewhat random of what appears, is posted and whatnot. (Ironically posted

Re: usenet reading

2012-05-25 Thread Jason Earl
On Fri, May 25 2012, Jon Clements wrote: Hi All, Normally use Google Groups but it's becoming absolutely frustrating - not only has the interface changed to be frankly impractical, the posts are somewhat random of what appears, is posted and whatnot. (Ironically posted from GG) Is there a

Re: usenet reading

2012-05-25 Thread Temia Eszteri
[Default] On Fri, 25 May 2012 23:30:24 -0600, Jason Earl je...@notengoamigos.org wrote: On Fri, May 25 2012, Jon Clements wrote: Hi All, Normally use Google Groups but it's becoming absolutely frustrating - not only has the interface changed to be frankly impractical, the posts are somewhat

[issue14899] Naming conventions and guidelines for packages and namespace packages

2012-05-25 Thread Benoît Bryon
Benoît Bryon ben...@marmelune.net added the comment: I didn't provided the patch because the work is still at early stage. I planned to provide a patch when the development branch is quite mature. I created the issue early so that other people can contribute. But I maybe I'd better read PEP 1

[issue14907] SSL module cannot handle unicode filenames

2012-05-25 Thread Marc Schlaich
New submission from Marc Schlaich marc.schla...@googlemail.com: Here is a short example to reproduce the error: import socket, ssl sock = socket.socket() sock = ssl.wrap_socket(sock, cert_reqs=ssl.CERT_REQUIRED, ca_certs=u'ä.crt') sock.connect((None, None)) Traceback (most recent call

[issue12014] str.format parses replacement field incorrectly

2012-05-25 Thread Petri Lehtinen
Petri Lehtinen pe...@digip.org added the comment: I added some comments on rietveld. These are only nit-picking about style and mostly reflect my personal taste, not show stoppers in any case. -- ___ Python tracker rep...@bugs.python.org

[issue4841] io's close() not handling errors correctly

2012-05-25 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 83d500908ffc by Hynek Schlawack in branch '2.7': #4841: Fix FileIO constructor to honor closefd when called repeatedly http://hg.python.org/cpython/rev/83d500908ffc New changeset 8a58670048c9 by Hynek Schlawack in

[issue4841] io's close() not handling errors correctly

2012-05-25 Thread Hynek Schlawack
Hynek Schlawack h...@ox.cx added the comment: I’ve committed due to haypo's wish on IRC. ;) -- resolution: - fixed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4841 ___

[issue14908] datetime.datetime should have a timestamp() method

2012-05-25 Thread Dirkjan Ochtman
New submission from Dirkjan Ochtman dirk...@ochtman.nl: There's datetime.fromtimestamp() and datetime.timetuple(), but no datetime.timestamp(). It should be possible to round-trip a UNIX timestamp through a datetime.datetime. -- messages: 161558 nosy: djc priority: normal severity:

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-05-25 Thread Hynek Schlawack
Hynek Schlawack h...@ox.cx added the comment: Cool, you actually did reviews. :) I’ve updated the patch, anything else? (to my excuse, I originally didn’t want to tamper with code, but now the patch is actually useful and not just pretty ;)) -- Added file:

[issue14907] SSL module cannot handle unicode filenames

2012-05-25 Thread Hynek Schlawack
Hynek Schlawack h...@ox.cx added the comment: Seems to work fine in Python 3.2+. Two possibilities: 1. document ca_certs is str only 2. encode with sys.getfilesystemencoding() if unicode Would have to be fixed in ssl.get_server_certificate too and maybe even more, I did just a quick

[issue14909] Fix incorrect use of *Realloc() and *Resize()

2012-05-25 Thread Kristján Valur Jónsson
New submission from Kristján Valur Jónsson krist...@ccpgames.com: A number of places were using PyMem_Realloc() apis and PyObject_GC_Resize() with incorrect error handling. In case of errors, they would leak the original object. This patch fixes those cases. -- files: realloc.diff

[issue14908] datetime.datetime should have a timestamp() method

2012-05-25 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- components: +Library (Lib) nosy: +belopolsky, lemburg type: - enhancement versions: +Python 3.3 -Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14908

[issue4841] io's close() not handling errors correctly

2012-05-25 Thread Hynek Schlawack
Changes by Hynek Schlawack h...@ox.cx: -- stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4841 ___

[issue14835] plistlib: output empty elements correctly

2012-05-25 Thread Hynek Schlawack
Hynek Schlawack h...@ox.cx added the comment: Sidney, would you mind adding a regression test for both cases? Ned, Ronald what's your take on this? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14835

[issue14835] plistlib: output empty elements correctly

2012-05-25 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: The patch looks fine, but as you noticed there should be a test case for this. I'm -1 w.r.t. applying this to 3.2 or 2.7, it is a functional change that isn't a bug (Apple's libraries will happily read empty arrays that are written as

[issue14835] plistlib: output empty elements correctly

2012-05-25 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: Sidney: Would you be willing to sign the contributor agreement? The following page contains more information on the agreement: http://www.python.org/psf/contrib/ -- ___ Python tracker

[issue14910] argparse disable abbreviation

2012-05-25 Thread Jens Jährig
Changes by Jens Jährig jaehrig.j...@googlemail.com: -- components: None nosy: jens.jaehrig priority: normal severity: normal status: open title: argparse disable abbreviation type: enhancement versions: Python 2.6, Python 2.7 ___ Python tracker

[issue14911] generator.throw() documentation inaccurate

2012-05-25 Thread Kristján Valur Jónsson
New submission from Kristján Valur Jónsson krist...@ccpgames.com: the documentation for generator.throw() does not mention the fact that it has the same semantics for the three arguments as a raise expression has. The first two arguments can be: throw(exc_type, None) throw(exc_type, value)

[issue14910] argparse disable abbreviation

2012-05-25 Thread Jens Jährig
New submission from Jens Jährig jaehrig.j...@googlemail.com: argparse uses per default abbreviation in unambiguous cases. I don't want abbreviation and i'd like to disable it. But theres no option to do this. http://docs.python.org/library/argparse.html#argument-abbreviations Only to override

[issue14910] argparse: disable abbreviation

2012-05-25 Thread Jens Jährig
Changes by Jens Jährig jaehrig.j...@googlemail.com: -- title: argparse disable abbreviation - argparse: disable abbreviation ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14910 ___

[issue14912] Pdb does not stop at a breakpoint after a restart command and source changes

2012-05-25 Thread Xavier de Gaye
New submission from Xavier de Gaye xdeg...@gmail.com: In the following session, main.py is changed just before the restart command. Pdb does not stop at Breakpoint 1 after the last continue. $ python -m pdb main.py /path_to/main.py(1)module() - def foo(): (Pdb) import sys; print(sys.version)

[issue14908] datetime.datetime should have a timestamp() method

2012-05-25 Thread Alexander Belopolsky
Alexander Belopolsky alexander.belopol...@gmail.com added the comment: See issue2736. -- nosy: +Alexander.Belopolsky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14908 ___

[issue3177] Add shutil.open

2012-05-25 Thread Larry Hastings
Larry Hastings la...@hastings.org added the comment: As an example, ``os.startfile(a.py)`` will usually run `a.py` in the Python interpreter, while ``xdg-open a.py`` it will usually open the source code in an editor on Linux. Well, so how about on UNIX shutil.launch (or whatever it's called)

[issue14913] tokenize the source to manage Pdb breakpoints

2012-05-25 Thread Xavier de Gaye
New submission from Xavier de Gaye xdeg...@gmail.com: Pdb behavior is not consistent with GNU gdb behavior when setting a breakpoint on an empty line, a comment or a multi-line statement (the breakpoint is ignored by pdb on a non-first line of a multi-line statement and rejected on empty lines

[issue14789] after continue, Pdb stops at a line without a breakpoint

2012-05-25 Thread Xavier de Gaye
Xavier de Gaye xdeg...@gmail.com added the comment: Parsing the modules source seems a better way to fix this problem, see issue 14913. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14789

[issue14792] setting a bp on current function, Pdb stops at next line although no bp

2012-05-25 Thread Xavier de Gaye
Xavier de Gaye xdeg...@gmail.com added the comment: Parsing the modules source seems a better way to fix this problem, see issue 14913. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14792

[issue14795] Pdb incorrectly handles a method breakpoint when module not imported

2012-05-25 Thread Xavier de Gaye
Xavier de Gaye xdeg...@gmail.com added the comment: Parsing the modules source seems a better way to fix this problem, see issue 14913. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14795

[issue14808] Pdb does not stop at a breakpoint set on the line of a function definition

2012-05-25 Thread Xavier de Gaye
Xavier de Gaye xdeg...@gmail.com added the comment: Parsing the modules source seems a better way to fix this problem, see issue 14913. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14808

[issue14912] Pdb does not stop at a breakpoint after a restart command and source changes

2012-05-25 Thread Xavier de Gaye
Xavier de Gaye xdeg...@gmail.com added the comment: Parsing the modules source seems a better way to fix this problem, see issue 14913. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14912

[issue14881] multiprocessing.dummy craches when self._parent._children does not exist

2012-05-25 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 1f5d2642929a by Richard Oudkerk in branch '2.7': Issue #14881: Allow normal non-main thread to spawn a dummy process http://hg.python.org/cpython/rev/1f5d2642929a New changeset 0528ec18e230 by Richard Oudkerk in

[issue4849] instantiating and populating xml.dom.minidom.Element is cumbersome

2012-05-25 Thread Alexander O
Alexander O alexan...@vonoesterreich.com added the comment: stupid question but why shouldn't this be possible ? class Element(_Element): def __init__(self,name,**kwargs): _Element.__init__(self,name) attributes = kwargs.get(attributes)

[issue12098] Child process running as debug on Windows

2012-05-25 Thread Richard Oudkerk
Changes by Richard Oudkerk shibt...@gmail.com: -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12098 ___

[issue9400] multiprocessing.pool.AsyncResult.get() messes up exceptions

2012-05-25 Thread Richard Oudkerk
Changes by Richard Oudkerk shibt...@gmail.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9400 ___

[issue12882] mmap crash on Windows

2012-05-25 Thread Richard Oudkerk
Richard Oudkerk shibt...@gmail.com added the comment: Without more information I will close this. -- resolution: - invalid stage: - committed/rejected status: open - pending ___ Python tracker rep...@bugs.python.org

[issue12091] multiprocessing: simplify ApplyResult and MapResult with threading.Event

2012-05-25 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 57d6265beaaa by Richard Oudkerk in branch 'default': Issue #12091: simplify ApplyResult and MapResult with threading.Event http://hg.python.org/cpython/rev/57d6265beaaa -- nosy: +python-dev

[issue14548] garbage collection just after multiprocessing's fork causes exceptions

2012-05-25 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 59567c117b0e by Richard Oudkerk in branch 'default': Issue #14548: Make multiprocessing finalizers check pid before running http://hg.python.org/cpython/rev/59567c117b0e -- nosy: +python-dev

[issue3561] Windows installer should add Python and Scripts directories to the PATH environment variable

2012-05-25 Thread Jim Jewett
Jim Jewett jimjjew...@gmail.com added the comment: Chris Lambacher On Wed, Apr 25, 2012 at 10:50 AM, Martin v. Löwis added the comment: lambacck: I'm -1, but I'm willing to yield ... regular users won't have to deal with negative consequences that enabling this by default may have. I'm

[issue14914] pysetup installed distribute despite dry run option being specified

2012-05-25 Thread Nick Coghlan
New submission from Nick Coghlan ncogh...@gmail.com: After approving the pyvenv PEP, I decided to play around with the other big packaging enhancement in 3.3: pysetup. The following command installed distribute: pysetup3.3 -n install distribute The -n *should* have caused that to be a

[issue14915] pysetup may leave a package in a half-installed state

2012-05-25 Thread Nick Coghlan
New submission from Nick Coghlan ncogh...@gmail.com: Do make altinstall from trunk. Try running pysetup3.3 install distutils2 This won't work properly, because distutils2 uses Python 2 syntax. However, after running that command: pysetup3.3 remove distutils2 complains that distutils2 is not

[issue14905] zipimport.c needs to support namespace packages when no 'directory' entry exists

2012-05-25 Thread Eric V. Smith
Eric V. Smith e...@trueblade.com added the comment: See also test_namespace_pkgs.py ZipWithMissingDirectory.test_missing_directory which is currently marked as expectedFailure. -- ___ Python tracker rep...@bugs.python.org

[issue3561] Windows installer should add Python and Scripts directories to the PATH environment variable

2012-05-25 Thread Jim Jewett
Jim Jewett jimjjew...@gmail.com added the comment: On Thu, May 24, 2012 at 8:11 PM, Brian Curtin br...@python.org added the comment: does anyone think something like this dialog http://i.imgur.com/18zPD.png be helpful? yes. After choosing the directory to install to and before choosing

[issue14796] Calendar module test coverage improved

2012-05-25 Thread Oleg Plakhotnyuk
Changes by Oleg Plakhotnyuk oleg...@gmail.com: Removed file: http://bugs.python.org/file25632/test_calendar.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14796 ___

[issue14796] Calendar module test coverage improved

2012-05-25 Thread Oleg Plakhotnyuk
Changes by Oleg Plakhotnyuk oleg...@gmail.com: Added file: http://bugs.python.org/file25705/test_calendar.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14796 ___

[issue14916] PyRun_InteractiveLoop fails to run interactively when using a Linux pty that's not tied to stdin/stdout

2012-05-25 Thread Kevin Barry
New submission from Kevin Barry ta0k...@gmail.com: I have been trying to get PyRun_InteractiveLoop to run on a pty (Linux) without replacing stdin and stdout with that pty; however, it seems like Python (2.6.6) is hard-coded to only run interactively on stdin and stdout. Compile the attached

[issue14917] Make os.symlink on Win32 detect if target is directory

2012-05-25 Thread Larry Hastings
New submission from Larry Hastings la...@hastings.org: The prototype for os.symlink on Windows adds a target_is_directory flag, which indicates whether or not the destination is a directory. Surely we could detect that and pass in the correct value ourselves? A quick GetFileAttributes() call

[issue14918] Incorrect explanation of TypeError exception

2012-05-25 Thread Thanos Tsouanas
New submission from Thanos Tsouanas tha...@sians.org: # This correctly raises a type error, but the explanation # that comes with it is bad: def foo(x, y, z=28): return foo(x, z=8) # TypeError: foo() takes at least 2 arguments (2 given) -- messages: 161588 nosy: Thanos.Tsouanas

[issue14915] pysetup may leave a package in a half-installed state

2012-05-25 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14915 ___ ___

[issue14914] pysetup installed distribute despite dry run option being specified

2012-05-25 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14914 ___ ___

[issue14910] argparse: disable abbreviation

2012-05-25 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +bethard, tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14910 ___ ___

[issue14901] Python Windows FAQ is Very Outdated

2012-05-25 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14901 ___ ___

[issue14897] struct.pack raises unexpected error message

2012-05-25 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14897 ___ ___

[issue14871] Rewrite the command line parsers and actions system used in distutils2

2012-05-25 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14871 ___ ___

[issue14881] multiprocessing.dummy craches when self._parent._children does not exist

2012-05-25 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14881 ___ ___

[issue14617] confusing docs with regard to __hash__

2012-05-25 Thread Ethan Furman
Ethan Furman et...@stoneleaf.us added the comment: Newest changes uploaded. -- Added file: http://bugs.python.org/file25707/__hash__3.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14617

[issue14858] 'pysetup create' off-by-one when choosing classification maturity status interactively.

2012-05-25 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14858 ___ ___

[issue14919] what disables one from adding self to the nosy list

2012-05-25 Thread Tshepang Lekhonkhobe
New submission from Tshepang Lekhonkhobe tshep...@gmail.com: It's implied in the devguide[1] that there are cases where one won't have permission to edit the nosy list. Can someone mention on that text what cases are those. I thought everybody who is logged in had such permissions. 1:

[issue14919] what disables one from adding self to the nosy list

2012-05-25 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Me too. I think the implication of that devguide entry is wrong. -- nosy: +r.david.murray stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14919

[issue14881] multiprocessing.dummy craches when self._parent._children does not exist

2012-05-25 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: 3.3 commit is http://hg.python.org/cpython/rev/9373ca8c6c55 Richard, it did not record here because you just said 'Merge' rather than #14881 merge ;-). Great to see a crasher fixed. Ready to close? -- nosy: +terry.reedy

[issue14893] Tutorial: Add function annotation example to function tutorial

2012-05-25 Thread Zachary Ware
Zachary Ware zachary.w...@gmail.com added the comment: Thanks for the review :). Replied and here's the updated patch. -- Added file: http://bugs.python.org/file25708/annotations_tutorial.v2.patch ___ Python tracker rep...@bugs.python.org

[issue14712] Integrate PEP 405

2012-05-25 Thread Vinay Sajip
Changes by Vinay Sajip vinay_sa...@yahoo.co.uk: -- priority: normal - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14712 ___ ___

[issue14901] Python Windows FAQ is Very Outdated

2012-05-25 Thread Michael Driscoll
Michael Driscoll m...@pythonlibrary.org added the comment: Here are a few proposals that spring to mind: 1a) Update all Windows references to Windows 7 or Vista/7. We can include XP, but I think Microsoft is dropping support next year. 1b) Update all Python references to the current version

[issue14890] typo in difflib

2012-05-25 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks for wanting to contribute nonetheless! Don’t hesitate to make patches for other bugs. You may be interested in the core-mentorship mailing list http://mail.python.org/mailman/listinfo/core-mentorship where any question will receive a

[issue14911] generator.throw() documentation inaccurate

2012-05-25 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- stage: - needs patch versions: -Python 3.1, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14911 ___

[issue14910] argparse: disable abbreviation

2012-05-25 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- versions: +Python 3.3 -Python 2.6, Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14910 ___

[issue14901] Python Windows FAQ is Very Outdated

2012-05-25 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: The freeze script may have been moved in 3.2. -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14901 ___

[issue14901] Python Windows FAQ is Very Outdated

2012-05-25 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks for the detailed remarks. Some of the proposed changes may not apply to the 2.7 and 3.2 versions, which for example support XP if I remember correctly. 1b: Sure, patch welcomed. 6: os.system is discouraged, but os.popen still exists in

[issue14879] invalid docs for subprocess exceptions with shell=True

2012-05-25 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo, ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14879 ___ ___

[issue14878] Improve documentation for generator.send method

2012-05-25 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks for the report. Are you interested in making a patch? Guidelines are in the devguide. -- nosy: +eric.araujo stage: - needs patch title: send statement from PEP342 is poorly documented. - Improve documentation for

[issue14852] json and ElementTree parsers misbehave on streams containing more than a single object

2012-05-25 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I am not sure the parsers should be lenient. One could argue that it’s the stream that is broken if it contains non-compliant XML or JSON. Can you tell more about the use case? -- nosy: +eli.bendersky, eric.araujo, ezio.melotti,

[issue14858] 'pysetup create' off-by-one when choosing classification maturity status interactively.

2012-05-25 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks for the report and fix. Someone interested in contributing can turn your fix into a patch with a test. -- keywords: +easy stage: - needs patch versions: +3rd party, Python 3.3 -Python 2.7 ___

[issue14731] Enhance Policy framework in preparation for adding email6 policies as provisional

2012-05-25 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 9388c671d52d by R David Murray in branch 'default': #14731: refactor email policy framework. http://hg.python.org/cpython/rev/9388c671d52d -- nosy: +python-dev ___ Python

[issue14731] Enhance Policy framework in preparation for adding email6 policies as provisional

2012-05-25 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I decided to keep the Compat32 class public both because it simplifies the documentation and because there doesn't seem to be a good reason to hide it. I'm leaving this issue open pending adding some discussion to What's New. --

  1   2   >