ANN. GNUmed 0.7.0

2010-04-13 Thread Sebastian Hilbert
GNUmed 0.7 is now available: http://wiki.gnumed.de This release features a rather unexpected new functionality: visual progress notes. Those are sketches/images (such as visual markers onto templates or clinical photographs) standing side by side with the clinical narrative of any given

!!! Kausha-s very HOT kiss scene.avi !!!

2010-04-13 Thread Lou Shy Amateur Strips
!!! Kausha-s very HOT kiss scene.avi !!! http://sites.google.com/site/hifiprofile/ http://sites.google.com/site/hifiprofile/ EXTREME HOT GALLERIES http://sites.google.com/site/hifiprofile/ -- http://mail.python.org/mailman/listinfo/python-list

Seg fault when launching my module through my C/C++ application

2010-04-13 Thread Maxime Boure
Hello everyone, I made a small python module to command NetworkManager and get some signals from it. My script works well alone, but when I launch it from my C/C++ program it crashes at a certain function (here iface.GetDevices). Here is the function that crashes and next my gdb print *def

curious about python version numbers

2010-04-13 Thread Alex Hall
Hi all, I am just curious: if Python3.x is already out, why is 2.7 being released? Are there two main types of Python? Thanks. -- Have a great day, Alex (msg sent from GMail website) mehg...@gmail.com; http://www.facebook.com/mehgcap -- http://mail.python.org/mailman/listinfo/python-list

packaging multiple python scripts as Windows exe file

2010-04-13 Thread Alex Hall
Hi all, While my project is still suffering from major import problems, I will soon have to try to package it as a Windows executable file. I do not want an installer; I want the user to be able to run the program for as long as they want, then to quit (by using a command from inside the program)

Re: curious about python version numbers

2010-04-13 Thread Xavier Ho
Hi Alex, It's because Python 3.x introduced a lot of backwards incompatibilities. Python 2.7 aims to bridge that gap, so many 3rd party libraries that depend on Python 2.x can transit onto Python 3.x better, as I understand. Cheers, Xav On Mon, Apr 12, 2010 at 12:52 PM, Alex Hall

Re: curious about python version numbers

2010-04-13 Thread Alf P. Steinbach
* Alex Hall: Hi all, I am just curious: if Python3.x is already out, why is 2.7 being released? Are there two main types of Python? Thanks. Old code and old programming habits may work as-is with 2.7 but not with a 3.x implementation. So yes, there are two main extant variants of Python,

Re: curious about python version numbers

2010-04-13 Thread Shashwat Anand
It is like releasing window Xp SP3 even if Vista is out. The problem is we should start using python 3.x but many application like django, twisted had not migrated yet. Hence this stuff to support 2.x . 2.7 is the last 2.x version, no more. On Tue, Apr 13, 2010 at 2:28 PM, Alf P. Steinbach

Re: curious about python version numbers

2010-04-13 Thread Ben Finney
Alex Hall mehg...@gmail.com writes: I am just curious: if Python3.x is already out, why is 2.7 being released? Are there two main types of Python? Python 3.x brings improvements that break backward compatibility: Python 3.0 (a.k.a. Python 3000 or Py3k) is a new version of the language

Re: Tough sorting problem: or, I'm confusing myself

2010-04-13 Thread david jensen
On Apr 11, 9:39 pm, Raymond Hettinger pyt...@rcn.com wrote: The overall algorithm looks about right. The inner-loop could be tighted-up a bit. And you could replace the outer sort with a heap. best2 = {} for i in itertools.combinations(range( 2**m), n-1):     scorelist = []     for j in

Re: Tough sorting problem: or, I'm confusing myself

2010-04-13 Thread david jensen
On Apr 12, 1:22 am, Paul McGuire pt...@austin.rr.com wrote: On Apr 9, 10:03 am, david jensen dmj@gmail.com wrote: Hi all, I'm trying to find a good way of doing the following: Each n-tuple in combinations( range( 2 ** m ), n ) has a corresponding value n-tuple (call them scores

