python-graph-1.7.0 released

2010-03-21 Thread Pedro Matiello
python-graph release 1.7.0 http://code.google.com/p/python-graph/ python-graph is a library for working with graphs in Python. This software provides a suitable data structure for representing graphs and a whole set

[RELEASED] Python 3.1.2

2010-03-21 Thread Benjamin Peterson
On behalf of the Python development team, I'm joyful to announce the second bugfix release of the Python 3.1 series, Python 3.1.2. This bug fix release fixes numerous issues found in 3.1.1, and is considered a production release. The Python 3.1 version series focuses on the stabilization and

How to keep effects of image filters going for some seconds?

2010-03-21 Thread Ren Wenshan
Hello, every pythoner. Firstly, I want to mention that English is my second language, so maybe there are some sentences which makes you confused, sorry. I have been learning Panda3D, an open source 3D engine, these days. Now, I'm trying to write a small game for fun and practice. However, I've

nonuniform sampling with replacement

2010-03-21 Thread Jah_Alarm
I've got a vector length n of integers (some of them are repeating), and I got a selection probability vector of the same length. How will I sample with replacement k (=n) values with the probabilty vector. In Matlab this function is randsample. I couldn't find anything to this extent in Scipy or

Re: How to keep effects of image filters going for some seconds?

2010-03-21 Thread donn
On 21/03/2010 09:23, Ren Wenshan wrote: I have been learning Panda3D, an open source 3D engine, Ask on the Panda3D forums, you will get good help there. \d -- http://mail.python.org/mailman/listinfo/python-list

Re: nonuniform sampling with replacement

2010-03-21 Thread Alf P. Steinbach
* Jah_Alarm: I've got a vector length n of integers (some of them are repeating), and I got a selection probability vector of the same length. How will I sample with replacement k (=n) values with the probabilty vector. In Matlab this function is randsample. I couldn't find anything to this

Re: nonuniform sampling with replacement

2010-03-21 Thread Peter Otten
Jah_Alarm wrote: I've got a vector length n of integers (some of them are repeating), and I got a selection probability vector of the same length. How will I sample with replacement k (=n) values with the probabilty vector. In Matlab this function is randsample. I couldn't find anything to

Re: nonuniform sampling with replacement

2010-03-21 Thread Alf P. Steinbach
* Alf P. Steinbach: * Jah_Alarm: I've got a vector length n of integers (some of them are repeating), and I got a selection probability vector of the same length. How will I sample with replacement k (=n) values with the probabilty vector. In Matlab this function is randsample. I couldn't find

Re: should writing Unicode files be so slow

2010-03-21 Thread djc
Antoine Pitrou wrote: Le Fri, 19 Mar 2010 17:18:17 +, djc a écrit : changing with open(filename, 'rU') as tabfile: to with codecs.open(filename, 'rU', 'utf-8', 'backslashreplace') as tabfile: and with open(outfile, 'wt') as out_part: to with codecs.open(outfile, 'w', 'utf-8') as

Re: EURO GIRLS MISS EUROPE MISS FRENCH FRENCH PRETTY GIRLS SEXY FRENCH GIRLS on www.sexyandpretty-girls.blogspot.com SEXY RUSSIAN GIRLS SEXY GREEK GIRLS SEXY DUTCH GIRLS SEXY UK G

2010-03-21 Thread Ravi Kumar
On Sat, Mar 20, 2010 at 7:27 PM, Brian J Mingus brian.min...@colorado.eduwrote: Moderating this stuff requires moderating all messages. It would take a team of volunteers. You are right... Form the team of volunteers. More people in it, better it would be - since no one would have to be

Clearing memory (namespace) before running code

2010-03-21 Thread vsoler
Hi, Is there a way to erase/delete/clear memory before a piece of code is run? Otherwise, the objects of the previous run are re-usable, and may bring confusion to the tester. Thank you -- http://mail.python.org/mailman/listinfo/python-list

Re: EURO GIRLS MISS EUROPE MISS FRENCH FRENCH PRETTY GIRLS SEXY FRENCH GIRLS on www.sexyandpretty-girls.blogspot.com SEXY RUSSIAN GIRLS SEXY GREEK GIRLS SEXY DUTCH GIRLS SEXY UK GIR

