This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author babo
Recipients babo, georg.brandl
Date 2009-01-25.19:45:54
SpamBayes Score 0.00012261356
Marked as misclassified No
Message-id <1232912756.19.0.0105064644084.issue5059@psf.upfronthosting.co.za>
In-reply-to
Content
Example code at the bottom of cookielib documentation has an error:
policy = DefaultCookiePolicy(
    rfc2965=True, strict_ns_domain=Policy.DomainStrict,
    blocked_domains=["ads.net", ".ads.net"])

The corrected version is
policy = DefaultCookiePolicy(
    rfc2965=True, strict_ns_domain= DefaultCookiePolicy.DomainStrict,
    blocked_domains=["ads.net", ".ads.net"])
History
Date User Action Args
2009-01-25 19:45:56babosetrecipients: + babo, georg.brandl
2009-01-25 19:45:56babosetmessageid: <1232912756.19.0.0105064644084.issue5059@psf.upfronthosting.co.za>
2009-01-25 19:45:55babolinkissue5059 messages
2009-01-25 19:45:54babocreate