DjangoCon Europe - 24. - 26.5.2010 in Berlin

2010-04-13 Thread Markus Zapke-Gründemann
DjangoCon Europe[1] is a Django[2] conference that aims to bring together the community and provide a wide range of sessions, panels, lightning talks and showcases of Django usage within various businesses. We aim to educate and bring people together to turn new ideas into working code! The

HTMLParser can't read japanese

2010-04-13 Thread Dodo
Here's a small script to generate again the error running windows 7 with python 3.1 FILE : parseShift.py import urllib.request as url from html.parser import HTMLParser class myParser(HTMLParser): def handle_starttag(self, tag, attrs): print(Start of %s tag : %s % (tag,

Re: HTMLParser can't read japanese

2010-04-13 Thread Dodo
alright, it's just because of Windows cmd in IDLE it works fine any workaround? Dorian Le 13/04/2010 13:40, Dodo a écrit : Here's a small script to generate again the error running windows 7 with python 3.1 FILE : parseShift.py import urllib.request as url from html.parser import HTMLParser

Re: HTMLParser can't read japanese

2010-04-13 Thread Stefan Behnel
Dodo, 13.04.2010 13:40: Here's a small script to generate again the error running windows 7 with python 3.1 FILE : parseShift.py import urllib.request as url from html.parser import HTMLParser class myParser(HTMLParser): def handle_starttag(self, tag, attrs): print(Start of %s tag : %s

Error using httlib's HTTPSConnection with PKCS#12 certificate

2010-04-13 Thread Rémi
I'm trying to use httplib's HTTPSConnection for client validation, using a PKCS #12 certificate. I know the certificate is good, as I can connect to the server using it in MSIE and Firefox. Here's my connect function (the certificate includes the private key). I've pared it down to just the

Code dojo on Thursday?

2010-04-13 Thread John Maclean
Is there a code Dojo in London on Thurs? I've requested two places but have not heard a reply yet. -- John Maclean MSc. (DIC) Bsc. (Hons),Core Linux Systems Engineering,07739 171 531 -- http://mail.python.org/mailman/listinfo/python-list

Re: curious about python version numbers

2010-04-13 Thread Alex Hall
Thanks, everyone, for the answers! I am still on 2.6 since so many packages rely on it. I got 3.1 at first, but I could not get much to work with it so I installed 2.6 and have only found one package which refuses to work, instead of a lot of them. On 4/13/10, Shashwat Anand

Re: Generating a rainbow?

2010-04-13 Thread Giacomo Boffi
Tobiah t...@rcsreg.com writes: I'm having a difficult time with this. I want to display a continuous range of hues using HTML hex representation (#RRGGBB). How would I go about scanning through the hues in order to make a rainbow? if you mean real rainbows when you say rainbow, as

Unit testing errors (testing the platform module)

2010-04-13 Thread John Maclean
I normally use languages unit testing framework to get a better understanding of how a language works. Right now I want to grok the platform module; 1 #!/usr/bin/env python 2 '''a pythonic factor''' 3 import unittest 4 import platform 5 6 class

Re: Unit testing errors (testing the platform module)

2010-04-13 Thread Benjamin Kaplan
On Tue, Apr 13, 2010 at 10:01 AM, John Maclean jaye...@gmail.com wrote: I normally use languages unit testing framework to get a better understanding of how a language works. Right now I want to grok the platform module; 1 #!/usr/bin/env python 2 '''a pythonic factor''' 3 import

Re: Unit testing errors (testing the platform module)

2010-04-13 Thread Martin P. Hellwig
On 04/13/10 15:01, John Maclean wrote: I normally use languages unit testing framework to get a better understanding of how a language works. Right now I want to grok the platform module; 1 #!/usr/bin/env python 2 '''a pythonic factor''' 3 import unittest 4 import platform 5

Re: Unit testing errors (testing the platform module)

2010-04-13 Thread MRAB
John Maclean wrote: I normally use languages unit testing framework to get a better understanding of how a language works. Right now I want to grok the platform module; 1 #!/usr/bin/env python 2 '''a pythonic factor''' 3 import unittest 4 import platform 5 6 class

