Re: [DRAFT] ANNOUNCE: Mod_python 3.2.7

2006-02-09 Thread Deron Meranda
e important for users, even if they are not on the python-dev list. -- Deron Meranda

Re: How mod_python treats apache.OK/apache.DECLINED response from handlers.

2006-02-17 Thread Deron Meranda
_FIRST, _MIDDLE, _LAST, or _REALLY_LAST). Perhaps mod_python can actually add multiple hooks to itself in for each phase (at each order position), and then have a way for the python-handlers to optionally specify a position. If mod_python had no handlers for a particilar hook position it would just by default return a decline. -- Deron Meranda

Re: Vote on whether to integrate server side include (SSI) support.

2006-03-10 Thread Deron Meranda
+1 (although I'm indifferent about into which release it goes) -- Deron Meranda

Re: Pickling/unpickling top-level functions, classes etc.

2006-03-28 Thread Deron Meranda
ith mod_python not solving this one (although the mod_python documentation should clearly emphasize these pickling limitiations). -- Deron Meranda

Re: mysqldb error

2006-04-12 Thread Deron Meranda
, including your password! In web scripts, you should always read any passwords, etc., from some other place such as a file. pw = open('.htdbpass','r').readline().strip() conn = MySQLdb.connect( host = '127.0.0.1', user = 'pismikrop', passwd = pw, db = 'db') -- Deron Meranda

Re: mysqldb error

2006-04-12 Thread Deron Meranda
10.0.0.6 mean anything? Is it an address of one of your interfaces? Use "/sbin/ip addr list" to find out. Do you have SELinux enabled? Run /usr/sbin/sestatus Do you have any iptables firewall rules that may be blocking port 3306? -- Deron Meranda

Re: Documentation for PythonOption

2006-04-24 Thread Deron Meranda
initely be mentioned that the entire mod_python.* names are reserved, and that applications or frameworks are encouraged to implement their own prefix/namespaces for their own options. -- Deron Meranda

Re: For Consideration: MySQLSession support

2006-08-09 Thread Deron Meranda
self.commit_transaction() else: self.rollback_transaction() return Supposedly in a future version of python you'll be able to collapse the nested (try: try: except: finally:) into a single try block. -- Deron Meranda

Re: [Mod_python Wiki] Update of "LocalSpellingWords" by MartinStoufer

2006-12-04 Thread Deron Meranda
can clean up the mistaken entry later, unless somebody beats me to it (it's just a wiki page, so it can be edited). -- Deron Meranda

Re: Server side includes and Python.

2006-01-22 Thread Deron Meranda
reponse somehow? Also, my vote is that None should result in no output. -- Deron Meranda

Re: 3.2.6 test period - how long do we wait?

2006-01-31 Thread Deron Meranda
what that means and the conditions under which it's safe. We don't want to accidentally pull the wrong field and have endianness problems. BTW, I want to get this one fixed before release rather than reverting to the pre-MODPYTHON-64 code...or we'll break under IPv6 again. -- Deron Meranda

Re: 3.2.6 test period - how long do we wait?

2006-01-31 Thread Deron Meranda
On 1/31/06, Deron Meranda <[EMAIL PROTECTED]> wrote: > On 1/31/06, Jim Gallacher <[EMAIL PROTECTED]> wrote: > > apache 2.2. I scanned mod_python for deprecated or removed apr calls and > > can find only one (apr_sockaddr_port_get), plus the missing > > APR

Re: 3.2.6 test period - how long do we wait?

2006-02-01 Thread Deron Meranda
+1 Release what's fixed already, and then keep going afterwards. But can somebody address MODPYTHON-53 please. (updating modpython.org website). -- Deron Meranda

Re: mod_python as a mod_dav backend

2006-02-01 Thread Deron Meranda
the work yourself (but on the other hand you get to use Python rather than C). -- Deron Meranda

Enhancements for better content negotiation

2006-02-02 Thread Deron Meranda
to all the complex rules in the RFC. I have some preliminary questions: * Is this something that seems useful to others? * Is mod_python util a preferable place to consider putting these, or maybe this should perhaps go to something larger like WSGI or some other Web-SIG project? -- Deron Meranda

Re: bash bug (was Re: mod_python 3.2.7 available for testing)

2006-02-06 Thread Deron Meranda
oblem with a sed treating " as a special character, you can always use character classes: MP_VERSION=`echo $MP_VERSION | sed 's/["]//g' ` I generally find that avoid backslashes at all cost improves portability of scripts across broken shells/seds. -- Deron Meranda

Re: Hooking handler with ap_hook_map_to_storage().

2006-02-07 Thread Deron Meranda
sound quite interesting (and potentially useful). I need to go read up on them some more. -- Deron Meranda

[jira] Commented: (MODPYTHON-217) Python 2.3 and simplified GIL state API still causes problems.

2007-08-29 Thread Deron Meranda (JIRA)
[ https://issues.apache.org/jira/browse/MODPYTHON-217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12523668 ] Deron Meranda commented on MODPYTHON-217: - Another real-world case where this comes up is with the Xapian

[jira] Created: (MODPYTHON-62) local_ip and local_host in connection object returns remote_ip and remote_host instead

2005-07-13 Thread Deron Meranda (JIRA)
Type: Bug Components: core Versions: 3.1.4 Reporter: Deron Meranda It appears as if the source file src/connobject.c is incorrect. connobject.c:261:{"local_ip", T_STRING,OFF(remote_ip), RO}, connobject.c:262:{"local_host",

[jira] Created: (MODPYTHON-64) local_addr and remote_addr not using APR to make IP address strings, breaks with IPv6

2005-07-14 Thread Deron Meranda (JIRA)
Type: Bug Versions: 3.1.4 Environment: Apache built with IPv6 support. Reporter: Deron Meranda In the connection object the local_addr and remote_addr members are not correctly built. This has the result that under IPv6-enabled Apache the IP address strings are always zero-length

[jira] Updated: (MODPYTHON-64) local_addr and remote_addr not using APR to make IP address strings, breaks with IPv6

2005-07-14 Thread Deron Meranda (JIRA)
[ http://issues.apache.org/jira/browse/MODPYTHON-64?page=all ] Deron Meranda updated MODPYTHON-64: --- Component: core changed issue to core > local_addr and remote_addr not using APR to make IP address strings, breaks > wit

[jira] Updated: (MODPYTHON-94) Calling APR optional functions provided by mod_ssl

2005-11-28 Thread Deron Meranda (JIRA)
[ http://issues.apache.org/jira/browse/MODPYTHON-94?page=all ] Deron Meranda updated MODPYTHON-94: --- Component: core change to core component > Calling APR optional functions provided by mod_

[jira] Created: (MODPYTHON-94) Calling APR optional functions provided by mod_ssl

2005-11-28 Thread Deron Meranda (JIRA)
Environment: Apache 2 Reporter: Deron Meranda mod_python is not able to invoke APR Optional Functions. There are some cases however where this could be of great benifit. For example, consider writing an authentication or authorization handler which needs to determine SSL properties (even if to just

[jira] Updated: (MODPYTHON-94) Calling APR optional functions provided by mod_ssl

2005-11-28 Thread Deron Meranda (JIRA)
[ http://issues.apache.org/jira/browse/MODPYTHON-94?page=all ] Deron Meranda updated MODPYTHON-94: --- Attachment: requestobject.c.patch This is a suggested patch against 3.2.5b which adds the ability to access a couple mod_ssl optional functions. I

[jira] Updated: (MODPYTHON-94) Calling APR optional functions provided by mod_ssl

2005-11-28 Thread Deron Meranda (JIRA)
[ http://issues.apache.org/jira/browse/MODPYTHON-94?page=all ] Deron Meranda updated MODPYTHON-94: --- Attachment: modpython4.tex.patch This is a documentation patch which goes with the previously attached code patch. Made against 3.2.5b. > Calling

[jira] Commented: (MODPYTHON-94) Calling APR optional functions provided by mod_ssl

2005-11-29 Thread Deron Meranda (JIRA)
[ http://issues.apache.org/jira/browse/MODPYTHON-94?page=comments#action_12358844 ] Deron Meranda commented on MODPYTHON-94: Graham said: "Can Apache be built without HTTPS support? Does this patch still work and does it gracefully fail or

[jira] Created: (MODPYTHON-108) Let Cookie support new HttpOnly property to prevent cross-site cookie stealing

2006-01-05 Thread Deron Meranda (JIRA)
: Improvement Components: core Versions: 3.2, 3.1.4, 3.3 Reporter: Deron Meranda Priority: Minor The Cookie.Cookie class does not allow the new "httponly" cookie property to be set. It needs to be added to the valid slots on the cookie metaclass. Also note that like t

[jira] Commented: (MODPYTHON-94) Calling APR optional functions provided by mod_ssl

2006-01-06 Thread Deron Meranda (JIRA)
[ http://issues.apache.org/jira/browse/MODPYTHON-94?page=comments#action_12362005 ] Deron Meranda commented on MODPYTHON-94: Keeping the same mod_ssl name for this function is fine with me. > Calling APR optional functions provided by mod_

[jira] Commented: (MODPYTHON-78) No support for Apache 2.2 yet

2006-01-31 Thread Deron Meranda (JIRA)
[ http://issues.apache.org/jira/browse/MODPYTHON-78?page=comments#action_12364671 ] Deron Meranda commented on MODPYTHON-78: One small incompatibility is the call to the APR function apr_sockaddr_port_get(), as introduced in the fix for bug