jtrakk

Results 112 comments of jtrakk

I also can't paste plots, on a different platform. VSCJL 1.5.11 Vscode 1.63.2 Desktop Linux.

Duplicate of https://github.com/julia-vscode/julia-vscode/issues/2352

Reopening because #2352 is specific to Windows.

I believe this is the correct behavior per POSIX standard.

@zhangchunlin All the `Etc/GMT±X` indicators use the opposite sign from `UTC±X`. Etc/GMT+8 is equivalent to UTC−08:00, Pacific Standard Time. ```py In [13]: pendulum.parse('2019-08-22T09:30:55+08:00').offset Out[13]: 28800 In [14]: pendulum.parse('2019-08-22T09:30:55+08:00').in_tz('Asia/Shanghai').offset Out[14]: 28800...

That sounds like an opportunity for `@overload` and `Literal[True]`. https://mypy.readthedocs.io/en/latest/literal_types.html

The fix isn't quite right. The merged code returns a `Union[T, List[T]]`, but that means my calling code has to handle both cases, even though I'm either calling it with...

> Is there a way to make it work when many=None, i.e. when self.many is used? That might require a mypy plugin, I'm not sure. Some of the experts answer...

It makes me wonder whether schemas with `self.many=True` should instead be regular schemas wrapped up like `Many(MySchema())`.

> I'm afraid I won't be able to look into this within the next few weeks I'm in the same boat there; Sorry to dump these suggestions on you and...