Bug#932003: ITP: mypyc -- Mypy to Python C Extension Compile

2019-09-11 Thread Andrej Shadura
On 11/09/2019 16:00, Michael Crusoe wrote:
> Thanks Andrej!
> 
> I recently learned that mypyc is being rolled into the main mypy package
> upstream, so I'm holding off for the next release of mypy

Thanks for letting me know. When that happens, ping me if you need a
review or something.

Meanwhile, I have prepared a merge request to provide better manpages
for mypy: https://salsa.debian.org/med-team/mypy/merge_requests/1

Please consider to merge it if you’re not unhappy with the way I do it :)

-- 
Cheers,
  Andrej



Bug#932003: ITP: mypyc -- Mypy to Python C Extension Compile

2019-09-11 Thread Michael Crusoe
Thanks Andrej!

I recently learned that mypyc is being rolled into the main mypy package
upstream, so I'm holding off for the next release of mypy

--
Michael R. Crusoe
Co-founder & Lead,
Common Workflow Language project
m...@commonwl.org

On Wed, Sep 11, 2019, 21:40 Andrej Shadura 
wrote:

> Hi,
>
> On Sat, 13 Jul 2019 18:29:45 +0200 "Michael R. Crusoe"
>  wrote:
> > Package: wnpp
> > Severity: wishlist
> >
> > Subject: ITP: mypyc -- Mypy to Python C Extension Compile
> > Package: wnpp
> > Owner: Michael R. Crusoe 
> > Severity: wishlist
> >
> > * Package name: mypyc
> >   Version : 0.0.git.20190713T1002.833151a+ds1
> >   Upstream Author : Copyright: © 2017-2018 Jukka Lehtosalo and
> contributors
> > * URL : http://www.mypy-lang.org/
> > * License : Expat
> >   Programming Lang: C
> >   Description : Mypy to Python C Extension Compile
> >  *Mypyc is (mostly) not yet useful for general Python development.*
> >  .
> >  Mypyc is a compiler that compiles mypy-annotated, statically typed
> >  Python modules into CPython C extensions. Currently our primary focus
> >  is on making mypy faster through compilation -- the default mypy wheels
> >  are compiled with mypyc.  Compiled mypy is about 4x faster than
> >  without compilation.
> >  .
> >  Mypyc compiles what is essentially a Python language variant using
> "strict"
> >  semantics. This means (among some other things):
> >  .
> >   * Most type annotations are enforced at runtime (raising ``TypeError``
> on
> > mismatch)
> >  .
> >   * Classes are compiled into extension classes without ``__dict__``
> > (much, but not quite, like if they used ``__slots__``)
> >  .
> >   * Monkey patching doesn't work
> >  .
> >   * Instance attributes won't fall back to class attributes if undefined
> >  .
> >   * Metaclasses not supported
> >  .
> >   * Also there are still a bunch of bad bugs and unsupported features :)
> >  .
> >  Compiled modules can import arbitrary Python modules, and compiled
> modules
> >  can be used from other Python modules.  Typically mypyc is used to only
> >  compile modules that contain performance bottlenecks.
> >  .
> >  You can run compiled modules also as normal, interpreted Python
> >  modules, since mypyc targets valid Python code. This means that
> >  all Python developer tools and debuggers can be used.
> >  .
> >  This package provides the command-line interface.
> >
> > Remark: This package is maintained by Debian Med Packaging Team at
> >https://salsa.debian.org/med-team/mypy
>
> I’m going to review this; if you need a sponsor, I can do, just let me
> know.
>
> --
> Cheers,
>   Andrej
>


Bug#932003: ITP: mypyc -- Mypy to Python C Extension Compile

2019-09-11 Thread Andrej Shadura
Hi,

On Sat, 13 Jul 2019 18:29:45 +0200 "Michael R. Crusoe"
 wrote:
