mirror of
https://github.com/evennia/evennia.git
synced 2026-03-30 04:27:16 +02:00
Updated HTML docs
This commit is contained in:
parent
60b2cee62e
commit
86fb09d6bf
105 changed files with 548 additions and 1105 deletions
|
|
@ -39,101 +39,7 @@
|
|||
|
||||
<section id="python-3">
|
||||
<h1>Python 3<a class="headerlink" href="#python-3" title="Permalink to this headline">¶</a></h1>
|
||||
<blockquote>
|
||||
<div><p><em>Note: Evennia only supports Python 2.7+ at this time. This page gathers various development
|
||||
information relevant to server developers.</em></p>
|
||||
</div></blockquote>
|
||||
<p>Django can work with Python 2 and 3 already, though changes may be required to how the Evennia code
|
||||
uses it. Twisted has much Python 3 compatibility, but not all modules within it have been ported
|
||||
yet. The
|
||||
<a class="reference external" href="https://twistedmatrix.com/documents/current/api/twisted.python.dist3.html">twisted.python.dist3</a>
|
||||
module gives some information about what’s ported, and I’m compiling a list of missing modules with
|
||||
related bug reports which can be found below. The list is based on a search for import statements in
|
||||
the Evennia source code, please add anything that’s missing.</p>
|
||||
<p>Part of this process is expected to be writing more tests for Evennia. One encouraging recent port
|
||||
to Python 3 in Twisted is its Trial test framework, which may need to be used by Evennia to ensure
|
||||
it still works correctly with Twisted on Python 3.</p>
|
||||
</section>
|
||||
<section id="strings">
|
||||
<h1>“Strings”<a class="headerlink" href="#strings" title="Permalink to this headline">¶</a></h1>
|
||||
<p>Broadly (and perhaps over-simplified):</p>
|
||||
<ul class="simple">
|
||||
<li><p>Twisted [expects bytes](http://twistedmatrix.com/trac/wiki/FrequentlyAskedQuestions#WhydontTwisted
|
||||
snetworkmethodssupportUnicodeobjectsaswellasstrings)</p></li>
|
||||
<li><p>Django [expects “” to be unicode](https://docs.djangoproject.com/en/1.8/topics/python3/#unicode-
|
||||
literals)</p></li>
|
||||
</ul>
|
||||
<p>I think we should use (roughly speaking) “” for unicode and b”” for bytes everywhere, but I need to
|
||||
look at the impacts of this more closely.</p>
|
||||
</section>
|
||||
<section id="links">
|
||||
<h1>Links<a class="headerlink" href="#links" title="Permalink to this headline">¶</a></h1>
|
||||
<ul class="simple">
|
||||
<li><p>http://twistedmatrix.com/documents/current/core/howto/python3.html</p></li>
|
||||
<li><p>https://twistedmatrix.com/trac/wiki/Plan/Python3</p></li>
|
||||
<li><p>[Twisted Python3 bugs](https://twistedmatrix.com/trac/query?status=assigned&status=new&status=reop
|
||||
ened&group=status&milestone=Python-3.x)</p></li>
|
||||
</ul>
|
||||
</section>
|
||||
<section id="twisted-module-status">
|
||||
<h1>Twisted module status<a class="headerlink" href="#twisted-module-status" title="Permalink to this headline">¶</a></h1>
|
||||
<p>x = not ported to Python 3
|
||||
/ = ported to Python 3</p>
|
||||
<ul class="simple">
|
||||
<li><p>twisted.application.internet /</p></li>
|
||||
<li><p>twisted.application.service /</p></li>
|
||||
<li><p>twisted.conch x (not used directly)</p></li>
|
||||
<li><p>~https://twistedmatrix.com/trac/ticket/5102~ /</p></li>
|
||||
<li><p>~https://twistedmatrix.com/trac/ticket/4993~ /</p></li>
|
||||
<li><p>twisted.conch.insults.insults x</p></li>
|
||||
<li><p>twisted.conch.interfaces x</p></li>
|
||||
<li><p>twisted.conch.manhole x</p></li>
|
||||
<li><p>twisted.conch.manhole_ssh x</p></li>
|
||||
<li><p>twisted.conch.ssh.common x</p></li>
|
||||
<li><p>twisted.conch.ssh.keys x</p>
|
||||
<ul>
|
||||
<li><p>~https://twistedmatrix.com/trac/ticket/7998~ /</p></li>
|
||||
<li><p>“twisted.conch.ssh.keys should be ported to Python 3”</p></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><p>twisted.conch.ssh.userauth x</p></li>
|
||||
<li><p>twisted.conch.telnet x</p></li>
|
||||
<li><p>twisted.cred.checkers /</p></li>
|
||||
<li><p>twisted.cred.portal /</p></li>
|
||||
<li><p>twisted.internet.defer /</p></li>
|
||||
<li><p>twisted.internet.interfaces /</p></li>
|
||||
<li><p>twisted.internet.protocol /</p></li>
|
||||
<li><p>twisted.internet.reactor /</p></li>
|
||||
<li><p>twisted.internet.ssl /</p></li>
|
||||
<li><p>twisted.internet.task /</p></li>
|
||||
<li><p>twisted.internet.threads /</p></li>
|
||||
<li><p>twisted.protocols.amp x</p></li>
|
||||
<li><p>~https://twistedmatrix.com/trac/ticket/6833~ /</p></li>
|
||||
<li><p>“Port twisted.protocols.amp to Python 3”</p></li>
|
||||
<li><p>twisted.protocols.policies /</p></li>
|
||||
<li><p>twisted.python.components /</p></li>
|
||||
<li><p>twisted.python.log /</p></li>
|
||||
<li><p>twisted.python.threadpool /</p></li>
|
||||
<li><p>twisted.web.http (x)</p></li>
|
||||
<li><p>Partial support. Sufficient?</p></li>
|
||||
<li><p>twisted.web.resource /</p></li>
|
||||
<li><p>twisted.web.server (x)</p></li>
|
||||
<li><p>Partial support. Sufficient?</p></li>
|
||||
<li><p>twisted.web.static /</p></li>
|
||||
<li><p>twisted.web.proxy /</p></li>
|
||||
<li><p>twisted.web.wsgi x</p></li>
|
||||
<li><p>~https://twistedmatrix.com/trac/ticket/7993~ /</p>
|
||||
<ul>
|
||||
<li><p>“’twisted.web.wsgi’ should be ported to Python 3”</p></li>
|
||||
<li><p>Seems to be making good progress</p></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><p>twisted.words.protocols.irc x</p></li>
|
||||
<li><p>https://twistedmatrix.com/trac/ticket/6320</p></li>
|
||||
<li><p>“Python 3 support for twisted.words.protocols.irc”</p></li>
|
||||
<li><p>~https://twistedmatrix.com/trac/ticket/6564~</p></li>
|
||||
<li><p>“Replace usage of builtin reduce in twisted.words”</p></li>
|
||||
</ul>
|
||||
<p>Evennia supports Python 3+ since v0.8. This page is deprecated.</p>
|
||||
</section>
|
||||
|
||||
|
||||
|
|
@ -156,14 +62,6 @@ ened&group=status&milestone=Python-3.x)</p></li>
|
|||
</div>
|
||||
</div>
|
||||
<script>$('#searchbox').show(0);</script>
|
||||
<p><h3><a href="index.html">Table of Contents</a></h3>
|
||||
<ul>
|
||||
<li><a class="reference internal" href="#">Python 3</a></li>
|
||||
<li><a class="reference internal" href="#strings">“Strings”</a></li>
|
||||
<li><a class="reference internal" href="#links">Links</a></li>
|
||||
<li><a class="reference internal" href="#twisted-module-status">Twisted module status</a></li>
|
||||
</ul>
|
||||
|
||||
<div role="note" aria-label="source link">
|
||||
<!--h3>This Page</h3-->
|
||||
<ul class="this-page-menu">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue