From patrik at frobbit.se Mon Feb 7 03:13:06 2011 From: patrik at frobbit.se (=?iso-8859-1?Q?Patrik_F=E4ltstr=F6m?=) Date: Mon, 7 Feb 2011 04:13:06 +0100 Subject: [ldns-users] ldnspy and python 3.0 Message-ID: <22D45A06-ACE0-487D-8383-A74B2A39EF67@frobbit.se> Has anyone worked on getting ldnspy working with python 3.0? There are some issues with print statements and how exceptions are handled that should be changed... Patrik From ondrej at sury.org Mon Feb 7 08:34:52 2011 From: ondrej at sury.org (=?UTF-8?B?T25kxZllaiBTdXLDvQ==?=) Date: Mon, 7 Feb 2011 09:34:52 +0100 Subject: [ldns-users] ldnspy and python 3.0 In-Reply-To: <22D45A06-ACE0-487D-8383-A74B2A39EF67@frobbit.se> References: <22D45A06-ACE0-487D-8383-A74B2A39EF67@frobbit.se> Message-ID: Patrik, since I have one of the authors of ldns python binding on my team, we'll fix that in some not-so-far future? How fast do you need the fix? Ondrej 2011/2/7 Patrik F?ltstr?m : > Has anyone worked on getting ldnspy working with python 3.0? > > There are some issues with print statements and how exceptions are handled that should be changed... > > ? Patrik > > > _______________________________________________ > ldns-users mailing list > ldns-users at open.nlnetlabs.nl > http://open.nlnetlabs.nl/mailman/listinfo/ldns-users > -- ?Ond?ej Sur? From patrik at frobbit.se Mon Feb 7 10:33:19 2011 From: patrik at frobbit.se (=?iso-8859-1?Q?Patrik_F=E4ltstr=F6m?=) Date: Mon, 7 Feb 2011 11:33:19 +0100 Subject: [ldns-users] ldnspy and python 3.0 In-Reply-To: References: <22D45A06-ACE0-487D-8383-A74B2A39EF67@frobbit.se> Message-ID: <31706D88-B982-454C-9D2F-804D6F9B4C84@frobbit.se> Well, I am writing some preliminary code now, in Python <3.0, which is fine for preliminary development. But, I hope later this spring, or in the summer (on the northern hemisphere) hopefully start the real development that I would like to do in Python 3.x. If nothing else due to the support of Unicode. No hurry though, as the code I write should be able to work in both 2.x and 3.x so if I start coding, moving *my* code should work pretty well. Sep 2011 I think I would like to see Python 3.0 support though...if I can choose (and you asked ;-) ). Patrik On 7 feb 2011, at 09.34, Ond?ej Sur? wrote: > Patrik, > > since I have one of the authors of ldns python binding on my team, > we'll fix that in some not-so-far future? How fast do you need the > fix? > > Ondrej > > 2011/2/7 Patrik F?ltstr?m : >> Has anyone worked on getting ldnspy working with python 3.0? >> >> There are some issues with print statements and how exceptions are handled that should be changed... >> >> Patrik >> >> >> _______________________________________________ >> ldns-users mailing list >> ldns-users at open.nlnetlabs.nl >> http://open.nlnetlabs.nl/mailman/listinfo/ldns-users >> > > > > -- > ?Ond?ej Sur? > From slava at tangramltd.com Fri Feb 18 09:21:42 2011 From: slava at tangramltd.com (Slava Dubrovskiy) Date: Fri, 18 Feb 2011 11:21:42 +0200 Subject: [ldns-users] Usage libidn for national domains Message-ID: <4D5E3A26.6090002@tangramltd.com> Hi. Now domains in the national coding are popular enough. For example in cyrillic. In dig it is for this purpose used libidn. Whether probably to make in drill such support? -- WBR, Dubrovskiy Vyacheslav -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5525 bytes Desc: S/MIME Cryptographic Signature URL: From bedrich.kosata at nic.cz Fri Feb 25 08:36:58 2011 From: bedrich.kosata at nic.cz (Bedrich Kosata) Date: Fri, 25 Feb 2011 09:36:58 +0100 Subject: [ldns-users] minor addition to the python wrapper Message-ID: <4D676A2A.9070708@nic.cz> Hello, I found out that the function "ldns_fetch_valid_domain_keys" could not be called from python, because the 4th argument is ldns_status* which it is not possible to pass from python. I added an additional wrapper around this fuction, so that it requires only the first three arguments and both the status and the actual result are returned as a tuple. I send a diff against the current SVN branch in the attachment. Cheers Beda -- Bedrich Kosata CZ.NIC Labs -------------- next part -------------- A non-text attachment was scrubbed... Name: ldns.i.diff Type: text/x-patch Size: 833 bytes Desc: not available URL: From wouter at NLnetLabs.nl Fri Feb 25 09:48:26 2011 From: wouter at NLnetLabs.nl (W.C.A. Wijngaards) Date: Fri, 25 Feb 2011 10:48:26 +0100 Subject: [ldns-users] minor addition to the python wrapper In-Reply-To: <4D676A2A.9070708@nic.cz> References: <4D676A2A.9070708@nic.cz> Message-ID: <4D677AEA.3010303@nlnetlabs.nl> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Bedrich, On 02/25/2011 09:36 AM, Bedrich Kosata wrote: > Hello, > > I found out that the function "ldns_fetch_valid_domain_keys" could not > be called from python, because the 4th argument is ldns_status* which it > is not possible to pass from python. > I added an additional wrapper around this fuction, so that it requires > only the first three arguments and both the status and the actual result > are returned as a tuple. > I send a diff against the current SVN branch in the attachment. Thank you, patch applied to the svn trunk of ldns. Best regards, Wouter -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAk1neuoACgkQkDLqNwOhpPiUfwCfUGOtWEaC4mtwekQby/nJXTyI 8VAAnA4AJOymUfARZWVq5G55qVcFtznr =Rcg5 -----END PGP SIGNATURE-----