[issue14814] Implement PEP 3144 (the ipaddress module)

2012-05-15 Thread Alan Kennedy
Changes by Alan Kennedy python-...@xhaus.com: -- nosy: +amak ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14814 ___ ___ Python-bugs-list mailing

[issue3566] httplib persistent connections violate MUST in RFC2616 sec 8.1.4.

2011-05-09 Thread Alan Kennedy
Changes by Alan Kennedy python-...@xhaus.com: -- nosy: +amak ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3566 ___ ___ Python-bugs-list mailing

How to run jython WSGI applications on Google AppEngine.

2009-04-13 Thread Alan Kennedy
Hi all, You can find instructions about how to run jython Web applications on Google AppEngine, using WSGI and modjy, here. http://jython.xhaus.com You can see the jython 2.5 Demo WSGI application running, here. http://jywsgi.appspot.com Regards, Alan Kennedy. -- http://mail.python.org

Jython on Google AppEngine.

2009-04-09 Thread Alan Kennedy
Hi all, You may be interested to know that you can now run jython 2.2 out of the box on Google AppEngine, thanks to their new java support. A patch is required for jython 2.5, but we will be folding this in before the jython 2.5 RC release over the next few weeks. More details here

[issue2550] SO_REUSEADDR doesn't have the same semantics on Windows as on Unix

2008-05-13 Thread Alan Kennedy
Changes by Alan Kennedy [EMAIL PROTECTED]: -- nosy: +amak __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2550 __ ___ Python-bugs-list mailing list Unsubscribe: http

[issue2452] inaccuracy in httplib timeout documentation

2008-03-30 Thread Alan Kennedy
Changes by Alan Kennedy [EMAIL PROTECTED]: -- nosy: +amak __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2452 __ ___ Python-bugs-list mailing list Unsubscribe: http

Re: JPype - passing to Java main

2007-08-14 Thread Alan Kennedy
-ERROR_- File tester.py, line 10, in module com.JPypeTest.main(arg) RuntimeError: No matching overloads found. at src/native/common/ jp_method.cpp:121 --END ERROR- I haven't used jpype, but the signature for java main functions is public

Re: python and JMS

2006-07-30 Thread Alan Kennedy
[tksri2000] I am looking to use python to talk to JMS. Can some please point me to such resources if this is possible. PyHJB is the python-to-JMS gateway. ... via HJB, the HTTP JMS bridge. http://hjb.python-hosting.com/ HJB (HTTP JMS Bridge) http://hjb.berlios.de/ HTH, -- alan kennedy

Re: smtplib timeout

2006-07-25 Thread Alan Kennedy
socket.setdefaulttimeout(timeout_value) print connecting to server: %s % dud_server try: connection = smtplib.SMTP(dud_server) except socket.timeout: print server timed out == HTH, -- alan kennedy -- email alan

Re: smtplib timeout

