An implementation of PseudoPrimeGenerator
which uses a prime table generated by trial division.
Generates all integers which are greater than 2 and are not divisible by either 2 or 3.
This is a pseudo-prime generator, suitable on checking primality of an integer by brute force method.
Internal use. An implementation of eratosthenes’ sieve
The error type thrown by all PStore
methods.
Indicates a failure to resolve a name or address.
A parent has children, and has methods for accessing them. The Parent
class is never encountered except as the superclass for some other object.
You don’t want to use this class. Really. Use XPath
, which is a wrapper for this class. Believe me. You don’t want to poke around in here. There is strange, dark magic at work in this code. Beware. Go back! Go back while you still can!
Rinda
error base class
Raised when trying to use a canceled tuple.
Raised when trying to use an expired tuple.
The basic error all other RSS
errors stem from. Rescue this error if you want to handle any given RSS
error and you don’t care about the details.
RSS
, being an XML-based format, has namespace support. If two namespaces are declared with the same name, an OverlappedPrefixError
will be raised.
The InvalidRSSError
error is the base class for a variety of errors related to a poorly-formed RSS
feed. Rescue this error if you only care that a file could be invalid, but don’t care how it is invalid.
Since RSS
is based on XML
, it must have opening and closing tags that match. If they don’t, a MissingTagError
will be raised.
Some tags must only exist a specific number of times in a given RSS
feed. If a feed has too many occurrences of one of these tags, a TooMuchTagError
will be raised.
Certain attributes are required on specific tags in an RSS
feed. If a feed is missing one of these attributes, a MissingAttributeError
is raised.