Elizaveta Shashkova
40b67ffe91
Add Cython speedup for python 3.6 on Windows (PY-21513 )
2016-12-05 11:32:31 +03:00
Semyon Proshev
e3f371128b
PY-21692 Fixed: Return type of sum(List[Decimal]) is 'Any' (should be 'Decimal')
...
Add skeletons for builtin sum function
2016-11-29 20:32:25 +03:00
Semyon Proshev
60edb30580
Update skeletons for max function
2016-11-29 20:32:25 +03:00
Semyon Proshev
c60419eb7e
Update skeletons for min function to fit updated type processing of positional and keyword arguments
2016-11-29 20:32:25 +03:00
Elizaveta Shashkova
575801c275
Add IPython variables to Special variables in IPython console and console with "show command line afterwards" option (PY-21641)
2016-11-28 16:08:43 +03:00
Semyon Proshev
45e473cac8
PY-19723 Fixed: Type hinting of arbitrary argument lists and default argument values
...
Update PyDocStringTypeProvider to correctly handle `:type args: T1` and `:type kwargs: T2`, and wrap their types to `Tuple[T1, ...]` and `Dict[str, T2]`.
2016-11-25 19:02:42 +03:00
Elizaveta Shashkova
052340705d
Can't saw script output with Remote Interpreter and "Show command line afterwards" option (PY-21426)
2016-11-24 21:02:11 +03:00
Elizaveta Shashkova
d06074a5f5
PyCharm does not wait till script is finished and start console (PY-21496)
...
Console shouldn't be enabled by default, we should send a separate notification in order to enable it.
2016-11-23 21:15:08 +03:00
Elizaveta Shashkova
1338cf3f09
Tests: fix PyDynamicTypesTest
...
The Python side of debugger doesn't handle filename correctly when working with temp dir
2016-11-22 17:03:51 +03:00
Semyon Proshev
e87b053584
PY-21350 Fixed: Wrong return type for input() in Python 3
...
Add skeletons for raw_input() in Python 2 and input() for both Pythons.
Update PyUserSkeletonsTypeProvider to wrap callable's return type even if it's null.
2016-11-17 20:09:32 +03:00
Elizaveta Shashkova
729d92baaa
Fix ImportError after refactoring (PY-21487)
2016-11-16 20:20:52 +03:00
Semyon Proshev
8fba7e8988
Inherit os._wrap_close skeleton from io.TextIOWrapper[unicode] because it redirects all calls to wrapped value
2016-11-15 15:54:43 +03:00
Semyon Proshev
9bab826071
PY-21040 Fixed: False positive: os.popen(...).close() doesn't return anything
...
Update os.popen skeleton to return class which has return value in close()
2016-11-15 15:54:43 +03:00
Semyon Proshev
c58302f45c
PY-20757 Fixed: Incorrect warning about expected attribute
...
Make min skeletons generic.
2016-11-15 15:40:10 +03:00
Semyon Proshev
a77aed6035
PY-20769 Fixed: Support PEP 519: File system path protocol
...
Update skeletons to accept PathLike objects in pathlib classes
2016-11-15 15:39:06 +03:00
Semyon Proshev
f1a0dc0ab6
PY-20769 Fixed: Support PEP 519: File system path protocol
...
Update skeletons to accept PathLike objects in open and os.path functions
2016-11-15 15:39:05 +03:00
Semyon Proshev
13cc11735e
PY-21083 Fixed: Inspection of float.fromhex expecting incorrect arguments
...
Update 'constants.py' so 'float.fromhex' stub is generated with 'staticmethod' decorator, has correct modifier and PyCallByClassInspection doesn't show any warning
2016-11-15 15:37:20 +03:00
Semyon Proshev
15e5d938d5
PY-21083 Fixed: Inspection of float.fromhex expecting incorrect arguments
...
Fix skeleton for float.fromhex
2016-11-15 15:37:19 +03:00
Elizaveta Shashkova
35e8c825f3
Fix test for jinja2 template debugger
2016-11-14 20:52:14 +03:00
Alexander Koshevoy
41064a3696
PY-21264 Use send_process_created_message() in the original piece of code where it was extracted from
2016-11-10 14:25:04 +03:00
Elizaveta Shashkova
096ecf1532
Fix errors and fully support matplotlib interactive mode in run and debug with the option "Show command line afterwards" enabled (PY-21330)
2016-11-09 20:42:31 +03:00
Elizaveta Shashkova
2e8ac77880
tput: unknown terminal "emacs" (PY-14999)
...
Do not set "TERM" variable to emacs, because sometimes it isn't supported and may lead to errors. Also it doesn't fix problems with paging in IPython and this bug should be fixed properly: PY-21370
2016-11-08 17:05:00 +03:00
Elizaveta Shashkova
5a2b3110f5
ANSI Coloring in Remote Python Console (PY-21317)
...
Since IPython 5 the terminal interface is not compatible with Emacs `inferior-shell` and the `simple_prompt` flag is needed
2016-11-08 15:59:13 +03:00
Mikhail Golubev
44744a74bd
PY-21244 Fix type annotations for the built-in function "map"
2016-11-08 12:00:46 +03:00
Alexander Koshevoy
3a0fd0f3ab
PY-21352 Bug that None as the host argument value of pydevd.settrace() method has been passed as "None" string literal
2016-11-06 18:03:43 +03:00
Alexander Koshevoy
0d77411666
PY-21264 Debugger hanging after creating a new subprocess the other way than forking fixed
...
PROCESS_CREATED message is sent in all cases to IDE when new process is being created. ClientModeDebuggerTransport connection logic has been changed to fit into waitForConnect() method without scheduling reconnection tasks. Handshake message is used to check for connection with subprocess to be real one, not ephemeral. DebuggerTransport.messageReceived() has been abolished.
2016-11-06 18:03:42 +03:00
Elizaveta Shashkova
445f59ed23
Fixes after Fabio's review in pull request
2016-11-03 20:37:31 +03:00
Ekaterina Tuzova
0dbddc907b
fix PY-17586 Conda: No repositories for installing packages
...
PY-20477 Couldn't install and update packages using conda interpreter
2016-11-03 18:05:23 +03:00
Elizaveta Shashkova
7e70c470ac
Error 'Inappropriate ioctl for device' in debugger with Django (PY-21096)
...
Do not override original sys.stdin.isatty(), because it can't be set to any constant value. It should be False for local interpreters and True for remote interpreters.
2016-11-02 19:26:03 +03:00
Elizaveta Shashkova
68aea910e6
Fix ImportError with default PyQt5 backend (PY-20532)
2016-10-31 17:53:00 +03:00
Elizaveta Shashkova
5ea48efc19
Updates from PyDev: Providing support for qt5 backend in interactive console (PY-20532)
2016-10-31 17:52:59 +03:00
Ilya.Kazakevich
473bee53f1
PY-21132: Passing -m option correctly
2016-10-28 21:22:39 +03:00
Semyon Proshev
db475bb30d
PY-21083 Fixed: Inspection of float.fromhex expecting incorrect arguments
...
Add skeleton for float.fromhex
2016-10-28 20:11:35 +03:00
Elizaveta Shashkova
95c8699581
Clear exception information in Python 2 (PY-21215)
...
It's needed for example for celery's retry for task. The fix suggested by Krzysztof Nazarewski.
2016-10-27 17:13:52 +03:00
Semyon Proshev
6eefe3f8b7
Fix __builtin__.py by adding 'self' to signature of dict.values()
2016-10-27 14:07:40 +03:00
Elizaveta Shashkova
6b47714558
Support filtering variables for old versions of IPython (PY-21250)
2016-10-27 13:40:05 +03:00
Andrey Vlasovskikh
eed34a10df
PY-21133 Removed non-existent __coroutinte.__iter__
2016-10-26 18:55:51 +03:00
Ilya.Kazakevich
2de0aa4aa0
PY-14036: Support remote Django (and other) project creation
...
* See PyProjectSynchronizer for entry point
* DownloadAction refactored to extract download
* VagrantSupportImpl refactored to fetch mapped folders
2016-10-25 20:43:52 +03:00
Elizaveta Shashkova
98a6439c2a
Failed getting template line shouldn't break debugging for the current frame (PY-20545)
2016-10-24 15:01:38 +03:00
Alexander Koshevoy
52edec95d5
PY-21189 ImportError of SO_REUSEPORT on Windows platform fixed
2016-10-23 18:22:08 +03:00
Dmitry Trofimov
8035e19e74
Merge remote-tracking branch 'origin/master'
2016-10-18 21:13:22 +02:00
Dmitry Trofimov
e784e6fed1
Update bundled coverage.py to version 4.2.0
2016-10-18 21:09:33 +02:00
Alexander Koshevoy
7df98492e4
PY-17447 _notify_process_created() moved to PyDB as send_process_created_message() method
2016-10-18 18:42:40 +03:00
Alexander Koshevoy
cccb586b94
PY-17447 "IDE as a client" Python script debugger mode introduced
...
Python pydevd wrapper in the main process and in the every subprocesses being created opens server socket and waits for a single incoming connection from the IDE. These server sockets are bound to the one single port of the localhost. The port number is passed to the script in the command line. Opening server socket on the same port is achieved by using SO_REUSEPORT socket option on Linux/Mac machines and SO_REUSEADDR socket option on Windows machines. SO_REUSEPORT is supported since Linux 3.9, which is perfectly fine for docker case because docker requires Linux 3.10 and higher. A tricky connection strategy implemented in ClientModeDebuggerTransport because each debugging (sub)process requires exactly one connection but Linux could route connection to the same (sub)process twice or more. These connections are stacked on the Linux core level and IDE for a some time thinks that it is connected to a debugging process while it is actually not. Reconnecting to the same host and port solves this problem eventually.
2016-10-18 18:42:37 +03:00
Alexander Koshevoy
a102bae9c7
PY-17447 New command CMD_PROCESS_CREATED added to notify IDE that new subprocess is created
2016-10-18 18:42:36 +03:00
Dmitry Trofimov
b91977aaf4
Merge remote-tracking branch 'origin/master'
2016-10-18 13:28:07 +02:00
Dmitry Trofimov
eeb0b0175f
Move line profiling from experimental plugin to profiler module; fix NPE
2016-10-18 12:05:34 +02:00
Ilya.Kazakevich
91242ba7ff
Merge branch 'py-15166' of https://github.com/happy-monk/intellij-community
2016-10-17 23:04:18 +03:00
Elizaveta Shashkova
6112e0cdae
Tests: fix import error
2016-10-17 15:56:25 +03:00
Semyon Proshev
5f32b5ac0d
Fix skeleton for csv.register_dialect in Py2 so 'dialect' parameter type is resolved and PyTypeCheckerInspectionTest is able to match args with params
2016-10-13 21:54:36 +03:00