ANN: PyScripter 4.0.0 released

2021-05-06 Thread Kiriakos Vlahos
PyScripter is a free and open-source Python Integrated Development Environment 
(IDE) created with the ambition to become competitive in functionality with 
commercial Windows-based IDEs available for other languages. It is 
feature-rich, but also light-weight.

New features:
- Major redesign of the User Interface - Material icons and new logo
- Re-architecture the interaction with python, code-completion etc. It should 
result in a more responsive user experience without delays and freezes.
- Added support for Python 3.10
- Removed support for Python 2.7, 3.2
- Installer and executable are now code-signed
- Persian translation added
- New IDE option "Restore open project"
- New File Explorer command "Select Directory..." (#1034)
Issues Addressed:
- #824, #990 #1031 #1035 #1038 #1039 #1040 #1105 #1109 #

See:
Announcement: https://pyscripter.blogspot.com/
Project home: https://github.com/pyscripter/pyscripter/
Features: https://github.com/pyscripter/pyscripter/wiki/Features
Downloads: https://sourceforge.net/projects/pyscripter/files
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


attrs 21.1.0

2021-05-06 Thread Hynek Schlawack
Hi everyone,

I am extremely excited to announce the release of attrs 21.1.0.

attrs is the direct ancestor of – and the inspiration for – dataclasses in the 
standard library and remains the more powerful option for creating regular 
classes without getting bogged down with writing identical boilerplate again 
and again: https://www.attrs.org/

(for a richer version of this e-mail, check out 
)

Heartfelt thanks go to my generous GitHub sponsors, companies subscribing to 
attrs on Tidelift, and people who bought me a coffee on Ko-fi! Support like 
that makes me work on FOSS on a Saturday afternoon – especially when a release 
drags itself like this one! <3

While this release took a bit longer than I wished for, it comes with many 
exciting changes. The highlights alone are longer than a usual changelog:

-   The next-generation APIs (@attr.define, @attr.mutable, @attr.frozen, 
@attr.field) are deemed stable now. The old ones aren't going anywhere, but I 
encourage you to check the new ones out – they're much nicer!

-   pyright and pylance support: Eric Traut of Microsoft was kind enough to 
involve me in their work on the dataclass_transforms spec.

As a result, Microsoft's type checker pyright will work with this attrs 
release, and so will their Python language server pylance which should be 
exciting to VS Code users.

Currently it only supports a subset of attrs's features, but it's the most 
important ones and more will most likely follow. Some of the limitations are 
documented in our documentation on type annotations.

-   Customization of field comparison. This is something especially NumPy users 
have been asking for for a long time: you can now fully customize how a field 
is compared. We also ship a helper to avoid boilerplate code. So if you'd like 
to have an object with a NumPy array that compares correctly, this is the way:

import attr
import numpy

@attr.define
class C:
an_array = attr.field(eq=attr.cmp_using(eq=numpy.array_equal))

Check out the new documentation on comparison for details.

-   To make it more ergonomic, I've decided to un-deprecate the cmp argument 
again, so you can customize eq and order in one go. Sorry about the trouble! 
The cmp attribute remains deprecated.

-   New powerful __init__ helpers:

1.  If attrs deduces you don't want it to write a __init__ for you, it will 
create an __attrs_init__ instead that you can call from your custom __init__.
2.  If attrs finds a __attrs_pre_init__, it will call it without any 
arguments before doing any initializations. This is really only useful if you 
want to run super().__init__(), but that's a use-case people have asked for for 
years!

See Hooking Yourself Into Initialization for details.

-   In preparation for the (rescinded) plan to make from __future__ import 
annotations the default in Python 3.10, attr.resolve_types() can now also be 
used to resolve types inside of field_transformers.

A Look Ahead

For the next release we've got even bigger plans! By stabilizing the 
next-generation APIs we can finally go the last step, I've been talking for 
years (yeah, sorry): import attrs.

attrs's playful APIs (@attr.s, @attr.ib) lost a bit of their charm as the scope 
of the package grew – especially after the introduction of type annotations.

While the old APIs aren't going anywhere, in the next feature release there 
will be additionally an attrs package that you can use as an alternative to 
attr. No more attr.Factory!

The new package gives us the opportunity to rethink the defaults of some 
functions. So if you have any pet peeves, please air them on #487.

Full Changelog

Deprecations

-   The long-awaited, much-talked-about, little-delivered import attrs is 
finally upon us!

Since the NG APIs have now been proclaimed stable, the next release of 
attrs will allow you to actually import attrs. We're taking this opportunity to 
replace some defaults in our APIs that made sense in 2015, but don't in 2021.

So please, if you have any pet peeves about defaults in attrs's APIs, now 
is the time to air your grievances in #487! We're not gonna get such a chance 
for a second time, without breaking our backward-compatibility guarantees, or 
long deprecation cycles. Therefore, speak now or forever hold you peace! #487

-   The cmp argument to attr.s() and attr.ib() has been undeprecated It will 
continue to be supported as syntactic sugar to set eq and order in one go.

I'm terribly sorry for the hassle around this argument! The reason we're 
bringing it back is it's usefulness regarding customization of 
equality/ordering.

The cmp attribute and argument on attr.Attribute remains deprecated and 
will be removed later this year. #773

Changes

-   It's now possible to customize the behavior of eq and order by passing in a 
callable. #435, #627

-   The instant favorite next-generatio

EuroPython 2021: Call for Sponsors

2021-05-06 Thread M.-A. Lemburg
We're happy to announce our call for sponsors. Reach out to enthusiastic
Python developers, users and professionals worldwide by presenting your
company at this year’s EuroPython 2021 Online conference, from July 26 -
Aug 1, 2021!

  * EuroPython 2021 Call for Sponsors *

  https://ep2021.europython.eu/sponsor/


EuroPython 2021 Sponsor Packages


Sponsoring EuroPython guarantees you highly targeted visibility and the
opportunity to present yourself and your company in a professional and
innovative environment.

We have adjusted our conference sponsor packages for the online format
and lowered their prices, giving you an excellent opportunity to reach
out to attendees from all around the world. You can run your own virtual
rooms, text channels, run competitions, tutorials or give product
presentations throughout the conference days.

Want to know more?
--

We have just published our sponsorship brochure for EuroPython 2021,
with full details and demographics:

  * EuroPython 2021 Sponsor Brochure *

 https://ep2021.europython.eu/sponsor/brochure/

For a quick overview, you can also head over to our sponsor packages
page. Feel free to contact us with any questions at
sponsor...@europython.eu.

  * EuroPython 2021 Sponsor Packages *

 https://ep2021.europython.eu/sponsor/packages/


Special offer for early bird sponsors
-

Sponsors who sign up before or on May 7, will receive a
* special 10% discount * on the sponsor package price.

Become a sponsor and support EuroPython 2021 today!

You can sign up on the sponsor packages page.


Quick Summary
-
EuroPython 2021 will be run online from July 26 - August 1:

- Two workshop/training days (July 26 - 27)
- Three conference days (July 28 - 30)
- Two sprint days (July 31 - August 1)

The sessions will be scheduled to ensure they are also accessible for
those in the Asian and Americas time zones.


Help spread the word


Please help us spread this message by sharing it on your social
networks as widely as possible. Thank you !

Link to the blog post:

https://blog.europython.eu/europython-2021-speaker-mentorship-program/

Tweet:

https://twitter.com/europython/status/1387004298211602433

Enjoy,
--
EuroPython 2021 Team
https://ep2021.europython.eu/
https://www.europython-society.org/

___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com