[RELEASED] Release candidates for Python 2.6.8, 2.7.3, 3.1.5, and 3.2.3We're pleased to announce the immediate availability of release candidates for
Python 2.6.8, 2.7.3, 3.1.5, and 3.2.3 . The main impetus for these releases is
fixing a security issue in Python's hash based types, dict and set, as described
below. Python 2.7.3 and 3.2.3 include the security patch and the normal set of
bug fixes. Since Python 2.6 and 3.1 are maintained only for security issues,
2.6.8 and 3.1.5 contain only various security patches.
The security issue exploits Python's dict and set implementations. Carefully
crafted input can lead to extremely long computation times a...
[RELEASED] Release candidates for Python 2.6.8, 2.7.3, 3.1.5, and 3.2.3We're pleased to announce the immediate availability of release candidates for
Python 2.6.8, 2.7.3, 3.1.5, and 3.2.3 . The main impetus for these releases is
fixing a security issue in Python's hash based types, dict and set, as described
below. Python 2.7.3 and 3.2.3 include the security patch and the normal set of
bug fixes. Since Python 2.6 and 3.1 are maintained only for security issues,
2.6.8 and 3.1.5 contain only various security patches.
The security issue exploits Python's dict and set implementations. Carefully
crafted input can lead to extremely long computation times and denials of
service. [1] Python dict and set types use hash tables to provide amortized
constant time operations. Hash tables require a well-distributed hash function
to spread data evenly across the hash table. The security issue is that an
attacker could compute thousands of keys with colliding hashes; this causes
quadratic algorithmic complexity when the hash table is constructed. To
alleviate the problem, the new releases add randomization to the hashing of
Python's string types (bytes/str in Python 3 and str/unicode in Python 2),
datetime.date, and datetime.datetime. This prevents an attacker from computing
colliding keys of these types without access to the Python process.
Hash randomization causes the iteration order of dicts and sets to be
unpredictable and differ across Python runs. Python has never guaranteed
iteration order of keys in a dict or set,...
[RELEASED] Second release candidates for Python 2.6.8, 2.7.3, 3.1.5, and 3.2.3We're chuffed to announce the immediate availability of the second release
candidates for Python 2.6.8, 2.7.3, 3.1.5, and 3.2.3. The only change from the
first release candidates is the patching of an additional security hole.
The security issue fixed in the second release candidates is in the expat XML
parsing library. expat had the same hash security issue detailed below as
Python's core types. The hashing algorithm used in the expat library is now
randomized. A more thorough explanation of the "hash attack" security hole
follows.
The main impetus for these releases is fi...
[RELEASED] Second release candidates for Python 2.6.8, 2.7.3, 3.1.5, and 3.2.3We're chuffed to announce the immediate availability of the second release
candidates for Python 2.6.8, 2.7.3, 3.1.5, and 3.2.3. The only change from the
first release candidates is the patching of an additional security hole.
The security issue fixed in the second release candidates is in the expat XML
parsing library. expat had the same hash security issue detailed below as
Python's core types. The hashing algorithm used in the expat library is now
randomized. A more thorough explanation of the "hash attack" security hole
follows.
The main impetus for these releases is fixing a security issue in Python's hash
based types, dict and set, as described below. Python 2.7.3 and 3.2.3 include
the security patch and the normal set of bug fixes. Since Python 2.6 and 3.1 are
maintained only for security issues, 2.6.8 and 3.1.5 contain only various
security patches.
The security issue exploits Python's dict and set implementations. Carefully
crafted input can lead to extremely long computation times and denials of
service. [1] Python dict and set types use hash tables to provide amortized
constant time operations. Hash tables require a well-distributed hash function
to spread data evenly across the hash table. The security issue is that an
attacker could compute thousands of keys with colliding hashes; this causes
quadratic algorithmic complexity when the hash table is constructed. To
alleviate the problem, the new releases add rando...
how can i write this statement labels=[1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;2;2;2;2;2;2;2;2;2;2;2;2;2;2;2;2;2;2;2;2;2;2;2;2;3;3;3;3;3;3;3;3;3;3;3;3;3;3;3;3;3;3;3;3;3;3;3;3;]; in compress foHow to write it in compact form to avoid repetition
"shah " <shahkhn3@gmail.com> wrote in message <lodugh$8hr$1@newscl01ah.mathworks.com>...
> How to write it in compact form to avoid repetition
You'll find in this thread different solutions for similar question
http://www.mathworks.fr/matlabcentral/newsreader/view_thread/335814
Bruno
...
[RELEASED] Python 3.2.4 rc 1 and Python 3.3.1 rc 1-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On behalf of the Python development team, I am pleased to announce the
first release candidates of Python 3.2.4 and 3.3.1.
Python 3.2.4 will be the last regular maintenance release for the Python 3.2
series, while Python 3.3.1 is the first maintenance release for the 3.3
series. Both releases include hundreds of bugfixes.
There has recently been a lot of discussion about XML-based denial of service
attacks. Specifically, certain XML files can cause XML parsers, including ones
in the Python stdlib, to consume gigabytes of RAM and swamp the CPU. These
releases do not include any changes in Python XML code to address these issues.
Interested parties should examine the defusedxml package on PyPI:
https://pypi.python.org/pypi/defusedxml
These are testing releases: Please consider trying them with your code
and reporting any bugs you may notice to:
http://bugs.python.org/
To download Python 3.2.4 or Python 3.3.1, visit:
http://www.python.org/download/releases/3.2.4/ or
http://www.python.org/download/releases/3.3.1/
respectively.
Enjoy!
- --
Georg Brandl, Release Manager
georg at python.org
(on behalf of the entire python-dev team and all contributors)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
iEYEARECAAYFAlFRRIoACgkQN9GcIYhpnLD6jACgnzYdYRKZ4kwkKeN3zSLSZ3Zr
M/IAn17vlpxI3a3xk+i/ODOrCkMnRZro
=B5sA
-----END PGP SIGNATURE-----
...
[RELEASED] Python 3.2.4 rc 1 and Python 3.3.1 rc 1-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On behalf of the Python development team, I am pleased to announce the
first release candidates of Python 3.2.4 and 3.3.1.
Python 3.2.4 will be the last regular maintenance release for the Python 3.2
series, while Python 3.3.1 is the first maintenance release for the 3.3
series. Both releases include hundreds of bugfixes.
There has recently been a lot of discussion about XML-based denial of service
attacks. Specifically, certain XML files can cause XML parsers, including ones
in the Python stdlib, to consume gigabytes of RAM and swa...
[1 1 1 1 1 ;2 2 2 2 2 ;3 3 3 3 3 3;....;n n n n n]Hi,
Anybody knows how to create this matrix but without using any loops?
a=[1 1 1 1 1 ;2 2 2 2 2 ;3 3 3 3 3 ;.......;n n n n n ]
Thank you.
Hana.
Hana wrote:
> Hi,
> Anybody knows how to create this matrix but without using any loops?
> a=[1 1 1 1 1 ;2 2 2 2 2 ;3 3 3 3 3 ;.......;n n n n n ]
HELP REPMAT
- Randy
Hana wrote:
>
>
> Hi,
> Anybody knows how to create this matrix but without using any
> loops?
> a=[1 1 1 1 1 ;2 2 2 2 2 ;3 3 3 3 3 ;.......;n n n n n ]
>
> Thank you.
> Hana.
Hope this isn't homework.
>> repmat([1:n]'...
[RELEASED] Python 3.1.3 release candidate 1 #2On behalf of the Python development team, I'm gladsome to announce a release
candidate of the third bugfix release for the Python 3.1 series, Python 3.1.3.
This bug fix release fixes numerous issues found in 3.1.2. Please try it with
your packages and report any bugs you find. The final of 3.1.3 is scheduled to
be released in two weeks.
The Python 3.1 version series focuses on the stabilization and optimization of
the features and changes that Python 3.0 introduced. For example, the new I/O
system has been rewritten in C for speed. File system APIs that use unicode
strings ...
[RELEASED] Python 3.2.4 and Python 3.3.1-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On behalf of the Python development team, I am pleased to announce the
final releases of Python 3.2.4 and 3.3.1.
Python 3.2.4 is the final regular maintenance release for the Python 3.2
series, while Python 3.3.1 is the first maintenance release for the 3.3
series. Both releases include hundreds of bugfixes.
There has recently been a lot of discussion about XML-based denial of service
attacks. Specifically, certain XML files can cause XML parsers, including ones
in the Python stdlib, to consume gigabytes of RAM and swamp the CPU. These
releases do not include any changes in Python XML code to address these issues.
Interested parties should examine the defusedxml package on PyPI:
https://pypi.python.org/pypi/defusedxml
To download Python 3.2.4 or Python 3.3.1, visit:
http://www.python.org/download/releases/3.2.4/ or
http://www.python.org/download/releases/3.3.1/
respectively. As always, please report bugs to
http://bugs.python.org/
Enjoy!
- --
Georg Brandl, Release Manager
georg at python.org
(on behalf of the entire python-dev team and all contributors)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
iEYEARECAAYFAlFgiN8ACgkQN9GcIYhpnLAXxQCdHAd2lECpYfmYM4Wbd3I01es4
898AoKBDvHtgecD/PeVRKUrdQRSWGPJg
=K8RQ
-----END PGP SIGNATURE-----
On Saturday, 6 April 2013 21:43:11 UTC+1, Georg Brandl wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
>
> Hash...
[RELEASED] Python 3.1.3 release candidate 1On behalf of the Python development team, I'm gladsome to announce a release
candidate of the third bugfix release for the Python 3.1 series, Python 3.1.3.
This bug fix release fixes numerous issues found in 3.1.2. Please try it with
your packages and report any bugs you find. The final of 3.1.3 is scheduled to
be released in two weeks.
The Python 3.1 version series focuses on the stabilization and optimization of
the features and changes that Python 3.0 introduced. For example, the new I/O
system has been rewritten in C for speed. File system APIs that use unicode
strings ...
[RELEASED] Python 3.3.3 release candidate 1-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On behalf of the Python development team, I'm quite happy to announce the
Python 3.3.3 release candidate 1.
Python 3.3.3 includes several security fixes and over 150 bug fixes compared to
the Python 3.3.2 release.
This release fully supports OS X 10.9 Mavericks. In particular, this release
fixes an issue that could cause previous versions of Python to crash when typing
in interactive mode on OS X 10.9.
Python 3.3.3 also contains a new batteries-included feature for OS X users of
IDLE and other Tkinter-based programs. The python.org Mac OS X 64-bit/32-bit
x86-64/i386 Installer for OS X 10.6+ now includes its own builtin version of
Tcl/Tk 8.5. It is no longer necessary to install a third-party version of
Tcl/Tk 8.5 to workaround the problematic system versions. See
http://www.python.org/download/mac/tcltk/ for more information.
Python 3.3 includes a range of improvements of the 3.x series, as well as easier
porting between 2.x and 3.x. In total, almost 500 API items are new or improved
in Python 3.3. For a more extensive list of changes in the 3.3 series, see
http://docs.python.org/3.3/whatsnew/3.3.html
and for the detailed changelog of 3.3.3, see
http://docs.python.org/3.3/whatsnew/changelog.html
To download Python 3.3.3 rc1 visit:
http://www.python.org/download/releases/3.3.3/
This is a preview release, please report any bugs to
http://bugs.python.org/
T...
[RELEASED] Python 3.3.3 release candidate 1-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On behalf of the Python development team, I'm quite happy to announce the
Python 3.3.3 release candidate 1.
Python 3.3.3 includes several security fixes and over 150 bug fixes compared to
the Python 3.3.2 release.
This release fully supports OS X 10.9 Mavericks. In particular, this release
fixes an issue that could cause previous versions of Python to crash when typing
in interactive mode on OS X 10.9.
Python 3.3.3 also contains a new batteries-included feature for OS X users of
IDLE and other Tkinter-based programs. The python.org Mac OS X 64-bit/32-bit
x86-64/i386 Installer for OS X 10.6+ now includes its own builtin version of
Tcl/Tk 8.5. It is no longer necessary to install a third-party version of
Tcl/Tk 8.5 to workaround the problematic system versions. See
http://www.python.org/download/mac/tcltk/ for more information.
Python 3.3 includes a range of improvements of the 3.x series, as well as easier
porting between 2.x and 3.x. In total, almost 500 API items are new or improved
in Python 3.3. For a more extensive list of changes in the 3.3 series, see
http://docs.python.org/3.3/whatsnew/3.3.html
and for the detailed changelog of 3.3.3, see
http://docs.python.org/3.3/whatsnew/changelog.html
To download Python 3.3.3 rc1 visit:
http://www.python.org/download/releases/3.3.3/
This is a preview release, please report any bugs to
http://bugs.python.org/
T...
building GCC 3.3.2 or 3.2.3 on Unixware 7.1.1Has anybody done this successfully?
I'm running into problems with the C++ library. AFAICT, the compiler is
built ok (bootstrapping all succeeds), but the C++ library chokes. It
seems to mostly be complaining about the 'volatile' keyword in pthread.h.
I'm using binutils, btw. The ccs based build fails to bootstrap for me.
Best regards,
Brent
Brent Eagles wrote:
> Has anybody done this successfully?
>
> I'm running into problems with the C++ library. AFAICT, the compiler is
> built ok (bootstrapping all succeeds), but the C++ library...
ActivePython 3.1.1.2 vs Python 3.1.1 for OSX?I am just curious which I should use. I am going to start learning
Python soon. Are they comparable and I just do a "eenie meenie minie
moe"?
Bob
On 1 Oct, 00:51, Robert Hicks <sigz...@gmail.com> wrote:
> I am just curious which I should use. I am going to start learning
> Python soon. Are they comparable and I just do a "eenie meenie minie
> moe"?
>
> Bob
First off, a great choice of language to begin trying! Is it your
first language (I'm guessing not), or do you come from another
'background'.
Basically, Active is a possible 'supe...
#1 #n+1 #2n+1 #2 #n+2 #2n+2 #3 #n+3 #2n+3 #n #2n #3n #1 #2 #3 #n #n+1 #n+2 #n+3 #2n #2n+1 100 Gbps aggregate stream of 64/66b words virtual lane markers virtual lane 1 virtual lane 2 virtual lan#1
#n+1
#2n+1
#2
#n+2
#2n+2
#3
#n+3
#2n+3
#n
#2n
#3n
#1
#2
#3
#n
#n+1
#n+2
#n+3
#2n
#2n+1
100 Gbps aggregate stream of 64/66b words
virtual lane markers
virtual lane 1
virtual lane 2
virtual lane 3
virtual lane n
Simple 66-bit word level
round robin distribution
Transmit PM
Transmit PM
Receive PM
Receive PM
Transmit PC
Receive PC
1
0.0
1.0
0.1
0.2
0.3
1.2
1.2
1.1
0.0
1.0
0.1
1.1
2.0
3.0
4.0
6.0
7.0
9.0
10.0 11.0
12.0 13.0
14.0 15.0
17.0
18.0
19.0
2.0
3.0
4.0
5.0
6.0
7.0
8.0
9.0
10.0
11.0
12.0
13.0
14.0
15.0
16.0
17.0
1...
Re: pymozilla ([Python-Dev] RELEASED Python 2.3.3 (release candidate 1)[Brad Clements wrote]
>I'd like to find out more about pymozilla.. It sounds very interesting
pymozilla is is a proprietary application so I can't share the code.
It's a modified python.exe with builtin Browser module - Python wrapped
Gecko engine.
Custom nsIProtocolHandler and zip-file-system Python module is used to get
and load files(html,xml,css,images,Python code) from zip
and to resolve and process all ".py" links and html forms. It's pretty like
CGI, but no server is required.
The main problem was to have it run from CD (client requirement) without
installing anything (Mozilla/Python)
Wiktor
On Fri, 19 Dec 2003 04:30:53 +0100, "Wiktor Sadowski"
<art@wiktorsadowski.com> wrote:
>The main problem was to have it run from CD (client requirement) without
>installing anything (Mozilla/Python)
I had the same problem. I solved it using Webware and SQLite.
--
JZ
JZ <jroznfgre@jngpugbjreQBGbet.cy> writes:
> On Fri, 19 Dec 2003 04:30:53 +0100, "Wiktor Sadowski"
> <art@wiktorsadowski.com> wrote:
>
> >The main problem was to have it run from CD (client requirement) without
> >installing anything (Mozilla/Python)
>
> I had the same problem. I solved it using Webware and SQLite.
What's the problem? Does Python not like having nowhere to save .pyc
files?
John
"John J. Lee" wrote:
>
> JZ <jroznfgre@jngpugbjreQBGbet.cy> writes:
>
> > ...
RELEASED Python 2.3.3 (release candidate 1)--==_Exmh_1079726856P
Content-Type: text/plain; charset=us-ascii
On behalf of the Python development team and the Python community, I'm
happy to announce the release of Python 2.3.3 (release candidate 1).
Python 2.3.3 is a bug-fix release of Python 2.3. A couple of serious
bugs related to weakrefs and the cyclic garbage collector have been
fixed, along with a number of bugs in the standard library. See the
release notes on the web page for more details.
For more information on Python 2.3.3c1, including download links for
various platforms, release notes, and known issues, please see
...
RELEASED Python 2.3.3 (release candidate 1)--==_Exmh_1079726856P
Content-Type: text/plain; charset=us-ascii
On behalf of the Python development team and the Python community, I'm
happy to announce the release of Python 2.3.3 (release candidate 1).
Python 2.3.3 is a bug-fix release of Python 2.3. A couple of serious
bugs related to weakrefs and the cyclic garbage collector have been
fixed, along with a number of bugs in the standard library. See the
release notes on the web page for more details.
For more information on Python 2.3.3c1, including download links for
various platforms, release notes, and known issues, please see
http://www.python.org/2.3.3
Highlights of this new release include:
- A couple of serious bugs in the interactions of weakrefs and
cyclic GC have been squashed.
- At shutdown, the second call to the cyclic garbage collector has
been removed. This caused more problems than it solved.
- The xml.parsers.expat module now provides Expat 1.95.7.
- urllib2's HTTP Digest Auth support works again.
- See http://www.python.org/2.3.3/NEWS.html for other bugfixes.
Highlights of the previous major Python release (2.3) are available
from the Python 2.3 page, at
http://www.python.org/2.3/highlights.html
A final version of Python 2.3.3 should follow in a couple of weeks,
just in time for your Christmas stockings.
Enjoy the new release,
Anthony
Anthony Baxter
anthony@python.org
P...
how to "(1-3*x^2)/(1-3*x+x^2+2*x^3) => 1/(1-2*x) + x/(1-x-x^2)"?hi
normal(1/(1-2*x) + x/ (1-x-x^2),expanded);
1/(1-2*x) + x/(1-x-x^2) => (1-3*x^2)/(1-3*x+x^2+2*x^3)
how to do the reverse?
dillogimp@gmail.com writes:
> normal(1/(1-2*x) + x/ (1-x-x^2),expanded);
> 1/(1-2*x) + x/(1-x-x^2) => (1-3*x^2)/(1-3*x+x^2+2*x^3)
> how to do the reverse?
convert(%,parfrac,x);
--
Joe Riel
...
[RELEASED] Python 3.2.6, Python 3.3.6-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On behalf of the Python development team, I'm happy to announce
the release of Python 3.2.6 and 3.3.6. Both are security-fix releases,
which are provided source-only on python.org.
The list of security-related issues fixed in the releases is given in
the changelogs:
https://hg.python.org/cpython/raw-file/v3.2.6/Misc/NEWS
https://hg.python.org/cpython/raw-file/v3.3.6/Misc/NEWS
To download the releases visit one of:
https://www.python.org/downloads/release/python-326/
https://www.python.org/downloads/release/...
[RELEASED] Python 3.2.6, Python 3.3.6-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On behalf of the Python development team, I'm happy to announce
the release of Python 3.2.6 and 3.3.6. Both are security-fix releases,
which are provided source-only on python.org.
The list of security-related issues fixed in the releases is given in
the changelogs:
https://hg.python.org/cpython/raw-file/v3.2.6/Misc/NEWS
https://hg.python.org/cpython/raw-file/v3.3.6/Misc/NEWS
To download the releases visit one of:
https://www.python.org/downloads/release/python-326/
https://www.python.org/downloads/release/...
rspec-1.3.1 and rspec-rails-1.3.3 are released!I just released rspec-1.3.1 and rspec-rails-1.3.3.
These are mostly bug fixes that have been sitting around for all to long =
as I focused on rspec-2 (coming very soon).
Report issues for rspec[-rails]-1.x to =
https://rspec.lighthouseapp.com/projects/5645.
Docs:
http://rspec.info/
http://rdoc.info/gems/rspec/1.3.1/frames
http://rdoc.info/gems/rspec-rails/1.3.3/frames
Cheers,
David
=3D=3D=3D rspec-1.3.1 / 2010-10-09
* enhancements
* Array =3D~ matcher works with subclasses of Array (Matthew Peychich =
& Pat Maddox)
* config.suppress_deprecation_warnings!
* bug fixes
* QuitBacktraceTweaker no longer eats all paths with 'lib'
(Tim Harper - #912)
* Fix delegation of stubbed values on superclass class-level methods.
(Scott Taylor - #496 - #957)
* Fix pending to work with ruby-1.9
* deprecations
* share_as (will be removed from rspec-core-2.0)
* simple_matcher (will be removed from rspec-core-2.0)
=3D=3D=3D rspec-rails-1.3.3 / 2010-10-09
* enhancements
* replace use of 'returning' with 'tap'
* bug fixes
* support message expectation on template.render with locals (Sergey
Nebolsin). Closes #941.
* helper instance variable no longer persists across examples
(alex rothenberg). Closes #627.
* mock_model stubs marked_for_destruction? (returns false).
...
RE: RELEASED Python 2.3.4, release candidate 1 #3"""
What gives you the right to say this? *I'm offended.*
Speaking of moral and ethics, there seem to be other things to care
about, especially these days.
Thomas
"""
Ok, so perhaps "moral" and "ethical" is slightly strong. Sheesh. Levity.
Point being, if the developers of Python (and Perl and .... so on) spent =
so much time and energy creating something cross platform, it should be =
used thusly. I'm not saying it's "evil" not to do so, I'm saying that if =
you NEED platform-specific tools (which, let's be h...