commit 9a4b8d9fa6fa059348c700bad17184834734d302
Author: Petr Bokoc <pbokoc(a)redhat.com>
Date: Wed Apr 20 00:17:26 2016 +0200
Move Development beat from wiki
en-US/Development.xml | 151 ++++++++++++++++++++++++++++++++++++++++-
en-US/Release_Notes.xml | 4 +-
en-US/Section-Developers.xml | 2 +-
3 files changed, 150 insertions(+), 7 deletions(-)
---
diff --git a/en-US/Development.xml b/en-US/Development.xml
index b65de65..211475f 100644
--- a/en-US/Development.xml
+++ b/en-US/Development.xml
@@ -1,11 +1,154 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook EBNF Module V1.1CR1//EN"
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook EBNF Module V1.1CR1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<?xml-stylesheet
href="http://www.informatik.fh-wiesbaden.de/~werntges/home_t/proj/dbkcss102/wysiwygdocbook1.02/driver.css"
type="text/css"?>
-<section id="sect-devel">
+<section id="sect-Development">
<title>Development</title>
- <para />
+
+ <section id="sect-Development-python-3-5">
+ <title>Python Upgrade to 3.5</title>
+ <para>
+ <application>Python 3.5</application> will be the default Python 3
stack in Fedora 24. This is an upgrade from 3.4 which was included in Fedora 23. All
packages which depend on Python 3 must be rebuilt. User-written Python 3 scripts and
applications may require a small amount of porting; however, Python 3.4 is forward
compatible with Python 3.5 for the most part.
+ </para>
+ <para>
+ Notable changes include:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ Coroutines with async and await syntax.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ A new matrix multiplication operator: <literal>a @ b</literal>.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ New library modules: <literal>typing</literal> (Type Hints) and
<literal>zipapp</literal> (Improved Python ZIP Application Support).
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Adding % formatting to bytes and bytearray - <literal>bytes %
args</literal>, <literal>bytearray % args</literal>.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ New <literal>bytes.hex()</literal>,
<literal>bytearray.hex()</literal> and
<literal>memoryview.hex()</literal> methods. (Contributed by Arnon Yaari in
issue 9951.)
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <literal>memoryview</literal> now supports tuple indexing
(including multi-dimensional). (Contributed by Antoine Pitrou in issue 23632.)
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ A new <literal>RecursionError</literal> exception is now raised
when maximum recursion depth is reached. (Contributed by Georg Brandl in issue 19235.)
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <literal>collections.OrderedDict</literal> is now implemented in C,
which makes it 4 to 100 times faster.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ The new <literal>os.scandir()</literal> function provides a better
and significantly faster way of directory traversal.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <systemitem>SSLv3</systemitem> is now disabled throughout the
standard library. It can still be enabled by instantiating a
<literal>ssl.SSLContext</literal> manually. This change has also been
backported to CPython 3.4 and 2.7.
+ </para>
+ </listitem>
+ </itemizedlist>
+ <para>
+ For more detailed information see the upstream release notes at <ulink
url="https://docs.python.org/3.6/whatsnew/3.5.html" />. Note the <ulink
url="https://docs.python.org/3.6/whatsnew/3.5.html#porting-to-python...
to Python 3.5</ulink> section, which lists important information for developers who
need to port their Python 3.4 applications.
+ </para>
+ </section>
+
+ <section id="sect-Development-mono-4-2">
+ <title>Mono 4.2</title>
+ <para>
+ The <application>Mono</application> stack has been upgraded to version
<literal>4.2</literal> in Fedora 24. Notable changes include:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ More adoption of Microsoft’s open source code.
+ </para>
+ <important>
+ <para>
+ This brings a compatibility-breaking change in the
<literal>PasswordDeriveBytes</literal> class. See <ulink
url="http://www.mono-project.com/docs/about-mono/releases/4.2.1/#sys...
/> for more information.
+ </para>
+ </important>
+ </listitem>
+ <listitem>
+ <para>
+ Support for the <systemitem>PPDB</systemitem> debugging format.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ New threadpool implementation.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Runtime optimizations and extensive bug fixes.
+ </para>
+ </listitem>
+ </itemizedlist>
+ <para>
+ For detailed information, see the upstream release notes for Mono 4.2.1 available
at <ulink
url="http://www.mono-project.com/docs/about-mono/releases/4.2.1/"
/>.
+ </para>
+ </section>
+
+ <section id="sect-Development-ruby-2-4">
+ <title>Ruby 2.3</title>
+ <para>
+ <application>Ruby 2.3</application> is the latest stable version of
Ruby. Many new features and improvements are included for the increasingly diverse and
expanding demands for Ruby. With this major update from Ruby 2.2 in Fedora 22 to Ruby 2.3
in Fedora 24, alongside <application>JRuby</application>, Fedora becomes the
superior Ruby development platform.
+ </para>
+ <para>
+ Ruby 2.3 bumps soname, and therefore Ruby packages which use binary extensions
should be rebuilt. Nevertheless, since upstream paid great attention to source
compatibility, no changes to your code are needed.
+ </para>
+ <para>
+ Notable changes in this release include:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ A Frozen String Literal Pragma is introduced. With Ruby 2.1,
<literal>"str".freeze</literal> has been optimized to reduce object
allocation. Ruby 2.3 introduces a new magic comment and command line option to freeze all
string literals in the source files. Additionally for debugging, you can get where the
object is created on <literal>can't modify frozen String</literal> error
by <option>--enable-frozen-string-literal-debug</option>.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ A safe navigation operator, which already exists in C#, Groovy, and Swift, is
introduced to ease nil handling as <literal>obj&.foo</literal>.
<literal>Array#dig</literal> and <literal>Hash#dig</literal> are
also available.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <literal>RubyVM::InstructionSequence#to_binary</literal> and
<literal>.load_from_binary</literal> are introduced as experimental features.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ The <literal>did_you_mean</literal> gem is bundled. This gem
provides suggestions on <literal>NameError</literal> and
<literal>NoMethodError</literal> to ease debugging.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Safe levels <literal>$SAFE=2</literal> and
<literal>$SAFE=3</literal> are now obsolete.
+ </para>
+ </listitem>
+ </itemizedlist>
+ <para>
+ For further information about this release, see the upstream release announcement
at <ulink
url="https://www.ruby-lang.org/en/news/2015/12/25/ruby-2-3-0-release... />.
+ </para>
+ </section>
</section>
-
diff --git a/en-US/Release_Notes.xml b/en-US/Release_Notes.xml
index 7d4023d..12fe60f 100644
--- a/en-US/Release_Notes.xml
+++ b/en-US/Release_Notes.xml
@@ -22,8 +22,8 @@
<xi:include href="Section-Desktop.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <!--<xi:include href="Section-Developers.xml"
-
xmlns:xi="http://www.w3.org/2001/XInclude" />-->
+ <xi:include href="Section-Developers.xml"
+
xmlns:xi="http://www.w3.org/2001/XInclude" />
<!--<xi:include href="Section-Specific.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />-->
diff --git a/en-US/Section-Developers.xml b/en-US/Section-Developers.xml
index 257bd43..efe3e8f 100644
--- a/en-US/Section-Developers.xml
+++ b/en-US/Section-Developers.xml
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8' ?>
-<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % BOOK_ENTITIES SYSTEM "Release_Notes.ent">
%BOOK_ENTITIES;
]>