Re: Unit testing errors (testing the platform module)

2010-04-13 Thread J. Cliff Dyer
The problem is that the class of platform.__builtins__ is a dict, not a string containing the text type 'dict'. Try replacing line 16 with this: self.assertEqual(type(platform.__builtins__), dict) Cheers, Cliff On Tue, 2010-04-13 at 15:01 +0100, John Maclean wrote: I normally use

Re: Code dojo on Thursday?

2010-04-13 Thread Tim Golden
On 13/04/2010 14:50, John Maclean wrote: Is there a code Dojo in London on Thurs? I've requested two places but have not heard a reply yet. It's usually the first Thursday in the month. I've not heard about one this Thursday. (Doesn't mean I'm right, of course). TJG --

Handling quotes in xml.dom text nodes

2010-04-13 Thread Chaim Krause
I am building a web page (HTML 4.01 Transitional) using xml.dom.minidom. I have created a script node and I have added the Javascript as a child text node. The issue is that the Javascript includes quotes that I want to survive when I write the XML to a file. The issue for me is that they are

Re: Handling quotes in xml.dom text nodes

2010-04-13 Thread Chaim Krause
I am looking to find the best answer to my question, but in the mean time I have resorted to monkey patching. def _write_data_no_quote(writer, data): Writes datachars to writer. data = data.replace(, amp;).replace(, lt;) data = data.replace(, gt;) writer.write(data)

Constructing an if statement from the client data in python

2010-04-13 Thread Vishal Rana
Hi, I need to construct an if statement from the data coming from the client as below: conditions: condition1, condition2, condition3, condition4 logical operators: lo1, lo2, lo3 (Possible values: and or) Eg. if condition1 lo1 condition2 lo3 condition4: # Do something I can think of

Re: Code dojo on Thursday?

2010-04-13 Thread MRAB
Tim Golden wrote: On 13/04/2010 14:50, John Maclean wrote: Is there a code Dojo in London on Thurs? I've requested two places but have not heard a reply yet. It's usually the first Thursday in the month. I've not heard about one this Thursday. (Doesn't mean I'm right, of course). It looks

Re: Constructing an if statement from the client data in python

2010-04-13 Thread Benjamin Kaplan
All the operators are available as functions in the operator module. Just use a dict to select the correct function. import operator ops = {and: operator.and_, or: operator.or_} op1 = ops[lo1] op3 = ops[lo3] if op3( op1( condition1, condition2), condition4) : #do something On Tue, Apr

Re: Handling quotes in xml.dom text nodes

2010-04-13 Thread Stefan Behnel
Chaim Krause, 13.04.2010 17:26: I am building a web page (HTML 4.01 Transitional) using xml.dom.minidom. I have created ascript node and I have added the Javascript as a child text node. The issue is that the Javascript includes quotes that I want to survive when I write the XML to a file. The

Re: Handling quotes in xml.dom text nodes

2010-04-13 Thread Chaim Krause
Stefan, Thank you. The reason that I am using xml.dom.minidom is that I am restricted to a stock RHEL5 stack. That means 2.4 with nothing added. (Welcome to US Army IT !!!) But, I figured out that I need to back up from xml.dom.minidom to xml.dom and then I can use createCDATASection and get

Re: curious about python version numbers

2010-04-13 Thread Terry Reedy
On 4/13/2010 9:54 AM, Alex Hall wrote: Thanks, everyone, for the answers! I am still on 2.6 since so many packages rely on it. I got 3.1 at first, but I could not get much to work with it so I installed 2.6 and have only found one package which refuses to work, instead of a lot of them. 2.7,

Python, CGI and Sqlite3

2010-04-13 Thread Majdi Sawalha
Dear list members, I am writing CGI program that reads a text feild and uses with select statement to retrieve data from a database file using sqlite3. the program behaived very strange as it does not recognizes the import sqlite3 statement? and it gives the following error ImportError: No

Re: Constructing an if statement from the client data in python

2010-04-13 Thread Terry Reedy
On 4/13/2010 11:56 AM, Vishal Rana wrote: Hi, I need to construct an if statement from the data coming from the client as below: conditions: condition1, condition2, condition3, condition4 logical operators: lo1, lo2, lo3 (Possible values: and or) Eg. |if condition1 lo1 condition2 lo3

how to get text from a html file?

2010-04-13 Thread varnikat t
Hi, Can anyone tell me how to get text from a html file?I am trying to display the text of an html file in textview(of glade).If i directly display the file,it shows with html tags and attributes, etc. in textview.I don't want that.I just want the text. Can someone help me with this? Regards

Re: how to get text from a html file?

2010-04-13 Thread Chris Colbert
On Tue, Apr 13, 2010 at 1:58 PM, varnikat t varnika...@gmail.com wrote: Hi, Can anyone tell me how to get text from a html file?I am trying to display the text of an html file in textview(of glade).If i directly display the file,it shows with html tags and attributes, etc. in textview.I don't

Re: how to get text from a html file?

2010-04-13 Thread Grant Edwards
On Tue, Apr 13, 2010 at 1:58 PM, varnikat t varnika...@gmail.com wrote: Can anyone tell me how to get text from a html file?I am trying to display the text of an html file in textview(of glade).If i directly display the file,it shows with html tags and attributes, etc. in textview.I don't

Re: how to get text from a html file?

2010-04-13 Thread Stefan Behnel
varnikat t, 13.04.2010 19:58: Can anyone tell me how to get text from a html file?I am trying to display the text of an html file in textview(of glade).If i directly display the file,it shows with html tags and attributes, etc. in textview.I don't want that.I just want the text. Can someone help

Re: HTMLParser can't read japanese

2010-04-13 Thread John Nagle
Yes. Try cmd /u to get a Unicode console. HTMLparser should already have converted from Shift-JIS to Unicode, so the print is outputting Unicode. John Nagle Stefan Behnel wrote: Dodo, 13.04.2010 13:40: Here's a small script to generate again the error

Re: Python, CGI and Sqlite3

2010-04-13 Thread Tim Chase
On 04/13/2010 12:41 PM, Majdi Sawalha wrote: import sqlite3 statement? and it gives the following error ImportError: No module named sqlite3, i tried it on python shell and all statements are work well. A couple possible things are happening but here are a few that pop to mind: 1) you're

Re: Constructing an if statement from the client data in python

2010-04-13 Thread Vishal Rana
They are bitwise operators! Thanks Vishal Rana -- http://mail.python.org/mailman/listinfo/python-list

Re: Constructing an if statement from the client data in python

2010-04-13 Thread Vishal Rana
They are bitwise operators! Thanks Vishal Rana -- http://mail.python.org/mailman/listinfo/python-list

RE: Python, CGI and Sqlite3

2010-04-13 Thread Ahmed, Shakir
-Original Message- From: python-list-bounces+shahmed=sfwmd@python.org [mailto:python-list-bounces+shahmed=sfwmd@python.org] On Behalf Of Tim Chase Sent: Tuesday, April 13, 2010 2:36 PM To: Majdi Sawalha Cc: python-list@python.org Subject: Re: Python, CGI and Sqlite3 On 04/13/2010

RE: Python-list Digest, Vol 79, Issue 108

2010-04-13 Thread angelaeyes
I wish to unsubscribe with immediate effect!!! From: python-list-requ...@python.org To: python-list@python.org Sent: Tue Apr 13 17:56:06 SAST 2010 Subject: Python-list Digest, Vol 79, Issue 108 -- http://mail.python.org/mailman/listinfo/python-list--

Re: A 'foolproof' way to query inheritance tree? numbers.Real in 2.6)

2010-04-13 Thread Hans Mulder
Steven D'Aprano wrote: Given a class C, is there some way to find out what classes issubclass(C, X) will return true for? Obviously you can get a partial list, by walking the MRO, but is there a list somewhere of which ABCs consider C a subclass? Presumably the general answer is No, because

