rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
@unittest2.expectedFailure
def test_with_dsym_and_python_api(self): """Use Python APIs to inspect a bitfields variable.""" self.buildDsym() self.bitfields_variable_python()
416ffb75ef64814b01a6052a7a08f6fe89b79658 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11986/416ffb75ef64814b01a6052a7a08f6fe89b79658/TestBitfields.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 1918, 67, 2377, 2942, 67, 464, 67, 8103, 67, 2425, 12, 2890, 4672, 3536, 3727, 6600, 19947, 358, 5334, 279, 2831, 2821, 2190, 12123, 365, 18, 3510, 40, 8117, 1435, 365, 18, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 1918, 67, 2377, 2942, 67, 464, 67, 8103, 67, 2425, 12, 2890, 4672, 3536, 3727, 6600, 19947, 358, 5334, 279, 2831, 2821, 2190, 12123, 365, 18, 3510, 40, 8117, 1435, 365, 18, 3...
def depart_literal_block(self, node): self.no_smarty -= 1
try: HTMLTranslator.visit_literal_block(self, node) finally: self.no_smarty -= 1
def visit_literal_block(self, node): self.no_smarty += 1
654bc580d0d2c224289afd2c09744fabd67e01e9 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5532/654bc580d0d2c224289afd2c09744fabd67e01e9/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3757, 67, 13107, 67, 2629, 12, 2890, 16, 756, 4672, 365, 18, 2135, 67, 16130, 1011, 404, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3757, 67, 13107, 67, 2629, 12, 2890, 16, 756, 4672, 365, 18, 2135, 67, 16130, 1011, 404, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
"variants" :
"variants" :
def process(options): global verbose global quiet verbose = options.verbose quiet = options.quiet if verbose: quiet = False print ">>> Processing..." if not quiet: print " - Configuration: %s" % options.config print " - Jobs: %s" % ", ".join(options.jobs) # TODO: File parser # - Translate dashed to camelcase # -...
e3364bd2416dfe75fd85aeea0ded427372ef3d08 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5718/e3364bd2416dfe75fd85aeea0ded427372ef3d08/generator2.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 12, 2116, 4672, 2552, 3988, 2552, 10902, 225, 3988, 273, 702, 18, 11369, 10902, 273, 702, 18, 20380, 225, 309, 3988, 30, 10902, 273, 1083, 225, 1172, 315, 23012, 19652, 7070, 309, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 12, 2116, 4672, 2552, 3988, 2552, 10902, 225, 3988, 273, 702, 18, 11369, 10902, 273, 702, 18, 20380, 225, 309, 3988, 30, 10902, 273, 1083, 225, 1172, 315, 23012, 19652, 7070, 309, ...
scan = LaserScan()
def handle_sonar(msg, scan_pub): scan = LaserScan() scan.header.frame_id = msg.header.frame_id scan.header.stamp = msg.header.stamp scan.angle_min = rospy.get_param("~angle_min", -0.19) scan.angle_max = rospy.get_param("~angle_max", 0.19) scan.angle_increment = rospy.get_param("~angle_increment", 0.01266666667) scan.t...
a96b0c34af4ad5cad159d2e6b5f470273dbcc962 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14739/a96b0c34af4ad5cad159d2e6b5f470273dbcc962/sonar_translator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 816, 297, 12, 3576, 16, 4135, 67, 10174, 4672, 4135, 18, 3374, 18, 3789, 67, 350, 273, 1234, 18, 3374, 18, 3789, 67, 350, 4135, 18, 3374, 18, 14317, 273, 1234, 18, 3374, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 816, 297, 12, 3576, 16, 4135, 67, 10174, 4672, 4135, 18, 3374, 18, 3789, 67, 350, 273, 1234, 18, 3374, 18, 3789, 67, 350, 4135, 18, 3374, 18, 14317, 273, 1234, 18, 3374, 18...
self.xml_results = None
self.xml_output = None self.xml_output_file = None
def initialize_options(self): test.initialize_options(self) self.xml_results = None self.coverage_summary = None self.coverage_dir = None
e8702e67868f3a4f38dbd450faa36efe217c5b2b /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4547/e8702e67868f3a4f38dbd450faa36efe217c5b2b/testrunner.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4046, 67, 2116, 12, 2890, 4672, 1842, 18, 11160, 67, 2116, 12, 2890, 13, 365, 18, 2902, 67, 2844, 273, 599, 365, 18, 2902, 67, 2844, 67, 768, 273, 599, 365, 18, 16356, 67, 7687, 273,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4046, 67, 2116, 12, 2890, 4672, 1842, 18, 11160, 67, 2116, 12, 2890, 13, 365, 18, 2902, 67, 2844, 273, 599, 365, 18, 2902, 67, 2844, 67, 768, 273, 599, 365, 18, 16356, 67, 7687, 273,...
if not os.path.exists(CHECKPKG_DIR):
if not os.path.exists(checkpkg_dir):
def InitializeDatabase(self): """Established the connection to the database.
176cbb0a5b3b9613bad3e05ef724aa9ecdff87c7 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3137/176cbb0a5b3b9613bad3e05ef724aa9ecdff87c7/checkpkg.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9190, 4254, 12, 2890, 4672, 3536, 9122, 9237, 5992, 326, 1459, 358, 326, 2063, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9190, 4254, 12, 2890, 4672, 3536, 9122, 9237, 5992, 326, 1459, 358, 326, 2063, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
chksum_data = abs(lib.check_sum(data, head.n_samps, C.c_longlong()))
chksum_data = abs(lib.check_sum(data, head.n_samps, C.c_int32()))
def read(f, verify_chksum=True): """ Read GSE2 file and return header and data. Currently supports only CM6 compressed GSE2 files, this should be sufficient for most cases. Data are in circular frequency counts, for correction of calper multiply by 2PI and calper: data * 2 * pi * header['calper']. :type f: File Point...
8269de7184b7d97a7f27fa7adc129344a7d73807 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10470/8269de7184b7d97a7f27fa7adc129344a7d73807/libgse2.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 12, 74, 16, 3929, 67, 27038, 1364, 33, 5510, 4672, 3536, 2720, 611, 1090, 22, 585, 471, 327, 1446, 471, 501, 18, 225, 15212, 6146, 1338, 15871, 26, 8968, 611, 1090, 22, 1390, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 12, 74, 16, 3929, 67, 27038, 1364, 33, 5510, 4672, 3536, 2720, 611, 1090, 22, 585, 471, 327, 1446, 471, 501, 18, 225, 15212, 6146, 1338, 15871, 26, 8968, 611, 1090, 22, 1390, 16, ...
self.after = incoming[match.start() : ]
self.after = incoming[match.start() : match.end()]
def expect_list(self, pattern_list, timeout = -1, searchwindowsize = -1): """This takes a list of compiled regular expressions and returns the index into the pattern_list that matched the child's output. The list may also contain EOF or TIMEOUT (which are not compiled regular expressions). This method is similar to the...
babe1643fa24f3ad2749d376df22ebb01854f1b9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9386/babe1643fa24f3ad2749d376df22ebb01854f1b9/pexpect.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4489, 67, 1098, 12, 2890, 16, 1936, 67, 1098, 16, 2021, 273, 300, 21, 16, 1623, 5668, 1467, 273, 300, 21, 4672, 3536, 2503, 5530, 279, 666, 434, 7743, 6736, 8041, 471, 1135, 326, 770, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4489, 67, 1098, 12, 2890, 16, 1936, 67, 1098, 16, 2021, 273, 300, 21, 16, 1623, 5668, 1467, 273, 300, 21, 4672, 3536, 2503, 5530, 279, 666, 434, 7743, 6736, 8041, 471, 1135, 326, 770, ...
skip = len(code); emit(0)
skip = _len(code); emit(0)
def fixup(literal, flags=flags): return _sre.getlower(literal, flags)
3f8fdffe72485d69e9e31bdeb4796c1cca750eba /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/3f8fdffe72485d69e9e31bdeb4796c1cca750eba/sre_compile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2917, 416, 12, 13107, 16, 2943, 33, 7133, 4672, 327, 389, 87, 266, 18, 588, 8167, 12, 13107, 16, 2943, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2917, 416, 12, 13107, 16, 2943, 33, 7133, 4672, 327, 389, 87, 266, 18, 588, 8167, 12, 13107, 16, 2943, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
elif type(replicaTuple) == types.TupleType:
elif type( replicaTuple ) == types.TupleType:
def removeCatalogPhysicalFileNames(self,replicaTuple): """ Remove replicas from the file catalog specified by replica tuple
9fabceb719d19d46d8b75011d2932552dbe360f9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/9fabceb719d19d46d8b75011d2932552dbe360f9/ReplicaManager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1206, 9769, 18136, 812, 1557, 12, 2890, 16, 30065, 9038, 4672, 3536, 3581, 21545, 628, 326, 585, 6222, 1269, 635, 12335, 3193, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1206, 9769, 18136, 812, 1557, 12, 2890, 16, 30065, 9038, 4672, 3536, 3581, 21545, 628, 326, 585, 6222, 1269, 635, 12335, 3193, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
FL_Coord, STRING],
FL_Coord, STRING],
def fl_add_lightbutton(type, x, y, w, h, label): """ fl_add_lightbutton(type, x, y, w, h, label) -> object """ retval = _fl_add_lightbutton(type, x, y, w, h, label) return retval
9942dac8ce2b35a1e43615a26fd8e7054ef805d3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/9942dac8ce2b35a1e43615a26fd8e7054ef805d3/xformslib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 1289, 67, 5099, 5391, 12, 723, 16, 619, 16, 677, 16, 341, 16, 366, 16, 1433, 4672, 3536, 1183, 67, 1289, 67, 5099, 5391, 12, 723, 16, 619, 16, 677, 16, 341, 16, 366, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 1289, 67, 5099, 5391, 12, 723, 16, 619, 16, 677, 16, 341, 16, 366, 16, 1433, 4672, 3536, 1183, 67, 1289, 67, 5099, 5391, 12, 723, 16, 619, 16, 677, 16, 341, 16, 366, 16, ...
sage: sage.combinat.set_partition._listbloc(2,2,[1,2,3,4]) == l
sage: list(sage.combinat.set_partition._listbloc(2,2,[1,2,3,4])) == l
def _listbloc(n, nbrepets, listint=None): """ listbloc decomposes a set of n*nbrepets integers (the list listint) in nbrepets parts. It is used in the algorithm to generate all set partitions. Not to be called by the user. EXAMPLES: sage: sage.combinat.set_partition._listbloc(2,1) [{{1, 2}}] sage: l = [Set([Set([3, ...
43705e9dccfbffca72793f3fbd2104945b6fd6a6 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9417/43705e9dccfbffca72793f3fbd2104945b6fd6a6/set_partition.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1098, 70, 1829, 12, 82, 16, 4264, 14462, 2413, 16, 666, 474, 33, 7036, 4672, 3536, 666, 70, 1829, 9862, 10522, 279, 444, 434, 290, 14, 82, 6073, 84, 2413, 12321, 261, 5787, 666, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1098, 70, 1829, 12, 82, 16, 4264, 14462, 2413, 16, 666, 474, 33, 7036, 4672, 3536, 666, 70, 1829, 9862, 10522, 279, 444, 434, 290, 14, 82, 6073, 84, 2413, 12321, 261, 5787, 666, ...
syslog(LOG_ERR, "%s %s served by multiple generators" % (entry.tag, entry.get('name')))
generators = ", ".join([gen.__name__ for gen in glist]) syslog(LOG_ERR, "%s %s served by multiple generators: %s" % (entry.tag, entry.get('name'), generators)) raise PluginExecutionError, (entry.tag, entry.get('name'))
def Bind(self, entry, metadata): '''Bind an entry using the appropriate generator''' glist = [gen for gen in self.generators if gen.Entries.get(entry.tag, {}).has_key(entry.get('name'))] if len(glist) == 1: return glist[0].Entries[entry.tag][entry.get('name')](entry, metadata) elif len(glist) > 1: syslog(LOG_ERR, "%s %...
b0f8b8570d4786dcb280dca110db3e1226bffceb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11867/b0f8b8570d4786dcb280dca110db3e1226bffceb/Core.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6936, 12, 2890, 16, 1241, 16, 1982, 4672, 9163, 3357, 392, 1241, 1450, 326, 5505, 4456, 26418, 314, 1098, 273, 306, 4507, 364, 3157, 316, 365, 18, 25959, 309, 3157, 18, 5400, 18, 588, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6936, 12, 2890, 16, 1241, 16, 1982, 4672, 9163, 3357, 392, 1241, 1450, 326, 5505, 4456, 26418, 314, 1098, 273, 306, 4507, 364, 3157, 316, 365, 18, 25959, 309, 3157, 18, 5400, 18, 588, ...
def progressbar_clicked(obj, event, data):
def progressbar_clicked(obj, it, *args, **kwargs):
def progressbar_clicked(obj, event, data): win = elementary.Window("progressbar", elementary.ELM_WIN_BASIC) win.title_set("Progressbar test") bg = elementary.Background(win) win.resize_object_add(bg) bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND) bg.show() bx = elementary.Box(win) win.resize_ob...
dff3caa2ec713908f112c4970120d3d880226170 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12343/dff3caa2ec713908f112c4970120d3d880226170/test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 31730, 67, 7475, 329, 12, 2603, 16, 518, 16, 380, 1968, 16, 2826, 4333, 4672, 5657, 273, 930, 814, 18, 3829, 2932, 8298, 3215, 3113, 930, 814, 18, 2247, 49, 67, 24572, 67, 25642, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 31730, 67, 7475, 329, 12, 2603, 16, 518, 16, 380, 1968, 16, 2826, 4333, 4672, 5657, 273, 930, 814, 18, 3829, 2932, 8298, 3215, 3113, 930, 814, 18, 2247, 49, 67, 24572, 67, 25642, 13, ...
elif keyText == 'expires':
elif keyText == 'expires':
def convertSafariToMoz(cookie_file): "convert Safari cookies to a Netscape format readable by rssdler" if not minidom: raise ImportError('xml.dom.minidom needed for use of Safari Cookies') s = StringIO.StringIO("""# HTTP Cookie File
93f55e1cddd1060d9c1b02aa0ac10473fd6e1d92 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1664/93f55e1cddd1060d9c1b02aa0ac10473fd6e1d92/rssdler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1765, 55, 19328, 774, 49, 11142, 12, 8417, 67, 768, 4672, 315, 6283, 26690, 7237, 358, 279, 8503, 12476, 740, 7471, 635, 18817, 72, 749, 6, 309, 486, 1131, 350, 362, 30, 1002, 11308, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1765, 55, 19328, 774, 49, 11142, 12, 8417, 67, 768, 4672, 315, 6283, 26690, 7237, 358, 279, 8503, 12476, 740, 7471, 635, 18817, 72, 749, 6, 309, 486, 1131, 350, 362, 30, 1002, 11308, 2...
self.assertEquals(self.c.start_align.offset, self.dup.start_align.offset)
self.assertNotEquals(repr(self.c.end_align), repr(self.dup.end_align)) self.assertEquals(self.c.end_align.offset, self.dup.end_align.offset)
def runTest(self): self.dup = self.c.duplicate() self.assertEquals(self.c.min_size, self.dup.min_size) self.assertEquals(self.c.max_size, self.dup.max_size)
94ceddbf413f2d6c246848adcb62a656bd0003d3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5978/94ceddbf413f2d6c246848adcb62a656bd0003d3/test_constraint.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 4709, 12, 2890, 4672, 365, 18, 26427, 273, 365, 18, 71, 18, 17342, 1435, 365, 18, 11231, 8867, 12, 2890, 18, 71, 18, 1154, 67, 1467, 16, 365, 18, 26427, 18, 1154, 67, 1467, 13,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 4709, 12, 2890, 4672, 365, 18, 26427, 273, 365, 18, 71, 18, 17342, 1435, 365, 18, 11231, 8867, 12, 2890, 18, 71, 18, 1154, 67, 1467, 16, 365, 18, 26427, 18, 1154, 67, 1467, 13,...
fsize = struct.unpack('L', fid.read(4))[0] + 8
fsize = struct.unpack('I', fid.read(4))[0] + 8
def _read_riff_chunk(fid): str1 = fid.read(4) fsize = struct.unpack('L', fid.read(4))[0] + 8 str2 = fid.read(4) if (str1 != 'RIFF' or str2 != 'WAVE'): raise ValueError, "Not a WAV file." return fsize
5b0294cc67858f4f2912372cbff8828696d7b72c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12971/5b0294cc67858f4f2912372cbff8828696d7b72c/wavfile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 896, 67, 86, 3048, 67, 6551, 12, 27268, 4672, 609, 21, 273, 13444, 18, 896, 12, 24, 13, 284, 1467, 273, 1958, 18, 17309, 2668, 45, 2187, 13444, 18, 896, 12, 24, 3719, 63, 20, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 896, 67, 86, 3048, 67, 6551, 12, 27268, 4672, 609, 21, 273, 13444, 18, 896, 12, 24, 13, 284, 1467, 273, 1958, 18, 17309, 2668, 45, 2187, 13444, 18, 896, 12, 24, 3719, 63, 20, ...
new_sources.append(base + ".c")
new_sources.append(base + target_ext)
def swig_sources (self, sources):
f3bd747c4e36dd067de98dfc9c96ffb49a64d920 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/f3bd747c4e36dd067de98dfc9c96ffb49a64d920/build_ext.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1352, 360, 67, 10141, 261, 2890, 16, 5550, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1352, 360, 67, 10141, 261, 2890, 16, 5550, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
msg['Reply-To'] = 'Britische Regierung gibt gr\xfcnes Licht f\xfcr Offshore-Windkraftprojekte <a-very-long-address@example.com>' eq(msg.as_string(), """\ Reply-To: Britische Regierung gibt gr\xfcnes Licht f\xfcr Offshore-Windkraftprojekte <a-very-long-address@example.com>
header_string = ('Britische Regierung gibt gr\xfcnes Licht ' 'f\xfcr Offshore-Windkraftprojekte ' '<a-very-long-address@example.com>') msg['Reply-To'] = header_string self.assertRaises(UnicodeEncodeError, msg.as_string) msg = Message() msg['Reply-To'] = Header(header_string, 'utf-8', header_name='Reply-To') eq(msg.as_s...
def test_long_8bit_header_no_charset(self): eq = self.ndiffAssertEqual msg = Message() msg['Reply-To'] = 'Britische Regierung gibt gr\xfcnes Licht f\xfcr Offshore-Windkraftprojekte <a-very-long-address@example.com>' eq(msg.as_string(), """\
cda7a5dd8fbb8a6f5a797d62c2b57cb012ca5f64 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12029/cda7a5dd8fbb8a6f5a797d62c2b57cb012ca5f64/test_email.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 5748, 67, 28, 3682, 67, 3374, 67, 2135, 67, 9999, 12, 2890, 4672, 7555, 273, 365, 18, 4880, 3048, 8213, 5812, 1234, 273, 2350, 1435, 1234, 3292, 7817, 17, 774, 3546, 273, 296...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 5748, 67, 28, 3682, 67, 3374, 67, 2135, 67, 9999, 12, 2890, 4672, 7555, 273, 365, 18, 4880, 3048, 8213, 5812, 1234, 273, 2350, 1435, 1234, 3292, 7817, 17, 774, 3546, 273, 296...
mov t2, t2, rsi, flags=(nCECF,), dataSize=1
mov t2, t2, ah, flags=(nCECF,), dataSize=1
def macroop IDIV_B_P
b0c5ff528b648321bf95ee8d50f126e7c0b4f8d0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7385/b0c5ff528b648321bf95ee8d50f126e7c0b4f8d0/multiply_and_divide.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11522, 556, 1599, 8188, 67, 38, 67, 52, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11522, 556, 1599, 8188, 67, 38, 67, 52, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
"""
""" fs =float(fs)
def bilinear(b,a,fs=1.0): """Return a digital filter from an analog filter using the bilinear transform. The bilinear transform substitutes (z-1) / (z+1) for s """ a,b = map(r1array,(a,b)) D = len(a) - 1 N = len(b) - 1 artype = Num.Float M = max([N,D]) Np = M Dp = M bprime = Num.zeros(Np+1,artype) aprime = Num.zeros(D...
d966da2111cf06c8e7a648614352f33ae55646c7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12971/d966da2111cf06c8e7a648614352f33ae55646c7/filter_design.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 324, 12554, 297, 12, 70, 16, 69, 16, 2556, 33, 21, 18, 20, 4672, 3536, 990, 279, 25615, 1034, 628, 392, 25714, 1034, 1450, 326, 324, 12554, 297, 2510, 18, 225, 1021, 324, 12554, 297, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 324, 12554, 297, 12, 70, 16, 69, 16, 2556, 33, 21, 18, 20, 4672, 3536, 990, 279, 25615, 1034, 628, 392, 25714, 1034, 1450, 326, 324, 12554, 297, 2510, 18, 225, 1021, 324, 12554, 297, ...
syncaccounts = {}
syncaccounts = []
def sigterm_handler(signum, frame): # die immediately ui.terminate(errormsg="terminating...")
2e22b4123190c8ae434efb2bfb3d507694482644 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5335/2e22b4123190c8ae434efb2bfb3d507694482644/init.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3553, 6408, 67, 4176, 12, 2977, 379, 16, 2623, 4672, 468, 10387, 7636, 5915, 18, 30017, 12, 370, 23250, 1546, 9505, 1776, 7070, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3553, 6408, 67, 4176, 12, 2977, 379, 16, 2623, 4672, 468, 10387, 7636, 5915, 18, 30017, 12, 370, 23250, 1546, 9505, 1776, 7070, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -10...
log.info('move: %s', changes) self.db.update_object(item._beacon_id, **changes)
if move._beacon_name.startswith('.'): log.info('inotify: move to hidden file, delete') self.db.delete_object(item._beacon_id) else: log.info('inotify: move: %s', changes) self.db.update_object(item._beacon_id, **changes)
def _inotify_event(self, mask, name, *args): """ Callback for inotify. """ if mask & INotify.MODIFY and name in self._inotify_timer and \ self._inotify_timer[name][1]: # A file was modified. Do this check as fast as we can because the # events may come in bursts when a file is just copied. In this case # a timer is alr...
cb8afa376d134f198700f8477a56bab058d993ae /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11703/cb8afa376d134f198700f8477a56bab058d993ae/crawl.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 267, 352, 1164, 67, 2575, 12, 2890, 16, 3066, 16, 508, 16, 380, 1968, 4672, 3536, 8444, 364, 316, 352, 1164, 18, 3536, 309, 3066, 473, 467, 9168, 18, 6720, 12096, 471, 508, 316, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 267, 352, 1164, 67, 2575, 12, 2890, 16, 3066, 16, 508, 16, 380, 1968, 4672, 3536, 8444, 364, 316, 352, 1164, 18, 3536, 309, 3066, 473, 467, 9168, 18, 6720, 12096, 471, 508, 316, ...
- ``l`` - a list of integers `(x_i)` such that `0 \leq x_i < d_i` and `x = \prod_i g_i^{x_i}` in `(R/I)^*`, where I = self, R = ring of integers of the field, and `g_i` are the generators of `(R/I)^*`, of orders `d_i` respectively, as given in the \emph{bid} structure of the ideal self.
- ``l`` - a list of integers `(x_i)` such that `0 \leq x_i < d_i` and `x = \prod_i g_i^{x_i}` in `(R/I)^*`, where I = self, R = ring of integers of the field, and `g_i` are the generators of `(R/I)^*`, of orders `d_i` respectively, as given in the ``bid`` structure of the ideal self.
def ideallog(self, x): r""" Returns the discrete logarithm of x with respect to the generators given in the \emph{bid} structure of the ideal self.
e462b4d226d7b8f741f48ed1e071494aa5463b8a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9417/e462b4d226d7b8f741f48ed1e071494aa5463b8a/number_field_ideal.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 23349, 1330, 12, 2890, 16, 619, 4672, 436, 8395, 2860, 326, 20035, 613, 31249, 434, 619, 598, 8762, 358, 326, 13327, 864, 316, 326, 521, 351, 844, 95, 19773, 97, 3695, 434, 326, 23349, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 23349, 1330, 12, 2890, 16, 619, 4672, 436, 8395, 2860, 326, 20035, 613, 31249, 434, 619, 598, 8762, 358, 326, 13327, 864, 316, 326, 521, 351, 844, 95, 19773, 97, 3695, 434, 326, 23349, ...
if name in entries:
if name in solution_names:
def GetURLAndRev(name, original_url): url, revision = gclient_utils.SplitUrlRevision(original_url) if not revision: if revision_overrides.has_key(name): return (url, revision_overrides[name]) else: scm = gclient_scm.CreateSCM(solution["url"], self._root_dir, name) return (url, scm.revinfo(self._options, [], None)) else...
cbf55dd09beafb64070cee2593f21a1220d0a51f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6076/cbf55dd09beafb64070cee2593f21a1220d0a51f/gclient.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 1785, 1876, 10070, 12, 529, 16, 2282, 67, 718, 4672, 880, 16, 6350, 273, 314, 2625, 67, 5471, 18, 5521, 1489, 7939, 12, 8830, 67, 718, 13, 309, 486, 6350, 30, 309, 6350, 67, 197...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 1785, 1876, 10070, 12, 529, 16, 2282, 67, 718, 4672, 880, 16, 6350, 273, 314, 2625, 67, 5471, 18, 5521, 1489, 7939, 12, 8830, 67, 718, 13, 309, 486, 6350, 30, 309, 6350, 67, 197...
rsp = self.apiGet("reviewrequests/2/diffs")
rsp = self.apiGet("reviewrequests/2/diff")
def testReviewRequestDiffsets(self): """Testing the reviewrequests/diffsets API""" rsp = self.apiGet("reviewrequests/2/diffs")
22eaeea2f5ac553fc8d45a38caaf26c003d63e15 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1600/22eaeea2f5ac553fc8d45a38caaf26c003d63e15/tests.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 9159, 691, 10428, 988, 87, 12, 2890, 4672, 3536, 22218, 326, 10725, 11420, 19, 11593, 988, 87, 1491, 8395, 12049, 273, 365, 18, 2425, 967, 2932, 16041, 11420, 19, 22, 19, 11593, 25...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 9159, 691, 10428, 988, 87, 12, 2890, 4672, 3536, 22218, 326, 10725, 11420, 19, 11593, 988, 87, 1491, 8395, 12049, 273, 365, 18, 2425, 967, 2932, 16041, 11420, 19, 22, 19, 11593, 25...
result = transferClient.receiveFile(tmpFile.name, {'Type':'File', 'Data':name})
result = transferClient.receiveFile(tmpFile.name,name)
def getImg(self): pagestart = time() transferClient = getTransferClient("Monitoring/SiteMapping") if "name" not in request.params: c.result = "file name is absent" return c.result name = request.params["name"]
4d688c411c7565126e2988583d4afb5470e003d0 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12767/4d688c411c7565126e2988583d4afb5470e003d0/Map.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 12804, 12, 2890, 4672, 4262, 27893, 273, 813, 1435, 7412, 1227, 273, 336, 5912, 1227, 2932, 18410, 19, 4956, 3233, 7923, 309, 315, 529, 6, 486, 316, 590, 18, 2010, 30, 276, 18, 20...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 12804, 12, 2890, 4672, 4262, 27893, 273, 813, 1435, 7412, 1227, 273, 336, 5912, 1227, 2932, 18410, 19, 4956, 3233, 7923, 309, 315, 529, 6, 486, 316, 590, 18, 2010, 30, 276, 18, 20...
imageName = self.GetAttributeValue(item, attributeName) + ".png" image = wx.GetApp().GetImage(imageName) if image is not None: x = rect.GetLeft() + (rect.GetWidth() - image.GetWidth()) / 2 y = rect.GetTop() + (rect.GetHeight() - image.GetHeight()) / 2 dc.DrawBitmap (image, x, y, True)
imageName = self.GetAttributeValue(item, attributeName) if len(imageName): imageName += ".png" image = wx.GetApp().GetImage(imageName) if image is not None: x = rect.GetLeft() + (rect.GetWidth() - image.GetWidth()) / 2 y = rect.GetTop() + (rect.GetHeight() - image.GetHeight()) / 2 dc.DrawBitmap (image, x, y, True)
def Draw (self, dc, rect, item, attributeName, isInSelection=False): dc.DrawRectangleRect(rect) # always draw the background imageName = self.GetAttributeValue(item, attributeName) + ".png" image = wx.GetApp().GetImage(imageName) if image is not None: x = rect.GetLeft() + (rect.GetWidth() - image.GetWidth()) / 2 y = re...
9027c6373183918476b83775093bc86d3754f69a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/9027c6373183918476b83775093bc86d3754f69a/AttributeEditors.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10184, 261, 2890, 16, 6744, 16, 4917, 16, 761, 16, 9734, 16, 8048, 6233, 33, 8381, 4672, 6744, 18, 6493, 19463, 6120, 12, 2607, 13, 468, 3712, 3724, 326, 5412, 29842, 273, 365, 18, 967...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10184, 261, 2890, 16, 6744, 16, 4917, 16, 761, 16, 9734, 16, 8048, 6233, 33, 8381, 4672, 6744, 18, 6493, 19463, 6120, 12, 2607, 13, 468, 3712, 3724, 326, 5412, 29842, 273, 365, 18, 967...
testformat("One million is %i", 1000000, grouping=1, output='One million is 1,000,000',
testformat("One million is %i", 1000000, grouping=1, output='One million is 1%s000%s000' % (sep, sep),
def testformat(formatstr, value, grouping = 0, output=None, func=locale.format): if verbose: if output: print "%s %% %s =? %s ..." %\ (repr(formatstr), repr(value), repr(output)), else: print "%s %% %s works? ..." % (repr(formatstr), repr(value)), result = func(formatstr, value, grouping = grouping) if output and resul...
54f680e9b976137c901bc36e6f07ec2a312dbe3b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/54f680e9b976137c901bc36e6f07ec2a312dbe3b/test_locale.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 2139, 12, 2139, 701, 16, 460, 16, 12116, 273, 374, 16, 876, 33, 7036, 16, 1326, 33, 6339, 18, 2139, 4672, 309, 3988, 30, 309, 876, 30, 1172, 2213, 87, 26510, 738, 87, 273, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 2139, 12, 2139, 701, 16, 460, 16, 12116, 273, 374, 16, 876, 33, 7036, 16, 1326, 33, 6339, 18, 2139, 4672, 309, 3988, 30, 309, 876, 30, 1172, 2213, 87, 26510, 738, 87, 273, 35, ...
return TypeError, "error coercing to finite field"
raise TypeError, "error coercing to finite field"
def __call__(self, x): try: return integer_mod.IntegerMod(self, x) except (NotImplementedError, PariError): return TypeError, "error coercing to finite field" except TypeError: if sage.interfaces.all.is_GapElement(x): from sage.interfaces.gap import gfq_gap_to_sage try: return gfq_gap_to_sage(x, self) except (ValueErro...
011d6847639da45f7b63602e0f8dcdac65f2902b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/011d6847639da45f7b63602e0f8dcdac65f2902b/integer_mod_ring.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 619, 4672, 775, 30, 327, 3571, 67, 1711, 18, 4522, 1739, 12, 2890, 16, 619, 13, 1335, 261, 1248, 8644, 668, 16, 2280, 77, 668, 4672, 1002, 3580, 16, 31...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 619, 4672, 775, 30, 327, 3571, 67, 1711, 18, 4522, 1739, 12, 2890, 16, 619, 13, 1335, 261, 1248, 8644, 668, 16, 2280, 77, 668, 4672, 1002, 3580, 16, 31...
os.link( filename, episode_file)
_pfx = 1 _dirn, _fnam = os.path.split(episode_file) _fnam, _ext = os.path.splitext(_fnam) while os.path.exists(episode_file): _pfx += 1 episode_file = "%s/%s (%d)%s" % (_dirn, _fnam, _pfx, _ext)
def cb_url( url): print 'Loading %s...' % url
1da963dd0887e2651987edac029d2c85a720008f /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12778/1da963dd0887e2651987edac029d2c85a720008f/gdfs-init.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2875, 67, 718, 12, 880, 4672, 1172, 296, 10515, 738, 87, 7821, 738, 880, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2875, 67, 718, 12, 880, 4672, 1172, 296, 10515, 738, 87, 7821, 738, 880, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
assert_equal(test[-1], control)
try: assert_equal(test[-1], control) except AssertionError: assert_equal(test[-1], [0, 1, 3, 4, 2, 6])
def test_find_duplicates_ignoremask(self): "Test the ignoremask option of find_duplicates" ndtype = [('a', int)] a = ma.array([1, 1, 1, 2, 2, 3, 3], mask=[0, 0, 1, 0, 0, 0, 1]).view(ndtype) test = find_duplicates(a, ignoremask=True, return_index=True) control = [0, 1, 3, 4] assert_equal(test[-1], control) assert_equal(...
27ba720d93728b35484034999693621a26f49137 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/14925/27ba720d93728b35484034999693621a26f49137/test_recfunctions.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 4720, 67, 22449, 67, 6185, 4455, 12, 2890, 4672, 315, 4709, 326, 2305, 4455, 1456, 434, 1104, 67, 22449, 6, 5346, 723, 273, 306, 2668, 69, 2187, 509, 25887, 279, 273, 10843, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 4720, 67, 22449, 67, 6185, 4455, 12, 2890, 4672, 315, 4709, 326, 2305, 4455, 1456, 434, 1104, 67, 22449, 6, 5346, 723, 273, 306, 2668, 69, 2187, 509, 25887, 279, 273, 10843, ...
MAYASDK["MAYA5"] = "sdks/maya5" MAYASDK["MAYA6"] = "sdks/maya6"
MAXSDK["MAX8"] = "sdks/maxsdk8" MAYASDK["MAYA6"] = "sdks/maya6"
def parseopts(args): global COMPILER,OPTIMIZE,OMIT,INSTALLER,GENMAN,SLAVEBUILD global VERSION,COMPRESSOR,DIRECTXSDK,VERBOSE,SLAVEFILE,THREADCOUNT longopts = [ "help","package-info","compiler=","directx-sdk=","slavebuild=", "optimize=","everything","nothing","installer","quiet","verbose", "version=","lzma","no-python","...
d00f745e1ceedb7d59a09beac4f23f2f45af36fe /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7242/d00f745e1ceedb7d59a09beac4f23f2f45af36fe/makepanda.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 4952, 12, 1968, 4672, 2552, 5423, 1102, 14668, 16, 15620, 3445, 15641, 16, 1872, 1285, 16, 28865, 654, 16, 16652, 9560, 16, 55, 2534, 3412, 20215, 2552, 8456, 16, 4208, 22526, 916, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 4952, 12, 1968, 4672, 2552, 5423, 1102, 14668, 16, 15620, 3445, 15641, 16, 1872, 1285, 16, 28865, 654, 16, 16652, 9560, 16, 55, 2534, 3412, 20215, 2552, 8456, 16, 4208, 22526, 916, ...
checkImplicit(allVars)
def findVariables(rootNode): variables = [] for node in treeutil.nodeIterator(rootNode, ["assignment", "call"]): if node.type == "assignment": variables.append(node.getChild("left")) elif node.type == "call": variables.append(node.getChild("operand")) return variables
107448799202546a10027067e19df9e309da67d1 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5718/107448799202546a10027067e19df9e309da67d1/ecmalint.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 6158, 12, 3085, 907, 4672, 3152, 273, 5378, 364, 756, 316, 2151, 1367, 18, 2159, 3198, 12, 3085, 907, 16, 8247, 12960, 3113, 315, 1991, 11929, 4672, 309, 756, 18, 723, 422, 315, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 6158, 12, 3085, 907, 4672, 3152, 273, 5378, 364, 756, 316, 2151, 1367, 18, 2159, 3198, 12, 3085, 907, 16, 8247, 12960, 3113, 315, 1991, 11929, 4672, 309, 756, 18, 723, 422, 315, ...
debian_tcl_include = ( '/usr/include/tcl' + version ) debian_tk_include = ( '/usr/include/tk' + version ) tcl_includes = find_file('tcl.h', inc_dirs, [debian_tcl_include] ) tk_includes = find_file('tk.h', inc_dirs, [debian_tk_include] )
debian_tcl_include = [ '/usr/include/tcl' + version ] debian_tk_include = [ '/usr/include/tk' + version ] + debian_tcl_include tcl_includes = find_file('tcl.h', inc_dirs, debian_tcl_include) tk_includes = find_file('tk.h', inc_dirs, debian_tk_include)
def detect_tkinter(self, inc_dirs, lib_dirs): # The _tkinter module. # # The command for _tkinter is long and site specific. Please # uncomment and/or edit those parts as indicated. If you don't have a # specific extension (e.g. Tix or BLT), leave the corresponding line # commented out. (Leave the trailing backslash...
9bd81f1950696891bbb1158ab383b0bb13ab06cf /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/9bd81f1950696891bbb1158ab383b0bb13ab06cf/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5966, 67, 16099, 2761, 12, 2890, 16, 7290, 67, 8291, 16, 2561, 67, 8291, 4672, 468, 1021, 389, 16099, 2761, 1605, 18, 468, 468, 1021, 1296, 364, 389, 16099, 2761, 353, 1525, 471, 2834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5966, 67, 16099, 2761, 12, 2890, 16, 7290, 67, 8291, 16, 2561, 67, 8291, 4672, 468, 1021, 389, 16099, 2761, 1605, 18, 468, 468, 1021, 1296, 364, 389, 16099, 2761, 353, 1525, 471, 2834, ...
return x[1] if(len(x) == 2) else None
return x[1] if(len(x) == 2)
def _charset(self, str): """ Extracts and returns the character-set argument from an HTTP content-type header, or None if it was not found.
271bf4fa79a7644eac10fb26790944d527836da0 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11809/271bf4fa79a7644eac10fb26790944d527836da0/app.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 9999, 12, 2890, 16, 609, 4672, 3536, 8152, 87, 471, 1135, 326, 3351, 17, 542, 1237, 628, 392, 2239, 913, 17, 723, 1446, 16, 578, 599, 309, 518, 1703, 486, 1392, 18, 2, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 9999, 12, 2890, 16, 609, 4672, 3536, 8152, 87, 471, 1135, 326, 3351, 17, 542, 1237, 628, 392, 2239, 913, 17, 723, 1446, 16, 578, 599, 309, 518, 1703, 486, 1392, 18, 2, -100, -10...
self.pattern = re.compile('^\s*google\s+(.+)')
self.pattern = re.compile('^\s*google\s+(.*?)\s*$')
def __init__(self, config=None, ns='madcow', dir=None): self.enabled = True self.pattern = re.compile('^\s*google\s+(.+)') self.requireAddressing = True self.thread = True self.wrap = False self.help = "google <query> - i'm feeling lucky"
78b0eb8aef80361cff80af37d7ce4e220a272807 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/10942/78b0eb8aef80361cff80af37d7ce4e220a272807/google.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 642, 33, 7036, 16, 3153, 2218, 81, 361, 71, 543, 2187, 1577, 33, 7036, 4672, 365, 18, 5745, 273, 1053, 365, 18, 4951, 273, 283, 18, 11100, 2668, 17134, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 642, 33, 7036, 16, 3153, 2218, 81, 361, 71, 543, 2187, 1577, 33, 7036, 4672, 365, 18, 5745, 273, 1053, 365, 18, 4951, 273, 283, 18, 11100, 2668, 17134, ...
if self.bluez_subsystem == True
if self.bluez_subsystem == True:
def terminate_connection(self): try: self.sock.send("quit") except: self.connect = False try: os.system("pkill -9 hidclient") print "hidclient killed" except: print "hidclient daemon already terminated" print "disconnected"
955d0bff5a03b48c57cdb4f0336439a55ea846db /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/4221/955d0bff5a03b48c57cdb4f0336439a55ea846db/remoko_server.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10850, 67, 4071, 12, 2890, 4672, 225, 775, 30, 365, 18, 15031, 18, 4661, 2932, 27176, 7923, 1335, 30, 365, 18, 3612, 273, 1083, 775, 30, 1140, 18, 4299, 2932, 5465, 737, 225, 300, 29, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10850, 67, 4071, 12, 2890, 4672, 225, 775, 30, 365, 18, 15031, 18, 4661, 2932, 27176, 7923, 1335, 30, 365, 18, 3612, 273, 1083, 775, 30, 1140, 18, 4299, 2932, 5465, 737, 225, 300, 29, ...
if initial_bal: fiscalyear_date_start = fiscalyear_obj.read(cr, uid, context['fiscalyear'], ['date_start'])['date_start'] fiscalyear_ids = fiscalyear_obj.search(cr, uid, [('date_stop', '<', fiscalyear_date_start), ('state', '=', 'draft')], context=context) else: fiscalyear_ids = [context['fiscalyear']]
fiscalyear_ids = [context['fiscalyear']]
def _query_get(self, cr, uid, obj='l', context=None): fiscalyear_obj = self.pool.get('account.fiscalyear') fiscalperiod_obj = self.pool.get('account.period') account_obj = self.pool.get('account.account') fiscalyear_ids = [] if context is None: context = {} initial_bal = context.get('initial_bal', False) company_clause...
d3f5955317583a2e0d11a9d815e37949a9880806 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/d3f5955317583a2e0d11a9d815e37949a9880806/account_move_line.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2271, 67, 588, 12, 2890, 16, 4422, 16, 4555, 16, 1081, 2218, 80, 2187, 819, 33, 7036, 4672, 15324, 771, 6874, 67, 2603, 273, 365, 18, 6011, 18, 588, 2668, 4631, 18, 74, 291, 771...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2271, 67, 588, 12, 2890, 16, 4422, 16, 4555, 16, 1081, 2218, 80, 2187, 819, 33, 7036, 4672, 15324, 771, 6874, 67, 2603, 273, 365, 18, 6011, 18, 588, 2668, 4631, 18, 74, 291, 771...
for feature in cr.dictfetchall(): result[feature['id']]['features'] = str(feature['count']) + ' Total '
for bug in cr.dictfetchall(): result[bug['id']]['bugs'] = result[bug['id']]['bugs'] + str(bug['count']) + ' Total'
def _get_details(self, cr, uid, ids_project, context={}, *arg): # Todo: 1. Reload button gives error for project # 2. Test/Check if not ids_project: return {} result = {} for id in ids_project: result[id] = { 'tasks': '', 'bugs': '', 'features': '', 'support_req': '', 'doc': '' } ids = ",".join(map(str, ids_proje...
42d4c38adec1523f7e38d1ab0be1e0bdaed13cf2 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7339/42d4c38adec1523f7e38d1ab0be1e0bdaed13cf2/portal_project.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 6395, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 67, 4406, 16, 819, 28793, 380, 3175, 4672, 468, 399, 7370, 30, 404, 18, 23086, 3568, 14758, 555, 364, 1984, 468, 4202, 576, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 6395, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 67, 4406, 16, 819, 28793, 380, 3175, 4672, 468, 399, 7370, 30, 404, 18, 23086, 3568, 14758, 555, 364, 1984, 468, 4202, 576, ...
print criteria print text
def change_filter(self): x = 0 criteria = gutils.on_combo_box_entry_changed(self.filter_criteria) text = gutils.gescape(self.e_filter.get_text()) print criteria print text if criteria == self._("Original Title") and text: data = self.db.select_movie_by_original_title(text) elif criteria == self._("Title") and text: d...
9ccdecc9d72b471f12a3e2f7ce8076c7b700b9c9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2687/9ccdecc9d72b471f12a3e2f7ce8076c7b700b9c9/quick_filter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2549, 67, 2188, 12, 2890, 4672, 619, 273, 374, 225, 3582, 273, 314, 5471, 18, 265, 67, 25053, 67, 2147, 67, 4099, 67, 6703, 12, 2890, 18, 2188, 67, 9714, 13, 977, 273, 314, 5471, 18,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2549, 67, 2188, 12, 2890, 4672, 619, 273, 374, 225, 3582, 273, 314, 5471, 18, 265, 67, 25053, 67, 2147, 67, 4099, 67, 6703, 12, 2890, 18, 2188, 67, 9714, 13, 977, 273, 314, 5471, 18,...
while j <= len(inputlist)-1: if lowercaselist[i] == lowercaselist[j]: dup = True break j = j + 1
for j in range(len(outputlist)): if sync_lists: if inputlist[i].lower() == outputlist[j].lower() and inputlist2[i].lower() == outputlist2[j].lower(): dup = True break else: if inputlist[i].lower() == outputlist[j].lower(): dup = True break
def remove_list_duplicates(inputlist, case_sensitive=True): if case_sensitive: inputlist = list(set(inputlist)) return inputlist else: # Store lowercase items so that we don't have to # convert to lowercase for each comparison: lowercaselist = [] for item in inputlist: lowercaselist.append(item.lower()) outputlist = []...
5702d6d9e3d709a24b93d00b466aeb171fa3d0c9 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2312/5702d6d9e3d709a24b93d00b466aeb171fa3d0c9/sonata.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1206, 67, 1098, 67, 22449, 12, 2630, 1098, 16, 648, 67, 23481, 33, 5510, 4672, 309, 648, 67, 23481, 30, 810, 1098, 273, 666, 12, 542, 12, 2630, 1098, 3719, 327, 810, 1098, 469, 30, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1206, 67, 1098, 67, 22449, 12, 2630, 1098, 16, 648, 67, 23481, 33, 5510, 4672, 309, 648, 67, 23481, 30, 810, 1098, 273, 666, 12, 542, 12, 2630, 1098, 3719, 327, 810, 1098, 469, 30, 4...
gLogger.info("Complited listResult:",listResult)
def submit(self): gLogger.info("SUBMIT BEGIN") pagestart = time() result = self.__parseRequest() gLogger.info("parseRequest:",result) self.__drawFilters() result = RPC.getJobPageSummary(result,globalSort,pageNumber,numberOfJobs) gLogger.info("getJobPageSummary:",result) if result["OK"]: result = result["Value"] gLogger...
fbaa2914725f02e53a67e2973cb3c2b561ff705e /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12767/fbaa2914725f02e53a67e2973cb3c2b561ff705e/JobMonitor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4879, 12, 2890, 4672, 314, 3328, 18, 1376, 2932, 8362, 6068, 19270, 7923, 4262, 27893, 273, 813, 1435, 563, 273, 365, 16186, 2670, 691, 1435, 314, 3328, 18, 1376, 2932, 2670, 691, 2773, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4879, 12, 2890, 4672, 314, 3328, 18, 1376, 2932, 8362, 6068, 19270, 7923, 4262, 27893, 273, 813, 1435, 563, 273, 365, 16186, 2670, 691, 1435, 314, 3328, 18, 1376, 2932, 2670, 691, 2773, ...
self.__send(pack('!i', len(m)+4) + m)
self.__send(_pack('!i', len(m)+4) + m)
def _pkt_R(self): # # Startup Response # code = unpack('!i', self.__read_bytes(4))[0] if code == 0: self.__authenticated = 1 #print 'Authenticated!' elif code == 1: raise InterfaceError('Kerberos V4 authentication is required by server, but not supported by this client') elif code == 2: raise InterfaceError('Kerberos V...
15a18213714dad035ac4b8cb3da491223392d5b1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1238/15a18213714dad035ac4b8cb3da491223392d5b1/bpgsql.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5465, 88, 67, 54, 12, 2890, 4672, 468, 468, 3603, 416, 2306, 468, 981, 273, 6167, 2668, 5, 77, 2187, 365, 16186, 896, 67, 3890, 12, 24, 3719, 63, 20, 65, 309, 981, 422, 374, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5465, 88, 67, 54, 12, 2890, 4672, 468, 468, 3603, 416, 2306, 468, 981, 273, 6167, 2668, 5, 77, 2187, 365, 16186, 896, 67, 3890, 12, 24, 3719, 63, 20, 65, 309, 981, 422, 374, 3...
shutil.copy2(self.rtnAbsolutePath(tmp, graphicsDirectories[graphic_type]), dest) available_metadata['fanart'] = self.rtnRelativePath(dest, graphicsDirectories['fanart'])
shutil.copy2(self.rtnAbsolutePath(tmp, graphicsDirectories[graphic_type]), newFilename) available_metadata['fanart'] = self.rtnRelativePath(newFilename, graphicsDirectories['fanart'])
def processMythTvMetaData(self): '''Check each video file in the mythvideo directories download graphics files and meta data then update MythTV data base meta data with any new information. ''' # If there were directories specified move them and update the MythTV db meta data accordingly if self.config['video_dir']: if...
881a9111c0613ff73ff321ac94e0e0ed204b9de1 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/13713/881a9111c0613ff73ff321ac94e0e0ed204b9de1/jamu.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 12062, 451, 56, 90, 6998, 12, 2890, 4672, 9163, 1564, 1517, 6191, 585, 316, 326, 3399, 451, 9115, 6402, 4224, 17313, 1390, 471, 2191, 501, 1508, 1089, 8005, 451, 15579, 501, 1026, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 12062, 451, 56, 90, 6998, 12, 2890, 4672, 9163, 1564, 1517, 6191, 585, 316, 326, 3399, 451, 9115, 6402, 4224, 17313, 1390, 471, 2191, 501, 1508, 1089, 8005, 451, 15579, 501, 1026, ...
self.filename=self.filename_field.get().decode('utf-8') self.description=self.information_description.get().decode('utf-8') self.date=self.information_date.get().decode('utf-8') self.source=self.information_source.get().decode('utf-8') self.author=self.information_author.get().decode('utf-8') self.licensetemplate=self....
self.filename=self.filename_field.get() self.description=self.information_description.get() self.date=self.information_date.get() self.source=self.information_source.get() self.author=self.information_author.get() self.licensetemplate=self.information_licensetemplate.get() self.categories=self.information_categories.ge...
def okFile(self): ''' The user pressed the OK button. ''' self.filename=self.filename_field.get().decode('utf-8') self.description=self.information_description.get().decode('utf-8') self.date=self.information_date.get().decode('utf-8') self.source=self.information_source.get().decode('utf-8') self.author=self.informati...
0ba1421db3b6ac25a5fca4cc055e09d6e763884e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4404/0ba1421db3b6ac25a5fca4cc055e09d6e763884e/imagecopy_enwp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1529, 812, 12, 2890, 4672, 9163, 1021, 729, 19504, 326, 7791, 3568, 18, 9163, 365, 18, 3459, 33, 2890, 18, 3459, 67, 1518, 18, 588, 1435, 365, 18, 3384, 33, 2890, 18, 13117, 67, 3384, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1529, 812, 12, 2890, 4672, 9163, 1021, 729, 19504, 326, 7791, 3568, 18, 9163, 365, 18, 3459, 33, 2890, 18, 3459, 67, 1518, 18, 588, 1435, 365, 18, 3384, 33, 2890, 18, 13117, 67, 3384, ...
self.moreErrorsMessageArea = None
def __init__(self, project, mainview, small=False): """ Creates a new instance of RecordingView. Parameters: project -- the currently active Project. mainview -- the main Jokosher window (MainApp). small -- set to True if we want small edit views (i.e. for the mixing view). """ gtk.Frame.__init__(self)
adb75921b66a6695c73cc7edcf6394a736a7ff1e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10033/adb75921b66a6695c73cc7edcf6394a736a7ff1e/RecordingView.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1984, 16, 2774, 1945, 16, 5264, 33, 8381, 4672, 3536, 10210, 279, 394, 791, 434, 868, 4643, 1767, 18, 225, 7012, 30, 1984, 1493, 326, 4551, 2695, 5420, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1984, 16, 2774, 1945, 16, 5264, 33, 8381, 4672, 3536, 10210, 279, 394, 791, 434, 868, 4643, 1767, 18, 225, 7012, 30, 1984, 1493, 326, 4551, 2695, 5420, 1...
if self.board_paused:
if self.board_paused or self.in_repeat:
def sound_item_event(self, widget, event, sound_struct):
7098c004768aeee18248fe257657a0e4c9f7b325 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11306/7098c004768aeee18248fe257657a0e4c9f7b325/melody.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 14190, 67, 1726, 67, 2575, 12, 2890, 16, 3604, 16, 871, 16, 14190, 67, 1697, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 14190, 67, 1726, 67, 2575, 12, 2890, 16, 3604, 16, 871, 16, 14190, 67, 1697, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
def action(self, discriminator, callable, args, order=0): self.actions += ((discriminator, callable, args), )
def action(self, discriminator, callable, args=(), kw={}, order=0): self.actions += ((discriminator, callable, args, kw), )
def action(self, discriminator, callable, args, order=0): self.actions += ((discriminator, callable, args), )
a9a3a1a5c0e09bd96df2bc32787c0f82fca1e8b4 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9523/a9a3a1a5c0e09bd96df2bc32787c0f82fca1e8b4/test_addMenuItem.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1301, 12, 2890, 16, 15819, 16, 4140, 16, 833, 16, 1353, 33, 20, 4672, 365, 18, 4905, 1011, 14015, 2251, 11001, 16, 4140, 16, 833, 3631, 262, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1301, 12, 2890, 16, 15819, 16, 4140, 16, 833, 16, 1353, 33, 20, 4672, 365, 18, 4905, 1011, 14015, 2251, 11001, 16, 4140, 16, 833, 3631, 262, 2, -100, -100, -100, -100, -100, -100, -100...
for i in range(65536):
for i in xrange(65536):
def _optimize_unicode(charset, fixup): try: import array except ImportError: return charset charmap = [False]*65536 negate = 0 try: for op, av in charset: if op is NEGATE: negate = 1 elif op is LITERAL: charmap[fixup(av)] = True elif op is RANGE: for i in range(fixup(av[0]), fixup(av[1])+1): charmap[i] = True elif op i...
01c9f8c35f583338e3638906ceeef9d2f29a0254 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/01c9f8c35f583338e3638906ceeef9d2f29a0254/sre_compile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 29155, 67, 9124, 12, 9999, 16, 2917, 416, 4672, 775, 30, 1930, 526, 1335, 11308, 30, 327, 4856, 1149, 1458, 273, 306, 8381, 5772, 26, 2539, 5718, 15626, 273, 374, 775, 30, 364, 10...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 29155, 67, 9124, 12, 9999, 16, 2917, 416, 4672, 775, 30, 1930, 526, 1335, 11308, 30, 327, 4856, 1149, 1458, 273, 306, 8381, 5772, 26, 2539, 5718, 15626, 273, 374, 775, 30, 364, 10...
raise
raise ValueError, "Invalid end_time data format"
def __validate_end_time(self): """Validate end time value from textbox""" try: end_time = todt(self._textctrl_end_time.GetValue()) except: self.__display_dateformat_error() set_focus_on_textctrl(self._textctrl_end_time) raise return end_time
01f62a12ca8547e7a54951a0e67c95aa57328a81 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5252/01f62a12ca8547e7a54951a0e67c95aa57328a81/gui.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 5662, 67, 409, 67, 957, 12, 2890, 4672, 3536, 4270, 679, 813, 460, 628, 977, 2147, 8395, 775, 30, 679, 67, 957, 273, 358, 7510, 12, 2890, 6315, 955, 16277, 67, 409, 67, 957, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 5662, 67, 409, 67, 957, 12, 2890, 4672, 3536, 4270, 679, 813, 460, 628, 977, 2147, 8395, 775, 30, 679, 67, 957, 273, 358, 7510, 12, 2890, 6315, 955, 16277, 67, 409, 67, 957, 18...
option_parser = optparse.OptionParser()
usage = """ %prog [options] [master|worker] [start|stop|restart|status] %prog [options] master nodaemon %prog [options] debug [hostname] """ option_parser = optparse.OptionParser(usage=usage)
def main(): DISCO_BIN = os.path.realpath(os.path.dirname(__file__)) DISCO_HOME = os.path.dirname(DISCO_BIN) DISCO_CONF = os.path.join(DISCO_HOME, 'conf') option_parser = optparse.OptionParser() option_parser.add_option('-s', '--settings', default=os.path.join(DISCO_CONF, 'settings.py'), help='use settings file settin...
ad8c242af148154828b966902f5ab8e49963a98c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/373/ad8c242af148154828b966902f5ab8e49963a98c/disco.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 3690, 16224, 67, 12615, 225, 273, 1140, 18, 803, 18, 7688, 803, 12, 538, 18, 803, 18, 12287, 12, 972, 768, 972, 3719, 3690, 16224, 67, 14209, 273, 1140, 18, 803, 18, 12287...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 3690, 16224, 67, 12615, 225, 273, 1140, 18, 803, 18, 7688, 803, 12, 538, 18, 803, 18, 12287, 12, 972, 768, 972, 3719, 3690, 16224, 67, 14209, 273, 1140, 18, 803, 18, 12287...
for e in self._backend.iterator_edges(vertices, labels): yield e def edges_incident(self, vertices=None, labels=True): """ Returns a list of edges incident with any vertex given. If vertices
return self._backend.iterator_edges(vertices, labels) def edges_incident(self, vertices=None, labels=True, sort=True): """ Returns incident edges to some vertices. If ``vertices` is a vertex, then it returns the list of edges incident to that vertex. If ``vertices`` is a list of vertices then it returns the list of a...
def edge_iterator(self, vertices=None, labels=True, ignore_direction=False): """ Returns an iterator over the edges incident with any vertex given. If the graph is directed, iterates over edges going out only. If vertices is None, then returns an iterator over all edges. If self is directed, returns outgoing edges only...
808b5a15ac3fb6dc169df27472da46433ab17eae /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/808b5a15ac3fb6dc169df27472da46433ab17eae/generic_graph.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3591, 67, 9838, 12, 2890, 16, 6928, 33, 7036, 16, 3249, 33, 5510, 16, 2305, 67, 9855, 33, 8381, 4672, 3536, 2860, 392, 2775, 1879, 326, 5231, 22933, 598, 1281, 5253, 864, 18, 971, 326,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3591, 67, 9838, 12, 2890, 16, 6928, 33, 7036, 16, 3249, 33, 5510, 16, 2305, 67, 9855, 33, 8381, 4672, 3536, 2860, 392, 2775, 1879, 326, 5231, 22933, 598, 1281, 5253, 864, 18, 971, 326,...
'bodyText': mailMessage.body
'bodyText': bodyText
def kindToMessageObject(mailMessage): """ This method converts a email message string to a Chandler C{Mail.MailMessage} object @param messageObject: A C{email.Message} object representation of a mail message @type messageObject: C{email.Message} @return: C{Message.Message} """ assert isinstance(mailMessage, Mail.Mai...
6e010bb9b7ed95f20e06166094ba4cba78216f78 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/6e010bb9b7ed95f20e06166094ba4cba78216f78/message.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3846, 774, 1079, 921, 12, 4408, 1079, 4672, 3536, 1220, 707, 7759, 279, 2699, 883, 533, 358, 279, 1680, 464, 749, 385, 95, 6759, 18, 6759, 1079, 97, 733, 225, 632, 891, 883, 921, 30, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3846, 774, 1079, 921, 12, 4408, 1079, 4672, 3536, 1220, 707, 7759, 279, 2699, 883, 533, 358, 279, 1680, 464, 749, 385, 95, 6759, 18, 6759, 1079, 97, 733, 225, 632, 891, 883, 921, 30, ...
return '<%s.%s@%s>' % (id[:20], start_time, socket.getfqdn())
return '<%s.%s@%s>' % (id[:20], int(start_time[0]), socket.getfqdn())
def genmsgid(id): return '<%s.%s@%s>' % (id[:20], start_time, socket.getfqdn())
206551b651fbdf48475a1f7d36b561c134806223 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11312/206551b651fbdf48475a1f7d36b561c134806223/patchbomb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3157, 3576, 350, 12, 350, 4672, 327, 2368, 9, 87, 7866, 87, 36, 9, 87, 1870, 738, 261, 350, 10531, 3462, 6487, 787, 67, 957, 16, 2987, 18, 588, 19206, 5176, 10756, 2, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3157, 3576, 350, 12, 350, 4672, 327, 2368, 9, 87, 7866, 87, 36, 9, 87, 1870, 738, 261, 350, 10531, 3462, 6487, 787, 67, 957, 16, 2987, 18, 588, 19206, 5176, 10756, 2, -100, -100, -10...
return HttpResponseRedirect("idea-index") return render_to_response("ideas/edit.html", {"form":form},
return HttpResponseRedirect(reverse("idea-index")) return render_to_response("ideas/new.html", {"form":form},
def edit(request, idea_pk): idea = get_object_or_404(Idea, id=idea_pk, submitted_by=request.user) form = IdeaForm(request.POST or None, instance=idea) if request.method == "POST": if form.is_valid(): if form.save(): return HttpResponseRedirect("idea-index") return render_to_response("ideas/edit.html", {"form":form}, co...
42a4a3e9111a1a423b8ba50a7449d0aac4c887a3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14964/42a4a3e9111a1a423b8ba50a7449d0aac4c887a3/views.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3874, 12, 2293, 16, 21463, 67, 5465, 4672, 21463, 273, 336, 67, 1612, 67, 280, 67, 11746, 12, 45, 323, 69, 16, 612, 33, 831, 69, 67, 5465, 16, 9638, 67, 1637, 33, 2293, 18, 1355, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3874, 12, 2293, 16, 21463, 67, 5465, 4672, 21463, 273, 336, 67, 1612, 67, 280, 67, 11746, 12, 45, 323, 69, 16, 612, 33, 831, 69, 67, 5465, 16, 9638, 67, 1637, 33, 2293, 18, 1355, 1...
effect = self.instrument.effects[self.currentedit]
effect = self.instrument.effects[self.effectpos]
def OnSaveSingleEffectPreset(self, widget): """Grab the effect properties and send it to the presets code to be saved"""
b79ea8085f8e369d9547435e95bc71cf7aca0f33 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10033/b79ea8085f8e369d9547435e95bc71cf7aca0f33/InstrumentEffectsDialog.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2755, 4755, 5281, 12477, 18385, 12, 2890, 16, 3604, 4672, 3536, 14571, 70, 326, 5426, 1790, 471, 1366, 518, 358, 326, 24649, 981, 358, 506, 5198, 8395, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2755, 4755, 5281, 12477, 18385, 12, 2890, 16, 3604, 4672, 3536, 14571, 70, 326, 5426, 1790, 471, 1366, 518, 358, 326, 24649, 981, 358, 506, 5198, 8395, 2, -100, -100, -100, -100, -100, -...
util.copyfiles(src, dst)
try: util.copyfiles(src, dst) except OSError, inst: if inst.errno != errno.ENOENT: raise
def __del__(self): if self.dir_: self.rmtree(self.dir_, True)
b8b1027a52360b4ef843f9eb9c8efbf1864e5786 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11312/b8b1027a52360b4ef843f9eb9c8efbf1864e5786/commands.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 3771, 972, 12, 2890, 4672, 309, 365, 18, 1214, 67, 30, 365, 18, 86, 17371, 12, 2890, 18, 1214, 67, 16, 1053, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 3771, 972, 12, 2890, 4672, 309, 365, 18, 1214, 67, 30, 365, 18, 86, 17371, 12, 2890, 18, 1214, 67, 16, 1053, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if ldatabase == "nucleotide":
if ldatabase in ["sequences", "nucleotide"]:
def __init__(self, database='sequences', format=None, delay=5.0, parser=None): """NCBIDictionary([database][, delay][, parser])
dbbf028f659ddd27c253f2038a4cec1ee7ee6c9d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7167/dbbf028f659ddd27c253f2038a4cec1ee7ee6c9d/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2063, 2218, 17190, 2187, 740, 33, 7036, 16, 4624, 33, 25, 18, 20, 16, 2082, 33, 7036, 4672, 3536, 50, 8876, 734, 3192, 3816, 6231, 6362, 16, 4624, 6362, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2063, 2218, 17190, 2187, 740, 33, 7036, 16, 4624, 33, 25, 18, 20, 16, 2082, 33, 7036, 4672, 3536, 50, 8876, 734, 3192, 3816, 6231, 6362, 16, 4624, 6362, ...
token_list = self.split_tokens(arg, 1, 2) pid, tid, address, size = self.input_any_breakpoint(token_list)
def do_bd(self, arg): """ bd <address> [process] - disable a code breakpoint bd <address> [thread] - disable a hardware breakpoint bd <address-address> [process] - disable a memory breakpoint """ if not self.lastEvent: raise CmdError, "no process is being debugged" debug = self.lastEvent.debug token_list = self.split_t...
95edb553305e95a1ded0ce46aa595556f55c8dbe /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7261/95edb553305e95a1ded0ce46aa595556f55c8dbe/pdebug.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 16410, 12, 2890, 16, 1501, 4672, 3536, 13837, 411, 2867, 34, 306, 2567, 65, 300, 4056, 279, 981, 18820, 13837, 411, 2867, 34, 306, 5930, 65, 300, 4056, 279, 16251, 18820, 13837,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 16410, 12, 2890, 16, 1501, 4672, 3536, 13837, 411, 2867, 34, 306, 2567, 65, 300, 4056, 279, 981, 18820, 13837, 411, 2867, 34, 306, 5930, 65, 300, 4056, 279, 16251, 18820, 13837,...
else: raise RuntimeError, "Computation of complementary space failed (cut down to rank %s, but should have cut down to rank %s)."%(V.rank(), self.rank())
misc.verbose("falling back on naive algorithm") D = A.decomposition() C = A.zero_submodule() for X in D: if self.intersection(X).dimension() == 0: C = C + X if C.rank() + self.rank() == A.rank(): self.__complement = C return C raise RuntimeError, "Computation of complementary space failed (cut down to rank %s, b...
def complement(self, bound=None): """ Return the largest Hecke-stable complement of this space. """ try: return self.__complement except AttributeError: pass if self.is_ambient(): return self.ambient_hecke_module().zero_submodule()
5fd3136782c4e370eaabb5ce23f5dde10ddc4b54 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/5fd3136782c4e370eaabb5ce23f5dde10ddc4b54/submodule.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 17161, 12, 2890, 16, 2489, 33, 7036, 4672, 3536, 2000, 326, 12756, 670, 762, 73, 17, 15021, 17161, 434, 333, 3476, 18, 3536, 775, 30, 327, 365, 16186, 2919, 806, 1335, 6394, 30, 1342, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 17161, 12, 2890, 16, 2489, 33, 7036, 4672, 3536, 2000, 326, 12756, 670, 762, 73, 17, 15021, 17161, 434, 333, 3476, 18, 3536, 775, 30, 327, 365, 16186, 2919, 806, 1335, 6394, 30, 1342, ...
print "%s: %s"%item
print "%s: %s" % item
def usage(): Script.showHelp() DIRAC.exit(2)
40957c9469f95df287fecb405ef9863b11a43afd /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/40957c9469f95df287fecb405ef9863b11a43afd/dirac-admin-bdii-cluster.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4084, 13332, 7739, 18, 4500, 6696, 1435, 18544, 2226, 18, 8593, 12, 22, 13, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4084, 13332, 7739, 18, 4500, 6696, 1435, 18544, 2226, 18, 8593, 12, 22, 13, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
self.paths.append([attrs.get('action', "")])
self.paths.append([attrs.get('action', u""),u''])
def startElement(self, name, attrs): """Set flags depending on which Subversion log element is parsed.""" if name == 'logentry': self.revision = attrs.get('revision', "") elif name == 'msg': self.is_msg = True elif name == 'author': self.is_author = True elif name == 'date': self.is_date = True elif name == 'path': sel...
be2976e66a12ae1668007813c2bfe7c4b375aa89 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4674/be2976e66a12ae1668007813c2bfe7c4b375aa89/svnlogatom.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13591, 12, 2890, 16, 508, 16, 3422, 4672, 3536, 694, 2943, 8353, 603, 1492, 2592, 1589, 613, 930, 353, 2707, 12123, 309, 508, 422, 296, 1330, 4099, 4278, 365, 18, 13057, 273, 3422, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13591, 12, 2890, 16, 508, 16, 3422, 4672, 3536, 694, 2943, 8353, 603, 1492, 2592, 1589, 613, 930, 353, 2707, 12123, 309, 508, 422, 296, 1330, 4099, 4278, 365, 18, 13057, 273, 3422, 18, ...
self.out = self.body
self.pop_output_collector()
def depart_header(self, node): self.out.append('}') self.requirements['~header'] = ''.join(self.out) self.out = self.body
975a7baefa62e45824db20fa2fef3b13aef67e9c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8194/975a7baefa62e45824db20fa2fef3b13aef67e9c/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26000, 67, 3374, 12, 2890, 16, 756, 4672, 365, 18, 659, 18, 6923, 2668, 1713, 13, 365, 18, 16175, 3292, 98, 3374, 3546, 273, 875, 18, 5701, 12, 2890, 18, 659, 13, 365, 18, 659, 273, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26000, 67, 3374, 12, 2890, 16, 756, 4672, 365, 18, 659, 18, 6923, 2668, 1713, 13, 365, 18, 16175, 3292, 98, 3374, 3546, 273, 875, 18, 5701, 12, 2890, 18, 659, 13, 365, 18, 659, 273, ...
def RunShell(command, silent_ok=False, universal_newlines=False):
def RunShell(command, silent_ok=False):
def RunShell(command, silent_ok=False, universal_newlines=False): logging.info("Running %s", command) p = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, shell=use_shell, universal_newlines=universal_newlines) data = p.stdout.read() p.wait() p.stdout.close() if p.returncode: ErrorExit("Got e...
703e95c1aa72e7cdf399933bd7a0267d5b60f5ec /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/476/703e95c1aa72e7cdf399933bd7a0267d5b60f5ec/upload.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1939, 13220, 12, 3076, 16, 10404, 67, 601, 33, 8381, 4672, 2907, 18, 1376, 2932, 7051, 738, 87, 3113, 1296, 13, 293, 273, 6652, 18, 52, 3190, 12, 3076, 16, 3909, 33, 1717, 2567, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1939, 13220, 12, 3076, 16, 10404, 67, 601, 33, 8381, 4672, 2907, 18, 1376, 2932, 7051, 738, 87, 3113, 1296, 13, 293, 273, 6652, 18, 52, 3190, 12, 3076, 16, 3909, 33, 1717, 2567, 18, ...
recipeSet.priority = TaskPriority.query().filter_by(priority = TaskPriority.default_priority).one()
recipeSet.priority = TaskPriority.query().filter_by(TaskPriority.priority == TaskPriority.default_priority).one()
def process_xmljob(self, xmljob, user): job = Job(whiteboard='%s' % xmljob.whiteboard, ttasks=0, owner=user) for xmlrecipeSet in xmljob.iter_recipeSets(): recipeSet = RecipeSet(ttasks=0) recipeset_priority = xmlrecipeSet.get_xml_attr('priority',str,None) if recipeset_priority is not None: try: my_priority = TaskPriorit...
ff612fd36965c3fb7890eed3b4c9a5a83c069b6d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14755/ff612fd36965c3fb7890eed3b4c9a5a83c069b6d/jobs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 2902, 4688, 12, 2890, 16, 2025, 4688, 16, 729, 4672, 1719, 273, 3956, 12, 14739, 3752, 28713, 87, 11, 738, 2025, 4688, 18, 14739, 3752, 16, 3574, 835, 87, 33, 20, 16, 3410, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 2902, 4688, 12, 2890, 16, 2025, 4688, 16, 729, 4672, 1719, 273, 3956, 12, 14739, 3752, 28713, 87, 11, 738, 2025, 4688, 18, 14739, 3752, 16, 3574, 835, 87, 33, 20, 16, 3410, ...
opeartor = 'in'
operator = 'in'
def _rec_convert(ids): if field_obj == table: return ids return self.__execute_recursive_in(cr, field._id1, field._rel, field._id2, ids, operator, field._type)
846f4cab7591309e65f9a897a6d7f4390d276c75 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/846f4cab7591309e65f9a897a6d7f4390d276c75/expression.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3927, 67, 6283, 12, 2232, 4672, 309, 652, 67, 2603, 422, 1014, 30, 327, 3258, 327, 365, 16186, 8837, 67, 10543, 67, 267, 12, 3353, 16, 652, 6315, 350, 21, 16, 652, 6315, 2878, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3927, 67, 6283, 12, 2232, 4672, 309, 652, 67, 2603, 422, 1014, 30, 327, 3258, 327, 365, 16186, 8837, 67, 10543, 67, 267, 12, 3353, 16, 652, 6315, 350, 21, 16, 652, 6315, 2878, 1...
self.editDeleteAction.setIconSet(QIconSet(self.image29))
self.editDeleteAction.setIconSet(QIconSet(self.image23))
def __init__(self,parent = None,name = None,fl = 0): QMainWindow.__init__(self,parent,name,fl) self.statusBar()
2bdc60455ab85cd2792604c15ae9034d3632b0df /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/2bdc60455ab85cd2792604c15ae9034d3632b0df/MainWindowUI.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2938, 273, 599, 16, 529, 273, 599, 16, 2242, 273, 374, 4672, 2238, 6376, 3829, 16186, 2738, 972, 12, 2890, 16, 2938, 16, 529, 16, 2242, 13, 365, 18, 23...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2938, 273, 599, 16, 529, 273, 599, 16, 2242, 273, 374, 4672, 2238, 6376, 3829, 16186, 2738, 972, 12, 2890, 16, 2938, 16, 529, 16, 2242, 13, 365, 18, 23...
sys.stdout = StringIOClass()
sys.stdout = StringIO()
def write(self, s): super(io.StringIO, self).write(unicode(s))
53bcc566613e0f90e0f88a3c162a9fde263fd612 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12817/53bcc566613e0f90e0f88a3c162a9fde263fd612/profile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 12, 2890, 16, 272, 4672, 2240, 12, 1594, 18, 780, 4294, 16, 365, 2934, 2626, 12, 9124, 12, 87, 3719, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 12, 2890, 16, 272, 4672, 2240, 12, 1594, 18, 780, 4294, 16, 365, 2934, 2626, 12, 9124, 12, 87, 3719, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Return False if the peak time of the sim is "near" the burst event. """ start_time = burst.get_peak() - burst.duration / 2.0 return not SimBurstUtils.burst_is_near_injection(sim, start_time.seconds, start_time.nanoseconds, burst.duration, burst.ifo)
Return False (injection matches coinc) if the peak time of the sim is "near" the burst event. """ return OmegaSnglCompare(sim, burst, delta_t = 20.0 + burst.duration / 2)
def OmegaNearCoincCompare(sim, burst): """ Return False if the peak time of the sim is "near" the burst event. """ start_time = burst.get_peak() - burst.duration / 2.0 return not SimBurstUtils.burst_is_near_injection(sim, start_time.seconds, start_time.nanoseconds, burst.duration, burst.ifo)
f23162e4f63afbd6a2032de2d75ca44643717584 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3592/f23162e4f63afbd6a2032de2d75ca44643717584/ligolw_binjfind.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 25645, 1332, 6491, 2091, 27055, 71, 8583, 12, 9812, 16, 27966, 4672, 3536, 2000, 1083, 261, 31969, 1885, 13170, 71, 13, 309, 326, 11148, 813, 434, 326, 3142, 353, 315, 27862, 6, 326, 279...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 25645, 1332, 6491, 2091, 27055, 71, 8583, 12, 9812, 16, 27966, 4672, 3536, 2000, 1083, 261, 31969, 1885, 13170, 71, 13, 309, 326, 11148, 813, 434, 326, 3142, 353, 315, 27862, 6, 326, 279...
""" Applies a macro to a given pipeline Parameters ---------- - name : 'str' - pipeline : 'Pipeline'
"""applyMacro(name:str, pipeline:Pipeline) -> None Applies a macro to a given pipeline
def applyMacro(self,name,pipeline): """ Applies a macro to a given pipeline
0d08a982cb8d26e26f2e6ab32b89ef18e54df8fb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6341/0d08a982cb8d26e26f2e6ab32b89ef18e54df8fb/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2230, 17392, 12, 2890, 16, 529, 16, 14511, 4672, 3536, 1716, 5259, 279, 11522, 358, 279, 864, 5873, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2230, 17392, 12, 2890, 16, 529, 16, 14511, 4672, 3536, 1716, 5259, 279, 11522, 358, 279, 864, 5873, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
html += '[%s] %s\n' % (i+1, url)
html += ustr('[%s] %s\n') % (i+1, url)
def desperate_fixer(g): #print >>sys.stderr, "failed to clean up %s" % str(g.group()) return ' '
fb1af3c98f39e490c97447ca35a5a1eec58b9dab /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12853/fb1af3c98f39e490c97447ca35a5a1eec58b9dab/misc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2832, 457, 340, 67, 904, 264, 12, 75, 4672, 468, 1188, 1671, 9499, 18, 11241, 16, 315, 7307, 358, 2721, 731, 738, 87, 6, 738, 609, 12, 75, 18, 1655, 10756, 327, 296, 296, 2, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2832, 457, 340, 67, 904, 264, 12, 75, 4672, 468, 1188, 1671, 9499, 18, 11241, 16, 315, 7307, 358, 2721, 731, 738, 87, 6, 738, 609, 12, 75, 18, 1655, 10756, 327, 296, 296, 2, -100, ...
return str(self.summary)
return self.summary
def shorthand_id(self): return str(self.summary)
ba88217da29583b799f538c83acfbd9d4275607a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1036/ba88217da29583b799f538c83acfbd9d4275607a/ticket.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 21310, 67, 350, 12, 2890, 4672, 327, 609, 12, 2890, 18, 7687, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 21310, 67, 350, 12, 2890, 4672, 327, 609, 12, 2890, 18, 7687, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
closeScope(scopes)
if not closeScope(scopes, ' printScopeError('
#enddef - closes a scope
0ae3bc473d70b671840d2febe0a653a31a4589b5 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9355/0ae3bc473d70b671840d2febe0a653a31a4589b5/wmliterator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 468, 409, 536, 300, 13445, 279, 2146, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 468, 409, 536, 300, 13445, 279, 2146, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
% (locator, excepted))
% (locator, expected))
def element_should_contain(self, locator, excepted, message=''): """Verifies element identified by `locator` contains text `expected`.
7e5a3533b01b02f3592aed251c78e2c3aac0db38 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2148/7e5a3533b01b02f3592aed251c78e2c3aac0db38/assertion.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 930, 67, 13139, 67, 28744, 12, 2890, 16, 8871, 16, 1335, 329, 16, 883, 2218, 11, 4672, 3536, 19802, 930, 9283, 635, 1375, 20048, 68, 1914, 977, 1375, 3825, 8338, 2, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 930, 67, 13139, 67, 28744, 12, 2890, 16, 8871, 16, 1335, 329, 16, 883, 2218, 11, 4672, 3536, 19802, 930, 9283, 635, 1375, 20048, 68, 1914, 977, 1375, 3825, 8338, 2, -100, -100, -100, -...
meta_type='', CreateFactory=1, REQUEST=None):
meta_type='', CreateFactory=0, REQUEST=None):
def manage_addZClass(self, id, title='', baseclasses=[], meta_type='', CreateFactory=1, REQUEST=None): """Add a Z Class """ bases=[] for b in baseclasses: if Products.meta_classes.has_key(b): bases.append(Products.meta_classes[b]) else: bases.append(getattr(self, b)) Z=ZClass(id,title,bases) if meta_type: Z._zclass_.m...
86cc67d44d194cdca703de85c83e57863ac59c4a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/86cc67d44d194cdca703de85c83e57863ac59c4a/ZClass.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10680, 67, 1289, 62, 797, 12, 2890, 16, 612, 16, 2077, 2218, 2187, 1026, 4701, 22850, 6487, 2191, 67, 723, 2218, 2187, 1788, 1733, 33, 20, 16, 12492, 33, 7036, 4672, 3536, 986, 279, 22...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10680, 67, 1289, 62, 797, 12, 2890, 16, 612, 16, 2077, 2218, 2187, 1026, 4701, 22850, 6487, 2191, 67, 723, 2218, 2187, 1788, 1733, 33, 20, 16, 12492, 33, 7036, 4672, 3536, 986, 279, 22...
command = 'magma'
command = 'sage-native-execute magma'
def __init__(self, maxread=10000, script_subdirectory=None, logfile=None, server=None, server_tmpdir=None, user_config=False): """ INPUT: - ``maxread`` - affects buffering - ``script_subdirectory`` - directory where scripts are read from - ``logfile`` - output logged to this file - ``server`` - address of remo...
a81e4e56f8f80dbed054f5620f526a0d577b0d09 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/a81e4e56f8f80dbed054f5620f526a0d577b0d09/magma.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 943, 896, 33, 23899, 16, 2728, 67, 1717, 5149, 33, 7036, 16, 15204, 33, 7036, 16, 1438, 33, 7036, 16, 1438, 67, 5645, 1214, 33, 7036, 16, 729, 67, 1425...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 943, 896, 33, 23899, 16, 2728, 67, 1717, 5149, 33, 7036, 16, 15204, 33, 7036, 16, 1438, 33, 7036, 16, 1438, 67, 5645, 1214, 33, 7036, 16, 729, 67, 1425...
self._addParameter(self.workflow,'JobMode','JDL',mode,description) return S_OK() def selectSetup(self,setup):
self._addParameter( self.workflow, 'JobMode', 'JDL', mode, description ) return S_OK() def selectSetup( self, setup ):
def setMode(self,mode): """Developer function. Under development. """ if not type(mode)==type(" "): return self._reportError('Expected string for job mode',**{'mode':mode}) description = 'Choose a different DIRAC job mode' self._addParameter(self.workflow,'JobMode','JDL',mode,description) return S_OK()
50b3322668816ba92ea3f9b253d993dc34c53a21 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/50b3322668816ba92ea3f9b253d993dc34c53a21/Job.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 2309, 12, 2890, 16, 3188, 4672, 3536, 28145, 445, 18, 21140, 17772, 18, 3536, 309, 486, 618, 12, 3188, 13, 631, 723, 2932, 315, 4672, 327, 365, 6315, 6006, 668, 2668, 6861, 533, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 2309, 12, 2890, 16, 3188, 4672, 3536, 28145, 445, 18, 21140, 17772, 18, 3536, 309, 486, 618, 12, 3188, 13, 631, 723, 2932, 315, 4672, 327, 365, 6315, 6006, 668, 2668, 6861, 533, 3...
item.Catalog.manage_addProduct['ZCTextIndex'].manage_addLexicon( 'Lexicon', 'Default Lexicon', (wordsplitter, casenormalizer, stopwords))
def manage_afterAdd(self, item, container): """ For configuring the object post-instantiation. """ if getattr(self, '__initialised', 1): return 1 item._setObject('Catalog', XWFCatalog()) wordsplitter = Record() wordsplitter.group = 'Word Splitter' wordsplitter.name = 'HTML aware splitter' casenormalizer = Record() ...
4d315aa55816c9429c4e833bd4884c6f7dbeecc0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6274/4d315aa55816c9429c4e833bd4884c6f7dbeecc0/XWFMailingListManager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10680, 67, 5205, 986, 12, 2890, 16, 761, 16, 1478, 4672, 3536, 2457, 642, 4017, 326, 733, 1603, 17, 24628, 7072, 18, 225, 3536, 309, 3869, 12, 2890, 16, 4940, 6769, 5918, 2187, 404, 46...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10680, 67, 5205, 986, 12, 2890, 16, 761, 16, 1478, 4672, 3536, 2457, 642, 4017, 326, 733, 1603, 17, 24628, 7072, 18, 225, 3536, 309, 3869, 12, 2890, 16, 4940, 6769, 5918, 2187, 404, 46...
MAKE NOTE IN DOCS THAT TO GET AN AUTO-INCREMENTING PRIMARY KEY, YOU MUST USE THE FULL WORD *INTEGER* INSTEAD OF *INT*.
Creates a new table in the database. To create a table, a column structure must be specified. The form for this is a Python dict, for example: {'col1': {'sql':'INTEGER', 'index':False, 'primary_key':False}, ...}
def create_table(self, table_name, table_skeleton): """ MAKE NOTE IN DOCS THAT TO GET AN AUTO-INCREMENTING PRIMARY KEY, YOU MUST USE THE FULL WORD *INTEGER* INSTEAD OF *INT*. INPUT: table_name -- deurrrrrrrrrrr table_skeleton -- a double-indexed dictionary outer key - column name inner key - one of the following: prim...
12098d45ba68813e42a6a22032a2f2e6d360e158 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/12098d45ba68813e42a6a22032a2f2e6d360e158/database.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 2121, 12, 2890, 16, 1014, 67, 529, 16, 1014, 67, 7771, 12143, 4672, 3536, 10210, 279, 394, 1014, 316, 326, 2063, 18, 225, 2974, 752, 279, 1014, 16, 279, 1057, 3695, 1297, 506,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 2121, 12, 2890, 16, 1014, 67, 529, 16, 1014, 67, 7771, 12143, 4672, 3536, 10210, 279, 394, 1014, 316, 326, 2063, 18, 225, 2974, 752, 279, 1014, 16, 279, 1057, 3695, 1297, 506,...
a.connectionLost()
a.connectionLost(IOError("all one"))
def testBuffer(self): b = StringIOWithoutClosing() a = http.HTTPChannel() a.requestFactory = DummyHTTPHandler a.makeConnection(protocol.FileWrapper(b)) # one byte at a time, to stress it. for byte in self.requests: a.dataReceived(byte) a.connectionLost() value = b.getvalue() if value != self.expected_response: for i in...
7dfb56cacd72b8a72d920c6d9be6d1d7e3be02c9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/7dfb56cacd72b8a72d920c6d9be6d1d7e3be02c9/test_http.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 1892, 12, 2890, 4672, 324, 273, 15777, 8073, 15745, 1435, 279, 273, 1062, 18, 3693, 2909, 1435, 279, 18, 2293, 1733, 273, 28622, 3693, 1503, 279, 18, 6540, 1952, 12, 8373, 18, 812,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 1892, 12, 2890, 4672, 324, 273, 15777, 8073, 15745, 1435, 279, 273, 1062, 18, 3693, 2909, 1435, 279, 18, 2293, 1733, 273, 28622, 3693, 1503, 279, 18, 6540, 1952, 12, 8373, 18, 812,...
def make_model(self, uris, treeview): model = gtk.ListStore(gdk.Pixbuf, str, str, str)
def make_launchers_model(self, uris, treeview): model = AwnListStore(gdk.Pixbuf, str, str, str)
def make_model(self, uris, treeview): model = gtk.ListStore(gdk.Pixbuf, str, str, str) treeview.set_model (model)
936abaee72e2f398af2c6dc62d2fb56989aee273 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8416/936abaee72e2f398af2c6dc62d2fb56989aee273/awnClass.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 67, 20738, 414, 67, 2284, 12, 2890, 16, 21476, 16, 2151, 1945, 4672, 938, 273, 432, 91, 82, 682, 2257, 12, 75, 2883, 18, 21816, 4385, 16, 609, 16, 609, 16, 609, 13, 2151, 1945,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 67, 20738, 414, 67, 2284, 12, 2890, 16, 21476, 16, 2151, 1945, 4672, 938, 273, 432, 91, 82, 682, 2257, 12, 75, 2883, 18, 21816, 4385, 16, 609, 16, 609, 16, 609, 13, 2151, 1945,...
f.write('%s\n' % doc.filename)
if not doc.is_new: f.write('%s\n' % doc.filename)
def cmd_save_session(self, session_filename): f = open(session_filename, 'w') for doc in self.__documents.values(): f.write('%s\n' % doc.filename) f.close()
e99ef99e8ca4b59b45835c4afa30fb7adf872a47 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2233/e99ef99e8ca4b59b45835c4afa30fb7adf872a47/buffermanager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1797, 67, 5688, 67, 3184, 12, 2890, 16, 1339, 67, 3459, 4672, 284, 273, 1696, 12, 3184, 67, 3459, 16, 296, 91, 6134, 364, 997, 316, 365, 16186, 24795, 18, 2372, 13332, 309, 486, 997, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1797, 67, 5688, 67, 3184, 12, 2890, 16, 1339, 67, 3459, 4672, 284, 273, 1696, 12, 3184, 67, 3459, 16, 296, 91, 6134, 364, 997, 316, 365, 16186, 24795, 18, 2372, 13332, 309, 486, 997, ...
base = aq_base(instance) del base._md
if hasattr(aq_base(instance), '_md'): del base._md
def cleanupInstance(self, instance, item=None, container=None): base = aq_base(instance) del base._md
310087868a456a8e923b10f7901ac50baddebcd5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12165/310087868a456a8e923b10f7901ac50baddebcd5/Storage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6686, 1442, 12, 2890, 16, 791, 16, 761, 33, 7036, 16, 1478, 33, 7036, 4672, 1026, 273, 279, 85, 67, 1969, 12, 1336, 13, 1464, 1026, 6315, 1264, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6686, 1442, 12, 2890, 16, 791, 16, 761, 33, 7036, 16, 1478, 33, 7036, 4672, 1026, 273, 279, 85, 67, 1969, 12, 1336, 13, 1464, 1026, 6315, 1264, 2, -100, -100, -100, -100, -100, -100, ...
widget=CEPWidget(label='CEP', description='Please inform CEP for this address.'),
widget=CEPWidget(label=_(u'CEP'), description=_(u'Please inform CEP for this address.')),
def __init__(self, oid, **kwargs): """ initialize class """ BaseFormField.__init__(self, oid, **kwargs) self.fgField = CEPField('fg_string_field', searchable=0, required=0, write_permission = View, widget=CEPWidget(label='CEP', description='Please inform CEP for this address.'), )
b4832913376f6a7db3cbff96dba6ea16222f9fac /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11806/b4832913376f6a7db3cbff96dba6ea16222f9fac/fields.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 7764, 16, 2826, 4333, 4672, 3536, 4046, 667, 3536, 225, 3360, 27317, 16186, 2738, 972, 12, 2890, 16, 7764, 16, 2826, 4333, 13, 225, 365, 18, 2137, 974, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 7764, 16, 2826, 4333, 4672, 3536, 4046, 667, 3536, 225, 3360, 27317, 16186, 2738, 972, 12, 2890, 16, 7764, 16, 2826, 4333, 13, 225, 365, 18, 2137, 974, 2...
if implements(obj, interfaceClass): return obj if persist != False: pkey = (id(obj), interfaceClass) if self.adapterPersistence.has_key(pkey): return self.adapterPersistence[pkey] if hasattr(obj, '__class__'): klas = obj.__class__ else: klas = type(obj) for fromInterface in classToInterfaces(klas): adapterFactory = (...
def getAdapter(self, obj, interfaceClass, default=_Nothing, adapterClassLocator=None, persist=None): """Return an object that implements the given interface.
fc31519b56de0374f282c8226301e959936e93b6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/fc31519b56de0374f282c8226301e959936e93b6/components.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16679, 12, 2890, 16, 1081, 16, 1560, 797, 16, 805, 33, 67, 23814, 16, 4516, 797, 5786, 33, 7036, 16, 3898, 33, 7036, 4672, 3536, 990, 392, 733, 716, 4792, 326, 864, 1560, 18, 2, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16679, 12, 2890, 16, 1081, 16, 1560, 797, 16, 805, 33, 67, 23814, 16, 4516, 797, 5786, 33, 7036, 16, 3898, 33, 7036, 4672, 3536, 990, 392, 733, 716, 4792, 326, 864, 1560, 18, 2, -100...
tokens = _tokenize(str, warnings, errors)
tokens = _tokenize(str, errors)
def parse(str, errors = None, warnings = None): """ Return a DOM tree encoding the contents of an epytext string. Any errors or warnings generated during parsing will be stored in the C{errors} and C{warnings} parameters. @param str: The epytext string to parse. @type str: C{string} @param errors: A list where any er...
36ace726c8fc4e9c1a450d16c75087d594ead7cf /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/36ace726c8fc4e9c1a450d16c75087d594ead7cf/epytext.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 701, 16, 1334, 273, 599, 16, 5599, 273, 599, 4672, 3536, 2000, 279, 4703, 2151, 2688, 326, 2939, 434, 392, 425, 2074, 955, 533, 18, 5502, 1334, 578, 5599, 4374, 4982, 5811, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 701, 16, 1334, 273, 599, 16, 5599, 273, 599, 4672, 3536, 2000, 279, 4703, 2151, 2688, 326, 2939, 434, 392, 425, 2074, 955, 533, 18, 5502, 1334, 578, 5599, 4374, 4982, 5811, 9...
if not self.settings["backup_config"]:
if not self.settings["backup_config"] and bakfilename:
def save(self,filename=None): if filename is None: filename=self.config_file if not os.path.split(filename)[0]: filename=os.path.join(self.home_dir,filename) self.info(u"Saving settings to "+filename) tmpfilename=filename+".tmp" try: f=file(tmpfilename,"w") except IOError,e: self.error(u"Couldn't open config file: "+st...
8b36baf8f6e5c88b77141fba558053977304c6f4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12768/8b36baf8f6e5c88b77141fba558053977304c6f4/main.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1923, 12, 2890, 16, 3459, 33, 7036, 4672, 309, 1544, 353, 599, 30, 1544, 33, 2890, 18, 1425, 67, 768, 309, 486, 1140, 18, 803, 18, 4939, 12, 3459, 25146, 20, 14542, 1544, 33, 538, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1923, 12, 2890, 16, 3459, 33, 7036, 4672, 309, 1544, 353, 599, 30, 1544, 33, 2890, 18, 1425, 67, 768, 309, 486, 1140, 18, 803, 18, 4939, 12, 3459, 25146, 20, 14542, 1544, 33, 538, 18...
self.assertIsInstance(keys, list) self.assertIsInstance(keys[0], int)
self.assertTrue(isinstance(keys, list)) self.assertTrue(isinstance(keys[0], int))
def test01_basic(self): d = db.DB()
b62bf81229c1b9502246f627f8284f73d7dd31ac /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12029/b62bf81229c1b9502246f627f8284f73d7dd31ac/test_recno.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 1611, 67, 13240, 12, 2890, 4672, 302, 273, 1319, 18, 2290, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 1611, 67, 13240, 12, 2890, 4672, 302, 273, 1319, 18, 2290, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
DEBUG = False
def __setstate__(self, t): (self.atime, self.spamcount, self.hamcount, self.killcount, self.spamprob) = t
2c426ea6372a3122ac1b7e4fb2584d944ec1e395 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6126/2c426ea6372a3122ac1b7e4fb2584d944ec1e395/classifier.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 542, 2019, 972, 12, 2890, 16, 268, 4672, 261, 2890, 18, 270, 494, 16, 365, 18, 1752, 301, 1883, 16, 365, 18, 31698, 1883, 16, 365, 18, 16418, 1883, 16, 365, 18, 1752, 301, 7748...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 542, 2019, 972, 12, 2890, 16, 268, 4672, 261, 2890, 18, 270, 494, 16, 365, 18, 1752, 301, 1883, 16, 365, 18, 31698, 1883, 16, 365, 18, 16418, 1883, 16, 365, 18, 1752, 301, 7748...
args=args[len(groups[0])-1:].lstrip() groups=groups[0].split(',')
args = args[len(groups[0])-1:].lstrip() groups = groups[0].split(',')
def irccmd_part(self, args, conv): groups=args.split() ircgroups=[]
f5f4c4cc763305a9c877458f820e84ec3bc8fd3d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2289/f5f4c4cc763305a9c877458f820e84ec3bc8fd3d/ajazz.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9482, 952, 1264, 67, 2680, 12, 2890, 16, 833, 16, 6292, 4672, 3252, 33, 1968, 18, 4939, 1435, 277, 1310, 4650, 33, 8526, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9482, 952, 1264, 67, 2680, 12, 2890, 16, 833, 16, 6292, 4672, 3252, 33, 1968, 18, 4939, 1435, 277, 1310, 4650, 33, 8526, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
coderange.update(self.ranges[j]) j -= 1
coderange.update_from_old(self.ranges[j]) j += 1
def parse(self, f): for line in f: if line.startswith('CODE_DUMP '): pieces = line.split() assert pieces[1].startswith('@') assert pieces[2].startswith('+') baseaddr = long(pieces[1][1:], 16) & 0xFFFFFFFFL offset = int(pieces[2][1:]) addr = baseaddr + offset data = pieces[3].replace(':', '').decode('hex') coderange = C...
2b4cc8c9af57289301199a724fe32696b19dd1db /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6934/2b4cc8c9af57289301199a724fe32696b19dd1db/viewcode.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 2890, 16, 284, 4672, 364, 980, 316, 284, 30, 309, 980, 18, 17514, 1918, 2668, 5572, 67, 40, 23942, 296, 4672, 10167, 273, 980, 18, 4939, 1435, 1815, 10167, 63, 21, 8009, 1751...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 2890, 16, 284, 4672, 364, 980, 316, 284, 30, 309, 980, 18, 17514, 1918, 2668, 5572, 67, 40, 23942, 296, 4672, 10167, 273, 980, 18, 4939, 1435, 1815, 10167, 63, 21, 8009, 1751...
def splitVar(node): """ Splits one var statement with multiple declarations into a var statement for every declaration. This is mainly for making cleanups easier afterwards and will be optimized later on by the CombineDeclarations optimizer. """ if len(node) > 1: parent = node.parent block = Node(node.tokenizer...
def __clean(node, unused): """ The cleanup part which always processes one scope and cleans up params and variable definitions which are unused """ retval = False if node.type == "script" and hasattr(node, "parent"): params = getattr(node.parent, "params", None) if params: # start from back, as we can only remove par...
fa65c231e2272ad36b35b842f572a011d316c67b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12949/fa65c231e2272ad36b35b842f572a011d316c67b/UnusedCleaner.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 6200, 12, 2159, 16, 10197, 4672, 3536, 1021, 6686, 1087, 1492, 3712, 8488, 1245, 2146, 471, 1619, 634, 731, 859, 471, 2190, 6377, 1492, 854, 10197, 3536, 225, 5221, 273, 1083, 225, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 6200, 12, 2159, 16, 10197, 4672, 3536, 1021, 6686, 1087, 1492, 3712, 8488, 1245, 2146, 471, 1619, 634, 731, 859, 471, 2190, 6377, 1492, 854, 10197, 3536, 225, 5221, 273, 1083, 225, ...
seenCommands = set()
def _getCommandsDict(self): if self._maxlevel is not None: self._console.debug('AUTODOC: get commands with level <= %s' % self._maxlevel) seenCommands = set() commands = [] for cmd in self._adminPlugin._commands.values(): if cmd in seenCommands or \ cmd.level is None: continue if self._maxlevel is not None and cmd.leve...
a4c228e05ee12607d63c62a7a92d35477b9ec178 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12909/a4c228e05ee12607d63c62a7a92d35477b9ec178/documentationBuilder.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 9127, 5014, 12, 2890, 4672, 309, 365, 6315, 1896, 2815, 353, 486, 599, 30, 365, 6315, 8698, 18, 4148, 2668, 37, 1693, 2311, 39, 30, 336, 4364, 598, 1801, 1648, 738, 87, 11, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 9127, 5014, 12, 2890, 4672, 309, 365, 6315, 1896, 2815, 353, 486, 599, 30, 365, 6315, 8698, 18, 4148, 2668, 37, 1693, 2311, 39, 30, 336, 4364, 598, 1801, 1648, 738, 87, 11, ...
connman = getDbusObject (bus, "org.moblin.connman", "/", "org.moblin.connman.Manager")
def onsignal (*args, **kargs):
a3e400f7a8eee274d791549f50f589499ef6e1b8 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11428/a3e400f7a8eee274d791549f50f589499ef6e1b8/wifiman.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 10420, 261, 14, 1968, 16, 2826, 79, 1968, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 10420, 261, 14, 1968, 16, 2826, 79, 1968, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
print "%s with %s: %d %d %d" % (self.id, self.flags_s, self.orphan(), self.unique(), self.managed())
def __init__(self, cm, line): fields = line.split() self.CM = cm self.line = line self.type = fields[1] self.id = fields[2] self.clone_id = fields[3] self.parent = fields[4] self.rprovider = fields[5] self.rclass = fields[6] self.rtype = fields[7] self.host = fields[8] self.needs_quorum = fields[9] self.flags = int(fie...
0f65923e1d368fe482aa224c0962b46a71104d5a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11962/0f65923e1d368fe482aa224c0962b46a71104d5a/CTSaudits.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 5003, 16, 980, 4672, 1466, 273, 980, 18, 4939, 1435, 365, 18, 9611, 273, 5003, 365, 18, 1369, 273, 980, 365, 18, 723, 273, 1466, 63, 21, 65, 365, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 5003, 16, 980, 4672, 1466, 273, 980, 18, 4939, 1435, 365, 18, 9611, 273, 5003, 365, 18, 1369, 273, 980, 365, 18, 723, 273, 1466, 63, 21, 65, 365, 18, ...
debug_print(' env=[%s]' % (reprboxes,))
debug_print(' \x1b[34menv=[%s]\x1b[0m' % (reprboxes,))
def wrapped(self, orgpc): args = (self, ) if DEBUG >= 2: s = '%s:%d\t%s' % (self.jitcode.name, orgpc, name) else: s = '' for argspec in argtypes: if argspec == "box": box = self.load_arg() args += (box, ) if DEBUG >= 2: s += '\t' + box.repr_rpython() elif argspec == "constbox": args += (self.load_const_arg(), ) elif ar...
65638480a62a7728c93105d7c526e3a49a219edd /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6934/65638480a62a7728c93105d7c526e3a49a219edd/pyjitpl.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5805, 12, 2890, 16, 2358, 2436, 4672, 833, 273, 261, 2890, 16, 262, 309, 6369, 1545, 576, 30, 272, 273, 1995, 87, 5319, 72, 64, 88, 9, 87, 11, 738, 261, 2890, 18, 78, 305, 710, 18,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5805, 12, 2890, 16, 2358, 2436, 4672, 833, 273, 261, 2890, 16, 262, 309, 6369, 1545, 576, 30, 272, 273, 1995, 87, 5319, 72, 64, 88, 9, 87, 11, 738, 261, 2890, 18, 78, 305, 710, 18,...
description = a['description'].encode('utf-8')
description = a['description']
def addAttachment(self, author, a): if a['filename'] != '': description = a['description'].encode('utf-8') id = a['bug_id'] filename = a['filename'].encode('utf-8') filedata = StringIO.StringIO(a['thedata']) filesize = len(filedata.getvalue()) time = a['creation_ts'] print " ->inserting attachment '%s' for ticket %s...
3c880bacc20a99c1c09f23abe68ea43a4bd475ab /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9317/3c880bacc20a99c1c09f23abe68ea43a4bd475ab/bugzilla2trac.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 6803, 12, 2890, 16, 2869, 16, 279, 4672, 309, 279, 3292, 3459, 3546, 480, 875, 30, 2477, 273, 279, 3292, 3384, 3546, 612, 273, 279, 3292, 925, 67, 350, 3546, 1544, 273, 279, 3292,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 6803, 12, 2890, 16, 2869, 16, 279, 4672, 309, 279, 3292, 3459, 3546, 480, 875, 30, 2477, 273, 279, 3292, 3384, 3546, 612, 273, 279, 3292, 925, 67, 350, 3546, 1544, 273, 279, 3292,...
col.set_attributes(cell, icon_name=f.ICON)
col.set_attributes(cell, icon_name=f.ICON)
def __init__(self): self.__treeview_track = None self.__treeview_file = None self.__device_engine = None self.__transferManager = None
d382ec2a930240988ff9b57599420845a0b6f246 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2271/d382ec2a930240988ff9b57599420845a0b6f246/MTPnavigator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 365, 16186, 3413, 1945, 67, 4101, 273, 599, 365, 16186, 3413, 1945, 67, 768, 273, 599, 365, 16186, 5964, 67, 8944, 273, 599, 365, 16186, 13866, 1318, 273...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 365, 16186, 3413, 1945, 67, 4101, 273, 599, 365, 16186, 3413, 1945, 67, 768, 273, 599, 365, 16186, 5964, 67, 8944, 273, 599, 365, 16186, 13866, 1318, 273...
' <li><a href="%s/index.html">Home</a></li>' % (conf.TLSMD_BASE_URL),
' <li><a href="%s/index.html">Home</a></li>' % (conf.TLSMD_BASE_URL),
def html_nav_bar(page_name=None): """Site navigation bar. """ l = ['<div id="navcontainer">', ' <ul>', ' <li><a href="%s/index.html">Home</a></li>' % (conf.TLSMD_BASE_URL), ' <li><a href="webtlsmd.cgi?page=submit1">Start a New Job</a></li>', ' <li><a href="webtlsmd.cgi">Job Status</a></li>', ' <li><a href=...
bb3b5e8c7c0e2fcb8020d92f6dcfef34849d771b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10674/bb3b5e8c7c0e2fcb8020d92f6dcfef34849d771b/webtlsmd.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1729, 67, 11589, 67, 3215, 12, 2433, 67, 529, 33, 7036, 4672, 3536, 4956, 10394, 4653, 18, 3536, 328, 273, 10228, 32, 2892, 612, 1546, 11589, 3782, 7918, 16, 296, 225, 411, 332, 1870, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1729, 67, 11589, 67, 3215, 12, 2433, 67, 529, 33, 7036, 4672, 3536, 4956, 10394, 4653, 18, 3536, 328, 273, 10228, 32, 2892, 612, 1546, 11589, 3782, 7918, 16, 296, 225, 411, 332, 1870, ...