2010-03-21 Thread Steve Holden
Brian J Mingus wrote: [... duplicating the spam and thereby lending it further Google juice ...] -- http://mail.python.org/mailman/listinfo/python-list Guys, I know it is a lot of work to moderate a large mailing list. But still, with so many of us surely we can pull it off? It's

Re: Clearing memory (namespace) before running code

2010-03-21 Thread Steve Holden
vsoler wrote: Hi, Is there a way to erase/delete/clear memory before a piece of code is run? Otherwise, the objects of the previous run are re-usable, and may bring confusion to the tester. Thank you You mean clear a *namespace*? That might be possible if you have access to the

Re: Clearing memory (namespace) before running code

2010-03-21 Thread Jon Clements
On 21 Mar, 15:02, vsoler vicente.so...@gmail.com wrote: Hi, Is there a way to erase/delete/clear memory before a piece of code is run? Otherwise, the objects of the previous run are re-usable, and may bring confusion to the tester. Thank you I'm guessing you're using some sort of IDE?

Re: How to automate accessor definition?

2010-03-21 Thread Diez B . Roggisch
kj no.em...@please.post wrote: I need to create a class solely for the purpose of encapsulating a large number of disparate data items. At the moment I have no plans for any methods for this class other than the bazillion accessors required to access these various instance

Re: EURO GIRLS MISS EUROPE MISS FRENCH FRENCH PRETTY GIRLS SEXY FRENCH GIRLS on www.sexyandpretty-girls.blogspot.com SEXY RUSSIAN GIRLS SEXY GREEK GIRLS SEXY DUTCH GIRLS SEXY UK G

2010-03-21 Thread Zooko O'Whielacronx
On Sat, Mar 20, 2010 at 1:27 PM, Brian J Mingus brian.min...@colorado.edu wrote: Moderating this stuff requires moderating all messages. Not quite. GNU Mailman comes with nice features to ease this task. You can configure it so that everyone who is currently subscribed can post freely, but new

Re: How to automate accessor definition?

2010-03-21 Thread kj
In 639908184290880449.447600deets-nospam.web...@news.hansenet.de Diez B. Roggisch de...@nospam.web.de writes: You don't. Python is not Java. So just use instance attributes, and if you need bhavior when accessing an attribute, introduce a property. Just accessing attributes looks a bit

Re: How to automate accessor definition?

2010-03-21 Thread kj
In mailman.1018.1269125666.23598.python-l...@python.org Chris Rebert c...@rebertia.com writes: On Sat, Mar 20, 2010 at 3:15 PM, kj no.em...@please.post wrote: I need to create a class solely for the purpose of encapsulating a large number of disparate data items. =C2=A0At the moment I have no

[RELEASED] Python 3.1.2

2010-03-21 Thread Benjamin Peterson
On behalf of the Python development team, I'm joyful to announce the second bugfix release of the Python 3.1 series, Python 3.1.2. This bug fix release fixes numerous issues found in 3.1.1, and is considered a production release. The Python 3.1 version series focuses on the stabilization and

Re: How to automate accessor definition?

2010-03-21 Thread Steve Holden
kj wrote: In mailman.1018.1269125666.23598.python-l...@python.org Chris Rebert c...@rebertia.com writes: On Sat, Mar 20, 2010 at 3:15 PM, kj no.em...@please.post wrote: I need to create a class solely for the purpose of encapsulating a large number of disparate data items. =C2=A0At the

Re: How to automate accessor definition?

2010-03-21 Thread kj
In 4ba58503$0$27838$c3e8...@news.astraweb.com Steven D'Aprano st...@remove-this-cybersource.com.au writes: On Sat, 20 Mar 2010 22:15:54 +, kj wrote: I need to create a class solely for the purpose of encapsulating a large number of disparate data items. There's a built-in for that. It's

Re: EURO GIRLS MISS EUROPE MISS FRENCH FRENCH PRETTY GIRLS SEXY FRENCH GIRLS on www.sexyandpretty-girls.blogspot.com SEXY RUSSIAN GIRLS SEXY GREEK GIRLS SEXY DUTCH GIRLS SEXY UK G

