t496.trans 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387
  1. Module(body=[Print(dest=None,
  2. values=[Call(func=Name(id='str',
  3. ctx=Load()),
  4. args=[Name(id='None',
  5. ctx=Load())],
  6. keywords=[],
  7. starargs=None,
  8. kwargs=None)],
  9. nl=True),
  10. Print(dest=None,
  11. values=[Call(func=Name(id='repr',
  12. ctx=Load()),
  13. args=[Name(id='None',
  14. ctx=Load())],
  15. keywords=[],
  16. starargs=None,
  17. kwargs=None)],
  18. nl=True),
  19. Print(dest=None,
  20. values=[Call(func=Name(id='type',
  21. ctx=Load()),
  22. args=[Name(id='None',
  23. ctx=Load())],
  24. keywords=[],
  25. starargs=None,
  26. kwargs=None)],
  27. nl=True),
  28. Print(dest=None,
  29. values=[Call(func=Name(id='isinstance',
  30. ctx=Load()),
  31. args=[Name(id='None',
  32. ctx=Load()),
  33. Call(func=Name(id='type',
  34. ctx=Load()),
  35. args=[Name(id='None',
  36. ctx=Load())],
  37. keywords=[],
  38. starargs=None,
  39. kwargs=None)],
  40. keywords=[],
  41. starargs=None,
  42. kwargs=None)],
  43. nl=True),
  44. Print(dest=None,
  45. values=[Call(func=Attribute(value=Str(s='hello'),
  46. attr='split',
  47. ctx=Load()),
  48. args=[Name(id='None',
  49. ctx=Load())],
  50. keywords=[],
  51. starargs=None,
  52. kwargs=None)],
  53. nl=True),
  54. If(test=Name(id='None',
  55. ctx=Load()),
  56. body=[Print(dest=None,
  57. values=[Name(id='False',
  58. ctx=Load())],
  59. nl=True)],
  60. orelse=[Print(dest=None,
  61. values=[Name(id='None',
  62. ctx=Load())],
  63. nl=True)]),
  64. Print(dest=None,
  65. values=[Str(s='\nin/not in with a list')],
  66. nl=True),
  67. Print(dest=None,
  68. values=[Compare(left=Name(id='None',
  69. ctx=Load()),
  70. ops=[In()],
  71. comparators=[List(elts=[Num(n=1),
  72. Num(n=2),
  73. Num(n=3)],
  74. ctx=Load())])],
  75. nl=True),
  76. Print(dest=None,
  77. values=[Compare(left=Name(id='None',
  78. ctx=Load()),
  79. ops=[In()],
  80. comparators=[List(elts=[Num(n=1),
  81. Num(n=2),
  82. Num(n=3),
  83. Name(id='None',
  84. ctx=Load())],
  85. ctx=Load())])],
  86. nl=True),
  87. Print(dest=None,
  88. values=[Compare(left=Name(id='None',
  89. ctx=Load()),
  90. ops=[NotIn()],
  91. comparators=[List(elts=[Num(n=1),
  92. Num(n=2),
  93. Num(n=3)],
  94. ctx=Load())])],
  95. nl=True),
  96. Print(dest=None,
  97. values=[Compare(left=Name(id='None',
  98. ctx=Load()),
  99. ops=[NotIn()],
  100. comparators=[List(elts=[Num(n=1),
  101. Num(n=2),
  102. Num(n=3),
  103. Name(id='None',
  104. ctx=Load())],
  105. ctx=Load())])],
  106. nl=True),
  107. Print(dest=None,
  108. values=[Str(s='\nin/not in with a dict')],
  109. nl=True),
  110. Print(dest=None,
  111. values=[Compare(left=Name(id='None',
  112. ctx=Load()),
  113. ops=[In()],
  114. comparators=[Dict(keys=[Num(n=1),
  115. Num(n=3)],
  116. values=[Num(n=2),
  117. Num(n=4)])])],
  118. nl=True),
  119. Print(dest=None,
  120. values=[Compare(left=Name(id='None',
  121. ctx=Load()),
  122. ops=[In()],
  123. comparators=[Dict(keys=[Num(n=1),
  124. Num(n=3),
  125. Name(id='None',
  126. ctx=Load())],
  127. values=[Num(n=2),
  128. Num(n=4),
  129. Num(n=5)])])],
  130. nl=True),
  131. Print(dest=None,
  132. values=[Compare(left=Name(id='None',
  133. ctx=Load()),
  134. ops=[NotIn()],
  135. comparators=[Dict(keys=[Num(n=1),
  136. Num(n=3)],
  137. values=[Num(n=2),
  138. Num(n=4)])])],
  139. nl=True),
  140. Print(dest=None,
  141. values=[Compare(left=Name(id='None',
  142. ctx=Load()),
  143. ops=[NotIn()],
  144. comparators=[Dict(keys=[Num(n=1),
  145. Num(n=3),
  146. Name(id='None',
  147. ctx=Load())],
  148. values=[Num(n=2),
  149. Num(n=4),
  150. Num(n=5)])])],
  151. nl=True),
  152. Print(dest=None,
  153. values=[Str(s='\nis/is not')],
  154. nl=True),
  155. Print(dest=None,
  156. values=[Compare(left=Name(id='None',
  157. ctx=Load()),
  158. ops=[Is()],
  159. comparators=[Name(id='None',
  160. ctx=Load())])],
  161. nl=True),
  162. Print(dest=None,
  163. values=[Compare(left=Name(id='None',
  164. ctx=Load()),
  165. ops=[IsNot()],
  166. comparators=[Name(id='None',
  167. ctx=Load())])],
  168. nl=True),
  169. Print(dest=None,
  170. values=[Compare(left=Name(id='None',
  171. ctx=Load()),
  172. ops=[Is()],
  173. comparators=[Num(n=3)])],
  174. nl=True),
  175. Print(dest=None,
  176. values=[Compare(left=Num(n=3),
  177. ops=[Is()],
  178. comparators=[Name(id='None',
  179. ctx=Load())])],
  180. nl=True),
  181. Print(dest=None,
  182. values=[Compare(left=Name(id='None',
  183. ctx=Load()),
  184. ops=[IsNot()],
  185. comparators=[Num(n=3)])],
  186. nl=True),
  187. Print(dest=None,
  188. values=[Compare(left=Num(n=3),
  189. ops=[IsNot()],
  190. comparators=[Name(id='None',
  191. ctx=Load())])],
  192. nl=True),
  193. Print(dest=None,
  194. values=[Str(s='\nboolean comparisons with int')],
  195. nl=True),
  196. Print(dest=None,
  197. values=[Compare(left=Num(n=3),
  198. ops=[Eq()],
  199. comparators=[Name(id='None',
  200. ctx=Load())])],
  201. nl=True),
  202. Print(dest=None,
  203. values=[Compare(left=Name(id='None',
  204. ctx=Load()),
  205. ops=[Eq()],
  206. comparators=[Num(n=3)])],
  207. nl=True),
  208. Print(dest=None,
  209. values=[Compare(left=Num(n=3),
  210. ops=[NotEq()],
  211. comparators=[Name(id='None',
  212. ctx=Load())])],
  213. nl=True),
  214. Print(dest=None,
  215. values=[Compare(left=Name(id='None',
  216. ctx=Load()),
  217. ops=[NotEq()],
  218. comparators=[Num(n=3)])],
  219. nl=True),
  220. Print(dest=None,
  221. values=[Compare(left=Num(n=3),
  222. ops=[Gt()],
  223. comparators=[Name(id='None',
  224. ctx=Load())])],
  225. nl=True),
  226. Print(dest=None,
  227. values=[Compare(left=Num(n=3),
  228. ops=[GtE()],
  229. comparators=[Name(id='None',
  230. ctx=Load())])],
  231. nl=True),
  232. Print(dest=None,
  233. values=[Compare(left=Num(n=3),
  234. ops=[Lt()],
  235. comparators=[Name(id='None',
  236. ctx=Load())])],
  237. nl=True),
  238. Print(dest=None,
  239. values=[Compare(left=Num(n=3),
  240. ops=[LtE()],
  241. comparators=[Name(id='None',
  242. ctx=Load())])],
  243. nl=True),
  244. Print(dest=None,
  245. values=[Compare(left=Name(id='None',
  246. ctx=Load()),
  247. ops=[Gt()],
  248. comparators=[Num(n=3)])],
  249. nl=True),
  250. Print(dest=None,
  251. values=[Compare(left=Name(id='None',
  252. ctx=Load()),
  253. ops=[GtE()],
  254. comparators=[Num(n=3)])],
  255. nl=True),
  256. Print(dest=None,
  257. values=[Compare(left=Name(id='None',
  258. ctx=Load()),
  259. ops=[Lt()],
  260. comparators=[Num(n=3)])],
  261. nl=True),
  262. Print(dest=None,
  263. values=[Compare(left=Name(id='None',
  264. ctx=Load()),
  265. ops=[LtE()],
  266. comparators=[Num(n=3)])],
  267. nl=True),
  268. Print(dest=None,
  269. values=[Str(s='\nboolean comparisons with long')],
  270. nl=True),
  271. Print(dest=None,
  272. values=[Compare(left=Num(n=3),
  273. ops=[Eq()],
  274. comparators=[Name(id='None',
  275. ctx=Load())])],
  276. nl=True),
  277. Print(dest=None,
  278. values=[Compare(left=Name(id='None',
  279. ctx=Load()),
  280. ops=[Eq()],
  281. comparators=[Num(n=3)])],
  282. nl=True),
  283. Print(dest=None,
  284. values=[Compare(left=Num(n=3),
  285. ops=[NotEq()],
  286. comparators=[Name(id='None',
  287. ctx=Load())])],
  288. nl=True),
  289. Print(dest=None,
  290. values=[Compare(left=Name(id='None',
  291. ctx=Load()),
  292. ops=[NotEq()],
  293. comparators=[Num(n=3)])],
  294. nl=True),
  295. Print(dest=None,
  296. values=[Compare(left=Num(n=3),
  297. ops=[Gt()],
  298. comparators=[Name(id='None',
  299. ctx=Load())])],
  300. nl=True),
  301. Print(dest=None,
  302. values=[Compare(left=Num(n=3),
  303. ops=[GtE()],
  304. comparators=[Name(id='None',
  305. ctx=Load())])],
  306. nl=True),
  307. Print(dest=None,
  308. values=[Compare(left=Num(n=3),
  309. ops=[Lt()],
  310. comparators=[Name(id='None',
  311. ctx=Load())])],
  312. nl=True),
  313. Print(dest=None,
  314. values=[Compare(left=Num(n=3),
  315. ops=[LtE()],
  316. comparators=[Name(id='None',
  317. ctx=Load())])],
  318. nl=True),
  319. Print(dest=None,
  320. values=[Compare(left=Name(id='None',
  321. ctx=Load()),
  322. ops=[Gt()],
  323. comparators=[Num(n=3)])],
  324. nl=True),
  325. Print(dest=None,
  326. values=[Compare(left=Name(id='None',
  327. ctx=Load()),
  328. ops=[GtE()],
  329. comparators=[Num(n=3)])],
  330. nl=True),
  331. Print(dest=None,
  332. values=[Compare(left=Name(id='None',
  333. ctx=Load()),
  334. ops=[Lt()],
  335. comparators=[Num(n=3)])],
  336. nl=True),
  337. Print(dest=None,
  338. values=[Compare(left=Name(id='None',
  339. ctx=Load()),
  340. ops=[LtE()],
  341. comparators=[Num(n=3)])],
  342. nl=True),
  343. Print(dest=None,
  344. values=[Str(s='\nboolean comparisons with None')],
  345. nl=True),
  346. Print(dest=None,
  347. values=[Compare(left=Name(id='None',
  348. ctx=Load()),
  349. ops=[Eq()],
  350. comparators=[Name(id='None',
  351. ctx=Load())])],
  352. nl=True),
  353. Print(dest=None,
  354. values=[Compare(left=Name(id='None',
  355. ctx=Load()),
  356. ops=[NotEq()],
  357. comparators=[Name(id='None',
  358. ctx=Load())])],
  359. nl=True),
  360. Print(dest=None,
  361. values=[Compare(left=Name(id='None',
  362. ctx=Load()),
  363. ops=[Gt()],
  364. comparators=[Name(id='None',
  365. ctx=Load())])],
  366. nl=True),
  367. Print(dest=None,
  368. values=[Compare(left=Name(id='None',
  369. ctx=Load()),
  370. ops=[GtE()],
  371. comparators=[Name(id='None',
  372. ctx=Load())])],
  373. nl=True),
  374. Print(dest=None,
  375. values=[Compare(left=Name(id='None',
  376. ctx=Load()),
  377. ops=[Lt()],
  378. comparators=[Name(id='None',
  379. ctx=Load())])],
  380. nl=True),
  381. Print(dest=None,
  382. values=[Compare(left=Name(id='None',
  383. ctx=Load()),
  384. ops=[LtE()],
  385. comparators=[Name(id='None',
  386. ctx=Load())])],
  387. nl=True)])