]> git.ipfire.org Git - thirdparty/tornado.git/log
thirdparty/tornado.git
9 years agoFix typos 1805/head
Andrew Rabert [Sat, 20 Aug 2016 15:25:21 +0000 (11:25 -0400)] 
Fix typos

9 years agoMerge pull request #1704 from thinkerou/master
Ben Darnell [Sat, 30 Apr 2016 15:50:24 +0000 (17:50 +0200)] 
Merge pull request #1704 from thinkerou/master

Add shebang for webspider.py

9 years agoAdd shebang for webspider.py 1704/head
thinkerou [Sat, 30 Apr 2016 00:28:10 +0000 (08:28 +0800)] 
Add shebang for webspider.py

9 years agoMerge pull request #1689 from harboecp/master
Ben Darnell [Sun, 24 Apr 2016 18:39:10 +0000 (14:39 -0400)] 
Merge pull request #1689 from harboecp/master

Avoid uncaught exception when _xsrf argument could not be decoded

9 years agoAdd type annotations to util.py
Ben Darnell [Sun, 24 Apr 2016 16:43:14 +0000 (12:43 -0400)] 
Add type annotations to util.py

Mypy now reports "15% imprecise", down from 25%.

9 years agoAdd .mypy_cache to gitignore
Ben Darnell [Sun, 24 Apr 2016 16:17:21 +0000 (12:17 -0400)] 
Add .mypy_cache to gitignore

9 years agoRemove some no-longer-necessary mypy workarounds
Ben Darnell [Sun, 24 Apr 2016 14:04:15 +0000 (10:04 -0400)] 
Remove some no-longer-necessary mypy workarounds

Made obsolete by python/mypy#1010

9 years agoMerge pull request #1699 from bdarnell/header-types
Ben Darnell [Sun, 24 Apr 2016 00:11:54 +0000 (20:11 -0400)] 
Merge pull request #1699 from bdarnell/header-types

Begin to fix type confusion in HTTPHeaders.

9 years agoBegin to fix type confusion in HTTPHeaders. 1699/head
Ben Darnell [Sat, 23 Apr 2016 23:34:23 +0000 (19:34 -0400)] 
Begin to fix type confusion in HTTPHeaders.

Values in HTTPHeaders were typed inconsistently: the class itself
assumed that values were of type str, while many callers assumed they
were bytes. Since headers are practically restricted to ascii, this
would work on python 2 but fail when certain combinations were
encountered on python 3 (notably the combination of GzipContentEncoding
with multiple preexisting Vary headers).

This commit adds a test and fixes the bug, and also adds enough type
annotations that mypy was able to report errors in the old incorrect
code.

Fixes #1670

9 years agoMerge pull request #1694 from zakkie/fix/doc-string
Ben Darnell [Wed, 20 Apr 2016 02:37:15 +0000 (22:37 -0400)] 
Merge pull request #1694 from zakkie/fix/doc-string

options.parse_config_file also enable tornado.log.LogFormatter

9 years agofix Formatter description in docstring 1694/head
Akihiro Yamazaki [Tue, 19 Apr 2016 05:41:58 +0000 (14:41 +0900)] 
fix Formatter description in docstring

9 years agoMore type:ignore comments for `mypy --py2`
Ben Darnell [Sun, 17 Apr 2016 17:01:41 +0000 (13:01 -0400)] 
More type:ignore comments for `mypy --py2`

9 years agoAvoid uncaught exception when _xsrf argument could not be decoded. 1689/head
harboecp [Tue, 12 Apr 2016 13:14:01 +0000 (15:14 +0200)] 
Avoid uncaught exception when _xsrf argument could not be decoded.
This is primarily to avoid "TypeError: a bytes-like object is required, not 'NoneType" in "check_xsrf_cookie"

9 years agoAdd type: ignore comments to make mypy happy
Ben Darnell [Mon, 11 Apr 2016 00:59:58 +0000 (20:59 -0400)] 
Add type: ignore comments to make mypy happy

9 years agoFix nearly all flake8 warnings except long lines.
Ben Darnell [Sun, 10 Apr 2016 19:53:45 +0000 (15:53 -0400)] 
Fix nearly all flake8 warnings except long lines.

9 years agoRemove unused import and obsolete comment
Ben Darnell [Sun, 10 Apr 2016 19:43:51 +0000 (15:43 -0400)] 
Remove unused import and obsolete comment