2006-07-25 Thread Alan Kennedy
[Stuart D. Gathman] I need to set a timelimit for the operation of smtplib.sendmail. It has to be thread based, because pymilter uses libmilter which is thread based. [Alan Kennedy] Have you tried setting a default socket timeout, which applies to all socket operations? [Stuart D. Gathman

Re: language-x-isms

2006-06-08 Thread Alan Kennedy
running across both. And when jython progresses beyond 2.1, (any day now!), it will still work seamlessly. regards, -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org/mailman/listinfo/python-list

Re: XML, JSON, or what?

2006-06-08 Thread Alan Kennedy
of changes to make later on. Does anyone have any recommendations? I'd go with JSON, for simplicity and portability. If you have any specific questions about it, ask. regards, -- alan kennedy -- email alan: http://xhaus.com/contact

Re: language-x-isms

2006-06-08 Thread Alan Kennedy
[Alan Kennedy] On jython 2.1, I use something like this #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= try: enumerate except NameError: def enumerate(iterable): results = [] ; ix = 0 for item in iterable: results.append( (ix, item) ) ix = ix+1 return results

Re: language-x-isms

2006-06-08 Thread Alan Kennedy
[Alan Kennedy] On jython 2.1, I use something like this #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= try: enumerate except NameError: def enumerate(iterable): results = [] ; ix = 0 for item in iterable: results.append( (ix, item) ) ix = ix+1 return results

Re: language-x-isms

2006-06-08 Thread Alan Kennedy
using the builtin may be true, it has no bearing on the code I posted, which is all I'm trying to say ... -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org/mailman/listinfo/python-list

Re: language-x-isms

2006-06-08 Thread Alan Kennedy
[Alan Kennedy] Your comment makes using a user-defined enumerate [on cpython] is slower than using the built-in version makes no sense in relation to the code I posted Fredrik Lundh wrote: try combining with the second sentence in my post. OK, so putting at least in CPython, using a user

Re: XML, JSON, or what?

2006-06-08 Thread Alan Kennedy
://cheeseshop.python.org/pypi?%3Aaction=searchdescription=json And one for javascript, http://www.json.org/js.html http://www.json.org/json.js And most other languages you're likely to come across. http://www.json.org/ regards, -- alan kennedy

Re: Proposal for new operators to python that add syntactic sugar for hierarcical data.

2006-05-18 Thread Alan Kennedy
-color: yellow;) [ And this is a coloured div. ] ] ] That looks nice and simple, and no need to destroy the elegance of python to do it. regards, -- alan kennedy -- email alan: http://xhaus.com/contact/alan

Re: generators shared among threads

2006-03-05 Thread Alan Kennedy
/browse_frm/thread/76aa2afa913fe4df/a2ede21f7dd78f34#a2ede21f7dd78f34 Also contained in that thread is an implementation of Queue.Queue which supplies values from a generator, and which does not require a separate thread to generate values. HTH, -- alan kennedy

Re: PyXML SAX Q?

2006-02-16 Thread Alan Kennedy
directly into the parser. You can find exactly what you need in this old thread about incremental XML parsing. Parsing XML streams http://groups.google.com/group/comp.lang.python/msg/e97309244914343b? -- alan kennedy -- email alan: http

Re: Clarity: GIL, processes and CPUs etc

2006-02-15 Thread Alan Kennedy
for transmission between those processes. -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org/mailman/listinfo/python-list

Re: how do you pronounce 'tuple'?

2006-02-14 Thread Alan Kennedy
[Terry Hancock] So what's a 1-element tuple, anyway? A mople? monople? It does seem like this lopsided pythonic creature (1,) ought to have a name to reflect its ugly, newbie-unfriendly nature. It's a trip-you-uple, which you can pronounce anyway you like ;-) -- alan kennedy

Re: Jython inherit from Java class

2006-02-08 Thread Alan Kennedy
the latter is cause of your problems, but it might be. HTH, -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org/mailman/listinfo/python-list

Re: HTMLDocument and Xpath

2006-02-03 Thread Alan Kennedy
[EMAIL PROTECTED] Hi, I want to use xpath to scrape info from a website using pyXML but I keep getting no results. For example, in the following, I want to return the text Element1 I can't get xpath to return anything at all. What's wrong with this code? Your xpath expression is wrong.

Re: Python module for LX200 telescope command set

2006-01-31 Thread Alan Kennedy
, MaxIm DL V3 by Cyanogen Productions, and ACP2 by DC3 Dreams. HTH, -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org/mailman/listinfo/python-list

Re: jython base64.urlsafe_b64xxx

2006-01-13 Thread Alan Kennedy
/cgi-bin/cvsweb.cgi/i2p/core/java/src/net/i2p/data/Base64.java?f=H With javadoc at http://dev.i2p.net/javadoc/net/i2p/data/Base64.html Seems to do what you want. HTH, -- alan kennedy -- email alan: http://xhaus.com/contact/alan

