diff options
Diffstat (limited to 'pipermail/pycrypto/2010q4/000288.html')
-rw-r--r-- | pipermail/pycrypto/2010q4/000288.html | 125 |
1 files changed, 125 insertions, 0 deletions
diff --git a/pipermail/pycrypto/2010q4/000288.html b/pipermail/pycrypto/2010q4/000288.html new file mode 100644 index 0000000..e0f3dfd --- /dev/null +++ b/pipermail/pycrypto/2010q4/000288.html @@ -0,0 +1,125 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [pycrypto] Once again: Python3 with PyCrypto + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:pycrypto%40lists.dlitz.net?Subject=%5Bpycrypto%5D%20Once%20again%3A%20Python3%20with%20PyCrypto&In-Reply-To=4CEBC044.2010103%40gmx.de"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000285.html"> + <LINK REL="Next" HREF="000286.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[pycrypto] Once again: Python3 with PyCrypto</H1> + <B>Dwayne C. Litzenberger</B> + <A HREF="mailto:pycrypto%40lists.dlitz.net?Subject=%5Bpycrypto%5D%20Once%20again%3A%20Python3%20with%20PyCrypto&In-Reply-To=4CEBC044.2010103%40gmx.de" + TITLE="[pycrypto] Once again: Python3 with PyCrypto">dlitz at dlitz.net + </A><BR> + <I>Mon Nov 29 22:07:13 CST 2010</I> + <P><UL> + <LI>Previous message: <A HREF="000285.html">[pycrypto] Once again: Python3 with PyCrypto +</A></li> + <LI>Next message: <A HREF="000286.html">[pycrypto] Policy changes - Now accepting patches from the U.S. +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#288">[ date ]</a> + <a href="thread.html#288">[ thread ]</a> + <a href="subject.html#288">[ subject ]</a> + <a href="author.html#288">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Hi Johannes, + +Would you like to champion Python 3.x support? I don't really know what's +involved in doing Py3k support, but I'd like to see it happen, provided +that it doesn't involve breaking Python 2.x support or a lot of unnecessary +code duplication. How do other Python projects that have C code maintain +compatibility across both Python 2.x and 3.x? + +- Dwayne + +On Tue, Nov 23, 2010 at 02:23:16PM +0100, Johannes Bauer wrote: +><i>Hi there, +</I>><i> +</I>><i>I wanted to ask what the current status of PyCrypto together with +</I>><i>Python3 is. +</I>><i> +</I>><i>I found three patches on the mailing list, all of which are against +</I>><i>2.1.0 and none of which work. +</I>><i> +</I>><i>Two were in a ZIP archive, I found them in pycrypto-patches.zip +</I>><i><A HREF="http://lists.dlitz.net/pipermail/pycrypto/attachments/20100228/349e8dc6/attachment-0001.obj">http://lists.dlitz.net/pipermail/pycrypto/attachments/20100228/349e8dc6/attachment-0001.obj</A> +</I>><i> +</I>><i>They both patch fine against 2.1.0, but when running, they tell me both +</I>><i>the same error message: +</I>><i> +</I>><i>Python 3.1.2 (r312:79147, Apr 15 2010, 15:35:48) +</I>><i>[GCC 4.4.3] on linux2 +</I>><i>Type "help", "copyright", "credits" or "license" for more information. +</I>>>>><i> from Crypto.Cipher import AES +</I>><i>Traceback (most recent call last): +</I>><i> File "<stdin>", line 1, in <module> +</I>><i>SystemError: NULL result without error in PyObject_Call +</I>>>>><i> +</I>><i> +</I>><i>The third I found here (pycrypto-2.1.0-python3-1.patch.bz2). +</I>><i><A HREF="http://lists.dlitz.net/pipermail/pycrypto/attachments/20100115/0432fbaf/attachment-0001.bin">http://lists.dlitz.net/pipermail/pycrypto/attachments/20100115/0432fbaf/attachment-0001.bin</A> +</I>><i> +</I>><i> +</I>><i>It also compiles, but when trying to access the library, it yields +</I>><i> +</I>><i>Python 3.1.2 (r312:79147, Apr 15 2010, 15:35:48) +</I>><i>[GCC 4.4.3] on linux2 +</I>><i>Type "help", "copyright", "credits" or "license" for more information. +</I>>>>><i> from Crypto.Cipher import AES +</I>><i>Traceback (most recent call last): +</I>><i> File "<stdin>", line 1, in <module> +</I>><i>ImportError: Crypto/Cipher/AES.so: undefined symbol: PyString_AsString +</I>>>>><i> +</I>><i> +</I>><i>I also tried the GIT version, which also doesn't work (cannot even run +</I>><i>setup.py with Python3). +</I>><i> +</I>><i>Is any Python3 support planned at all? Are there any working patches (or +</I>><i>even a GIT branch)? +</I>><i> +</I>><i>Regards, +</I>><i>Johannes +</I>><i>_______________________________________________ +</I>><i>pycrypto mailing list +</I>><i><A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">pycrypto at lists.dlitz.net</A> +</I>><i><A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto</A> +</I>><i> +</I> +-- +Dwayne C. Litzenberger <<A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">dlitz at dlitz.net</A>> + OpenPGP: 19E1 1FE8 B3CF F273 ED17 4A24 928C EC13 39C2 5CF7 +</PRE> + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000285.html">[pycrypto] Once again: Python3 with PyCrypto +</A></li> + <LI>Next message: <A HREF="000286.html">[pycrypto] Policy changes - Now accepting patches from the U.S. +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#288">[ date ]</a> + <a href="thread.html#288">[ thread ]</a> + <a href="subject.html#288">[ subject ]</a> + <a href="author.html#288">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">More information about the pycrypto +mailing list</a><br> +</body></html> |