Re: Constructing an if statement from the client data in python

2010-04-13 Thread Chris Rebert
On Tue, Apr 13, 2010 at 8:56 AM, Vishal Rana ranavis...@gmail.com wrote: Hi, I need to construct an if statement from the data coming from the client as below: conditions: condition1, condition2, condition3, condition4 logical operators: lo1, lo2, lo3 (Possible values: and or) Eg. if

Re: A 'foolproof' way to query inheritance tree? numbers.Real in 2.6)

2010-04-13 Thread Chris Rebert
On Tue, Apr 13, 2010 at 12:15 PM, Hans Mulder han...@xs4all.nl wrote: Steven D'Aprano wrote: Given a class C, is there some way to find out what classes issubclass(C, X) will return true for? Obviously you can get a partial list, by walking the MRO, but is there a list somewhere of which ABCs

Re: Download Visual Studio Express 2008 now

2010-04-13 Thread Michel Claveau - MVP
Hi! Thanks for this idea. Michel Claveau -- http://mail.python.org/mailman/listinfo/python-list

Re: Constructing an if statement from the client data in python

2010-04-13 Thread Vishal Rana
They are bitwise operators! -- http://mail.python.org/mailman/listinfo/python-list

Re: packaging multiple python scripts as Windows exe file

2010-04-13 Thread Mike Driscoll
On Apr 12, 5:20 pm, Alex Hall mehg...@gmail.com wrote: Hi all, While my project is still suffering from major import problems, I will soon have to try to package it as a Windows executable file. I do not want an installer; I want the user to be able to run the program for as long as they

Re: Constructing an if statement from the client data in python

2010-04-13 Thread Chris Rebert
On Tue, Apr 13, 2010 at 12:29 PM, Chris Rebert c...@rebertia.com wrote: On Tue, Apr 13, 2010 at 8:56 AM, Vishal Rana ranavis...@gmail.com wrote: Hi, I need to construct an if statement from the data coming from the client as below: conditions: condition1, condition2, condition3,

Re: Constructing an if statement from the client data in python

2010-04-13 Thread Vishal Rana
Thanks Chris On Tue, Apr 13, 2010 at 1:08 PM, Chris Rebert c...@rebertia.com wrote: On Tue, Apr 13, 2010 at 12:29 PM, Chris Rebert c...@rebertia.com wrote: On Tue, Apr 13, 2010 at 8:56 AM, Vishal Rana ranavis...@gmail.com wrote: Hi, I need to construct an if statement from the

Compiling Python extension modules in the near future, was: Re: Download Visual Studio Express 2008 now

2010-04-13 Thread Irmen de Jong
On 12-4-2010 22:36, Martin v. Loewis wrote: If you are planning to build Python extension modules in the next five years, I recommend that you obtain a copy of VS Express, just in case Microsoft removes it from their servers. Thanks for the idea Martin. However I've changed the post title a

Re: packaging multiple python scripts as Windows exe file

2010-04-13 Thread Joaquin Abian
On Apr 13, 9:56 pm, Mike Driscoll kyoso...@gmail.com wrote: On Apr 12, 5:20 pm, Alex Hall mehg...@gmail.com wrote: Hi all, While my project is still suffering from major import problems, I will soon have to try to package it as a Windows executable file. I do not want an installer; I

Creating a standalone application

2010-04-13 Thread Luis Quesada
Dear all, I am getting an expected string without null bytes error when using cxfreeze for creating a standalone application (in Linux-Ubuntu). None of my files has null bytes. I also tried pyinstaller but I got the error attached at the end. My program runs fine when executed from eclipse.

Re: Creating a standalone application

2010-04-13 Thread Lawrence D'Oliveiro
In message kz4xn.868$i8@news.indigo.ie, Luis Quesada wrote: I am getting an expected string without null bytes error when using cxfreeze for creating a standalone application (in Linux-Ubuntu). Why bother? Every decent Linux system will have Python available. Why not just distribute it as

mailbox multipart

