Julien Phalip added the comment:
Thanks for the review and new patch, David! Your approach makes sense and the
patch looks good to me.
However, regarding backwards-compatibility, is that really a concern?
Currently the deserialization process systematically 1) Adds the 'httponly' and
'secure
Julien Phalip added the comment:
Thanks for the clarification, that makes perfect sense!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16611
Julien Phalip added the comment:
Updated the patch to use a tuple instead of a list for the cookie flags.
--
Added file: http://bugs.python.org/file31307/cookies-httponly-secure-3.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
Julien Phalip added the comment:
I'm attaching a suggested patch to fix the issues relating to
serializing/deserializing the httponly and secure flags. The main idea is that
for a flag to be active, it needs to both be set and have the True value.
I think this is a much more correct and saner
Julien Phalip added the comment:
Thank you for the feedback. I've updated the patch to compile the regular
expression at load time.
--
Added file: http://bugs.python.org/file30969/cookies-httponly-secure-2.diff
___
Python tracker rep
On Saturday, June 8, 2013 11:22:16 PM UTC-7, Carlos Nepomuceno wrote:
Just realized that you've asked for installed packages. Perhaps the following
will do the trick. I don't know why the 'lib-tk' isn't included. Why not?
toplevel_packages = ['%s\\%s'%(ml.path,name)for ml,name,ispkg in
Hi,
I'm trying to write a function that programmatically obtains and returns the
exact location of all first-level modules for all installed packages.
For example, if the packages named 'django' and 'django-debug-toolbar' are
installed, I'd like this function to return something like:
Hi,
I've noticed that the encoding of non-ascii filenames can be inconsistent
between platforms when using the built-in open() function to create files.
For example, on a Ubuntu 10.04.4 LTS box, the character u'ş' (u'\u015f') gets
encoded as u'ş' (u's\u0327'). Note how the two characters look
Hi Michael,
Thanks again for your reply. I've tried using SMTP with TLS. And again it works
with the VPN turned on but it still won't work with the VPN turned off. For
some reason I don't understand, it simply won't instantiate the
SMTP/SMTP_SSL/IMAP4/IMAP4_SSL objects at all and will hang