Commit Graph

53 Commits

Author SHA1 Message Date
Johannes-Maria Frank 02d16ac55c Fix for failing assertion on native modules Issue #1354 (#1370) 2019-07-23 13:02:08 +02:00
mwchase 925fc89447 Get typing.NewType working (#1344)
Squashed from the following commits:

* Update pep0484.py

(I don't think I want to know why the cursor jumped to the beginning of the line with every keystroke in GitHub's online editor. Change was entered backwards.)

* Added test for inline use of NewType. Currently assuming that wrapped instances should get the underlying type.

* Altered tests per https://github.com/davidhalter/jedi/issues/1015#issuecomment-356131566

* Add NewTypeFunction to typing evaluation module

* Update AUTHORS.txt

* Add a new test, and a speculative justification

For now, address only the second comment

* Copy code from third comment on the PR

From inspection, I *believe* I understand what this code is doing, and as such, I believe this should cause the new test I added in response to the second comment to fail, because that test is based on faulty assumptions.

* Explicitly discard the key from the tuple

* Update pep0484_typing.py

* Test for the wrapped type, not the wrapper "type"

* Change the return value from calling a NewType
2019-07-01 22:42:59 -07:00
Dima Gerasimov ceb5509170 Include function return type annotation in docstring if it is present 2018-04-23 21:20:21 +02:00
Dave Halter 49235f8910 Add micbou to AUTHORS 2018-03-24 23:25:49 +01:00
T.Rzepka 29be40ae3f Add author's name to AUTHORS.txt 2018-02-17 13:52:59 +01:00
Dave Halter 9177c120f4 Merge the implicit namespace improvement (pkgutils.itermodules modification)
There are still a few issues that need to be addressed.
2018-02-15 20:08:58 +01:00
Anton Zub 18819292e6 Add author's name to AUTHORS.txt 2018-02-03 11:55:53 +01:00
Maxim Novikov 78cbad0d08 Fix implicit namespace autocompletion. Resolves: #959 2018-01-02 18:17:48 +01:00
Robin Roth 88cf592c95 Make goto work with await
Created together with @langsamer and @davidhalter
2017-10-28 14:10:05 +02:00
Élie Gouzien 405a339719 Add author Élie Gouzien. 2017-05-06 19:40:36 +02:00
Simon Ruggier 338ea42ed9 docstrings: fix "Sphinx param with type" pattern (#807)
* docstrings: fix "Sphinx param with type" pattern

Previously, the pattern only matched if the parameter description
followed on the same line, like so:

    :param type foo: A param named foo.

However, it's also valid for the parameter description to be wrapped
onto the next line, like so:

    :param type foo:
        A param named foo.

This change updates the pattern to match the second example as well, and
adds a test to verify this behaviour.

Fixes #806.

* Add Simon Ruggier to the AUTHORS file
2017-04-27 20:05:48 +02:00
daniel 5513f72987 added support for implicit ns packages and added tests 2017-02-23 23:53:14 +01:00
Mathias Rav c6cd18802b Add myself as contributor 2017-02-04 18:05:15 +01:00
bstaint b31b456dd4 Fixed Windows slashes problem. 2016-08-01 01:13:39 +08:00
Dave Halter 320f0dc920 Added @scribu as an author. 2016-07-30 02:45:04 +02:00
Dave Halter 23ff395754 Merge dev and the away branch. 2016-06-07 08:45:26 +02:00
Dmitry Sadovnychyi 1404b7bcea Update AUTHORS.txt 2016-06-04 17:49:28 +08:00
Dave Halter e34c0b336c Add an acknowledgement section in the README. Thank @tkf, @dbrgn and @gvanrossum for their contributions. 2015-12-26 03:32:50 +01:00
Dave Halter 23f40d8998 Merge branch 'linter' of https://github.com/reinhrst/jedi into pep484
Conflicts:
	AUTHORS.txt
2015-12-17 23:46:20 +01:00
Dave Halter 7141158484 Merge master into linter. 2015-12-15 12:28:38 +01:00
Claude 0f08dc6ac6 Addinf myself to AUTHORS 2015-12-14 00:03:07 +01:00
Kevin Kelley 2fc962bc3a Add myself to AUTHORS.txt. 2015-10-24 23:34:46 +00:00
Sid Shanker 6237214bff Added @squidarth to AUTHORS.txt. 2015-05-04 09:06:14 -07:00
farhad 32081bd156 Merge branch 'dev' into unicode_tokenize_fix2
Conflicts:
	AUTHORS.txt
2015-03-06 12:14:38 +04:00
farhad f9c104348e added myself to AUTHORS.txt 2015-03-06 11:55:16 +04:00
Ian Lee 5625e1cb62 Add self to authors list 2015-02-20 17:17:34 -08:00
Dave Halter 8775d90173 Merge the master branch into the dev branch. 2015-02-09 14:41:41 +01:00
Savor d'Isavano c3c07c4ec2 Fixed issue #526. 2015-01-16 18:45:34 +08:00
Phillip Berndt 3189ba7662 Add type check to jedi.Interpreter() namespace argument and remove default value 2014-08-19 09:41:17 +02:00
Dave Halter a6855029d2 added a few EuroPython sprint guys to AUTHORS.txt 2014-07-30 09:15:17 +02:00
Dave Halter a01e4c6b37 Merge remote-tracking branch 'origin/master' into dev 2014-07-23 00:47:30 +02:00
Dave Halter 3264a1815e Merge pull request #407 from hattya/dev
fix virtualenv support
2014-07-02 21:16:51 +04:30
Syohei YOSHIDA 605ab9c6f5 Fix package_data '*.pym' paths 2014-06-19 19:10:58 +09:00
Mathias Fussenegger bf43fcf1c6 detect buildout and add buildout eggs to sys.path 2014-06-18 18:30:11 +02:00
Fredrik Bergroth d3ac1e902e Always cast pr to er in _follow_statements_imports 2014-06-11 23:49:36 +02:00
Akinori Hattori 1ecb173b33 update AUTHORS 2014-05-08 18:45:51 +09:00
Danilo Bargen db9ee1f5a0 Updated AUTHORS 2014-05-06 07:39:31 +02:00
Jorgen Schaefer 9ed0dc4861 Always load source files in binary mode.
Source files can be in any coding system, provided Python can
read a coding: line at the beginning of the file. So source files
should be loaded in binary format and decoded according to that
line, not assumed to be in the default coding system.

Fixes #398.
2014-04-24 11:10:59 +02:00
David Halter 3a8692e730 merge authors.txt 2013-12-16 20:40:24 +01:00
ColinDuquesnoy ebbe0eeb18 Add name to authors 2013-10-31 17:18:59 +01:00
Steven Silvester 9cac894273 Disabling gc while loading pickles for a 20% speed boost on larger libs 2013-10-06 06:26:36 -05:00
David Halter 2b6cc01d39 forgot @hattya and @srusskih in the contributors list 2013-07-29 14:05:54 +02:00
David Halter 16e96afcc0 add emails to authors/contributors 2013-07-28 23:22:38 +02:00
David Halter cdba4ef3e1 fixed multi level import issue, includes parts of a patch by Lubos Trilety <ltrilety@redhat.com> 2013-07-28 23:15:45 +02:00
Aaron Meurer 9c4c36ce6a Add myself to AUTHORS 2013-07-26 09:34:33 -05:00
David Halter a6e621e39c add @lvh, @Astrac, @ganwell, @floppym to authors 2013-07-20 10:19:57 +02:00
David Halter 8be6b64bc7 add @tkf to main authors, concrats man - you earned it - more than enough. 2013-03-15 21:01:44 +04:30
Danilo Bargen bfa1aaf183 Added @andviro to AUTHORS.txt 2013-02-16 14:18:17 +01:00
David Halter 806426898d add @jjay to authors 2012-12-30 14:10:41 +01:00
David Halter ff827b4335 authors: gwrtheyrn changed his username to dbrgn on github 2012-11-30 14:45:47 +01:00