2010-04-13 Thread janwillem
I am trying to analyze mailboxes using an iterator: for key, message in mbox.iteritems(): When message is a simple mail message['date'] results the date. When, however, it is a multipart message this results in None. How can you full proof get the date, from and to of of a multipart mail

when should I explicitely close a file?

2010-04-13 Thread gelonida
Hi, I've been told, that following code snippet is not good. open(myfile,w).write(astring) , because I'm neither explicitely closing nor using the new 'with' syntax. What exactly is the impact of not closing the file explicitely (implicitley with a 'with' block)? Even with my example I'd

Re: Creating a standalone application

2010-04-13 Thread Luis Quesada
Lawrence D'Oliveiro wrote: In message kz4xn.868$i8@news.indigo.ie, Luis Quesada wrote: I am getting an expected string without null bytes error when using cxfreeze for creating a standalone application (in Linux-Ubuntu). Why bother? Every decent Linux system will have Python available.

Re: when should I explicitely close a file?

2010-04-13 Thread Chris Rebert
On Tue, Apr 13, 2010 at 3:01 PM, gelonida gelon...@gmail.com wrote: Hi, I've been told, that following code snippet is not good. open(myfile,w).write(astring) , because I'm neither explicitely closing nor using the new 'with' syntax. What exactly is the impact of not closing the file

Re: when should I explicitely close a file?

2010-04-13 Thread Steven D'Aprano
On Tue, 13 Apr 2010 15:01:25 -0700, gelonida wrote: Hi, I've been told, that following code snippet is not good. open(myfile,w).write(astring) , because I'm neither explicitely closing nor using the new 'with' syntax. What exactly is the impact of not closing the file explicitely

Re: how to get text from a html file?

2010-04-13 Thread rake
On Apr 13, 2:12 pm, Chris Colbert sccolb...@gmail.com wrote: On Tue, Apr 13, 2010 at 1:58 PM, varnikat t varnika...@gmail.com wrote: Hi, Can anyone tell me how to get text from a html file?I am trying to display the text of an html file in textview(of glade).If i directly display the

Re: when should I explicitely close a file?

2010-04-13 Thread Giampaolo Rodola'
What about open('foo', 'w').close(). Does it have the same problems? --- Giampaolo http://code.google.com/p/pyftpdlib http://code.google.com/p/psutil -- http://mail.python.org/mailman/listinfo/python-list

Re: when should I explicitely close a file?