2010-03-21 Thread Benjamin Kaplan
On Sun, Mar 21, 2010 at 12:55 PM, Zooko O'Whielacronx zoo...@gmail.com wrote: On Sat, Mar 20, 2010 at 1:27 PM, Brian J Mingus brian.min...@colorado.edu wrote: Moderating this stuff requires moderating all messages. Not quite. GNU Mailman comes with nice features to ease this task. You can

RSON 0.06 released

2010-03-21 Thread Patrick Maupin
I am pleased to announce the release of RSON 0.06. The goal of the RSON project is to create a file format that is easy to edit, diff, and version control, that is a superset of JSON and smaller than YAML. I consider this release to be feature complete on the file format, and I believe the pure

Regexp problem when parsing a string

2010-03-21 Thread Alessandro Marino
I'm a beginner and I was trying to write a program to parse recursively all file names in a directory specified as parameter. The problem is that I get a None printed to stdout when a file is positively matched. While when the file name doesn't match the regexp the output seems ok.

Re: Python Documentation website layout changed?

2010-03-21 Thread Andrej Mitrovic
On Mar 20, 12:32 am, Steve Holden st...@holdenweb.com wrote: Steve Holden wrote: Andrej Mitrovic wrote: On Mar 17, 6:41 pm, Andrej Mitrovic andrej.mitrov...@gmail.com wrote: Hi, What happened to the sidebar on the left of the documentation website? It seems to be gone:

Re: How to automate accessor definition?

2010-03-21 Thread Steven D'Aprano
On Sun, 21 Mar 2010 16:57:40 +, kj wrote: Just accessing attributes looks a bit dangerous to me, due to bugs like typing i.typo = 'foo' when what you meant is i.type = 'foo' That's the price you pay for using a dynamic language like Python with no declarations. But honestly,

Re: Regexp problem when parsing a string

2010-03-21 Thread Steven D'Aprano
On Sun, 21 Mar 2010 19:12:18 +0100, Alessandro Marino wrote: Could anyone help me to figure out why None appears in the putput? I get: Attachment not shown: MIME type application/octet-stream; filename a.py Posting attachments to Usenet is tricky. Many newsgroups filter out anything they

Re: Regexp problem when parsing a string

2010-03-21 Thread MRAB
Alessandro Marino wrote: I'm a beginner and I was trying to write a program to parse recursively all file names in a directory specified as parameter. The problem is that I get a None printed to stdout when a file is positively matched. While when the file name doesn't match the regexp the

Re: How to automate accessor definition?

2010-03-21 Thread Christian Heimes
Steve Holden wrote: You may well find that namedtuple is faster than what you put together yourself, as the collections module is implemented in C. But namedtuple isn't, Steve. Namedtuple is a class generator that creates fast and efficient classes. --

Re: How to automate accessor definition?

2010-03-21 Thread Patrick Maupin
On Mar 21, 11:57 am, kj no.em...@please.post wrote: Just accessing attributes looks a bit dangerous to me, due to bugs like typing   i.typo = 'foo' when what you meant is   i.type = 'foo' I tried fixing this by mucking with __setattr__, but I didn't hit on a satisfactory solution

Re: How to automate accessor definition?

2010-03-21 Thread Steve Holden
Christian Heimes wrote: Steve Holden wrote: You may well find that namedtuple is faster than what you put together yourself, as the collections module is implemented in C. But namedtuple isn't, Steve. Namedtuple is a class generator that creates fast and efficient classes. Ah, right,

Re: EURO GIRLS MISS EUROPE MISS FRENCH FRENCH PRETTY GIRLS SEXY FRENCH GIRLS on www.sexyandpretty-girls.blogspot.com SEXY RUSSIAN GIRLS SEXY GREEK GIRLS SEXY DUTCH GIRLS SEXY UK G

2010-03-21 Thread AON LAZIO
Relax guys, let have fun once in a while On Sat, Mar 20, 2010 at 12:18 AM, Naeem kse.listed@gmail.com wrote: EURO GIRLS MISS EUROPE MISS FRENCH FRENCH PRETTY GIRLS SEXY FRENCH GIRLS on www.sexyandpretty-girls.blogspot.com SEXY RUSSIAN GIRLS SEXY GREEK GIRLS SEXY DUTCH GIRLS SEXY UK

