Hi folks,
I'm pleased to announce the 0.4.0 release of psutil:
http://code.google.com/p/psutil
=== About ===
psutil is a module providing an interface for retrieving information
on all running processes and system utilization (CPU, disk, memory,
network) in a portable way by using Python,
==
SciPy 2011 Call for Papers
==
The third `SciPy India Conference http://scipy.in`_ will be held
from December 4th through the 7th at the `Indian Institute of
Technology, Bombay (IITB) http://www.iitb.ac.in/`_ in Mumbai,
Maharashtra India.
At this
About WSME
--
WSME (Web Service Made Easy) is a very easy way to implement webservices
in your python web application (or standalone).
Main Changes
* Added batch-calls abilities.
* Introduce a :class:`UnsetType` and a :data:`Unset` constant
so that non-mandatory
I am thinking the bye code compiler in python can be faster if all known
immutable instances up to the executionare compiled immutable objects to be
assigned.
--
http://mail.python.org/mailman/listinfo/python-list
Hi folks,
I'm pleased to announce the 0.4.0 release of psutil:
http://code.google.com/p/psutil
=== About ===
psutil is a module providing an interface for retrieving information
on all running processes and system utilization (CPU, disk, memory,
network) in a portable way by using Python,
Thanks to all those who tested and replied!
For Windows users who want to just run Pyguin (not modify or tinker
with the source code), it would be best to bundle Pynguin up with
Py2exe
I considered that, but I agree that licensing issues would make it
problematic.
the Python installer
On Oct 28, 3:24 pm, Terry Reedy tjre...@udel.edu wrote:
On 10/28/2011 2:05 PM, Patrick Maupin wrote:
On Oct 27, 10:23 pm, Terry Reedytjre...@udel.edu wrote:
I do not think everyone else should suffer substantial increase in space
and run time to avoid surprising you.
What substantial
On 10/29/2011 9:43 AM, Lee Harr wrote:
So, windows now creates the dummy folder automatically?
That is the default choice, but users are given a prompt to choose an
arbitrary directory. Note that this only applies to the ZIP extractor in
Explorer; other archive programs have their own behavior. I
On 10/29/2011 03:00 AM, Steven D'Aprano wrote:
On Fri, 28 Oct 2011 22:47:42 +0200, Gelonida N wrote:
Hi,
I would like to save many dicts with a fixed amount of keys tuples to a
file in a memory efficient manner (no random, but only sequential
access is required)
What do you mean keys
On 10/29/2011 01:08 AM, Roy Smith wrote:
In article mailman.2293.1319834877.27778.python-l...@python.org,
Gelonida N gelon...@gmail.com wrote:
I would like to save many dicts with a fixed amount of keys
tuples to a file in a memory efficient manner (no random, but only
sequential access
On 10/29/11 11:44, Gelonida N wrote:
I would like to save many dicts with a fixed (and known) amount of keys
in a memory efficient manner (no random, but only sequential access is
required) to a file (which can later be sent over a slow expensive
network to other machines)
Example:
Every dict
On Wed, Oct 26, 2011 at 3:51 PM, Chris Hall cha...@gmail.com wrote:
I am looking to get reviews, comments, code snippet suggestions, and
feature requests for my site.
I intend to grow out this site with all kinds of real world code
examples to learn from and use in everyday coding.
The site
Hi,
I'm wondering if there is any way to customize class attribute access
on classic classes?
So this works:
class Meta(type):
def __getattr__(cls, name):
return Customized + name
class A:
__metaclass__ = Meta
print A.blah
but it turns A into a new-style class.
If Meta does
Geoff Bache geoff.ba...@gmail.com writes:
I'm wondering if there is any way to customize class attribute access
on classic classes?
Why do that? What is it you're hoping to achieve, and why limit it to
classic classes only?
So this works:
class Meta(type):
def __getattr__(cls, name):
On 10/25/2011 03:30 AM, Alec Taylor wrote:
Good morning,
I'm often generating DDLs from EER-Logical diagrams using tools such
as PowerDesigner and Oracle Data Modeller.
I've recently come across an ORM library (SQLalchemy), and it seems
like a quite useful abstraction.
Is there a way to
New submission from João Bernardo jbv...@gmail.com:
I just realized the builtin function `vars` can't handle custom objects without
the __dict__ attribute.
It would be nice if it worked with objects that have __slots__ to make them
look more like normal objects and to make debugging easier.
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 8ddd4c618b48 by Ezio Melotti in branch '2.7':
#13289: fix typo.
http://hg.python.org/cpython/rev/8ddd4c618b48
New changeset fec8fdbccf3b by Ezio Melotti in branch '3.2':
#13289: fix typo.
Ezio Melotti ezio.melo...@gmail.com added the comment:
Fixed, thanks for the report!
--
assignee: - ezio.melotti
nosy: +ezio.melotti
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
assignee: - ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue670664
___
___
Petri Lehtinen pe...@digip.org added the comment:
Because of the line break, clicking that link gives Server error 404.
I don't see a line break, but the comma after the link seems to breaks it.
Sorry.
The way I read the grammar, 'records' (which start with an agent
line) cannot have blank
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset bf1c4984d4e5 by Charles-François Natali in branch 'default':
Issue #5661: Add a test for ECONNRESET/EPIPE handling to test_asyncore. Patch
http://hg.python.org/cpython/rev/bf1c4984d4e5
--
nosy: +python-dev
Antoine Pitrou pit...@free.fr added the comment:
With the default whitespace escaping (which allows spaces in
filenames), wildcard matching still works (thus the list of
directories matching the ../py* pattern), but with full quoting it
breaks (thus the nothing named '../py*' result).
My
Changes by maniram maniram maniandra...@gmail.com:
--
versions: -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13265
___
___
Charles-François Natali neolo...@free.fr added the comment:
The test fails on OS X:
==
ERROR: test_handle_close_after_conn_broken
(test.test_asyncore.TestAPI_UseIPv4Poll)
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 507dfb0ceb3b by Charles-François Natali in branch 'default':
Issue #5661: on EPIPE/ECONNRESET, OS X returns the FD with the POLLPRI flag...
http://hg.python.org/cpython/rev/507dfb0ceb3b
--
Xavier de Gaye xdeg...@gmail.com added the comment:
The test fails when use_poll is True.
The difference between using poll() and poll2():
poll: All the read events are processed before the write events,
so the close after the first recv by TestHandler will be followed
by a send by
Charles-François Natali neolo...@free.fr added the comment:
The test fails when use_poll is True.
The difference between using poll() and poll2():
poll uses select(2), while poll2 uses poll(2) (duh, that's confusing).
It seems that on OS X Snow Leopard, poll(2) sets the POLLPRI flag upon
Antoine Pitrou pit...@free.fr added the comment:
It's available in 3.3:
ctx = ssl.SSLContext(ssl.PROTOCOL_TLSv1)
ctx.verify_mode = ssl.CERT_REQUIRED
ctx.set_default_verify_paths()
with ctx.wrap_socket(socket.socket()) as sock:
... sock.connect((svn.python.org, 443))
... cert =
Nick Coghlan ncogh...@gmail.com added the comment:
Yeah, I was thinking about this a bit more and realised that I'd rejected the
quote everything by default approach before I had the idea of providing a
custom conversion specifier to disable the implicit string conversion and
quoting.
So
Antoine Pitrou pit...@free.fr added the comment:
If the handle leaks are restricted to the windows implementation of cpython,
could it not be justified to allow C++ in a patch, I can't think of a C only
compiler for windows?
Well, I think that would be rather clumsy. I'm not a Windows user
Charles-François Natali neolo...@free.fr added the comment:
Rémi, do you want to submit a patch to skip those tests on OpenBSD?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12905
___
Charles-François Natali neolo...@free.fr added the comment:
Thanks. Although, on second thought, I'm not sure whether Amaury's
idea (allowing a custom opener) is not better... Thoughts?
+1.
This would also address issues #12760 and #12105.
--
___
Changes by Charles-François Natali neolo...@free.fr:
--
status: open - closed
superseder: - io.FileIO and io.open should support openat
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12105
Changes by Charles-François Natali neolo...@free.fr:
--
resolution: - duplicate
status: open - closed
superseder: - io.FileIO and io.open should support openat
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12760
Ross Lagerwall rosslagerw...@gmail.com added the comment:
What would you envisage the API for the custom opener to look like?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12797
___
Antoine Pitrou pit...@free.fr added the comment:
What would you envisage the API for the custom opener to look like?
The same as os.open(), I would say.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12797
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12797
___
Martin v. Löwis mar...@v.loewis.de added the comment:
As a policy, we will not rely on C++ destructors for cleanup. There are really
two issues here: global locks, and module-specific locks.
The global locks can and should be released in Py_Finalize, with no API change.
Antoine's patch looks
Changes by Petri Lehtinen pe...@digip.org:
--
nosy: +petri.lehtinen
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13284
___
___
Changes by Petri Lehtinen pe...@digip.org:
--
nosy: +petri.lehtinen
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13285
___
___
Python-bugs-list
Ross Lagerwall rosslagerw...@gmail.com added the comment:
Before I implement it properly, is this the kind of api that's desired?
import os
import io
class MyOpener:
def __init__(self, dirname):
self.dirfd = os.open(dirname, os.O_RDONLY)
def open(self, path, flags, mode):
Changes by Petri Lehtinen pe...@digip.org:
--
nosy: +petri.lehtinen
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10519
___
___
Python-bugs-list
Changes by Petri Lehtinen pe...@digip.org:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12761
___
Changes by Petri Lehtinen pe...@digip.org:
--
nosy: +petri.lehtinen
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6650
___
___
Python-bugs-list
Antoine Pitrou pit...@free.fr added the comment:
Before I implement it properly, is this the kind of api that's desired?
Yes, although I think most people would use a closure instead of a dedicated
class.
--
___
Python tracker
Xavier de Gaye xdeg...@gmail.com added the comment:
Actually the class asyncore.dispatcher_with_send do not handle
properly disconnection. When the endpoint shutdown his sending part
of the socket, but keep the socket open in reading, the current
implementation of dispatcher_with_send will
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13280
___
Terry J. Reedy tjre...@udel.edu added the comment:
Sorry, the visual linebreak depends on font size. It *is* the comma that caused
the problem.
You missed my question about the current test suite.
Senthil, you are the listed expert for urllib, which includes robotparser. Any
opinions on what
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
Barry, any thoughts?
--
assignee: rhettinger - barry
nosy: +barry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13173
___
Ronny Pfannschmidt ronny.pfannschm...@gmail.com added the comment:
however some basic consistency between the cpython and pure python versions
within the stdlib would be nice
since it basically implicitly breaks unaware code on non cpython
--
___
Changes by Armin Rigo ar...@users.sourceforge.net:
--
assignee: arigo -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10519
___
___
New submission from Florent Xicluna florent.xicl...@gmail.com:
There's two names which should be fixed in xmlrpc package:
--- a/Lib/xmlrpc/client.py
-elif isinstance(other, (str, unicode)):
--- a/Lib/xmlrpc/server.py
-response = xmlrpclib.dumps(
-
David Barnett davidbarne...@gmail.com added the comment:
Here's a test for the bug.
--
keywords: +patch
Added file: http://bugs.python.org/file23548/test_unicode_sdist.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11638
David Barnett davidbarne...@gmail.com added the comment:
One way to fix the symptom (maybe not the correct way) would be to edit
tarfile._Stream._init_write_gz and change the line that reads
self.__write(self.name + NUL)
to something like
self.__write(self.name.encode('utf-8') + NUL)
Florent Xicluna florent.xicl...@gmail.com added the comment:
Proposed fix, with some tests.
--
keywords: +patch
stage: test needed - patch review
Added file: http://bugs.python.org/file23549/issue13291_xmlrpc.diff
___
Python tracker
Changes by Alex Gaynor alex.gay...@gmail.com:
--
nosy: +alex
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13274
___
___
Python-bugs-list mailing
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13274
___
Ross Lagerwall rosslagerw...@gmail.com added the comment:
The attached patch adds the opener keyword + tests.
--
Added file: http://bugs.python.org/file23550/opener.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12797
58 matches
Mail list logo