2010-04-13 Thread Chris Rebert
On Tue, Apr 13, 2010 at 5:45 PM, Giampaolo Rodola' gne...@gmail.com wrote: What about open('foo', 'w').close(). Does it have the same problems? Well, no, but that's only because it's a pointless no-op that doesn't really do anything besides possibly throwing an exception (e.g. if the script

Re: when should I explicitely close a file?

2010-04-13 Thread Dave Angel
gelonida wrote: Hi, I've been told, that following code snippet is not good. open(myfile,w).write(astring) , because I'm neither explicitely closing nor using the new 'with' syntax. What exactly is the impact of not closing the file explicitely (implicitley with a 'with' block)? Even with

Re: when should I explicitely close a file?

2010-04-13 Thread Ryan Kelly
On Tue, 2010-04-13 at 18:19 -0700, Chris Rebert wrote: On Tue, Apr 13, 2010 at 5:45 PM, Giampaolo Rodola' gne...@gmail.com wrote: What about open('foo', 'w').close(). Does it have the same problems? Well, no, but that's only because it's a pointless no-op that doesn't really do anything

Re: Creating a standalone application

2010-04-13 Thread Gabriel Genellina
En Tue, 13 Apr 2010 18:02:07 -0300, Luis Quesada l.ques...@4c.ucc.ie escribió: I am getting an expected string without null bytes error when using cxfreeze for creating a standalone application (in Linux-Ubuntu). None of my files has null bytes. Are you sure? A text file saved as, e.g.,

[issue7509] AttributeError: MSVCCompiler instance has no attribute '_MSVCCompiler__root'

2010-04-13 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: This is for version 2.6. But how? the traceback shows C:\Python25 on almost every line. -- nosy: +amaury.forgeotdarc ___ Python tracker rep...@bugs.python.org

[issue8366] OS X universal builds fail on 2.7b1 and py3k with Don't know machine value for archs

2010-04-13 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: Setting CPPFLAGS is needed to ensure that the configure tests use the correct header files, as Ned noted. I agree that this should be cleaned up, I also agree with MAL's comment in Issue8211: the entire machinery for setting up the

[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2010-04-13 Thread Christopher Paolini
Christopher Paolini stormlif...@gmail.com added the comment: There is an issue with Visual Studio 2008 and the latest 2.6.5 It searches using productdir = Reg.get_value(r%s\Setup\VC % vsbase, productdir) I just fresh installed Visual Studios and there is no

[issue7509] AttributeError: MSVCCompiler instance has no attribute '_MSVCCompiler__root'

2010-04-13 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: I don't know about 2.5 but: Reading the MSVCCompiler class code in trunk, I can see a case where __init__ doesn't create self.__root. (if self.__arch != Intel) making any call to get_msvc_paths() leading to an error. You certainly have some

[issue7511] msvc9compiler.py: ValueError: [u'path']

2010-04-13 Thread Christopher Paolini
Christopher Paolini stormlif...@gmail.com added the comment: I'm running into the same issue myself. I even installed Visual Studio 2008. Issue is it installed as a 32-bit application in the x86 directory, not sure why. I have 64-bit Windows 7. I'm installing the SDK to see if that helps.

[issue8355] diff.py produce unified format by default

2010-04-13 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: -0 eric.smith for concerns about people relying on current behaviour -0 brian.curtin the same counterarg: current behavior will be broken anyway with compatibility fix in r80004 +0 r.david.murray the policy that we shouldn't

[issue4970] test_os causes delayed failure on x86 gentoo buildbot: Unknown signal 32

2010-04-13 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: This type of failure appears again in current builds: Unfortunately, I think you mean 'still' rather than 'again'. :) As far as I can tell, the failure's never gone away, though it may have been obscured by other failures from time to

[issue4970] test_os causes delayed failure on x86 gentoo buildbot: Unknown signal 32

2010-04-13 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Should also modify regrtest to print out the result of the command getconf GNU_LIBPTHREAD_VERSION that Antoine suggested. -- ___ Python tracker rep...@bugs.python.org

[issue8383] pickle is unable to encode unicode surrogates

2010-04-13 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Both pickle and marshal will need to use the new error handler in order to stay compatible with Python 3.0 (and 2.x) and also to enable creating Unicode literals that include lone surrogates. --

[issue8359] % formating - TypeError: not all arguments converted during string formatting

2010-04-13 Thread David Planella
David Planella david.plane...@ubuntu.com added the comment: It would be nice that %-formatting had the same functionality as in C when it comes to discarding unnamed arguments, but from the comments I understand that being deprecated no changes in functionality are contemplated. However,

[issue6090] zipfile DeprecationWarning Python in 2.6, failure in 2.7

2010-04-13 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: [Martin] I think the error message could be better, though; it should probably be a ValueError. Do you mean a ValueError at the level of the struct module, or the zipfile module. I'd quite like to change all the exceptions raised by the

[issue1722344] Thread shutdown exception in Thread.notify()

2010-04-13 Thread Thijs Triemstra
Thijs Triemstra li...@collab.nl added the comment: Looks like this influenced mod_wsgi as well: http://groups.google.com/group/modwsgi/browse_thread/thread/ba82b2643564d2dd -- nosy: +thijs ___ Python tracker rep...@bugs.python.org

[issue5377] Strange behavior when performing int on a Decimal made from -sys.maxint-1

2010-04-13 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Closing: it's too late for Python 2.x. -- resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5377

[issue7873] Remove precision restriction for integer formatting.

2010-04-13 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Closing: it's too late for 2.x. -- resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7873

[issue3451] Asymptotically faster divmod and str(long)

2010-04-13 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Unassigning myself for now. The most recent patch still needs work before it can be considered for inclusion. -- assignee: mark.dickinson - status: open - languishing versions: -Python 2.7 ___

[issue8383] pickle is unable to encode unicode surrogates

2010-04-13 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Both pickle and marshal will need to use the new error handler in order to stay compatible with Python 3.0 (and 2.x) and also to enable creating Unicode literals that include lone surrogates. Attached patch fixes pickle.

[issue8383] pickle is unable to encode unicode surrogates

2010-04-13 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: STINNER Victor wrote: STINNER Victor victor.stin...@haypocalc.com added the comment: Both pickle and marshal will need to use the new error handler in order to stay compatible with Python 3.0 (and 2.x) and also to enable creating

[issue8188] Unified hash for numeric types.

2010-04-13 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Many thanks for reviewing, Stefan, and for the patch. Here's an updated patch: - specify 32-bit/64-bit C long rather than 32-bit/64-bit machine - apply hash-hash_ fix to Python hash recipe - use _PyHASH_MODULUS instead of _PyHASH_MASK

[issue8188] Unified hash for numeric types.

2010-04-13 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- assignee: - mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8188 ___ ___

[issue8188] Unified hash for numeric types.

2010-04-13 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: ... and here's the actual patch... Forget my own head next. :) -- Added file: http://bugs.python.org/file16907/numeric_hash7.patch ___ Python tracker rep...@bugs.python.org

[issue8188] Unified hash for numeric types.

2010-04-13 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- priority: - normal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8188 ___ ___ Python-bugs-list

[issue4970] test_os causes delayed failure on x86 gentoo buildbot: Unknown signal 32

2010-04-13 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: This bugreport http://bugs.gentoo.org/28193 indeed suggests that the failure occurs on systems without nptl. Would it be possible for someone with an affected system to run the test program from the bug report? --

[issue8383] pickle is unable to encode unicode surrogates

2010-04-13 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Commited: r80031 (py3k) and r80032 (3.1), fix also pickletools. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8383

[issue8384] Distutils C extension build with MinGW on Windows fails

2010-04-13 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Can you run the following command: ld -v and paste the result? -- nosy: +amaury.forgeotdarc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8384

[issue8355] diff.py produce unified format by default

2010-04-13 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: You can use http://gnuwin32.sourceforge.net/packages/diffutils.htm or cygwin or msys. -- nosy: +skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8355

[issue8355] diff.py produce unified format by default

2010-04-13 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: I hope this is not a support tracker. =) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8355 ___