Re: EURO GIRLS MISS EUROPE MISS FRENCH FRENCH PRETTY GIRLS SEXY FRENCH GIRLS on www.sexyandpretty-girls.blogspot.com SEXY RUSSIAN GIRLS SEXY GREEK GIRLS SEXY DUTCH GIRLS SEXY UK G

2010-03-21 Thread Brian J Mingus
On Sun, Mar 21, 2010 at 10:55 AM, Zooko O'Whielacronx zoo...@gmail.comwrote: On Sat, Mar 20, 2010 at 1:27 PM, Brian J Mingus brian.min...@colorado.edu wrote: Moderating this stuff requires moderating all messages. Not quite. GNU Mailman comes with nice features to ease this task. You can

Re: EURO GIRLS MISS EUROPE MISS FRENCH FRENCH PRETTY GIRLS SEXY FRENCH GIRLS on www.sexyandpretty-girls.blogspot.com SEXY RUSSIAN GIRLS SEXY GREEK GIRLS SEXY DUTCH GIRLS SEXY UK G

2010-03-21 Thread Chris Rebert
On Sun, Mar 21, 2010 at 12:01 PM, Steve Holden st...@holdenweb.com wrote: AON LAZIO wrote: Relax guys, let have fun once in a while [further repetition of the spamming URLs] facepalm. Fortunately, Google has now shut down the spam blog anyway. Cheers, Chris --

device identification

2010-03-21 Thread Omer Ihsan
i have installed pyusb now and run the sample usbenum.pyi have 3 usb ports on my PC but the results show 6 outputs to dev.filename..they are numbers like 001 or 005 etc and they changed when i plugged in devices...(i am no good with the usb standards)i just want to identify each

Re: EURO GIRLS MISS EUROPE MISS FRENCH FRENCH PRETTY GIRLS SEXY FRENCH GIRLS on www.sexyandpretty-girls.blogspot.com SEXY RUSSIAN GIRLS SEXY GREEK GIRLS SEXY DUTCH GIRLS SEXY UK GIR

2010-03-21 Thread D'Arcy J.M. Cain
On Sun, 21 Mar 2010 12:57:50 -0700 Chris Rebert c...@rebertia.com wrote: Fortunately, Google has now shut down the spam blog anyway. Until next time. -- D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves http://www.druid.net/darcy/| and a sheep voting on +1

Re: Method / Functions - What are the differences?

2010-03-21 Thread Aahz
In article mailman.555.1268232321.23598.python-l...@python.org, John Posner jjpos...@optimum.net wrote: Bruno (and anyone else interested) -- As I promised/threatened, here's the *start* of a write-up on properties, aimed at non-advanced Python programmers:

Re: How to keep effects of image filters going for some seconds?

2010-03-21 Thread Terry Reedy
On 3/21/2010 3:23 AM, Ren Wenshan wrote: Hello, every pythoner. Firstly, I want to mention that English is my second language, so maybe there are some sentences which makes you confused, sorry. I have been learning Panda3D, an open source 3D engine, these days. Now, I'm trying to write a small

Re: EURO GIRLS MISS EUROPE MISS FRENCH FRENCH PRETTY GIRLS SEXY FRENCH GIRLS on www.sexyandpretty-girls.blogspot.com SEXY RUSSIAN GIRLS SEXY GREEK GIRLS SEXY DUTCH GIRLS SEXY UK GIR

2010-03-21 Thread Terry Reedy
On 3/21/2010 12:55 PM, Zooko O'Whielacronx wrote: On Sat, Mar 20, 2010 at 1:27 PM, Brian J Mingus brian.min...@colorado.edu wrote: Moderating this stuff requires moderating all messages. Not quite. GNU Mailman comes with nice features to ease this task. You can configure it so that everyone

Re: [RELEASED] Python 3.1.2

2010-03-21 Thread Terry Reedy
On 3/21/2010 1:12 PM, Benjamin Peterson wrote: On behalf of the Python development team, I'm joyful to announce the second bugfix release of the Python 3.1 series, Python 3.1.2. Thanks for the work. This bug fix release fixes numerous issues found in 3.1.1, and is considered a production

Re: Method / Functions - What are the differences?