> Package: wnpp
> Severity: wishlist
> 
> Subject: ITP: mypyc -- Mypy to Python C Extension Compile
> Package: wnpp
> Owner: Michael R. Crusoe 
> Severity: wishlist
> 
> * Package name: mypyc
>   Version : 0.0.git.20190713T1002.833151a+ds1
>   Upstream Author : Copyright: © 2017-2018 Jukka Lehtosalo and contributors
> * URL : http://www.mypy-lang.org/
> * License : Expat
>   Programming Lang: C
>   Description : Mypy to Python C Extension Compile
>  *Mypyc is (mostly) not yet useful for general Python development.*
>  .
>  Mypyc is a compiler that compiles mypy-annotated, statically typed
>  Python modules into CPython C extensions. Currently our primary focus
>  is on making mypy faster through compilation -- the default mypy wheels
>  are compiled with mypyc.  Compiled mypy is about 4x faster than
>  without compilation.
>  .
>  Mypyc compiles what is essentially a Python language variant using "strict"
>  semantics. This means (among some other things):
>  .
>   * Most type annotations are enforced at runtime (raising ``TypeError`` on
> mismatch)
>  .
>   * Classes are compiled into extension classes without ``__dict__``
> (much, but not quite, like if they used ``__slots__``)
>  .
>   * Monkey patching doesn't work
>  .
>   * Instance attributes won't fall back to class attributes if undefined
>  .
>   * Metaclasses not supported
>  .
>   * Also there are still a bunch of bad bugs and unsupported features :)
>  .
>  Compiled modules can import arbitrary Python modules, and compiled modules
>  can be used from other Python modules.  Typically mypyc is used to only
>  compile modules that contain performance bottlenecks.
>  .
>  You can run compiled modules also as normal, interpreted Python
>  modules, since mypyc targets valid Python code. This means that
>  all Python developer tools and debuggers can be used.
>  .
>  This package provides the command-line interface.
> 
> Remark: This package is maintained by Debian Med Packaging Team at
>https://salsa.debian.org/med-team/mypy

I’m going to review this; if you need a sponsor, I can do, just let me know.

-- 
Cheers,
  Andrej



Bug#932003: ITP: mypyc -- Mypy to Python C Extension Compile

2019-07-13 Thread Michael R. Crusoe
Package: wnpp
Severity: wishlist

Subject: ITP: mypyc -- Mypy to Python C Extension Compile
Package: wnpp
Owner: Michael R. Crusoe 
Severity: wishlist

* Package name: mypyc
  Version : 0.0.git.20190713T1002.833151a+ds1
  Upstream Author : Copyright: © 2017-2018 Jukka Lehtosalo and contributors
* URL : http://www.mypy-lang.org/
* License : Expat
  Programming Lang: C
  Description : Mypy to Python C Extension Compile
 *Mypyc is (mostly) not yet useful for general Python development.*
 .
 Mypyc is a compiler that compiles mypy-annotated, statically typed
 Python modules into CPython C extensions. Currently our primary focus
 is on making mypy faster through compilation -- the default mypy wheels
 are compiled with mypyc.  Compiled mypy is about 4x faster than
 without compilation.
 .
 Mypyc compiles what is essentially a Python language variant using "strict"
 semantics. This means (among some other things):
 .
  * Most type annotations are enforced at runtime (raising ``TypeError`` on
mismatch)
 .
  * Classes are compiled into extension classes without ``__dict__``
(much, but not quite, like if they used ``__slots__``)
 .
  * Monkey patching doesn't work
 .
  * Instance attributes won't fall back to class attributes if undefined
 .
  * Metaclasses not supported
 .
  * Also there are still a bunch of bad bugs and unsupported features :)
 .
 Compiled modules can import arbitrary Python modules, and compiled modules
 can be used from other Python modules.  Typically mypyc is used to only
 compile modules that contain performance bottlenecks.
 .
 You can run compiled modules also as normal, interpreted Python
 modules, since mypyc targets valid Python code. This means that
 all Python developer tools and debuggers can be used.
 .
 This package provides the command-line interface.

Remark: This package is maintained by Debian Med Packaging Team at
   https://salsa.debian.org/med-team/mypy