On Sunday 21 Jun 2015 11:22 CEST, Laura Creighton wrote:
In a message of Sun, 21 Jun 2015 10:12:06 +0200, Cecil Westerhof
writes:
I installed Jython and will start playing with it. There probably
will be differences between Python and Jython. Is there a way to
determine if a script is run by
On Sunday 21 Jun 2015 11:26 CEST, Laura Creighton wrote:
In a message of Sun, 21 Jun 2015 10:14:15 +0200, Cecil Westerhof
writes:
I have no experience yet with Jython or Android development. But I
was wondering: would it be possible to write applications for
Android with Jython? You normally
On Sunday 21 Jun 2015 11:05 CEST, Laura Creighton wrote:
Do you have Jython 2.7 released a few weeks ago?
Yes, but I was dumb enough to start the old version when I did this.
:-(
There is still one problem:
==
from __future__
In a message of Sun, 21 Jun 2015 12:21:03 +0200, Cecil Westerhof writes:
On Sunday 21 Jun 2015 11:05 CEST, Laura Creighton wrote:
Do you have Jython 2.7 released a few weeks ago?
Yes, but I was dumb enough to start the old version when I did this.
:-(
There is still one problem:
New submission from Jorge Herskovic:
I'm writing a library on top of multiprocessing. As part of the test suite, I
create and destroy dozens of processes repeatedly. About once in 50 runs, the
tests complete successfully but the program crashes with:
Error in atexit._run_exitfuncs:
Traceback
Cecil Westerhof wrote:
I installed Jython and will start playing with it. There probably will
be differences between Python and Jython. Is there a way to determine
if a script is run by Python or Jython? Then different execution paths
could be taken. With sys.version(_info) you do not get
Raymond Hettinger added the comment:
Is it expected?
No, it is a bug.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24482
___
___
Changes by Dmitry Odzerikho dmitry.odzeri...@gmail.com:
Added file: http://bugs.python.org/file39757/test_segfault.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24482
___
On 21.06.2015 11:40, Cecil Westerhof wrote:
Thanks. Good that I asked it. :-D
Good for you that you found someone able to enter words into a Google
query. That's a skill you might want to acquire some time in the future.
Cheers,
Johannes
--
Wo hattest Du das Beben nochmal GENAU
On Sunday, 21 June 2015 20:43:15 UTC+5:30, Dennis Lee Bieber wrote:
On Sun, 21 Jun 2015 09:32:55 +0100, Mark Lawrence declaimed the following:
On 21/06/2015 04:47, Nasser M. Abbasi wrote:
But it is not as intuitive as with Matlab
For those of us who don't know would you be kind
Jacek Kołodziej added the comment:
I've added previously missing test and docs for test.support.check__all__ in
Issue23883_support_check__all__.v2.patch . Awaiting review. :)
--
Added file:
http://bugs.python.org/file39760/Issue23883_support_check__all__.v2.patch
Serhiy Storchaka added the comment:
I can't reproduce the crash in 3.3+ (this doesn't matter the bug is gone), but
can reproduce in 2.7 and 3.2. Here is a reproducer that compatible with 2.7 and
3.x.
--
Added file: http://bugs.python.org/file39762/test_segfault.py
Martin Panter added the comment:
See Issue 1186900 about the NNTP client raising EOFError.
As for the “cannot read from timed out object” errors (also reported in Issue
19613), I think the test classes are bad. The test logs don’t seem to be
available, but I reckon that the previous test to
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24426
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24482
___
___
Roundup Robot added the comment:
New changeset 8e90f3ffa784 by Serhiy Storchaka in branch '2.7':
Issue #24408: Fixed test for tkinter.Font on OS X.
https://hg.python.org/cpython/rev/8e90f3ffa784
New changeset 014ee2df443a by Serhiy Storchaka in branch '3.4':
Issue #24408: Fixed test for
Serhiy Storchaka added the comment:
Thank you Ned and Martin.
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24408
New submission from Serhiy Storchaka:
There is a difference between Python and C implementations of
functools.lru_cache(). Python implementation caches the hash of the key, C
implementation doesn't. May be this is not too important (at least I have no an
example that shows the benefit of
Roundup Robot added the comment:
New changeset 6f659b9f7fbc by Serhiy Storchaka in branch '3.4':
Issue #24436: Added const qualifiers for char* arguments of _PyTraceback_Add.
https://hg.python.org/cpython/rev/6f659b9f7fbc
New changeset 9602b8313dd5 by Serhiy Storchaka in branch '3.5':
Issue
Serhiy Storchaka added the comment:
Thank you for your contribution Michael.
--
resolution: - fixed
stage: commit review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24436
Ivan Levkivskyi added the comment:
Nick, thank you for a review, I have made a new patch with all the previous
comments taken into account.
--
Added file: http://bugs.python.org/file39759/classdoc-v4.patch
___
Python tracker rep...@bugs.python.org
On Sunday, 21 June 2015 02:54:48 UTC-4, Denis McMahon wrote:
On Thu, 18 Jun 2015 18:47:30 -0700, Sahlusar wrote:
I have a conundrum regarding JSON objects and converting them to CSV:
I think your conundrum is that you've taken on a coding task beyond your
abilities to comprehend, and as
On Sunday, June 21, 2015 at 2:47:31 AM UTC-4, Denis McMahon wrote:
On Wed, 17 Jun 2015 08:00:11 -0700, Saran A wrote:
I would like to have this JSON object written out to a CSV file so that
the keys are header fields (for each of the columns) and the values are
values that are associated
On 06/20/2015 10:50 PM, Rustom Mody wrote:
Here is Eric Snow:
| Keep in mind that by immutability I'm talking about*really*
| immutable, perhaps going so far as treating the full memory space
| associated with an object as frozen. For instance, we'd have to
| ensure that immutable Python
It is difficult to explain this to someone asynchronously and without an in
person meeting. Moreover, the strict guidelines for disclosing information make
it difficult for me to explain the client's requirements and the problems that
they face.
I do agree with you Denis that this is an
Serhiy Storchaka added the comment:
New patch adds _PyDict_DelItem_KnownHash() and uses it to guarantee that the
hash is only calculated once.
--
Added file: http://bugs.python.org/file39761/clru_cache_known_hash_2.patch
___
Python tracker
New submission from Dmitry Odzerikho:
Hi,
I'm using iterators returned by itertools.tee in different threads. The
original iterator passed to itertools.tee is thread-safe, however, it doesn't
guarantees that the cloned iterators are thread safe too. However the
equivalent implementation of
In a message of Sun, 21 Jun 2015 10:29:32 +0100, BartC writes:
It also puts in a good dig at PyPy by including one benchmark where it
is 6 times as slow as CPython!
It's not clear why it's particularly useful for astrophysics.
--
Bartc
It's not that good a dig, as they say that it took less
Ronald Oussoren added the comment:
https://www.sqlite.org/c3ref/enable_shared_cache.html appears to indicate
that the function is deprecated on OSX 10.7 and iOS 5.0, but looking at the
latest sources on sqlite.org that's not the case, the warning in the
documentation appears to be for the
On Sunday, June 21, 2015 at 2:47:31 AM UTC-4, Denis McMahon wrote:
On Wed, 17 Jun 2015 08:00:11 -0700, Saran A wrote:
I would like to have this JSON object written out to a CSV file so that
the keys are header fields (for each of the columns) and the values are
values that are associated
On Sunday, June 21, 2015 at 10:54:44 AM UTC-4, Sahlusar wrote:
This is a duplicate to the post titled: JSON to CSV Troubleshooting:
Please don't do that.
--Ned.
--
https://mail.python.org/mailman/listinfo/python-list
Check this out using a 8 digit base with a 100 digit number no problem.
http://jt.node365.se/baseconversion3.html
--
https://mail.python.org/mailman/listinfo/python-list
Changes by Serhiy Storchaka storch...@gmail.com:
--
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24436
___
___
On Sunday, 21 June 2015 02:47:31 UTC-4, Denis McMahon wrote:
On Wed, 17 Jun 2015 08:00:11 -0700, Saran A wrote:
I would like to have this JSON object written out to a CSV file so that
the keys are header fields (for each of the columns) and the values are
values that are associated with
Raymond Hettinger added the comment:
This is important.
--
assignee: - rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24483
___
___
Raymond Hettinger added the comment:
If the C version is to remain in Python3.5, please make sure it provides all of
the carefully designed features of the pure python version:
* The hash function is called no more than once per element
* The key is constructed to be flat as possible
Changes by Dmitry Kazakov jsb...@gmail.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24309
___
___
Python-bugs-list
Changes by Dmitry Odzerikho dmitry.odzeri...@gmail.com:
Removed file: http://bugs.python.org/file39756/test_segfault.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24482
___
Sun, Jun 21, 2015 12:24 PM CEST Cecil Westerhof wrote:
On Sunday 21 Jun 2015 11:22 CEST, Laura Creighton wrote:
In a message of Sun, 21 Jun 2015 10:12:06 +0200, Cecil Westerhof
writes:
I installed Jython and will start playing with it. There probably
will be
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24436
___
___
On Sunday 21 Jun 2015 12:54 CEST, Laura Creighton wrote:
In a message of Sun, 21 Jun 2015 12:21:03 +0200, Cecil Westerhof
writes:
On Sunday 21 Jun 2015 11:05 CEST, Laura Creighton wrote:
Do you have Jython 2.7 released a few weeks ago?
Yes, but I was dumb enough to start the old version
Raymond Hettinger added the comment:
I would like the full functionality of the Python version to be implemented.
Guaranteeing that the hash is only calculated once prevents a reentrancy hole
and provides a speed benefit as well. Please implement exactly what the pure
python version does
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
Removed message: http://bugs.python.org/msg245600
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24483
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +rhettinger
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24482
___
Roundup Robot added the comment:
New changeset 7e46a503dd16 by Serhiy Storchaka in branch 'default':
Issue #24426: Fast searching optimization in regular expressions now works
https://hg.python.org/cpython/rev/7e46a503dd16
--
nosy: +python-dev
___
Fabien fabien.mauss...@gmail.com wrote:
another solution with less (([[]])), and less ;. There are way too
many ; in Matlab ;)
import numpy as np
v1 = [1, 2, 3]
v2 = [4, 5, 6]
v3 = [7, 8, 9]
v4 = [10, 11, 12]
np.hstack([[v1, v2], [v3, v4]]).T
Out[]:
array([[ 1, 4],
[ 2, 5],
[
On Sunday, 21 June 2015 11:31:44 UTC-4, Ned Batchelder wrote:
On Sunday, June 21, 2015 at 10:54:44 AM UTC-4, Sahlusar wrote:
This is a duplicate to the post titled: JSON to CSV Troubleshooting:
Please don't do that.
--Ned.
My apologies - is it possible to delete one of my posts?
--
George Jenkins added the comment:
Reviewer please :)
(or, advice on how I can get this to proceed, thx)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1182143
___
R. David Murray added the comment:
What does your patch implement? It's not clear from the issue discussion that
an API was decided on.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1182143
On Sunday, June 21, 2015 at 5:56:00 PM UTC-4, Waffle wrote:
On 21 June 2015 at 17:38, Sahlusar ahlusar.ahluwa...@gmail.com wrote:
[snip]
I do agree with you Denis that this is an unconventional approach. I was
wondering then that perhaps I should add additional functionality at the
On Sunday, June 21, 2015 at 4:54:27 PM UTC-4, Denis McMahon wrote:
On Sun, 21 Jun 2015 06:57:01 -0700, sahluwalia wrote:
On Sunday, 21 June 2015 02:47:31 UTC-4, Denis McMahon wrote:
On Wed, 17 Jun 2015 08:00:11 -0700, Saran A wrote:
I would like to have this JSON object written out
On Mon, Jun 22, 2015 at 9:54 AM, C.D. Reimer ch...@cdreimer.com wrote:
On 6/21/2015 3:02 PM, Marko Rauhamaa wrote:
As they say, tell that to the judge.
More than likely, the original copyright owner can issue an DMCA take down
notice and that will be end of that.
Or, alternatively, the
Yury Selivanov added the comment:
Martin, if you want to help with the documentation, it would be great if you
can help me with updating asyncio coroutines section:
https://docs.python.org/3.5/library/asyncio-task.html#coroutines
--
___
Python
On Mon, 22 Jun 2015 09:54 am, C.D. Reimer wrote:
On 6/21/2015 3:02 PM, Marko Rauhamaa wrote:
As they say, tell that to the judge.
More than likely, the original copyright owner can issue an DMCA take
down notice and that will be end of that.
The way the DMCA is implemented in practice,
On Mon, 22 Jun 2015 07:28 am, Michael Torrie wrote:
As to the question of assigning a copyright license to code, in this
case I suggest just releasing the code marked as public domain.
Public domain is not a licence, and many places (including the US) do not
allow individuals to put works into
Andreas Nilsson added the comment:
Here is a decompressed example (use lmms -d file to decompress). Shouldn't
this be parsed as XML? Here's a log of my experiment with it:
Python 2.7.9 (default, Apr 2 2015, 15:33:21)
[GCC 4.9.2] on linux2
Type help, copyright, credits or license for more
Serhiy Storchaka added the comment:
If the C version is to remain in Python3.5, please make sure it provides all
of the carefully designed features of the pure python version:
* The hash function is called no more than once per element
Will be satisfied by issue24483.
I think all other
On 6/21/2015 3:02 PM, Marko Rauhamaa wrote:
As they say, tell that to the judge.
More than likely, the original copyright owner can issue an DMCA take
down notice and that will be end of that.
Thanks,
Chris R.
--
https://mail.python.org/mailman/listinfo/python-list
Serhiy Storchaka added the comment:
New patch touches also unbounded cache version.
Larry, do you allow to commit such patch in 3.5?
--
nosy: +larry
versions: +Python 3.5
Added file: http://bugs.python.org/file39766/clru_cache_known_hash_3.patch
___
On 06/21/2015 08:27 PM, Steven D'Aprano wrote:
Public domain is not a licence, and many places (including the US) do not
allow individuals to put works into the public domain. (US government works
are a special case.) Some places will not recognise a public domain
dedication, and will treat
On Mon, Jun 22, 2015 at 2:23 PM, Michael Torrie torr...@gmail.com wrote:
From some brief research, it appears there is some question about the
ability to declare something to be in the public domain, but it is by no
means a sure thing and lots of people feel it's just fine to declare
something
On Sunday, June 21, 2015 at 7:34:47 PM UTC-4, Denis McMahon wrote:
On Mon, 22 Jun 2015 00:55:11 +0300, Joonas Liik wrote:
In xml for instance this is valid:
a
b1/b
/a
.. and so is this:
a
b1/b b2/b
/a
What the OP needs to do is sit down with the XML and work out how it
Yury Selivanov added the comment:
An updated patch is attached. I'll commit it tomorrow morning.
--
Added file: http://bugs.python.org/file39764/corotype.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24400
Roundup Robot added the comment:
New changeset 20c9290a5de4 by Ned Deily in branch '2.7':
Issue #24408: Prevent test_font failures with non-ascii font names.
https://hg.python.org/cpython/rev/20c9290a5de4
--
___
Python tracker rep...@bugs.python.org
On Sun, 21 Jun 2015 06:57:01 -0700, sahluwalia wrote:
On Sunday, 21 June 2015 02:47:31 UTC-4, Denis McMahon wrote:
On Wed, 17 Jun 2015 08:00:11 -0700, Saran A wrote:
I would like to have this JSON object written out to a CSV file so
that the keys are header fields (for each of the
On 21 June 2015 at 17:38, Sahlusar ahlusar.ahluwa...@gmail.com wrote:
[snip]
I do agree with you Denis that this is an unconventional approach. I was
wondering then that perhaps I should add additional functionality at the XML
to JSON step? So far, with JSON objects without nested lists (as
On 06/21/2015 03:52 PM, C.D. Reimer wrote:
The copyright applies to the book (Do not redistribute, mirror, or copy
this *online book*.) and any derivative work is based on the book.
Using the video output from the BASIC games in the book could fall
underneath the fair use provision, which
On 06/21/2015 02:58 PM, Marko Rauhamaa wrote:
Laura Creighton l...@openend.se:
In a message of Sun, 21 Jun 2015 12:32:46 -0700, C.D. Reimer writes:
Do I need to release my scripts under a license? If so, which one?
You should, because if you don't you could pop up some day and assert
On 6/21/2015 1:58 PM, Marko Rauhamaa wrote:
Converting BASIC games to Python results in derived works, which are
under the original copyright of the BASIC games.
From the given link:
BASIC Computer Games is copyright © 1978 by David H. Ahl, and is
posted on www.atariarchives.org
On Mon, 22 Jun 2015 00:55:11 +0300, Joonas Liik wrote:
In xml for instance this is valid:
a
b1/b
/a
.. and so is this:
a
b1/b b2/b
/a
What the OP needs to do is sit down with the XML and work out how it
needs to be represented in CSV terms, and then code that transformation,
but it
In a message of Sun, 21 Jun 2015 12:32:46 -0700, C.D. Reimer writes:
Do I need to release my scripts under a license? If so, which one?
You should, because if you don't you could pop up some day and
assert copyright and sue the hell out of people who use your code,
which means that many people
Laura Creighton l...@openend.se:
In a message of Sun, 21 Jun 2015 12:32:46 -0700, C.D. Reimer writes:
Do I need to release my scripts under a license? If so, which one?
You should, because if you don't you could pop up some day and assert
copyright and sue the hell out of people who use your
Changes by Ned Deily n...@acm.org:
--
nosy: +davin, sbt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24484
___
___
Python-bugs-list mailing list
C.D. Reimer ch...@cdreimer.com:
Using the video output from the BASIC games in the book could fall
underneath the fair use provision, which allows me to use a small
portion of the book without infringing on the copyright. I'm not
publishing a book. I just want to put my code on a website as
Michael Torrie torr...@gmail.com:
On 06/21/2015 02:58 PM, Marko Rauhamaa wrote:
Converting BASIC games to Python results in derived works, which are
under the original copyright of the BASIC games.
[...]
I disagree. Especially where the resulting python program is not a
transliteration
johnkw added the comment:
This bug is not present on Python 2.7.10 on 64-bit Linux.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23531
___
___
On 6/21/2015 1:00 PM, Laura Creighton wrote:
In a message of Sun, 21 Jun 2015 12:32:46 -0700, C.D. Reimer writes:
Do I need to release my scripts under a license? If so, which one?
You should, because if you don't you could pop up some day and
assert copyright and sue the hell out of people
On 21/06/2015 22:52, C.D. Reimer wrote:
On 6/21/2015 1:58 PM, Marko Rauhamaa wrote:
Converting BASIC games to Python results in derived works, which are
under the original copyright of the BASIC games.
From the given link:
BASIC Computer Games is copyright © 1978 by David H. Ahl, and
Ned Deily added the comment:
I agree with Ronald that the proposed patch should not be applied as is. For
example, the Pythons installed by the current python.org OS X installers build
and link with a newer version of libsqlite3. This is one of several examples
of third-party libraries for
Greetings,
I'm in the process of converting 101 old BASIC games into Python (see
link below).
http://www.atariarchives.org/basicgames/
The short term goal is to learn the finer aspects of the Python language
and reliving my misbegotten past on the Commodore 64. The long term goal
is to use
Fabien fabien.mauss...@gmail.com writes:
I am developing a tool which works on individual entities (glaciers)
and do a lot of operations on them. There are many tasks to do, one
after each other, and each task follows the same interface: ...
If most of the resources will be spent on
On Sun, 21 Jun 2015 07:38:13 -0700, Sahlusar wrote:
It is difficult to explain this to someone asynchronously and without an
in person meeting. Moreover, the strict guidelines for disclosing
information make it difficult for me to explain the client's
requirements and the problems that they
On Thu, 18 Jun 2015 18:47:30 -0700, Sahlusar wrote:
I have a conundrum regarding JSON objects and converting them to CSV:
I think your conundrum is that you've taken on a coding task beyond your
abilities to comprehend, and as a result not only can you not code it,
you can't even adequately
Martin Panter added the comment:
There are two problems with the test case, and one bug in Python:
1. HTTPPasswordMgr doesn’t handle realm=None; it has to be a string. You can
use HTTPPasswordMgrWithDefaultRealm though.
2. The password managers won’t match a proxy with a non-standard port
Martin Panter added the comment:
I should point out my patch also adds add_password() methods for the
authentication handlers to the documentation. These were only documented by
example, but everyone seems to prefer using them rather than the equivalent
password manager method.
--
On openSUSE there is a very old version of Jython installed (2.2.1),
so I installed the latest version (2.7.0). But when starting this I
get:
*sys-package-mgr*: can't write cache file for
'/var/lib/h2/h2-1.3.176/bin/h2-1.3.176.jar'
*sys-package-mgr*: can't write cache file for
When I execute in the latest Jython:
from __future__ import print_function
I get:
Traceback (innermost last):
(no code object) at line 0
File console, line 1
SyntaxError: future feature print_function is not defined
This is not implemented in the latest jython? I prefer to
Ah, turns out there was an entry. I updated it.
Laura
--
https://mail.python.org/mailman/listinfo/python-list
On 21/06/2015 04:47, Nasser M. Abbasi wrote:
But it is not as intuitive as with Matlab
For those of us who don't know would you be kind enough to do a cost
comparison of Matlab vs Python licenses?
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for
I installed Jython and will start playing with it. There probably will
be differences between Python and Jython. Is there a way to determine
if a script is run by Python or Jython? Then different execution paths
could be taken. With sys.version(_info) you do not get this
information.
--
Cecil
What is cx_Oracle?
cx_Oracle is a Python extension module that enables access to Oracle
for Python 2.x and 3.x and conforms to the Python database API 2.0
specifications with a number of enhancements.
Where do I get it?
http://cx-oracle.sourceforge.net
What's new?
On Wed, 17 Jun 2015 08:00:11 -0700, Saran A wrote:
I would like to have this JSON object written out to a CSV file so that
the keys are header fields (for each of the columns) and the values are
values that are associated with each header field.
{
CF: {
...
CF: Fee,
Your json object
On Thu, 18 Jun 2015 18:47:30 -0700, Sahlusar wrote:
I have a conundrum regarding JSON objects and converting them to CSV:
Context
I am converting XML files to a JSON object (please see snippet below)
and then finally producing a CSV file. Here is a an example JSON object:
This is where
On Sunday 21 Jun 2015 09:56 CEST, Cecil Westerhof wrote:
When I execute in the latest Jython:
from __future__ import print_function
I get:
Traceback (innermost last):
(no code object) at line 0
File console, line 1
SyntaxError: future feature print_function is not defined
This is not
I have no experience yet with Jython or Android development. But I was
wondering: would it be possible to write applications for Android with
Jython? You normally use Java for it, but I think I would like Jython
more. :-D
--
Cecil Westerhof
Senior Software Engineer
LinkedIn:
On 06/21/2015 07:21 AM, Nasser M. Abbasi wrote:
v1=np.array([(1,2,3)]).T
v2=np.array([(4,5,6)]).T
v3=np.array([(7,8,9)]).T
v4=np.array([(10,11,12)]).T
mat =np.hstack(( np.vstack((v1,v3)), np.vstack((v2,v4))) )
Out[236]:
array([[ 1, 4],
[ 2, 5],
[ 3, 6],
[ 7, 10],
Martin Panter added the comment:
From the current documentation and limited experience with the module,
ReadError (or a subclass) sounds best. I would only expect OSError only for
OS-level things, like file not found, disk error, etc.
The patches look good. One last suggestion is to use
In a message of Sun, 21 Jun 2015 09:53:23 +0200, Cecil Westerhof writes:
On openSUSE there is a very old version of Jython installed (2.2.1),
so I installed the latest version (2.7.0). But when starting this I
get:
*sys-package-mgr*: can't write cache file for
Stefan Behnel added the comment:
I added three more comments to the review. The rest looks good to me, too.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24400
___
Do you have Jython 2.7 released a few weeks ago?
Laura
--
https://mail.python.org/mailman/listinfo/python-list
1 - 100 of 106 matches
Mail list logo