[issue8355] diff.py produce unified format by default

2010-04-13 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: Do you really think that Python users shouldn't use tools written in Python if they are available? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8355

[issue4970] test_os causes delayed failure on x86 gentoo buildbot: Unknown signal 32

2010-04-13 Thread Charles-Francois Natali
Charles-Francois Natali neolo...@free.fr added the comment: Signal 32 is the first real-time signal, and is indeed used by linuxthreads, so it's very likely a linuxthreads bug, since this signal shouldn't leak to application. Since linuxthreads is no longer maintained, I'm afraid we can't do

[issue4970] test_os causes delayed failure on x86 gentoo buildbot: Unknown signal 32

2010-04-13 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Since linuxthreads is no longer maintained, I'm afraid we can't do much about this. Agreed. But I think it's still worth trying to narrow down (and possibly work around) the cause of failure, just so that we can make this buildbot useful

[issue8382] StringIO.write() takes any argument and converts it to a string

2010-04-13 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- resolution: - wont fix stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8382 ___

[issue7585] difflib should separate filename from timestamp with tab

2010-04-13 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Yes, thanks for the typo correction. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7585 ___

[issue8385] _winreg remaining in test_winsound

2010-04-13 Thread Tim Golden
New submission from Tim Golden m...@timgolden.me.uk: There is a reference to _winreg left in test_winsound. Trivial patch attached renames this to winreg. -- components: Tests files: test_winsound.patch keywords: patch messages: 103042 nosy: tim.golden severity: normal status: open

  1   2   >