I am pleased to announce the release of mds-utils 2.1.0
http://www.micheledestefano.joomlafree.it/en/mds-utils.html.
Features summary
---
MDS-UTILS provides:
1. a tool for detecting machine endianity.
2. utilities for the Boost uBLAS library. Amongst them, some
Seymore4Head wrote:
Still practicing. Since this is listed as a Pseudocode, I assume this
is a good way to explain something. That means I can also assume my
logic is fading with age.
http://en.wikipedia.org/wiki/Leap_year#Algorithm
Me trying to look at the algorithm, it would lead me to
On 09/26/2014 05:03 PM, Seymore4Head wrote:
On Fri, 26 Sep 2014 18:55:54 -0400, Seymore4Head
Seymore4Head@Hotmail.invalid wrote:
I am taking An Introduction to Interactive Programming in Python at
coursera.org. From their announcments page:
Week one of the video contest is open
For
On 09/26/2014 12:15 PM, Paula Estrella wrote:
Hello, we are working on ubuntu 12.04 LTS; we use gtk to take screenshots
and we added a simple interface to select a file using tkFileDialog but it
doesn't work; is it possible that tkinter and gtk are incompatible? a test
script to open a file
On 28.09.2014 03:07, Gregory Johannes-Kinsbourg wrote:
both Python 2 3 (I’m on OS X 10.10 btw) and first of all was curious to
know if they will clash
I am also quite new to the python business, and had the same kind of
questions (how to install/uninstall a package, will different
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote:
The Model B supported more graphics modes, had a six-pin DIN connector
for a monitor (both the A and B had UHF output for connecting to a
television, but only the B supported a dedicated monitor), had support
for an optional floppy
In article
captjjmonhfm1mr+2ssiy8r6ntvduzxqsxxjraxmi6deqh9h...@mail.gmail.com,
Chris Angelico ros...@gmail.com wrote:
On Sun, Sep 28, 2014 at 11:07 AM, Gregory Johannes-Kinsbourg
harmonoisemu...@gmail.com wrote:
Anyway, I’ve basically ended up installing both Python 2 3 (I’m on OS X
On Mon, Sep 29, 2014 at 9:17 AM, Ned Deily n...@acm.org wrote:
That's odd advice.
... And, while OS X 10.10 Yosemite is still a few weeks away from its
expected official release data, you can be sure that the current
releases of Python have been tested with the public beta and with
developer
In article
CAPTjJmq-55xV2nbsVgc6UFz8Xkw_wnh_S9RejduwZteU=2o...@mail.gmail.com,
Chris Angelico ros...@gmail.com wrote:
On Mon, Sep 29, 2014 at 9:17 AM, Ned Deily n...@acm.org wrote:
That's odd advice.
... And, while OS X 10.10 Yosemite is still a few weeks away from its
expected official
greetings,
i'm writing a program to scan a data file. from each line of the data file
i'd like to add something like below to a dictionary. my perl background
makes me want python to autovivify, but when i do:
file_data = {}
[... as i loop through lines in the file ...]
On Mon, Sep 29, 2014 at 10:04 AM, David Alban exta...@extasia.org wrote:
file_data = {}
[... as i loop through lines in the file ...]
file_data[ md5sum ][ inode ] = { 'path' : path, 'size' : size, }
what is the pythonic way to build my file_data data structure above
On 9/28/14 8:04 PM, David Alban wrote:
i'm writing a program to scan a data file. from each line of the data
file i'd like to add something like below to a dictionary. my perl
background makes me want python to autovivify, but when i do:
file_data = {}
[... as i loop through
Martin v. Löwis added the comment:
Reopening for somebody to look at; I'm not interested in Python 2.7 anymore.
--
status: closed - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22139
Serhiy Storchaka added the comment:
You can use the default parameter of max() in 3.4+.
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16537
___
Roundup Robot added the comment:
New changeset 599a957038fa by Serhiy Storchaka in branch 'default':
Removed redundant casts to `char *`.
https://hg.python.org/cpython/rev/599a957038fa
--
___
Python tracker rep...@bugs.python.org
STINNER Victor added the comment:
_PyFaulthandler_Init() uses sigaltstack() with a stack of SIGSTKSZ bytes. On my
Linux/x86_64, SIGSTKSZ is 8 KB.
What is the value of SIGSTKSZ on aarch64? Is there a C define (#ifdef) to use a
different size on this architecture? Does the test pass if you
Serhiy Storchaka added the comment:
Agree with Martin. And I think we should check for starting tilde not base
name, but full name.
--
nosy: +serhiy.storchaka
stage: patch review - needs patch
versions: +Python 3.5 -Python 3.3
___
Python tracker
Andreas Schwab added the comment:
There is an open bug about MINSIGSTKSZ being too small on aarch64
https://sourceware.org/bugzilla/show_bug.cgi?id=16850.
How much SIGSTKSZ can guarantee about nested signals is unclear. POSIX does
not appear give any guidance. On aarch64 SIGSTKSZ is defined
Eli Bendersky added the comment:
I could continue the discussion about databases, but it feels like a waste
of time to me. The main principle is: If something has an important property
(in this case an enum object's numerical value), it should be publicly
exposed. Period. No need to spend
New submission from Serhiy Storchaka:
Here is a patch which gets rid of small performance regression introduced by
issue20426 patch. No need to check flags before cache lookup because patterns
with the DEBUG flag are newer cached.
$ ./python -m timeit -s import re -- re.match('', '')
Before
Saimadhav Heblikar added the comment:
I don't know how dialogs and calltip popups behave on Gnome Shell
Can you reply what behaviour you want to confirm?
If you meant, grouping - Toplevels like ClassBrowser, PathBrowser etc are
always grouped as single unit in the Activity Bar. But, in the
Roundup Robot added the comment:
New changeset 6375bf34fff6 by R David Murray in branch '3.4':
#10510: Fix bug in forward port of 2.7 distutils patch.
https://hg.python.org/cpython/rev/6375bf34fff6
New changeset 90b07d422bd9 by R David Murray in branch 'default':
#10510: Fix bug in forward port
New submission from Mohammed Mustafa Al-Habshi:
hello every one,
I was trying to understand the behavior of passing arguments in a function to
differentiate how we can pass argument by value. Though it is a technique
matter. However, the behavior of assignment operator +=
when using it with
Mark Dickinson added the comment:
I'm afraid this bug tracker isn't really the appropriate place for this
discussion, so I'm going to close this issue. You could open a discussion on
the Python mailing list, here:
https://mail.python.org/mailman/listinfo/python-list.
--
nosy:
Steven D'Aprano added the comment:
I'm afraid that you are mistaken about Python's argument passing semantics.
Arguments are *always* passed using the same semantics, and *never* using
either pass-by-value or pass-by-reference.
These two pages may help you understand why Python's argument
R. David Murray added the comment:
See also issue 20135.
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22511
___
___
Mark Lawrence added the comment:
Antoine or Marc-Andre will either of you follow up on this as the last message
msg74608 was nearly six years ago?
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4093
Francis MB added the comment:
Hi Éric,
are the changes to distutils2 applied? could the issue be closed (has
resolution:fixed) or is something to be done?
--
nosy: +francismb
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9313
Mark Lawrence added the comment:
Distutils2 is dead.
--
components: -Distutils2
nosy: +BreamoreBoy, dstufft
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9313
___
Roundup Robot added the comment:
New changeset 0ad19246d16d by Benjamin Peterson in branch '2.7':
give exception a nice message (closes #22379)
https://hg.python.org/cpython/rev/0ad19246d16d
New changeset ab1570d0132d by Benjamin Peterson in branch '3.4':
check that exception messages are not
Mark Lawrence added the comment:
I think this should be an enhancement request.
--
components: +Library (Lib) -None
nosy: +BreamoreBoy, jcea
type: behavior - enhancement
versions: +Python 3.5 -Python 2.7, Python 3.1, Python 3.2
___
Python tracker
Francis MB added the comment:
Distutils2 is dead.
I wasn't aware of that and I'm sorry for that. In that case that issue can IMHO
be closed.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9313
Changes by Berker Peksag berker.pek...@gmail.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9313
___
___
Mark Lawrence added the comment:
Has this been superseded by the many improvements made to the Windows build
system over the last few months or even years?
--
nosy: +BreamoreBoy, steve.dower, zach.ware
type: - behavior
___
Python tracker
RobertG added the comment:
As far as a non contrived example, see http://bugs.python.org/issue21628, which
was marked as a duplicate of this bug.
This bug is the main thing preventing me from using 2to3, so I think it is a
real issue.
--
___
Mark Lawrence added the comment:
I'd try to reproduce this but with so little data to go on I don't understand
how. Can somebody fill the gaps?
--
components: +Windows -Distutils2
nosy: +BreamoreBoy, dstufft
versions: +Python 3.4, Python 3.5 -3rd party, Python 3.1, Python 3.2
Mark Lawrence added the comment:
Slipped under the radar?
--
components: +Library (Lib)
nosy: +BreamoreBoy
type: - behavior
versions: +Python 3.4, Python 3.5 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9643
Mark Lawrence added the comment:
From msg60698 The first URL hangs for me, using Firefox. Especially if
this depends on using a proxy which I do not have permission
to use, I have no idea how to reproduce this. I certainly have no idea on how
to reproduce this so unless someone can the only
Mark Lawrence added the comment:
I don't recall ever seeing a problem like this, but then I haven't used IE in
years and don't intend using it now just for this.
--
components: +Windows
nosy: +BreamoreBoy, steve.dower, zach.ware
versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2
New submission from Francis MB:
Running the test suite or 'test_distutils' triggers the creation of the
directory '.rpmdb'. I noticed that because somehow that directory was bad
formed and got errors while running the test suite:
error: db5 error(-30969) from dbenv-open: BDB0091
Mark Lawrence added the comment:
Can somebody take a look at this please. See also #9917.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue678264
___
paul j3 added the comment:
If the empty argument group has a 'description' it is displayed. For example
with positionals group that I mentioned earlier:
parser = argparse.ArgumentParser()
parser._action_groups[0].description = 'test'
parser.print_help()
produces
usage:
Roundup Robot added the comment:
New changeset 5313b4c0bb6c by Alexander Belopolsky in branch 'default':
Closes issue #20858: Enhancements/fixes to pure-python datetime module
https://hg.python.org/cpython/rev/5313b4c0bb6c
--
nosy: +python-dev
___
Mark Lawrence added the comment:
Works for me using 3.4.1 and 3.5.0a0.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8988
___
Mark Lawrence added the comment:
From msg112274 if these platforms can't function with these preprocessor
defines, the platforms need to be fixed -- not python. so I believe this can
be closed.
--
nosy: +BreamoreBoy
___
Python tracker
Mark Lawrence added the comment:
From msg119142 I suspect we don't really fix libffi compile warnings because
... so it looks as if we wouldn't bother anyway, plus these compiler warnings
are years old so can this be closed as out of date?
--
nosy: +BreamoreBoy
Mark Lawrence added the comment:
3.4.1 and 3.5.0a0 give the same message as 2.6. I don't have 2.7 to see what
it currently does.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9943
R. David Murray added the comment:
Thanks for the report and patch.
You should use test.support.EnvironmentVarGuard to make the environment change
temporary.
--
nosy: +r.david.murray
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
Changes by Benjamin Peterson benja...@python.org:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20858
___
Terry J. Reedy added the comment:
Still TypeError: f() takes exactly 0 arguments (2 given). I consider the
2.6/3.x message better (more accurate). But at this point, I could be
persuaded to leave 2.7 alone and close this.
--
___
Python tracker
Benjamin Peterson added the comment:
Yes, the argument error messages for 2.x are all not very good. Note this issue
was fixed once and for all in Python 3:
% python3 x.py
Traceback (most recent call last):
File x.py, line 3, in module
f(hello, keyword=True)
TypeError: f() takes 0
Łukasz Langa added the comment:
So the diff would look like this (please find it attached). It does two things:
* changes messages on InterpolationMissingOptionError and
InterpolationDepthError to be more helpful to the end user
* fixes rawval to actually hold the raw value of an option and
52 matches
Mail list logo