Re: XML vs. cPickle

2006-01-13 Thread Alan Kennedy
are appreciated, I'd write a few simple prototypes and take some empirical measurements. HTH, -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org/mailman/listinfo/python-list

Re: Spelling mistakes!

2006-01-07 Thread Alan Kennedy
-at-you-ly'yrs, -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org/mailman/listinfo/python-list

Re: how-to POST form data to ASP pages?

2006-01-01 Thread Alan Kennedy
, On, 100' Are you executing the contents of form input fields as program code? That's highly inadvisable from a security point of view. Happy New Year. -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http

Re: how-to POST form data to ASP pages?

2006-01-01 Thread Alan Kennedy
. Another thing to establish is whether the URL is working correctly, from a client you know works independently from your script above, e.g. an ordinary browser. When you submit to your form handling script from an ordinary browser, does it work? -- alan kennedy

Re: Newbie needs help extracting data from XML

2005-12-29 Thread Alan Kennedy
There are other ways to do it, e.g. using ElementTree, but I'll leave it to others to suggest the best way to do that. HTH, -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org/mailman/listinfo

Re: Help designing reading/writing a xml-fileformat

2005-12-13 Thread Alan Kennedy
to approach this problem ? (I do not want to use the pickle module) Why not the pickle module? XML-format pickles are a good solution to your problem, IMHO. -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http

Re: XML and namespaces

2005-12-12 Thread Alan Kennedy
informing yourself on the issue, and for taking the time to research and understand it. I wish that your refreshing attitude was more widespread! now-i-really-must-get-back-to-work-ly'yrs, -- alan kennedy -- email alan: http://xhaus.com

Re: Pythonic XML library with XPath support for Jython?

2005-12-12 Thread Alan Kennedy
. -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org/mailman/listinfo/python-list

Re: XML and namespaces

2005-12-11 Thread Alan Kennedy
, -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org/mailman/listinfo/python-list

Re: Creating referenceable objects from XML

2005-12-11 Thread Alan Kennedy
-for-templating-ly'yrs, -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org/mailman/listinfo/python-list

Re: XML and namespaces

2005-12-07 Thread Alan Kennedy
implements none of the DOM specifications. -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org/mailman/listinfo/python-list

Re: XML and namespaces

2005-12-07 Thread Alan Kennedy
[Alan Kennedy] Don't confuse libxml2dom with libxml2. [Paul Boddie] Well, quite, but perhaps you can explain what I'm doing wrong with this low-level version of the previously specified code: Well, if your purpose is to make a point about minidom and DOM standards compliance in relation

Re: XML and namespaces

2005-12-06 Thread Alan Kennedy
=1.0 encoding=UTF-8? href/ As I expected it would. -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org/mailman/listinfo/python-list

Re: XML and namespaces

2005-12-06 Thread Alan Kennedy
., etc, then you should be prepared to back them up, not state them and then say but I'm too busy and/or important to discuss it with you. Perhaps you should think twice before making such statements in the future. -- alan kennedy -- email alan

Re: XML and namespaces

2005-12-06 Thread Alan Kennedy
/libxml2dom [Alan Kennedy] Will you accept Apache Xerces 2 for Java as a widely used DOM Implementation? [Fredrik Lundh] sure. but libxml2 is also widely used, so we have at least two ways to interpret the spec. Don't confuse libxml2dom with libxml2. As I showed with a code snippet in a previous

Re: XML and namespaces

2005-12-05 Thread Alan Kennedy
, it doesn't need fixing, minidom is not broken. Although I am sympathetic to your bewilderment: xml namespaces can be overly complex when it comes to the nitty, gritty details. -- alan kennedy -- email alan: http://xhaus.com/contact

Re: XML and namespaces

2005-12-05 Thread Alan Kennedy
ad-hoc decisions as to what the user really wants. That's why DOM L2 punted on the whole problem, and left it to DOM L3. -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org/mailman/listinfo