2010-03-21 Thread Steve Holden
Aahz wrote: In article mailman.555.1268232321.23598.python-l...@python.org, John Posner jjpos...@optimum.net wrote: Bruno (and anyone else interested) -- As I promised/threatened, here's the *start* of a write-up on properties, aimed at non-advanced Python programmers:

using Python distutils bdist_msi to create installer for large complicated package

2010-03-21 Thread Bill Janssen
Martin, I've been re-thinking the UpLib Windows installer technology, and it occurred to me to wonder why I can't just use the nice bdist_msi module in Python to build my packages. I took a look, and it seems almost doable. Presumably you wrote it? UpLib is a big package, with lots of Python

Re: should writing Unicode files be so slow

2010-03-21 Thread Ben Finney
djc slais-...@ucl.ac.uk writes: I shall concentrate on finding an optimal time to upgrade from Python 2.6. Note that Python 2.7, though nearly ready, is not yet released URL:http://www.python.org/download/releases/. -- \“… Nature … is seen to do all things Herself and through |

Re: using Python distutils bdist_msi to create installer for large complicated package

2010-03-21 Thread Martin v. Löwis
I've been re-thinking the UpLib Windows installer technology, and it occurred to me to wonder why I can't just use the nice bdist_msi module in Python to build my packages. I took a look, and it seems almost doable. Presumably you wrote it? Correct. UpLib is a big package, with lots of

Re: Method / Functions - What are the differences?

2010-03-21 Thread John Bokma
a...@pythoncraft.com (Aahz) writes: In article mailman.555.1268232321.23598.python-l...@python.org, John Posner jjpos...@optimum.net wrote: Bruno (and anyone else interested) -- As I promised/threatened, here's the *start* of a write-up on properties, aimed at non-advanced Python

sell:nike shoes$32,ed hardy(items),jean$30,handbag$35

2010-03-21 Thread jhghjg jhgjh
a href=http://etootoo.com;http://www.etootoo.com/a free shipping competitive price pa href=http://etootoo.com/articleshow.asp? articleid=26123wholesale nikeshoes/abr a href=http://etootoo.com/articleshow.asp?articleid=40466;nike wholesale/abr a

Re: Method / Functions - What are the differences?

2010-03-21 Thread John Posner
On 3/21/2010 5:34 PM, Aahz wrote: In articlemailman.555.1268232321.23598.python-l...@python.org, John Posnerjjpos...@optimum.net wrote: Bruno (and anyone else interested) -- As I promised/threatened, here's the *start* of a write-up on properties, aimed at non-advanced Python programmers:

Re: GC is very expensive: am I doing something wrong?

2010-03-21 Thread Lawrence D'Oliveiro
In message mailman.963.1268958842.23598.python-l...@python.org, Terry Reedy wrote: No one has discovered a setting of the internal tuning parameters for which there are no bad patterns and I suspect there are not any such. This does not negate Xavier's suggestion that a code change might

add an entry to twentyquestions.org (please)

2010-03-21 Thread twenty questions
add an entry to http://www.twentyquestions.org (please) -- http://mail.python.org/mailman/listinfo/python-list

Re: using Python distutils bdist_msi to create installer for large complicated package

2010-03-21 Thread Bill Janssen
Martin v. Löwis mar...@v.loewis.de wrote: I've been re-thinking the UpLib Windows installer technology, and it occurred to me to wonder why I can't just use the nice bdist_msi module in Python to build my packages. I took a look, and it seems almost doable. Presumably you wrote it?

[ANN] PyInstaller 1.4

2010-03-21 Thread Giovanni Bajo
Hello, I'm happy to announce PyInstaller 1.4, the first formal release after several years of quiet development. http://www.pyinstaller.org === What it is === PyInstaller is a program that converts (packages) Python programs into stand-alone executables, under Windows, Linux, and Mac OS X.

Best practise for dual stack programming in python

2010-03-21 Thread Jimmy Stewpot
Hello, The organisation that I currently work for has a large number of 'legacy' tools and scripts which rely entirely on IPv4. Many of them have been written and not documented etc. The organisation is in the process of moving to a dual stack environment over the next 3 months. With that in

Re: How to automate accessor definition?

