[Python-Dev] About Python

2009-09-12 Thread Kalite LAB.
Dear  authorized, 
I have a question about Python programming language can help you glad you
do. User as a decimal point "." Instead of character "," we can use that
character? For example, 10.7 instead of 10,7
  
Thanks in advance ...
 
Best Regards...
Feyyaz OZEN
 
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] About Python

2009-09-12 Thread Michael Foord

Kalite LAB. wrote:
Dear  authorized, 
I have a question about Python programming language can help you glad 
you do. User as a decimal point "." Instead of character "," we can 
use that character? For example, 10.7 instead of 10,7


This mailing list is for the development of Python, not development with 
Python. For general questions about how to do things the python-list 
(comp.lang.python.newsgroup) and python-tutor-list are appropriate 
places to ask.


That aside I *think* that Python is always culture invariant in its 
syntax (you always use the '.' point for floating point literals in 
source code) and *also* for how the float type converts strings to 
numbers (float('10.7') and not float('10,7')).


I assume there is a way of turning strings to floats honoring the 
locale, but off the top of my head I don't know what it is.


All the best,

Michael Foord

 
Thanks in advance ...
 
Best Regards...

Feyyaz OZEN
 



___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/fuzzyman%40voidspace.org.uk
  



--
http://www.ironpythoninaction.com/

___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


[Python-Dev] Anyone knows how to compile pywin32 for 64bit operating system

2009-09-12 Thread Jacky Lam
I would like to compile a 64 bit version of pywin.
I am currently using MingGW for that, but I fail to do so.
Does anyone know how to compile pywin32 for 64bit operating system?
In addition, any examples for that?

Thanks.

Jacky
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Anyone knows how to compile pywin32 for 64bit operating system

2009-09-12 Thread Michael Foord

Jacky Lam wrote:

I would like to compile a 64 bit version of pywin.
I am currently using MingGW for that, but I fail to do so.
Does anyone know how to compile pywin32 for 64bit operating system?
In addition, any examples for that?

  

Hello Jacky,

This list is for the development of Python and pywin32 is not a standard 
part of Python itself.


pywin32 has its own mailing list where you are more likely to get an 
answer to your question:


   http://mail.python.org/mailman/listinfo/python-win32

All the best,

Michael Foord



Thanks.

Jacky
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/fuzzyman%40voidspace.org.uk
  



--
http://www.ironpythoninaction.com/

___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Anyone knows how to compile pywin32 for 64bit operating system

2009-09-12 Thread Tim Golden

Michael Foord wrote:
pywin32 has its own mailing list where you are more likely to get an 
answer to your question:


   http://mail.python.org/mailman/listinfo/python-win32


And, just for accuracy's sake: that list isn't a list for
pywin32 stuff as such -- although it's obviously a good
place to ask. It's for Python development under Windows
in general. pywin32 has its own trackers shown here:

 http://sourceforge.net/projects/pywin32/support

Nonetheless, I certainly second the recommendation to post
to python-win32.

TJG
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


[Python-Dev] clarification on PEP 3124 status

2009-09-12 Thread Darren Dale
Could somebody please clarify the status of PEP 3124? At
http://ftp.python.org/dev/peps/ , it is listed as "under
consideration", but http://ftp.python.org/dev/peps/pep-3124/ says it
has been deferred.

I was reading through the discussion on the python-3000 mailing list
archive, and at one point somebody asked for other examples where
generic functions are used in the community. The numpy project has a
basic generic function mechanism for numpy's ufuncs (regular functions
that operate on arrays), where subclasses of numpy.ndarray can define
__array_prepare__ (this method will be added in numpy-1.4) and
__array_wrap__ methods, which are sort of analogous to @before and
@after in PEP 3124 (ndarray subclasses define an __array_priority__
attribute to decide how to dispatch). The numpy approach is not a
general solution and is not as flexible as what is described in the
PEP, but it can be used by functions that operate on subclasses that
implement matrices, masked arrays, arrays with physical units.

I would be very interested in seeing a framework for generic functions
in the numpy standard library. I think would be more simple and
flexible than what we currently have. Is there still
interest/motivation for supporting generic functions in the standard
library?

Darren
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] clarification on PEP 3124 status

2009-09-12 Thread Darren Dale
On Sat, Sep 12, 2009 at 9:57 AM, Darren Dale  wrote:
> I would be very interested in seeing a framework for generic functions
> in the numpy standard library.

Sorry, I meant to say "python standard library"
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] clarification on PEP 3124 status

2009-09-12 Thread Martin v. Löwis
> Could somebody please clarify the status of PEP 3124? At
> http://ftp.python.org/dev/peps/ , it is listed as "under
> consideration", but http://ftp.python.org/dev/peps/pep-3124/ says it
> has been deferred.

This isn't really contradictory. "under consideration" means "in
progress": it has neither been accepted or rejected.

If Phillip doesn't respond here, you may want to ask him directly.
My impression is that it is deferred because nobody is pursuing it
actively (including Phillip Eby). It's common for a PEP to be in that
state for several years, "deferred" then is an indication that readers
shouldn't expect a resolution in short term.

That said: my personal feeling is that this PEP is way too large, and
should be broken into seperate pieces of functionality that can be
considered independently. There is a lot of stuff in it that isn't
strictly necessary to provide the feature listed in the rationale.

Regards,
Martin

___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com