Re: XML and namespaces

2005-12-05 Thread Alan Kennedy
[Alan Kennedy] On the contrary, once you start second guessing the standards and making guesses about what users are really trying to do, and making decisions for them, then some people are going to get different behaviour from what they rightfully expect according to the standard. People whose

Re: XML and namespaces

2005-12-02 Thread Alan Kennedy
) xmlroot.setAttributeNS(xml.dom.XMLNS_NAMESPACE, xmlns:DAV, DAV_NS_U) xmldoc.appendChild(xmlroot) print xmldoc.toprettyxml() #-=-=-=-=-=-=-=-=-= produces ?xml version=1.0 ? DAV:xpg xmlns:DAV=http://webdav.org/ Which is well formed wrt namespaces. regards, -- alan kennedy

Re: xpath support in python 2.4

2005-11-29 Thread Alan Kennedy
library? No, it's not. Not sure if it ever was. if not, what should I use? Install PyXML http://pyxml.sourceforge.net HTH, -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org/mailman/listinfo

Re: Making a persistent HTTP connection

2005-11-14 Thread Alan Kennedy
: the response to the first request must be competely read before a second request can be issued. HTH, -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org/mailman/listinfo/python-list

Re: Making a persistent HTTP connection

2005-11-14 Thread Alan Kennedy
to the first request must be competely read before a second request can be issued. HTH, -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org/mailman/listinfo/python-list

Re: Inserting Records into SQL Server - is there a faster interface than ADO

2005-11-11 Thread Alan Kennedy
to transfer data into SQLServer *very* quickly. http://msdn.microsoft.com/library/en-us/coprompt/cp_bcp_61et.asp http://www.sql-server-performance.com/bcp.asp thought-it-was-worth-mentioning-ly y'rs, -- alan kennedy -- email alan: http

Re: Map of email origins to Python list

2005-11-08 Thread Alan Kennedy
[Claire McLister] I've made the script available on our downloads page at: http://www.zeesource.net/downloads/e2i [Alan Kennedy] I look forward to the map with updated precision :-) [Claire McLister] Me too. Please let me know how we should modify the script. Having examined your script

Re: Threading- Stopping

2005-11-07 Thread Alan Kennedy
that what FAQs are for? Maybe the FAQ needs to be turned into a wiki? -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org/mailman/listinfo/python-list

Re: Map of email origins to Python list

2005-11-07 Thread Alan Kennedy
indicates you're in Chicago, Illinois? Although I do have to point out that the map makes it appear as if I've been busy posting from all over Dublin's Southside, which, as anyone who has seen The Commitments can attest, is a deep insult a born-and-bred Northsider such as myself ;-) -- alan

Re: Map of email origins to Python list

2005-11-07 Thread Alan Kennedy
[Alan Kennedy] So presumably chcgil indicates you're in Chicago, Illinois? [EMAIL PROTECTED] Yes, but why, then, is my name logged into Mountain View, CA? Presumably the creators of the map have chosen to use a mechanism other than NNTP-Posting-Host IP address to geolocate posters. Claire

Re: Map of email origins to Python list

2005-11-07 Thread Alan Kennedy
forward to the map with updated precision :-) -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org/mailman/listinfo/python-list

Re: modifying source at runtime - jython case

2005-11-06 Thread Alan Kennedy
the method on the individual instance. Resolving the method is done at invocation time, because python/jython is a late-binding language. Any closer? -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http

Re: modifying source at runtime - jython case

2005-11-05 Thread Alan Kennedy
); interp.exec(overwrite_meth); interp.exec(invoke_hello); } } // end SelfMod.java - need-to-complete-my-coursework-for-telepathy-101-ly y'rs -- alan kennedy

Re: XML DOM: XML/XHTML inside a text node