2010-03-21 Thread kj
In 4ba66311$0$27838$c3e8...@news.astraweb.com Steven D'Aprano st...@remove-this-cybersource.com.au writes: Then, in your __init__ method, to initialise an attribute use: self.__dict__['attr'] = value to bypass the setattr. Ah, that's the trick! Thanks! ~K --

Re: add an entry to twentyquestions.org (please)

2010-03-21 Thread Ben Finney
twenty questions twentyqs...@gmail.com writes: add an entry to http://www.twentyquestions.org (please) Don't spam groups with your off-topic begging for a closed database silo (please) -- \“Our nylons cost more than common, but you'll find that they | `\

Re: execute bash builtins in python

2010-03-21 Thread alex goretoy
Thank you for the great suggestions. Steve Holden that is a good one, I will try to adapt my application to your suggestion. This way I don't have to source .bashrc when it could do all that for me including other things that it does in the background. Thank you so much. Nobody, I was not aware

Re: Best practise for dual stack programming in python

2010-03-21 Thread Terry Reedy
On 3/21/2010 8:12 PM, Jimmy Stewpot wrote: Hello, The organisation that I currently work for has a large number of 'legacy' tools and scripts which rely entirely on IPv4. Many of them have been written and not documented etc. The organisation is in the process of moving to a dual stack

[ANN] onlinepayment v1.0.0 released

2010-03-21 Thread Sam Tregar
onlinepayment v1.0.0 - a generic Python API for making online payments This module provides an API wrapper around a variety of payment providers. Using this module you can write code that will work the same regardless of the payment provider in use. Examples:: from onlinepayment import

Re: DreamPie - The Python shell you've always dreamed about!

2010-03-21 Thread kuru
Thanks for the shell. It is nice alternative , however I am not ready to give up Ipython :) If the code ends with a comment line your shell is giving an error. Feature request: It would be nice to have numbered lines in the code section, it makes it hard to find problem line Feature request:

Re: StringChain -- a data structure for managing large sequences of chunks of bytes

2010-03-21 Thread Zooko O'Whielacronx
Folks: I failed to make something sufficiently clear in my original message about StringChain. The use case that I am talking about is not simply that you need to accumulate a sequence of incoming chunks of data, concatenate them together, and then process the entire result. If that is all you

-------FREE MAC-------

2010-03-21 Thread sam
http://michellemichaeldiscounts.com/16801.html -- http://mail.python.org/mailman/listinfo/python-list

[issue1124861] subprocess fails on GetStdHandle in interactive GUI

2010-03-21 Thread bairam
bairam bkom...@yahoo.com added the comment: I have tested this form in Python26 ,It works import subprocess p = subprocess.Popen(cmd.exe dir, stdout=subprocess.PIPE) p.communicate() ('Microsoft Windows XP [Version 5.1.2600]\r\n(C) Copyright 1985-2001 Microsoft Corp.\r\n\r\nC:\\Python26',

[issue8177] Incoherent error with keyword argument follow by unpacking argument lists

2010-03-21 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- assignee: - benjamin.peterson nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8177 ___

[issue8188] Unified hash for numeric types.

2010-03-21 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Updated patch: - put hash parameters into pyport.h, to avoid repetition; make them available to Python code via a private attribute sys._hash_info. - use a modulus of 2**61-1 on systems where SIZEOF_LONG = 8, and a modulus of 2**31

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-03-21 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: other py3k warnings silenced with r79187 r79188 r79189 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7092 ___

[issue8179] Test failure in test_macpath.py test_realpath (Mac OS X)

2010-03-21 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Fixed with r79195 and r79196. -- resolution: accepted - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue7820] parser: restores all bytes in the right order if check_bom() fails

2010-03-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Backported in r79197 (2.6). -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7820

[issue3299] Direct calls to PyObject_Del/PyObject_DEL are broken for --with-pydebug

2010-03-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: thread fix commited: r78610 (trunk) curses panel fix commited: r78635 (trunk) Backport done in r79198 (2.6). -- ___ Python tracker rep...@bugs.python.org

[issue7544] Fatal error on thread creation in low memory condition

2010-03-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Commited: r78638 (trunk) Backport done: r79199 (2.6). -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7544