9 years agoRun autopep8
Ben Darnell [Sun, 10 Apr 2016 19:42:50 +0000 (15:42 -0400)] 
Run autopep8

9 years agoMass update of dependency versions
Ben Darnell [Sun, 10 Apr 2016 19:41:29 +0000 (15:41 -0400)] 
Mass update of dependency versions

9 years agoSwitch to mypy-friendly conditional imports throughout
Ben Darnell [Sun, 10 Apr 2016 19:27:33 +0000 (15:27 -0400)] 
Switch to mypy-friendly conditional imports throughout

9 years agoMerge pull request #1648 from zhicheng/master
Ben Darnell [Sat, 9 Apr 2016 20:50:48 +0000 (16:50 -0400)] 
Merge pull request #1648 from zhicheng/master

render() should raise an error when finish() already called

9 years agooptions: add __file__ to config file parsing
Ben Darnell [Sun, 3 Apr 2016 20:46:03 +0000 (16:46 -0400)] 
options: add __file__ to config file parsing

Fixes #1666

9 years agoClarify comment in ioloop
Ben Darnell [Fri, 1 Apr 2016 23:28:04 +0000 (19:28 -0400)] 
Clarify comment in ioloop

"update" could be read as meaning `dict.update`, so use "modify" instead. (the only actual modification is a removal in `remove_handler`)

9 years agoMerge pull request #1678 from JZQT/master
Ben Darnell [Thu, 31 Mar 2016 20:57:26 +0000 (16:57 -0400)] 
Merge pull request #1678 from JZQT/master

Modify an inappropriate comments for tornado.httpclient.AsyncHTTPClient

9 years agoModify an inappropriate comments for tornado.httpclient.AsyncHTTPClient 1678/head
JZQT [Thu, 31 Mar 2016 15:30:01 +0000 (23:30 +0800)] 
Modify an inappropriate comments for tornado.httpclient.AsyncHTTPClient

9 years agoMerge pull request #1677 from CaselIT/patch-1
Ben Darnell [Thu, 31 Mar 2016 12:27:40 +0000 (08:27 -0400)] 
Merge pull request #1677 from CaselIT/patch-1

Added missing % to format a string.

9 years agoAdded missing % to format a string. 1677/head
Federico Caselli [Thu, 31 Mar 2016 11:59:31 +0000 (13:59 +0200)] 
Added missing % to format a string.

9 years agoMerge pull request #1674 from splinterific/patch-1
Ben Darnell [Fri, 25 Mar 2016 16:13:36 +0000 (17:13 +0100)] 
Merge pull request #1674 from splinterific/patch-1

Updated Facebook permissions

9 years agoUpdated Facebook permissions 1674/head
Mark Preston [Fri, 25 Mar 2016 14:08:17 +0000 (14:08 +0000)] 
Updated Facebook permissions

9 years agoMerge pull request #1664 from bretsko/master
A. Jesse Jiryu Davis [Sun, 13 Mar 2016 17:11:05 +0000 (13:11 -0400)] 
Merge pull request #1664 from bretsko/master

fixed broken link (anchor)

9 years agofixed broken link (anchor) 1664/head
Oleksandr Bretsko [Sun, 13 Mar 2016 16:59:17 +0000 (11:59 -0500)] 
fixed broken link (anchor)

9 years agoMerge pull request #1662 from malcm/patch-1
Ben Darnell [Sun, 13 Mar 2016 03:38:52 +0000 (22:38 -0500)] 
Merge pull request #1662 from malcm/patch-1

Verifying Facebook Graph API Calls

9 years agofix missing comma 1662/head
Martin Malchow [Fri, 11 Mar 2016 13:29:51 +0000 (14:29 +0100)] 
fix missing comma

9 years agoVerifying Facebook Graph API Calls 1661/head
malcm [Fri, 11 Mar 2016 13:11:45 +0000 (14:11 +0100)] 
Verifying Facebook Graph API Calls

Verification with appsecret_proof can be used: See https://developers.facebook.com/docs/graph-api/securing-requests

9 years agoMerge branch 'tao12345666333-hotfix-doc-web-current-user'
A. Jesse Jiryu Davis [Fri, 4 Mar 2016 02:13:06 +0000 (21:13 -0500)] 
Merge branch 'tao12345666333-hotfix-doc-web-current-user'

