Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » FIX: UPP::Scan returns int64 for INT_V
Re: FIX: UPP::Scan returns int64 for INT_V [message #32367 is a reply to message #32332] Fri, 13 May 2011 10:52 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14265
Registered: November 2005
Ultimate Member
kohait00 wrote on Mon, 09 May 2011 12:06


thinking of my use case (have u tried BoostPyTest already?) i can edit Int in Upp, but they show up as long longs in Python.. because of this. and i dont really come to a clue how to handle it properly.


And is that really a problem?

http://docs.python.org/reference/expressions.html#arithmetic -conversions

I have had only short encounter with Python (about 100 lines produced for python urr client), but I believe that in Python exact type does not really matter, just as in U++...

What I would do is this: For numeric Value, simply use the minimal possible interpretation. Would that cause any problem in python?

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Rect_<T>::SetNull not correct for Rectf (Rect_<double>)
Next Topic: Ptr improve
Goto Forum:
  


Current Time: Tue Jul 15 04:09:49 CEST 2025

Total time taken to generate the page: 0.03173 seconds