2005-11-04 Thread Alan Kennedy
untrusted (x)html. http://groups.google.com/group/comp.lang.python/browse_thread/thread/fbdc7ae20353a36d/91b6510990a25f9a HTH, -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org/mailman/listinfo

Re: WTF?

2005-11-02 Thread Alan Kennedy
sorts of profanity and ranting without any problem? Take a look at the source of XL's messages: he posts through Google Groups, thus completely avoiding the SPAM filter on python.org. http://groups.google.com/group/comp.lang.python/msg/762c8dad1928ecc2?dmode=source -- alan kennedy

Re: Python and MySQL

2005-11-02 Thread Alan Kennedy
to progress. -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org/mailman/listinfo/python-list

Re: help with concurrency control (threads/processes signals)

2005-10-27 Thread Alan Kennedy
://www.python.org/other/spread/ The latter page has links to the original C spread module, which has documentation, FAQs, etc. -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org/mailman/listinfo

Re: 1 Million users.. I can't Scale!!

2005-09-28 Thread Alan Kennedy
generate per second? HTH, -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org/mailman/listinfo/python-list

Re: Python xml.dom, help reading attribute data

2005-09-06 Thread Alan Kennedy
/examples.html http://www.w3schools.com/xpath/ there-are-other-ways-to-do-it-but-i-like-xpath-ly'yrs, -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org/mailman/listinfo/python-list

Re: Django Vs Rails

2005-09-06 Thread Alan Kennedy
://www.djangoproject.com/screencasts/model_syntax_change/ -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org/mailman/listinfo/python-list

Re: dual processor

2005-09-05 Thread Alan Kennedy
in Ruby. http://groups.google.com/group/comp.lang.ruby/msg/dcf5ca374e6c5da8 One of these years I'm going to have to set aside a month or two to go through and understand the cpython interpreter code, so that I have a first-hand understanding of the issues. -- alan kennedy

Re: SpamBayes wins PCW Editors Choice Award for anti-spam software.

2005-09-01 Thread Alan Kennedy
[Alan Kennedy] ... PCW ran a story this time last year about Michael Sparks, python and python's use in the BBC's future distribution plans for digital TV. [Paul Boddie] Well, I didn't even notice the story! ;-) Here's the message I posted here at the time http://groups.google.com/group

Re: SpamBayes wins PCW Editors Choice Award for anti-spam software.

2005-09-01 Thread Alan Kennedy
[Alan Kennedy] IMHO, there is a great opportunity here for the python community: [...] Surely that's worth a simple team name, for mnemonic purposes if nothing else. Something different or unusual, like one of my favourites, Legion of the Bouncy Castle, who are a group of Java cryptography

Re: SpamBayes wins PCW Editors Choice Award for anti-spam software.

2005-08-31 Thread Alan Kennedy
[Alan Kennedy] (PCW, for those who don't know it, is sort of the UK's equivalent of Byte Magazine,except that it's still publishing after almost 25 years). [Paul Boddie] Hmmm. Even Byte at its lowest point was far better than PCW ever was. Well, I mostly disagree, but you've got your

SpamBayes wins PCW Editors Choice Award for anti-spam software.

2005-08-30 Thread Alan Kennedy
seem to have made the review available online (yet), so I can't provide a URL. Maybe someone else will have more success finding a URL? thought-ye'd-like-to-know-ly'yrs, -- alan kennedy -- email alan: http://xhaus.com/contact/alan

Re: python xml DOM? pulldom? SAX?

2005-08-29 Thread Alan Kennedy
(page_matcher(page_handler)) parser.setFeature(xml.sax.handler.feature_namespaces, 0) parser.feed(testdoc) #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= HTH, -- alan kennedy -- email alan: http://xhaus.com

Re: python xml DOM? pulldom? SAX?

2005-08-29 Thread Alan Kennedy
[Alan Kennedy] SAX is perfect for the job. See code below. [Fredrik Lundh] depends on your definition of perfect... Obviously, perfect is the eye of the beholder ;-) [Fredrik Lundh] using a 20 MB version of jog's sample, and having replaced the print statements with local variable