* tao12345666333-hotfix-doc-web-current-user:
  fix tornado/web.py #L1075 current_user docstring example

9 years agofix tornado/web.py #L1075 current_user docstring example 1657/head
TaoBeier [Thu, 3 Mar 2016 14:39:36 +0000 (22:39 +0800)] 
fix tornado/web.py #L1075 current_user docstring example

The example has unexpected indent.

9 years agorender() should raise an error when finish() already called 1648/head
Zhicheng Wei [Mon, 22 Feb 2016 08:02:01 +0000 (16:02 +0800)] 
render() should raise an error when finish() already called

9 years agoMerge pull request #1647 from jonathansp/improving-coverage
Ben Darnell [Mon, 22 Feb 2016 03:13:15 +0000 (22:13 -0500)] 
Merge pull request #1647 from jonathansp/improving-coverage

Add a test for HTTPError.__str__ when it uses httputils.

9 years agoAdd a test for HTTPError.__str__ when it uses httputils. 1647/head
Jonathan Prates [Fri, 19 Feb 2016 18:52:53 +0000 (16:52 -0200)] 
Add a test for HTTPError.__str__ when it uses httputils.

9 years agoFix HTTP1Connection for responses without content-length
Ben Darnell [Mon, 15 Feb 2016 00:04:27 +0000 (19:04 -0500)] 
Fix HTTP1Connection for responses without content-length

Fixes #1598

9 years agoHandle non-ascii headers correctly in curl_httpclient.
Ben Darnell [Sun, 14 Feb 2016 19:00:00 +0000 (14:00 -0500)] 
Handle non-ascii headers correctly in curl_httpclient.

Fixes #1608

9 years agoDocument and test `{#!` syntax.
Ben Darnell [Sun, 14 Feb 2016 03:30:50 +0000 (22:30 -0500)] 
Document and test `{#!` syntax.

Fixes #1606

9 years agoUpdate docs for re_unescape
Ben Darnell [Sun, 14 Feb 2016 02:49:33 +0000 (21:49 -0500)] 
Update docs for re_unescape

9 years agoMerge pull request #1619 from afg984/urlspec-reverse-unescape
Ben Darnell [Sun, 14 Feb 2016 02:43:14 +0000 (21:43 -0500)] 
Merge pull request #1619 from afg984/urlspec-reverse-unescape

reverse_url should unescape regex string

9 years agoDefine `httpclient.HTTPError.__repr__`
Ben Darnell [Sun, 14 Feb 2016 02:15:34 +0000 (21:15 -0500)] 
Define `httpclient.HTTPError.__repr__`

This avoids stack overflow in the default `__repr__`.

Fixes #1624

9 years agoAdd defaults to template.ParseError arguments.
Ben Darnell [Sun, 14 Feb 2016 00:40:49 +0000 (19:40 -0500)] 
Add defaults to template.ParseError arguments.

Fixes #1631

9 years agoImprove grammar in docs
Ben Darnell [Sun, 14 Feb 2016 00:11:41 +0000 (19:11 -0500)] 
Improve grammar in docs

Fixes #1629

9 years agoImprove docs of URLSpec capturing groups
Ben Darnell [Sun, 14 Feb 2016 00:09:07 +0000 (19:09 -0500)] 
Improve docs of URLSpec capturing groups

Inspired by https://groups.google.com/d/msg/python-tornado/eQ3wyusHCio/4eVVANYxAAAJ

9 years agoAdd a test for path arguments in websockets.
Ben Darnell [Mon, 8 Feb 2016 01:30:14 +0000 (20:30 -0500)] 
Add a test for path arguments in websockets.

9 years agoAdded SVG to compressible mime types
Jan van Hellemond [Sat, 6 Feb 2016 14:13:04 +0000 (15:13 +0100)] 
Added SVG to compressible mime types

This adds the mime type `image/svg+xml` to the whitelist of compressible mime types for the tornado.web.GZipContentEncoding class.

SVG images are served with the mime type `image/svg+xml`, but are not compressed by the GZipContentEncoding transform. My first thought was to add all mime types ending with `+xml`, but that might need a bit more research.

9 years agoMove towards mypy-friendly patterns.
Ben Darnell [Sat, 16 Jan 2016 22:07:48 +0000 (17:07 -0500)] 
Move towards mypy-friendly patterns.

