Asad Habib wrote:
> Hello. I am working on Tiger and wanted to find out how to compile a
> Python (.py) file into a .pyc file and then into a .pyo file. Can the
> compilation be achieved within the interpreter? Also, I am
> new to Python and wanted to know the difference between .pyc and .pyo
> fil
Steven Bethard wrote:
> Jacob Page wrote:
>
>> Oye, there's quite a number of set and frozenset features that aren't
>> well-documented that I now need to implement. What a fun chore!
>
> It would be a great help if you could submit appropriate documentation
Reinhold Birkenfeld wrote:
> Jacob Page wrote:
>
>>I'd like to
>>run my code through actual set and frozenset unit tests. Does any such
>>code exist? Is it in pure Python? If so, where can it be obtained?
>
> Look at /usr/lib/python2.x/test/ (on unix platf
I have released interval-0.2.1 at
http://members.cox.net/apoco/interval/. IntervalSet and
FrozenIntervalSet objects are now (as far as I can tell) functionality
equivalent to set and frozenset objects, except they can contain
intervals as well as discrete values.
Though I have my own unit tes
George Sakkis wrote:
> "Jacob Page" <[EMAIL PROTECTED]> wrote:
>
>>If the union of two integers yielded a set of integers, then
>>it'd make more since for the union of two Intervals to yield an
>>IntervalSet.
>
> AFAIK union is defined over se
George Sakkis wrote:
> "Jacob Page" <[EMAIL PROTECTED]> wrote:
>
>>I selected option one; Intervals are immutable. However, this doesn't
>>mean that __add__ has to go, as that function has no side-effects. The
>>reason I chose option one was because
After some feedback from this newsgroup, I've updated and renamed the
iset module to the interval module. Many of the names within the module
have also changed, and I've refactored a lot of the code. The updated
version can be found at http://members.cox.net/apoco/interval/, as well
as a chan
George Sakkis wrote:
> "Jacob Page" <[EMAIL PROTECTED]> wrote:
>
>>I think I will keep Interval exposed. It sort of raises a bunch of
>>hard-to-answer design questions having two class interfaces, though.
>>For example, would Interval.between(2, 3) + Int
George Sakkis wrote:
> "Jacob Page" <[EMAIL PROTECTED]> wrote:
>
>>George Sakkis wrote:
>>
>>>1. As already noted, ISet is not really descriptive of what the class
>>>does. How about RangeSet ? It's not that long and I find it pretty
>&g
George Sakkis wrote:
> 1. As already noted, ISet is not really descriptive of what the class
> does. How about RangeSet ? It's not that long and I find it pretty
> descriptive. In this case, it would be a good idea to change Interval
> to Range to make the association easier.
The reason I decided
Thomas Lotze wrote:
> Jacob Page wrote:
>
>>better-named,
>
> Just a quick remark, without even having looked at it yet: the name is not
> really descriptive and runs a chance of misleading people. The example I'm
> thinking of is using zope.interface in the sa
Jeremy Moles wrote:
> This is my first time working with some of the more lower-level python
> "stuff." I was wondering if someone could tell me what I'm doing wrong
> with my simple test here?
>
> Basically, what I need is an easy way for application in userspace to
> simply echo values "down" to
Robert Kern wrote:
> Jacob Page wrote:
>
>> I have created what I think may be a useful Python module, but I'd
>> like to share it with the Python community to get feedback, i.e. if
>> it's Pythonic. If it's considered useful by Pythonistas, I'l
I have created what I think may be a useful Python module, but I'd like
to share it with the Python community to get feedback, i.e. if it's
Pythonic. If it's considered useful by Pythonistas, I'll see about
hosting it on Sourceforge or something like that. Is this a good forum
for exposing mo
14 matches
Mail list logo