functools.wraps does not play nice with doc tests?

2015-05-29 Thread Vlad
Hello, So, I know this topic comes up a lot, but I haven't been able to find any discussion on this particular twist on the topic. Perhaps someone has some insight. So, I have a function, which is decorated. In order for the doctest test finder to find the doc tests in the decorated function,

SQLite or files?

2009-09-17 Thread vlad
I used to do or use the database, SQLite in particular? What will be faster and more flexible in the long run? This application will be in the memory most of the time so I'm also concerned about memory usage. If anyone has any experience of comparison these two approaches please hel

sys.tracebacklimit

2011-07-13 Thread Vlad Didenko
n by zero Do I misunderstand the docs? Thank you! Vlad This e-mail and its attachments are intended only for the individual or entity to whom it is addressed and may contain information that is confidential, privileged, inside information, or subject to other restric

Getting and Setting Cookies

2006-07-18 Thread Vlad Dogaru
reference to getting the currently set cookies. For instance, I want to see if there is any 'user' value, to check whether the user has logged in. Please, enlighten me. Thanks in advance, Vlad -- http://mail.python.org/mailman/listinfo/python-list

Re: Getting and Setting Cookies

2006-07-19 Thread Vlad Dogaru
John J. Lee wrote: > "Vlad Dogaru" <[EMAIL PROTECTED]> writes: > > > I am trying to use cookies and Python to create a simple login example. > > But I am very disoriented at the existence of two cookie libraries, > > namely Cookie and cookielib.

Re: Getting and Setting Cookies

2006-07-20 Thread Vlad Dogaru
John J. Lee wrote: > "Vlad Dogaru" <[EMAIL PROTECTED]> writes: > [...] > > I am trying to write a simple login script. I understand (or rather I > > think I understand) how to set a cookie with the Cookie module. My > > problem is getting the cookies that

Session implementation for Python

2006-08-09 Thread Vlad Dogaru
mod_python or Django -- I want to learn CGI first). Thanks in advance, Vlad -- There is nothing more dangerous than an idea when it is the only one you have. -- http://mail.python.org/mailman/listinfo/python-list

Re: Session implementation for Python

2006-08-10 Thread Vlad Dogaru
Bruno Desthuilliers wrote: > Vlad Dogaru wrote: > > Hello, > > > > is there any PHP-like implementation for sessions in Python? I fear > > that writing my own would be seriously insecure, besides I could > > actually learn a lot by inspecting the code. > &g

BaseHTTPServer - getting POST parameters

2006-11-14 Thread Vlad Dogaru
advance, Vlad -- http://mail.python.org/mailman/listinfo/python-list

Using Python as a web scripting language

2006-06-22 Thread Vlad Dogaru
pops up regularly, so just give me a starting point and I'll work my way from there (hopefully). Thanks in advance,Vlad Dogaru--If I have somehow managed to break some sort of rules, either etiquette or English, by all means educate me. -- http://mail.python.org/mailman/listinfo/python-list

Python CGI Scripting Documentation

2006-07-02 Thread Vlad Dogaru
, I'll take any and all suggestions. However, please suggest books or articles that are up-to-date on Python programming; I'd hate to see that I'm studying obsolete texts or the like. Thanks in advance, Vlad -- If I make any mistake, be it regarding English or Usenet, do point it o

Python CGI Scripting Documentation

2006-07-02 Thread Vlad Dogaru
, I'll take any and all suggestions. However, please suggest books or articles that are up-to-date on Python programming; I'd hate to see that I'm studying obsolete texts or the like. Thanks in advance, Vlad -- If I make any mistake, be it regarding English or Usenet, do point it o

Re: Python CGI Scripting Documentation

2006-07-03 Thread Vlad Dogaru
Alex Martelli wrote: Wow, I'm new in the field, but even I know your name. It's truly inspiring to be aswered to by you. Thank you, all of you, for your suggestions. I will try to look into the matter using the starting points you've given me, as well as read more about Django

Control-C alternative in Windows

2006-12-17 Thread Vlad Dogaru
Control-C. I've only been able to stop it with Ctrl-Break, which does not send KeyboardInterrupt. This means no saving to the file and effectively a useless script. Any ideas as to how I might make this work in Windows? Thanks in advance, Vlad -- http://mail.python.org/mailman/listinfo/python-list

Re: Convert String to list of chars

2007-01-27 Thread Vlad Dogaru
27;,'l','o'] > > > I have been searching but I can't find my answers > list("hello") Wow, I've been using [c for c in 'hello'] for as long as I can remember needing it. Thanks! Vlad -- http://mail.python.org/mailman/listinfo/python-list

Graphical Engine

2007-11-09 Thread Vlad Dogaru
x27;m probably missing something. Vlad -- Lisp is to emacs what sex is to STDs. -- http://mail.python.org/mailman/listinfo/python-list

Re: Graphical Engine

2007-11-09 Thread Vlad Dogaru
Karlo Lozovina wrote: > Vlad Dogaru wrote: > >> A few friends and myself were thinking of writing a graphical engine >> based on OpenGL. Does Python have the required speed for that task? Are >> there any examples out there of open-source engines which we can look >&g