forked from sagemath/sage
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,34 @@ | ||
import os | ||
import sys | ||
import operator | ||
import math | ||
|
||
import warnings | ||
|
||
# TODO: More to be moved from all.py | ||
|
||
# This import also sets up the interrupt handler | ||
from cysignals.signals import (AlarmInterrupt, SignalError, | ||
sig_on_reset as sig_on_count) | ||
|
||
from time import sleep | ||
|
||
from sage.misc.all__sagemath_objects import * | ||
from sage.structure.all import * | ||
from sage.arith.power import generic_power as power | ||
from sage.categories.all__sagemath_objects import * | ||
|
||
from sage.cpython.all import * | ||
|
||
from cysignals.alarm import alarm, cancel_alarm | ||
|
||
from copy import copy, deepcopy | ||
|
||
true = True | ||
false = False | ||
|
||
|
||
# For doctesting. These are overwritten later | ||
|
||
Integer = int | ||
RealNumber = float |