Re: Sanitizing untrusted code for eval()

2005-08-23 Thread Alan Kennedy
cannot be strict about things like double () vs. single (') quotes, etc. JSON is so simple, I think it best to write a tokeniser and parser for it, either using a parsing library, or just coding your own. -- alan kennedy -- email alan

Re: global interpreter lock

2005-08-20 Thread Alan Kennedy
-of-the-beholder-ly y'rs -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org/mailman/listinfo/python-list

Re: global interpreter lock

2005-08-20 Thread Alan Kennedy
://en.wikipedia.org/wiki/Occam_programming_language IMHO, python generators (which BTW are implemented with a JVM goto instruction in jython 2.2) are a nice programming model that fits neatly with this hardware model. Although not today. -- alan kennedy

Re: JBUS and Python which way

2005-08-03 Thread Alan Kennedy
between the PC and JBus instruments. Depending on the protocol used by the instrument-manager, you may be able to use python to control that. HTH, -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org

Re: Counting processors

2005-07-25 Thread Alan Kennedy
/hwbapy01.mspx -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org/mailman/listinfo/python-list

Re: Java RMI-like services in Python

2005-07-18 Thread Alan Kennedy
is the latter, I recommend you take a look at PyLinda. PyLinda - Distributed Computing Made Easy http://www-users.cs.york.ac.uk/~aw/pylinda/ -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org/mailman

Re: When someone from Britain speaks, Americans hear a British accent...

2005-06-29 Thread Alan Kennedy
-- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org/mailman/listinfo/python-list

Re: How to implement a file lock ??

2005-02-15 Thread Alan Kennedy
://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/65203 HTH, -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org/mailman/listinfo/python-list

Re: parsing IMAP responses?

2005-02-15 Thread Alan Kennedy
. grumpily-y'rs, -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org/mailman/listinfo/python-list

Re: For American numbers

2005-02-13 Thread Alan Kennedy
missed these? http://en.wikipedia.org/wiki/Kibibyte http://en.wikipedia.org/wiki/Mebibyte http://en.wikipedia.org/wiki/Gibibyte kilo-mega-giga-etc-should-be-powers-of-10-ly y'rs, -- alan kennedy -- email alan: http://xhaus.com/contact/alan

Re: connecting to Sybase/MsSQL from python

2005-02-13 Thread Alan Kennedy
poster, have you considered using ODBC? There are several python ODBC implementations. HTH, -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org/mailman/listinfo/python-list

Re: Second posting - Howto connect to MsSQL

2005-02-13 Thread Alan Kennedy
[John Fabiani] Since this is (sort of) my second request it must not be an easy solution. Are there others using Python to connect MsSQL? [jdonnell] http://sourceforge.net/projects/mysql-python Note that MsSQL != MySQL. -- alan kennedy -- email

Re: is there a safe marshaler?

2005-02-12 Thread Alan Kennedy
always dubious of OSS projects that don't even have any bugs reported, let alone fixed: no patches submitted, etc, etc. http://sourceforge.net/tracker/?group_id=82591 Though maybe I'm missing something obvious? -- alan kennedy -- email alan

Re: goto, cls, wait commands

2005-02-10 Thread Alan Kennedy
! :-) import time time.sleep(10.0) HTH, -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org/mailman/listinfo/python-list

Re: is there a safe marshaler?

2005-02-10 Thread Alan Kennedy
, -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org/mailman/listinfo/python-list

Re: is there a safe marshaler?

2005-02-10 Thread Alan Kennedy
[Alan Kennedy] What I find particularly intriguing is the JSON-RPC protocol, which looks like a nice lightweight alternative to XML-RPC. http://oss.metaparadigm.com/jsonrpc/ Also interesting is the browser embeddable JSON-RPC client written in javascript, for which you can see a demo here http

