pytest 4.6.6 has just been released to PyPI.
Backport of bug fixes for the last version to support Python 2.7 and 3.4,
being a drop-in replacement. To upgrade::
pip install --upgrade pytest
The full changelog is available at
https://docs.pytest.org/en/4.6-maintenance/changelog.html
Thanks to all who contributed to this release, among them:
* Anthony Sottile
* Bruno Oliveira
* Michael Goerz
Happy testing,
The pytest Development Team
On behalf of the Python development community, I'm chuffed to announce
the availability of Python 3.5.8rc1.
Python 3.5 is in "security fixes only" mode. This new version only
contains security fixes, not conventional bug fixes, and it is a
source-only release.
You can find Python 3.5.8rc1 here:
https://www.python.org/downloads/release/python-358rc1/
I think Python 3.5 may just barely outlive 2.7,
//arry/
Wing Python IDE version 7.1.2 has been released. It adds a How-To for
using Wing with Docker, allows disabling code warnings from the tooltip
displayed over the editor, adds support for macOS 10.15 (Catalina),
supports code folding in JSON files, adds optional word wrapping for
output in the Testing tool, and fixes about 25 minor usability issues.
== Some Highlights of Wing 7.1 ==
* Support for Python 3.8: Wing 7.1 supports editing, testing, and
debugging code written for Python 3.8, so you can take advantage of
assignment expressions and other improvements introduced in this new
version of Python.
* Improved Code Warnings: Wing 7.1 adds unused symbol warnings for
imports, variables, and arguments found in Python code. This release
also improves code warnings configuration, making it easier to disable
unwanted warnings.
* Cosmetic Improvements: Wing 7.1 improves the auto-completer, project
tool, and code browser with redesigned icons that make use of Wing's
icon color configuration. This release also improves text display on
some Linux systems, supports Dark Mode on macOS, and improves display of
Python code and icons found in documentation.
* And More: Wing 7.1 also adds a How-To for using Wing with Docker, the
ability to disable code warnings from tooltips on the editor, support
for macOS 10.15 (Catalina), code folding in JSON files, word wrapping
for output in the Testing tool, support for Windows 10 native OpenSSH
installations for remote development, and many minor improvements. This
release drops support for macOS 10.11. System requirements remain
unchanged on Windows and Linux.
For details see the change log:
https://wingware.com/pub/wingpro/7.1.2.0/CHANGELOG.txt
For a complete list of new features in Wing 7, see What's New in Wing
7: https://wingware.com/wingide/whatsnew
For general product information: https://wingware.com/
== Downloads ==
Wing Pro: https://wingware.com/downloads/wing-pro/7.1/binaries
Wing Personal: https://wingware.com/downloads/wing-personal/7.1/binaries
Wing 101: https://wingware.com/downloads/wing-101/7.1/binaries
Compare Products: https://wingware.com/downloads
See Upgrading https://wingware.com/doc/install/upgrading for details on
upgrading from Wing 6 and earlier, and Migrating from Older Versions
https://wingware.com/doc/install/migrating for a list of compatibility
notes.
The first release candidate of Python 2.7.17 is now available for download and testing. Python 2.7.17 includes 80 fixes over Python 2.7.16.
Downloads may be found on python.org:
https://www.python.org/downloads/release/python-2717rc1/
Read the full changelog at:
https://raw.githubusercontent.com/python/cpython/1c7b14197b10924e2efc1e6c99…
As always with prereleases, please test your applications and libraries and report bugs to:
https://bugs.python.org/
A final release is scheduled to follow in 12 days.
PEP 373, the Python 2.7 release schedule, calls for 2.7.17 to be the penultimate bug fix release of the Python 2.7 series. Time for Python 2 is running low!
Regards,
Benjamin
2.7 release manager
I am happy to announce Guppy 3 3.0.8
Guppy 3 is a library and programming environment for Python,
currently providing in particular the Heapy subsystem, which supports
object and heap memory sizing, profiling and debugging. It also
includes a prototypical specification language, the Guppy
Specification Language (GSL), which can be used to formally specify
aspects of Python programs and generate tests and documentation from a
common source.
Guppy 3 is a fork of Guppy-PE, created by Sverker Nilsson for Python 2.
The main news in this release:
o Reuse IdentitySet partition on repr and selection
o Use temporary root for traversal in initialization
o Bug fixes
License: MIT
The project homepage is on GitHub:
https://github.com/zhuyifei1999/guppy3
Enjoy,
YiFei Zhu
Hello,
Thanks to Vivodo Lio (from Beijing, China), the Python 3 cheat Sheet (Mémento Python 3) is now available in Simplified Chinese (also already in french, english, deutsche, and hungarian).
See at https://perso.limsi.fr/pointal/python:memento
It is still free to download, transform, adapt… and translate into other languages.
L.Pointal.
pytest 5.2.1 has just been released to PyPI.
This is a bug-fix release, being a drop-in replacement. To upgrade::
pip install --upgrade pytest
The full changelog is available at
https://docs.pytest.org/en/latest/changelog.html.
Thanks to all who contributed to this release, among them:
* Anthony Sottile
* Bruno Oliveira
* Florian Bruhin
* Hynek Schlawack
* Kevin J. Foley
* tadashigaki
Happy testing,
The pytest Development Team
Hi everyone,
git : https://github.com/Ousret/charset_normalizer
pypi : https://pypi.org/project/charset-normalizer/
docs : https://charset-normalizer.readthedocs.io/en/latest/
*For remainder :*
Library that help you read text from unknown charset encoding.
Project motivated by chardet, I'm trying to resolve the issue by taking
another approach.
All IANA character set names for which the Python core library provides
codecs are supported.
*Changes :*
-
*Improvement :* Adjustement in frequencies.json about Chinese
-
*Feature :* Added the possibility to list encoding aliases for a match
-
*Feature :* Support submatch in match (list of submatch that
produce the EXACT same output as a match)
- *Bugfix :* Sequence having lenght bellow 10 chars was not checked by
ProbeChaos at all. (#14
<https://github.com/Ousret/charset_normalizer/pull/14>)
- *Bugfix :* Legacy detect method inspired by chardet was not returning
intended result when having no result. (#14
<https://github.com/Ousret/charset_normalizer/pull/14>)
- *Bugfix :* from_bytes parameters *steps* and *chunk_size* were not
adapted to sequence len if provided values were not fitted to content.
Therefore could lead to misdetection on small content.
- *Feature :* import charset_normalizer is enough to provide additional
help when you encounter UnicodeDecodeError exception.
- *Feature :* You can limit the search to some encoding when looking for
a match with parameter cp_isolation. List of str. for from_bytes
from_path and from_fp.
- *Feature :* You can exclude some encoding when searching for a match
with parameter cp_exclusion. List of str. for from_bytes from_path and
from_fp.
- *Improvement :* Detection has been globally improved.
- *Feature :* Added explain boolean positional parameter to print out
what actually happen when searching for a match.
- *Improvement :* best() method of CharsetNormalizerMatches has been
rewritten for better readability.
- *Feature :* Added has_submatch, percent_chaos and percent_coherence
properties on single match object.
- *Improvement :* Added aliases to CharsetNormalizerMatches class.
CharsetDetector; EncodingDetector and CharsetDoctor.
- *Feature :* Added preemptive behaviour. Looking for a declared
encoding. Using positional parameter preemptive_behaviour. Default to
True. Does not take declared encoding for it, testing it first.
- *Feature :* Now support unicodedata2 backport. To benefit from it
install using pip install charset-normalizer[UnicodeDataBackport].
Python 3.7 have UnicodeData v11. You could upgrade it to v12.
Feature Chardet <https://github.com/chardet/chardet> Charset Normalizer
cChardet <https://github.com/PyYoshi/cChardet>
Fast [image: x]
[image: white_check_mark]
[image: white_check_mark]
⚡
Universal** [image: x] [image: white_check_mark] [image: x]
Reliable *without* distinguishable standards [image: x] [image:
white_check_mark] [image: white_check_mark]
Reliable *with* distinguishable standards [image: white_check_mark] [image:
white_check_mark] [image: white_check_mark]
Free & Open [image: white_check_mark] [image: white_check_mark] [image:
white_check_mark]
Native Python [image: white_check_mark] [image: white_check_mark] [image: x]
Detect spoken language [image: x] [image: white_check_mark] N/A
Supported Encoding 30 [image: tada] 90
<https://charset-normalizer.readthedocs.io/en/latest/support.html> 40
Hi everyone,
I'm pleased to announce the release of tsplib95 v0.5.0!
What's New?
-----------
* Added string loaders that take just the text - no file necessary!
* Invalid keywords now result in a ``ParsingError``
* Updated the CLI to catch and gracefully handle ``ParsingError``s
* Fixed a bug when trying to amend an exception with line information
What is tsplib95?
-----------------
tsplib95 is a library for reading TSPLIB95 problems and solutions.
It supports the entire file format specification and automatically
converts problems into ``networkx.Graph`` instances.
License: Apache Software License 2.0
* Read the **docs**: https://tsplib95.readthedocs.io/
* Install from **PyPI**: https://pypi.org/project/tsplib95/
* Contribute **source**: https://github.com/rhgrant10/tsplib95
Example
-------
>>> import tsplib95
>>> import networkx as nx
>>> # read problem files
>>> problem = tsplib95.load_problem('path/to/att48.tsp')
>>> problem.name
>>> problem.comment
'48 capitals of the US (Padberg/Rinaldi)'
>>> problem.dimension
48
>>> problem.type
'TSP'
>>> # auto-generated weight function for any two nodes
>>> problem.wfunc(2, 6)
6977
>>> # convert to networkx
>>> G = problem.get_graph()
>>> if problem.is_symmteric():
... assert issubclass(G, nx.Graph)
... else:
... assert issubclass(G, nx.DiGraph)
>>> if problem.is_depictable():
... nx.draw(G)
...
Enjoy!
Rob
Python 3.7.5rc1 is now available for testing. 3.7.5rc1 is the release preview of the next maintenance release of Python 3.7, the latest feature release of Python. Assuming no critical problems are found prior to 2019-10-14, no code changes are planned between now and the final release. This release candidate is intended to give you the opportunity to test the new security and bug fixes in 3.7.5. We strongly encourage you to test your projects and report issues found to bugs.python.org as soon as possible. Please keep in mind that this is a preview release and, thus, its use is not recommended for production environments.
You can find the release files, a link to the changelog, and more information here:
https://www.python.org/downloads/release/python-375rc1/
--
Ned Deily
nad(a)python.org -- []