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
files.
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
patches for the areas you don't think
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 platforms).
Thanks for pointing that to me
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
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 it's uncommon for a mathematical
operation on two objects
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 sets, not numbers, so I'm not sure what you
mean by the union of two
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
descriptive. In this case, it would be a good idea to change Interval
to Range
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) + Interval.between(5, 7) raise
an error (as it currently
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
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 same project: it's customary to
name
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
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'll see
about hosting it on Sourceforge or something
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 this
13 matches
Mail list logo