[issue7494] _lsprof (cProfile): Profiler.clear() keeps references to detroyed nodes

2010-03-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Fixed by r78641 (trunk) Backport done: r79200 (2.6). -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7494

[issue1054943] Python may contain NFC/NFKC bug per Unicode PRI #29

2010-03-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Commited: r78646 (trunk) Backport done: r79201 (2.6). -- resolution: remind - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1054943

[issue3137] Python doesn't handle SIGINT well if it arrives during interpreter startup

2010-03-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Commited to trunk: r78826 + r78827 Partial backport to 2.6 as r79204: leave import site error handler unchanged (print the error and continue). I don't want to change Python behaviour between minor releases. --

[issue8063] Call _PyGILState_Init() earlier in Py_InitializeEx()

2010-03-21 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8063 ___

[issue7783] test_normalization fails when NormalizationTest.txt is outdated

2010-03-21 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7783 ___ ___ Python-bugs-list

[issue8047] Serialiser in ElementTree returns unicode strings in Py3k

2010-03-21 Thread Fredrik Lundh
Fredrik Lundh fred...@effbot.org added the comment: Hmm. I'm not entirely sure about giving False a meaning when None has traditionally had a different (and documented) meaning. And sleeping on it hasn't convinced me in either direction :-( (well, I'd say no, but the compatibility argument

[issue7718] Build shared libpythonX.Y.so on IRIX

2010-03-21 Thread Fabian Groffen
Fabian Groffen grob...@gentoo.org added the comment: Is it necessary to file a new bug for the same issue, or can we reopen from here? With Stuart in the loop it looks to me the raised issues are dealt with? -- ___ Python tracker

[issue8180] Unicode File Test failures (PEP 277 on Mac OS X)

2010-03-21 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: Removed file: http://bugs.python.org/file16600/issue8180_pep277_additions.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8180 ___

[issue8180] Unicode File Test failures (PEP 277 on Mac OS X)

2010-03-21 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: New patch: removed the offending codepoint '\ufad1'. Please try again on OS X, and windows. -- Added file: http://bugs.python.org/file16611/issue8180_pep277_additions_v2.diff ___ Python

[issue7718] Build shared libpythonX.Y.so on IRIX

2010-03-21 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: I'll reopen this for now, no need for duplicate issues. http://www.python.org/psf/contrib/ has the relevant contributor agreement that should be signed. -- resolution: rejected - status: closed - open

[issue8088] assertSameElements fails with sequences that contain unorderable types

2010-03-21 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Fixed as part of #7832. -- resolution: accepted - fixed stage: patch review - committed/rejected status: pending - closed ___ Python tracker rep...@bugs.python.org

[issue8154] os.execlp('true') crashes the interpreter on 2.x

2010-03-21 Thread Matthias Klose
Matthias Klose d...@debian.org added the comment: this change in its current form needs to be backed out of 2.6 done. I'll check for uses of execlp and execlpe. how should the divergency of execlp (raises ValueError), and execlpe (raises IndexError) be handled? --

[issue8180] Unicode File Test failures (PEP 277 on Mac OS X)

2010-03-21 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: Removed file: http://bugs.python.org/file16611/issue8180_pep277_additions_v2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8180 ___

[issue8180] Unicode File Test failures (PEP 277 on Mac OS X)

2010-03-21 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: New patch, fixing test_listdir on OS X (hopefully). -- Added file: http://bugs.python.org/file16612/issue8180_pep277_additions_v3.diff ___ Python tracker rep...@bugs.python.org

[issue8154] os.execlp('true') crashes the interpreter on 2.x

2010-03-21 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Hello Could you please write the revision number when you speak about a commit? Text like “fixed in r4253” will become an helpful link. Thanks -- nosy: +merwok ___ Python tracker

[issue1745] Backport of PEP 3102 keyword-only arguments to 2.6

2010-03-21 Thread George Sakkis
George Sakkis george.sak...@gmail.com added the comment: Is there any update on this for 2.7 ? -- nosy: +gsakkis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1745 ___

[issue8154] os.execlp('true') crashes the interpreter on 2.x

2010-03-21 Thread Matthias Klose
Matthias Klose d...@debian.org added the comment: reverted in r79190 on the 2.6 branch -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8154 ___

[issue3783] dbm.sqlite proof of concept

2010-03-21 Thread Gregory P. Smith
Changes by Gregory P. Smith g...@krypto.org: -- nosy: -gregory.p.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3783 ___ ___

[issue8191] Make arg0 required argument in os.execl* functions

2010-03-21 Thread Alexander Belopolsky
New submission from Alexander Belopolsky alexander.belopol...@gmail.com: Since issue1039 made it illegal to pass empty argument list to execv*, I suggest to change signature of os.execl* functions and make arg0 a required positional argument. This is not a backward compatible change because

[issue8154] os.execlp('true') crashes the interpreter on 2.x

2010-03-21 Thread Alexander Belopolsky
Alexander Belopolsky alexander.belopol...@gmail.com added the comment: Please see related issue8191. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8154 ___

[issue3783] dbm.sqlite proof of concept

2010-03-21 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3783 ___ ___ Python-bugs-list

[issue1039] Asssertion in Windows debug build

2010-03-21 Thread Alexander Belopolsky
Alexander Belopolsky alexander.belopol...@gmail.com added the comment: Link to revision: r57731 -- nosy: +Alexander.Belopolsky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1039 ___

[issue8192] SQLite3 PRAGMA table_info doesn't respect database on Win32

2010-03-21 Thread Christoph Burgmer
New submission from Christoph Burgmer cburg...@ira.uka.de: 'PRAGMA database.table_info(SOME_TABLE_NAME)' will report table metadata for the given database. The main database called 'main', can be extended by attaching further databases via 'ATTACH DATABASE'. The above PRAGMA should respect

[issue1039] Asssertion in Windows debug build

2010-03-21 Thread Alexander Belopolsky
Alexander Belopolsky alexander.belopol...@gmail.com added the comment: This issue was misclassified as an interpreter crash while in fact it was a bug in the underlying OS utility. Please see discussion in issue8154. Since the fix changes behavior, it should be documented and a NEWS entry

[issue8191] Make arg0 required argument in os.execl* functions

2010-03-21 Thread Matthias Klose
Matthias Klose d...@debian.org added the comment: However since issue1039 change has not been released yet os.execlp('true') does raise ValueError on released 3.x versions. sorry if I do misunderstand something. -- nosy: +doko ___ Python tracker

[issue8180] Unicode File Test failures (PEP 277 on Mac OS X)

2010-03-21 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Fixed with r79207 (2.x) and r79209 (3.x). Thank you Michael for testing it. -- resolution: accepted - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker

[issue8191] Make arg0 required argument in os.execl* functions

2010-03-21 Thread Alexander Belopolsky
Alexander Belopolsky alexander.belopol...@gmail.com added the comment: On Sun, Mar 21, 2010 at 2:52 PM, Matthias Klose rep...@bugs.python.org wrote: .. os.execlp('true') does raise ValueError on released 3.x versions. sorry if I do misunderstand something. My bad. I thought it was a more

[issue8193] test_zlib fails with zlib 1.2.4

2010-03-21 Thread Arkadiusz Miskiewicz Arkadiusz Miskiewicz
New submission from Arkadiusz Miskiewicz Arkadiusz Miskiewicz ar...@maven.pl: Starting with zlib 1.2.4 zlib test suite fails with: test test_zlib failed -- Traceback (most recent call last): File /home/users/arekm/rpm/BUILD/Python-2.6.5/Lib/test/test_zlib.py,

[issue8191] Make arg0 required argument in os.execl* functions

2010-03-21 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8191 ___

[issue8193] test_zlib fails with zlib 1.2.4

2010-03-21 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8193 ___

[issue8194] broken API in xmlrpclib.Transport

2010-03-21 Thread Defert
New submission from Defert laurent_def...@yahoo.fr: In the Transport class of the xmlrpclib module, the parse_response method expects a File object but handles HTTPResponse's. The regression was introduced in r73638. A fix is attached. -- components: Library (Lib) files:

[issue1628484] Python 2.5 64 bit compile fails on Solaris 10/gcc 4.1.1

2010-03-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Fixed in r79218 (trunk), r79220 (2.6), r79221 (py3k), r79222 (3.1). Thanks! -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

  1   2   >