e important for users, even
if they are not on the python-dev list.
--
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
+1 (although I'm indifferent about into which release it goes)
--
Deron Meranda
ith mod_python not solving this one
(although the mod_python documentation should
clearly emphasize these pickling limitiations).
--
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
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
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
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
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
reponse somehow?
Also, my vote is that None should result in no output.
--
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
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
+1
Release what's fixed already, and then keep going afterwards.
But can somebody address MODPYTHON-53 please. (updating modpython.org website).
--
Deron Meranda
the
work yourself (but on the other hand you get to use Python rather than
C).
--
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
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
sound quite interesting (and potentially useful). I need to go read
up on them some more.
--
Deron Meranda
[
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
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",
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
[ 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
[ 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_
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
[ 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
[ 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
[
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
: 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
[
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_
[
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
29 matches
Mail list logo