diff options
Diffstat (limited to 'pipermail/pycrypto/2010q1/000187.html')
-rw-r--r-- | pipermail/pycrypto/2010q1/000187.html | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/pipermail/pycrypto/2010q1/000187.html b/pipermail/pycrypto/2010q1/000187.html new file mode 100644 index 0000000..0f885d1 --- /dev/null +++ b/pipermail/pycrypto/2010q1/000187.html @@ -0,0 +1,88 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [pycrypto] FW: python crypto with python 3.0 or 3.1 + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:pycrypto%40lists.dlitz.net?Subject=%5Bpycrypto%5D%20FW%3A%20python%20crypto%20with%20python%203.0%20or%203.1&In-Reply-To=4B8ADA4C.1000901%40gmx.net"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000199.html"> + <LINK REL="Next" HREF="000188.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[pycrypto] FW: python crypto with python 3.0 or 3.1</H1> + <B>Grail Dane</B> + <A HREF="mailto:pycrypto%40lists.dlitz.net?Subject=%5Bpycrypto%5D%20FW%3A%20python%20crypto%20with%20python%203.0%20or%203.1&In-Reply-To=4B8ADA4C.1000901%40gmx.net" + TITLE="[pycrypto] FW: python crypto with python 3.0 or 3.1">grail69 at hotmail.com + </A><BR> + <I>Sun Feb 28 18:02:27 CST 2010</I> + <P><UL> + <LI>Previous message: <A HREF="000199.html">[pycrypto] FW: python crypto with python 3.0 or 3.1 +</A></li> + <LI>Next message: <A HREF="000188.html">[pycrypto] FW: python crypto with python 3.0 or 3.1 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#187">[ date ]</a> + <a href="thread.html#187">[ thread ]</a> + <a href="subject.html#187">[ subject ]</a> + <a href="author.html#187">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE> +Hello Christoph +I have made more head way since that one (and made a lot more changes).I found that the module creation required a few more steps and I have come up with two solutions (in attached patches): +1. First patch follows most of the online info I could find related to PyModuleDef and the related PyTypeObject. This required that all tp_getattr functions be removed and set to 0 (zero) in the PyTypeObject definition. +2. The second patch retained the already created tp_getattr functions. +With either applied I am able to compile but when running a test program with the following lines only: +#!/usr/bin/env python +from Crypto.Cipher import AESimport base64import os + +When run I receive the following error: +Traceback (most recent call last): File "./cypher.py", line 3, in <module> from Crypto.Cipher import AESSystemError: NULL result without error in PyObject_Call +So apply patches (and make necessary changes for Windows) and we will see if I can help further :) +Cheers Grail + +Get straight to the Point Find a great deal on your next car. +_________________________________________________________________ +View photos of singles in your area! Browse profiles for FREE +<A HREF="http://clk.atdmt.com/NMN/go/150855801/direct/01/">http://clk.atdmt.com/NMN/go/150855801/direct/01/</A> +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <A HREF="http://lists.dlitz.net/pipermail/pycrypto/attachments/20100301/8a257c4e/attachment-0001.htm">http://lists.dlitz.net/pipermail/pycrypto/attachments/20100301/8a257c4e/attachment-0001.htm</A> +-------------- next part -------------- +A non-text attachment was scrubbed... +Name: pycrypto-patches.zip +Type: application/octet-stream +Size: 27460 bytes +Desc: not available +Url : <A HREF="http://lists.dlitz.net/pipermail/pycrypto/attachments/20100301/8a257c4e/attachment-0001.obj">http://lists.dlitz.net/pipermail/pycrypto/attachments/20100301/8a257c4e/attachment-0001.obj</A> +</PRE> + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000199.html">[pycrypto] FW: python crypto with python 3.0 or 3.1 +</A></li> + <LI>Next message: <A HREF="000188.html">[pycrypto] FW: python crypto with python 3.0 or 3.1 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#187">[ date ]</a> + <a href="thread.html#187">[ thread ]</a> + <a href="subject.html#187">[ subject ]</a> + <a href="author.html#187">[ 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> |