This change eliminates warnings in several of Tornado's lower-level
modules (although there's not much actual type checking yet).

9 years agore_unescape with a much simpler method; raise TypeError on invalid input 1619/head
afg [Tue, 5 Jan 2016 16:43:20 +0000 (00:43 +0800)] 
re_unescape with a much simpler method; raise TypeError on invalid input

9 years agoMerge pull request #1621 from bheesham/dnf
Ben Darnell [Thu, 31 Dec 2015 22:56:58 +0000 (17:56 -0500)] 
Merge pull request #1621 from bheesham/dnf

Update hints for popular operating systems.

9 years agoMerge pull request #1615 from ColorFuzzy/master
Ben Darnell [Thu, 31 Dec 2015 22:34:57 +0000 (17:34 -0500)] 
Merge pull request #1615 from ColorFuzzy/master

Differentiate HTTPError(599, "Timeout") raised by SimpleAsyncHTTPClient

9 years agoMerge pull request #1604 from liaoxiaorong/master
Ben Darnell [Thu, 31 Dec 2015 18:56:03 +0000 (13:56 -0500)] 
Merge pull request #1604 from liaoxiaorong/master

httpclient: raise ValueError if given HTTPRequest and kwargs

9 years agoUpdate hints for popular operating systems. 1621/head
Bheesham Persaud [Tue, 29 Dec 2015 22:15:35 +0000 (17:15 -0500)] 
Update hints for popular operating systems.

Fedora now uses `dnf`.

9 years agoreverse_url should unescape regex string
afg [Mon, 28 Dec 2015 06:06:56 +0000 (14:06 +0800)] 
reverse_url should unescape regex string

9 years agoraise ValueError if supply both a request object and **kwargs 1604/head
liaoxiaorong [Tue, 22 Dec 2015 04:18:38 +0000 (12:18 +0800)] 
raise ValueError if supply both a request object and **kwargs

9 years agoreplace BlockingResolver with Resolver and update timeout value because of resolve... 1615/head
Color Fuzzy [Tue, 22 Dec 2015 03:26:04 +0000 (11:26 +0800)] 
replace BlockingResolver with Resolver and update timeout value because of resolve never completes

9 years agorefractor test_connect_timeout with a never finished future
Color Fuzzy [Tue, 22 Dec 2015 01:44:47 +0000 (09:44 +0800)] 
refractor test_connect_timeout with a never finished future

9 years agoadd more detailed information to HTTP Timeout error raised by SimpleAsyncHTTPClient
Color Fuzzy [Sat, 19 Dec 2015 19:34:07 +0000 (03:34 +0800)] 
add more detailed information to HTTP Timeout error raised by SimpleAsyncHTTPClient

9 years agoMerge pull request #1599 from emehrkay/patch-1
Ben Darnell [Fri, 18 Dec 2015 05:04:03 +0000 (00:04 -0500)] 
Merge pull request #1599 from emehrkay/patch-1

Update options.py

9 years agomake kwargs always work in AsyncHTTPClient.fetch()
liaoxiaorong [Mon, 14 Dec 2015 11:15:03 +0000 (19:15 +0800)] 
make kwargs always work in AsyncHTTPClient.fetch()

9 years agoMerge pull request #1600 from dinever/master
A. Jesse Jiryu Davis [Tue, 8 Dec 2015 22:34:09 +0000 (17:34 -0500)] 
Merge pull request #1600 from dinever/master

Use super() to call super "__init__()"

9 years agoUse super() to call super "__init__()" 1600/head
dinever [Tue, 8 Dec 2015 05:37:43 +0000 (00:37 -0500)] 
Use super() to call super "__init__()"

9 years agoFix logging when running tests with twisted installed.
Ben Darnell [Tue, 8 Dec 2015 05:14:38 +0000 (00:14 -0500)] 
Fix logging when running tests with twisted installed.

9 years agoUpdate options.py 1599/head
Mark Henderson [Tue, 8 Dec 2015 04:27:47 +0000 (23:27 -0500)] 
Update options.py

Updated verbiage.

9 years agoUpdate options.py
Mark Henderson [Mon, 7 Dec 2015 21:55:37 +0000 (16:55 -0500)] 
Update options.py

9 years agoUpdate options.py
Mark Henderson [Mon, 7 Dec 2015 21:35:52 +0000 (16:35 -0500)] 
Update options.py

It is unclear in the documentation what tornado.options.parse_config_file does and how it works. I added a little text to the copy that should clarify its purpose.

9 years agoMerge pull request #1593 from Hardtack/patch-1
Ben Darnell [Tue, 24 Nov 2015 10:15:47 +0000 (11:15 +0100)] 
Merge pull request #1593 from Hardtack/patch-1

Use super() to call super "__init__()"

9 years agoUse super() to call super "__init__()" 1593/head
GunWoo Choi [Tue, 24 Nov 2015 05:12:07 +0000 (14:12 +0900)] 
Use super() to call super "__init__()"

Calling super method by Request.__init__(self) cannot handle MRO properly.

9 years agoMerge pull request #1591 from marrrvin/tcp-server-bind-reuse_port
Ben Darnell [Mon, 23 Nov 2015 10:53:44 +0000 (11:53 +0100)] 
Merge pull request #1591 from marrrvin/tcp-server-bind-reuse_port

Add reuse_port flag to TCPServer.bind method

9 years agoAdd reuse_port flag to TCPServer.bind method 1591/head
Sergey Orlov [Sun, 22 Nov 2015 11:35:04 +0000 (14:35 +0300)] 
Add reuse_port flag to TCPServer.bind method

9 years agoMerge pull request #1587 from hschachn/patch-1
Ben Darnell [Sat, 21 Nov 2015 16:33:02 +0000 (17:33 +0100)] 
Merge pull request #1587 from hschachn/patch-1

Missing hint in documentation

9 years agoMerge pull request #1586 from mivade/versionchanged_docfix
A. Jesse Jiryu Davis [Fri, 20 Nov 2015 14:04:29 +0000 (09:04 -0500)] 
Merge pull request #1586 from mivade/versionchanged_docfix

Correct version change in Lock docstring

9 years agoMissing hint in documentation 1587/head
Hermann Schachner [Fri, 20 Nov 2015 12:59:58 +0000 (13:59 +0100)] 
Missing hint in documentation

I did not realize that RequestHandler.initialize() is called before every single request.
For me, 'subclass initialization' suggest that this function were called only once for each subclass definition.
(Seems like I am not the only one: http://stackoverflow.com/questions/15199028/does-initialize-in-tornado-web-requesthandler-get-called-every-time-for-a-reques)

9 years agoCorrect version change in Lock docstring 1586/head
Michael V. DePalatis [Fri, 20 Nov 2015 11:20:25 +0000 (12:20 +0100)] 
Correct version change in Lock docstring

9 years agohttpclient: Document that HTTPError is not the only possible error
Ben Darnell [Sat, 14 Nov 2015 17:09:03 +0000 (12:09 -0500)] 
httpclient: Document that HTTPError is not the only possible error

9 years agoMerge pull request #1582 from minrk/free-list-on-fail
Ben Darnell [Thu, 12 Nov 2015 01:14:02 +0000 (20:14 -0500)] 
Merge pull request #1582 from minrk/free-list-on-fail

CurlAsyncHTTPClient: free_list starvation if setup fails

10 years agotest failure to set up curl http requests 1582/head
Min RK [Wed, 11 Nov 2015 13:32:00 +0000 (14:32 +0100)] 
test failure to set up curl http requests

ensure that it doesn't starve free curl client list

10 years agoCurlAsyncHTTPClient: free_list starvation if setup fails
Min RK [Wed, 11 Nov 2015 12:22:08 +0000 (13:22 +0100)] 
CurlAsyncHTTPClient: free_list starvation if setup fails

If `_curl_setup_request` fails,
the failing curl instance would be permanently excluded from free_list,
because `_finish` will never be called.
Once this has happens `max_clients` times,
no future request will ever complete.

10 years agoMerge pull request #1579 from felixonmars/monotonic
Ben Darnell [Sat, 7 Nov 2015 22:23:40 +0000 (17:23 -0500)] 
Merge pull request #1579 from felixonmars/monotonic

Add monotonic as an alternative to Monotime

10 years agoAdd monotonic as an alternative to Monotime 1579/head
Felix Yan [Sat, 7 Nov 2015 05:53:09 +0000 (13:53 +0800)] 
Add monotonic as an alternative to Monotime

10 years agoMerge pull request #1578 from bdarnell/streamline-travis
Ben Darnell [Sat, 7 Nov 2015 02:09:22 +0000 (21:09 -0500)] 
Merge pull request #1578 from bdarnell/streamline-travis

Streamline travis-ci build.

10 years agoStreamline travis-ci build. 1578/head
Ben Darnell [Sat, 7 Nov 2015 01:03:18 +0000 (20:03 -0500)] 
Streamline travis-ci build.

Instead of running a DEPS=false version of every test, just run one
test environment per version and use a separate virtualenv for basic
tests in the DEPS=false case.

10 years agoMerge pull request #1568 from chrisseto/patch-2
Ben Darnell [Sat, 7 Nov 2015 00:55:34 +0000 (19:55 -0500)] 
Merge pull request #1568 from chrisseto/patch-2

Cast start_line.code to an integer

10 years agoMerge pull request #1576 from ewang/master
Ben Darnell [Sat, 7 Nov 2015 00:55:18 +0000 (19:55 -0500)] 
Merge pull request #1576 from ewang/master

Override __setitem__ in tornado.options

10 years agoMerge pull request #1574 from macro/master
Ben Darnell [Sat, 7 Nov 2015 00:54:48 +0000 (19:54 -0500)] 
Merge pull request #1574 from macro/master

Fixes #1573: Use 127.0.0.1 when binding test server socket

10 years agoMerge pull request #1477 from bdarnell/drop-26
Ben Darnell [Sat, 7 Nov 2015 00:52:29 +0000 (19:52 -0500)] 
Merge pull request #1477 from bdarnell/drop-26

Drop support for Python 2.6 and 3.2

10 years agoRemove the u() function and a few uses the script missed. 1477/head
Ben Darnell [Sun, 25 Oct 2015 15:44:06 +0000 (11:44 -0400)] 
Remove the u() function and a few uses the script missed.

10 years agoConvert all uses of t.util.u() to real unicode literals.
Ben Darnell [Sun, 25 Oct 2015 15:25:38 +0000 (11:25 -0400)] 
Convert all uses of t.util.u() to real unicode literals.

10 years agoInvert fix_unicode_literal to switch back to real literals.
Ben Darnell [Sun, 25 Oct 2015 15:07:27 +0000 (11:07 -0400)] 
Invert fix_unicode_literal to switch back to real literals.

10 years agoDrop support for Python 3.2.
Ben Darnell [Sat, 24 Oct 2015 22:56:07 +0000 (18:56 -0400)] 
Drop support for Python 3.2.

Remove python 3.2 support from all test configurations and docs,
but do not actively remove code that exists for 3.2 compatibility.

10 years agoDrop Python 2.6 support.
Ben Darnell [Mon, 3 Aug 2015 14:06:31 +0000 (10:06 -0400)] 
Drop Python 2.6 support.

Remove python 2.6 support from all test configurations and docs,
but do not actively remove code that exists for 2.6 compatibility.

10 years agoBump master version number to 4.4.dev1
Ben Darnell [Fri, 6 Nov 2015 23:52:44 +0000 (18:52 -0500)] 
Bump master version number to 4.4.dev1

10 years agoSet version number to 4.3 branch4.3 v4.3.0
Ben Darnell [Fri, 6 Nov 2015 20:08:40 +0000 (15:08 -0500)] 
Set version number to 4.3

10 years agoRename next.rst to v4.3.0.rst
Ben Darnell [Fri, 6 Nov 2015 20:08:06 +0000 (15:08 -0500)] 
Rename next.rst to v4.3.0.rst

10 years agoLink to the users' guide from the release notes.
Ben Darnell [Fri, 6 Nov 2015 02:54:38 +0000 (21:54 -0500)] 
Link to the users' guide from the release notes.

10 years agoUse `127.0.0.1` when binding test server socket. 1574/head
Neil Chintomby [Thu, 29 Oct 2015 23:33:30 +0000 (16:33 -0700)] 
Use `127.0.0.1` when binding test server socket.

10 years agoUnset executable bit 1576/head
Eric Wang [Wed, 4 Nov 2015 04:56:39 +0000 (20:56 -0800)] 
Unset executable bit

10 years agoMake __getitem__ and __setitem__ mirror behavior of __getattr__ and __setattr__
Eric Wang [Mon, 2 Nov 2015 22:51:24 +0000 (14:51 -0800)] 
Make __getitem__ and __setitem__ mirror behavior of __getattr__ and __setattr__