[Python-Dev] Summary of Python tracker Issues

2013-03-08 Thread Python tracker

ACTIVITY SUMMARY (2013-03-01 - 2013-03-08)
Python tracker at http://bugs.python.org/

To view or respond to any of the issues listed below, click on the issue.
Do NOT respond to this message.

Issues counts and deltas:
  open3895 (+18)
  closed 25265 (+38)
  total  29160 (+56)

Open issues with patches: 1703 


Issues opened (42)
==

#10886: Unhelpful backtrace for multiprocessing.Queue
http://bugs.python.org/issue10886  reopened by neologix

#14489: repr() function link on the built-in function documentation is
http://bugs.python.org/issue14489  reopened by r.david.murray

#17330: Stop checking for directory cache invalidation in importlib
http://bugs.python.org/issue17330  opened by erik.bray

#17332: typo in json docs - "convered" should be "converted"
http://bugs.python.org/issue17332  opened by ernest

#17335: FieldStorageClass is messed up
http://bugs.python.org/issue17335  opened by Neal.Norwitz

#17337: input() and raw_input() do not work correctly with colored pro
http://bugs.python.org/issue17337  opened by mic_e

#17338: Add length_hint parameter to list, dict,set constructors to a
http://bugs.python.org/issue17338  opened by alex

#17339: bytes() TypeError message is misleadingly narrow
http://bugs.python.org/issue17339  opened by terry.reedy

#17340: Handle malformed cookie
http://bugs.python.org/issue17340  opened by keakon

#17341: Poor error message when compiling invalid regex
http://bugs.python.org/issue17341  opened by roysmith

#17342: datetime.strptime does not implement %z
http://bugs.python.org/issue17342  opened by zwn

#17343: Add a version of str.split which returns an iterator
http://bugs.python.org/issue17343  opened by alex

#17344: checking size of size_t... configure: error:
http://bugs.python.org/issue17344  opened by shilpi

#17345: Portable and extended type specifiers for array module
http://bugs.python.org/issue17345  opened by nnemkin

#17348: Unicode - encoding seems to be lost for inputs of unicode char
http://bugs.python.org/issue17348  opened by Pradyun.Gedam

#17349: wsgiref.simple_server.demo_app is not PEP- compatible
http://bugs.python.org/issue17349  opened by kedder

#17350: Use STAF call python script will case 1124861 issue in 2.7.2 v
http://bugs.python.org/issue17350  opened by gwtking

#17351: Fixed python3 descriptor documentation example + removal of ex
http://bugs.python.org/issue17351  opened by pelson

#17352: Be clear that __prepare__ must be declared as a class method
http://bugs.python.org/issue17352  opened by ncoghlan

#17353: Plistlib outputs empty data tags when deeply nested
http://bugs.python.org/issue17353  opened by jfortier

#17354: TypeError when running setup.py upload --show-response
http://bugs.python.org/issue17354  opened by mitya57

#17357: Add missing verbosity message to importlib
http://bugs.python.org/issue17357  opened by brett.cannon

#17358: imp.load_module() leads to the improper caching of the 'file' 
http://bugs.python.org/issue17358  opened by brett.cannon

#17359: python modules.zip is not documented
http://bugs.python.org/issue17359  opened by lemburg

#17360: Regular expressions on mmap'd files can overflow
http://bugs.python.org/issue17360  opened by fatlotus

#17362: enable-new-dtags only for GNU ELF linker
http://bugs.python.org/issue17362  opened by rpetrov

#17365: Remove Python 2 code from test_print
http://bugs.python.org/issue17365  opened by berker.peksag

#17368: Python version of JSON decoder does not work with object_pairs
http://bugs.python.org/issue17368  opened by Kuukunen

#17369: Message.get_filename produces exception if the RFC2231 encodin
http://bugs.python.org/issue17369  opened by r.david.murray

#17370: PEP should note if it has been superseded
http://bugs.python.org/issue17370  opened by brandon-rhodes

#17371: Mismatch between Python 3.3 build environment and distutils co
http://bugs.python.org/issue17371  opened by mayaa

#17372: provide pretty printer for xml.etree.ElementTree
http://bugs.python.org/issue17372  opened by eric.snow

#17373: Add inspect.Signature.from_callable()
http://bugs.python.org/issue17373  opened by eric.snow

#17374: Remove restriction against Semaphore having a negative value
http://bugs.python.org/issue17374  opened by rhettinger

#17375: Add docstrings to methods in the threading module
http://bugs.python.org/issue17375  opened by rhettinger

#17376: TimedRotatingFileHandler documentation regarding 'Week day' la
http://bugs.python.org/issue17376  opened by tshepang

#17380: initproc return value is unclear
http://bugs.python.org/issue17380  opened by zbysz

#17381: IGNORECASE breaks unicode literal range matching
http://bugs.python.org/issue17381  opened by acdha

#17382: debugging with idle: current line not highlighted
http://bugs.python.org/issue17382  opened by dzabel

#17383: Possibly ambiguous phrasing in tutorial/modules#more-on-module
http://bugs.python.org/issue17383  opened by Piotr.Kuchta

#17384: test_logging failures on W

Re: [Python-Dev] FileCookieJars

2013-03-08 Thread Steven D'Aprano

On 02/03/13 02:43, Demian Brecht wrote:

Cross-posting from python-ideas due to no response there. Perhaps it's
due to a general lack of usage/caring for cookiejar, but figured
/someone/'s got to have an opinion about my proposal ;)


Apparently not :-(



TL;DR: CookieJar > FileCookieJar > *CookieJar are architecturally
broken and this is an attempt to rectify that (and fix a couple bugs
along the way).

[...]

This will obviously break backwards compatibility, so I'm not entirely
sure what best practice is around that: leave well enough alone even
though it might not make sense, keep the old implementations around
and deprecate them to be eventually replaced by the processors, or
other ideas?


I don't have an opinion on cookiejars per se, but I think that the first
thing to do is get an idea of just how major a backward-compatibility
breakage this would be. If you change the cookiejar architecture, then
run the Python test suite, what happens? The number of failures will give
you an idea of how bad it will be.

If there are no failures, you could consider just making the change. You
probably should make an attempt to find out what third party apps use the
cookiejars and see what they do.

If there are failures, then you need to add a second cookiejar
implementation, and deprecate the old one.

Oh, and please don't call the new cookier jar anything like "NewCookieJar".
Because in a few years, it won't be.

Actually, I lied, I do have an opinion on cookiejars. I agree with Terry
that it is a bit weird to have an ABC inherit from a concrete class. Not
just weird, but a violation of the Liskov Substitution Principle that
an instance of a subclass should be usable anywhere an instance of the
parent class is. If you can't even instantiate the subclass, that's a
pretty major violation for no apparent benefit :-)


--
Steven
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com