Ticket #5385: 5385_2.patch
| File 5385_2.patch, 6.1 KB (added by moijes12, 16 months ago) |
|---|
-
twisted/test/test_defgen.py
1 from __future__ import generators, nested_scopes2 3 1 import sys 4 2 5 3 from twisted.internet import reactor -
twisted/python/log.py
6 6 Logging and metrics infrastructure. 7 7 """ 8 8 9 from __future__ import division10 11 9 import sys 12 10 import time 13 11 import warnings -
twisted/protocols/ident.py
8 8 @author: Jean-Paul Calderone 9 9 """ 10 10 11 from __future__ import generators12 13 11 import struct 14 12 15 13 from twisted.internet import defer -
twisted/protocols/htb.py
15 15 HOWTO<http://lartc.org/howto/lartc.qdisc.classless.html#AEN682>} 16 16 @author: Kevin Turner 17 17 """ 18 19 from __future__ import nested_scopes20 21 18 __version__ = '$Revision: 1.5 $'[11:-2] 22 19 23 20 -
twisted/scripts/tkunzip.py
6 6 Post-install GUI to compile to pyc and unpack twisted doco 7 7 """ 8 8 9 from __future__ import generators10 11 9 import sys 12 10 import zipfile 13 11 import py_compile -
twisted/internet/_threadedselect.py
3 3 # Copyright (c) Twisted Matrix Laboratories. 4 4 # See LICENSE for details. 5 5 6 from __future__ import generators7 8 6 """ 9 7 Threaded select reactor 10 8 -
twisted/conch/scripts/tkconch.py
8 8 """ Implementation module for the `tkconch` command. 9 9 """ 10 10 11 from __future__ import nested_scopes12 13 11 import Tkinter, tkFileDialog, tkFont, tkMessageBox, string 14 12 from twisted.conch.ui import tkvt100 15 13 from twisted.conch.ssh import transport, userauth, connection, common, keys -
twisted/words/im/pbsupport.py
4 4 5 5 """L{twisted.words} support for Instance Messenger.""" 6 6 7 from __future__ import nested_scopes8 9 7 from twisted.internet import defer 10 8 from twisted.internet import error 11 9 from twisted.python import log -
twisted/persisted/journal/base.py
8 8 9 9 """Basic classes and interfaces for journal.""" 10 10 11 from __future__ import nested_scopes12 13 11 # system imports 14 12 import os, time 15 13 -
twisted/trial/test/detests.py
1 from __future__ import generators2 1 from twisted.trial import unittest 3 2 from twisted.internet import defer, threads, reactor 4 3 -
twisted/spread/ui/gtk2util.py
2 2 # Copyright (c) Twisted Matrix Laboratories. 3 3 # See LICENSE for details. 4 4 5 6 from __future__ import nested_scopes7 8 5 import gtk 9 6 10 7 from twisted import copyright -
doc/core/examples/threadedselect/pygamedemo.py
1 from __future__ import generators2 3 1 # import Twisted and install 4 2 from twisted.internet import _threadedselect 5 3 _threadedselect.install() -
doc/core/examples/pbgtk2.py
1 1 # Copyright (c) Twisted Matrix Laboratories. 2 2 # See LICENSE for details. 3 3 4 5 from __future__ import nested_scopes6 7 4 from twisted.internet import gtk2reactor 8 5 gtk2reactor.install() 9 6 -
doc/core/examples/longex2.py
40 40 result is 1. In that, this example departs from doc/examples/longex.py, 41 41 which errors out when trying to do this. 42 42 """ 43 from __future__ import generators44 43 from twisted.protocols import basic 45 44 from twisted.internet import defer, protocol 46 45 -
doc/conch/examples/window.tac
4 4 # You can run this .tac file directly with: 5 5 # twistd -ny window.tac 6 6 7 from __future__ import division8 9 7 import string, random 10 8 11 9 from twisted.python import log -
doc/web/examples/lj.rpy.py
4 4 # 5 5 # Syndicate LiveJournal users 6 6 # Demonstrates how to use chained callbacks 7 from __future__ import nested_scopes8 7 9 8 from twisted.web import resource as resourcelib 10 9 from twisted.web import client, microdom, domhelpers, server