Re: is there a safe marshaler?

2005-02-10 Thread Alan Kennedy
[Irmen de Jong] I need a fast and safe (secure) marshaler. [Alan Kennedy] , would something JSON be suitable for your need? http://json.org [Irmen de Jong] Looks very interesting indeed, but in what way would this be more secure than say, pickle or marshal? A quick glance at some docs

Re: Python and version control

2005-02-10 Thread Alan Kennedy
tools. -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org/mailman/listinfo/python-list

Re: Python and version control

2005-02-10 Thread Alan Kennedy
?-) It seems that VSS provides viRTual source-safety... In my circles, VSS is most often referred to as Visual Source Unsafe. -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org/mailman/listinfo/python-list

Re: is there a safe marshaler?

2005-02-10 Thread Alan Kennedy
[Alan Kennedy] Well, the python JSON codec provided appears to use eval, which might make it *seem* unsecure. http://www.json-rpc.org/pyjsonrpc/index.xhtml But a more detailed examination of the code indicates, to this reader at least, that it can be made completely secure very easily

Re: multi threading in multi processor (computer)

2005-02-09 Thread Alan Kennedy
live. The objects can be located and sent messages. But (Py)Linda hides most of gory details of how objects actually get distributed, and the mechanics of actually connecting with those remote objects. http://www-users.cs.york.ac.uk/~aw/pylinda/ HTH, -- alan kennedy

Re: Suggesion for an undergrad final year project in Python

2005-02-02 Thread Alan Kennedy
? Best of luck, -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org/mailman/listinfo/python-list

Re: Textual markup languages (was Re: What YAML engine do you use?)

2005-01-28 Thread Alan Kennedy
[Alan Kennedy] However, I'm torn on whether to use ReST for textual content. On the one hand, it's looks pretty comprehensive and solidly implemented. But OTOH, I'm concerned about complexity: I don't want to commit to ReST if it's going to become a lot of hard work or highly-inefficient when I

Textual markup languages (was Re: What YAML engine do you use?)

2005-01-23 Thread Alan Kennedy
can't find such a markup language, then I might instead end up using a WYSIWYG editing component that gives the user a GUI and generates (x)html. htmlArea: http://www.htmlarea.com/ Editlet: http://www.editlet.com/ But I'd prefer a markup solution. TIA for any pointers. regards, -- alan kennedy

Re: Textual markup languages (was Re: What YAML engine do you use?)

2005-01-23 Thread Alan Kennedy
[Alan Kennedy] From what I've seen, pretty much every textual markup targetted for web content, e.g. wiki markup, seems to have grown/evolved organically, meaning that it is either underpowered or overpowered, full of special cases, doesn't have a meaningful object model, etc. [Fredrik Lundh

Re: Textual markup languages (was Re: What YAML engine do you use?)

2005-01-23 Thread Alan Kennedy
[Alan Kennedy] So, I'm hoping that the learned folks here might be able to give me some pointers to a markup language that has the following characteristics [Paul Rubin] I'm a bit biased but I've been using Texinfo for a long time and have been happy with it. It's reasonably lightweight

Re: Threading Problem

2004-12-22 Thread Alan Kennedy
threadfunction x=20 threadfunction x=30 regards, -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org/mailman/listinfo/python-list

Re: Boo who? (was Re: newbie question)

2004-12-21 Thread Alan Kennedy
is suitably impressed. Well, things are getting better then . It used to be that grandiose manifestos and suitably impressive plans were all you needed to make billions through a stock flotation ;-) 0.5 wink-ly y'rs, -- alan kennedy -- email

Re: Webapp servers security

2004-12-07 Thread Alan Kennedy
/ 5: http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html Did I miss anything? I am sure there are other approaches as well. HTH, -- alan kennedy -- email alan: http://xhaus.com/contact/alan -- http://mail.python.org/mailman