On Oct 9, 9:47 am, Gabriel Genellina [EMAIL PROTECTED] wrote:
En Thu, 09 Oct 2008 00:24:20 -0300, Aaron Castironpi Brady
[EMAIL PROTECTED] escribió:
Found this bug. It's in 2.6, too bad.
Posting here is not going to help much, it just will be lost. Would be
better to file a bug report
In article
[EMAIL PROTECTED],
kenneth [EMAIL PROTECTED] wrote:
On Oct 9, 10:14 am, Christian Heimes [EMAIL PROTECTED] wrote:
kenneth wrote:
the 'd' variable already contains the 'self.d' value of the first
instance and not the default argument {}.
Am I doing some stupid error, or
[EMAIL PROTECTED] a écrit :
OT
bieffe, please, learn to snip irrelevant material...
/OT
On 9 Ott, 17:43, harijay [EMAIL PROTECTED] wrote:
(snip)
NameError: name 'master' is not defined
(snip)
#File runner.py
#!/usr/bin/python
import master
import child
if __name__==__main__:
print
Matt Nordhoff wrote:
Chris Rebert wrote:
I personally would probably do:
from collections import defaultdict
label2sum = defaultdict(lambda: 0)
FWIW, you can just use:
label2sum = defaultdict(int)
You don't need a lambda.
Indeed, in this case, with two known keys, the defaultdict is not
On Oct 9, 3:48 am, Bruno Desthuilliers bruno.
[EMAIL PROTECTED] wrote:
Aaron Castironpi Brady a écrit :
Hello,
The 'inspect' module has this method:
inspect.getargvalues(frame)
It takes a frame and returns the parameters used to call it, including
the locals as defined in the
On Oct 9, 1:44 pm, Jason Scheirer [EMAIL PROTECTED] wrote:
On Oct 9, 9:01 am, Paul Rubin http://[EMAIL PROTECTED] wrote:
Lie Ryan [EMAIL PROTECTED] writes:
in python 2.6, ast.literal_eval may be used to replace eval() for
literals.
What happens on literal_eval('[1]*9') ?
The
sert wrote:
I just got an exception and the traceback wouldn't go all the
way to the statement that threw the exception. I found that out
by using the debugger.
Contrast the traceback:
http://tinyurl.com/5xglde
with the debugger output (notice the arrow pointing to the last
statement the
Thomas Heller wrote:
Christian Heimes schrieb:
Thomas Heller wrote:
but this is very ugly, imo. Is there another way?
The raw_func instances that I have are not descriptors (they
do not implement a __get__() method...)
I've written PyInstanceMethod_Type for this use case. It's not (yet)
I recently tried switching from ElementTree to cElementTree. My
application parses a collection of large XML files and creates indexes
based on certain attributes. This entire collection is saved as an
instance of my Database class. Using ElementTree and cPickle has
allowed me to save these
* Mensanator (Thu, 9 Oct 2008 11:03:45 -0700 (PDT))
On Oct 9, 12:36 pm, Thorsten Kampe [EMAIL PROTECTED] wrote:
* Mensanator (Tue, 7 Oct 2008 10:58:24 -0700 (PDT))
On Oct 7, 12:40 pm, Thorsten Kampe [EMAIL PROTECTED] wrote:
* Lawrence D'Oliveiro (Mon, 06 Oct 2008 23:18:10 +1300)
In
On Oct 9, 3:27 am, sert [EMAIL PROTECTED] wrote:
I just got an exception and the traceback wouldn't go all the
way to the statement that threw the exception. I found that out
by using the debugger.
Contrast the traceback:
http://tinyurl.com/5xglde
with the debugger output (notice the
Does Python 3 have no way anymore to sort with a comparison function?
Both [].sort() and sorted() seem to accept only 'key' and 'reverse' arguments,
the 'cmp' argument seems to be gone. Can that be?
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
Terry Reedy schrieb:
Thomas Heller wrote:
Christian Heimes schrieb:
I've written PyInstanceMethod_Type for this use case. It's not (yet)
available for Python code. Oh, wait - there's ctypes:
Python 3.0rc1 (r30rc1:66507, Sep 18 2008, 14:47:08) [MSC v.1500 32 bit
(Intel)] on win32
Type
Almar Klein wrote:
Hi,
I was wondering...
Say we have a np.ndarray A of two dimensions (a grayscale image for
example). If we want to access x:2, y:3, we have to do A[3,2]. Why is
the order of x and y reversed?
This is reversed in Matlab too, because Matlab is a matrix package and
matrix
On Oct 9, 2:09 pm, Thorsten Kampe [EMAIL PROTECTED] wrote:
* Mensanator (Thu, 9 Oct 2008 11:03:45 -0700 (PDT))
On Oct 9, 12:36 pm, Thorsten Kampe [EMAIL PROTECTED] wrote:
* Mensanator (Tue, 7 Oct 2008 10:58:24 -0700 (PDT))
On Oct 7, 12:40 pm, Thorsten Kampe [EMAIL PROTECTED] wrote:
Thomas Heller wrote:
Ok, so one has to write an extension to access or expose it.
Oh, wait - there's ctypes:
I wrote the type to help the Pyrex and Cython developers to port their
software to 3.0. I planed to expose the type as
__builtin__.instancemethod but forgot it. Maybe we can convince
On Oct 9, 7:29 am, ShashiGowda [EMAIL PROTECTED] wrote:
I am writing a package manager and stuck unable to write the version
sorting function the algorithm is
herehttp://www.linux.gr/cgi-bin/man/man2html?deb-version+5
and all other info is also in it please tell me how to do lexical
I'm trying to (gently) convince my business partner that we should be
adding Python to our core toolset. He's never used it before, apart
from poking around in the tutorial a bit at my urging. But he's got a
birthday coming up, and I'd like to get him a book that will help him
make the
On Tue, Oct 07, 2008 at 05:43:41PM -0700, Samuel A. Falvo II wrote:
p = subprocess.Popen(
command,
shell=True,
stdin=subprocess.PIPE,
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
close_fds=True
)
outputChannel = p.stdout
Christian Heimes schrieb:
Thomas Heller wrote:
Ok, so one has to write an extension to access or expose it.
Oh, wait - there's ctypes:
I wrote the type to help the Pyrex and Cython developers to port their
software to 3.0. I planed to expose the type as
__builtin__.instancemethod but
I'm having trouble getting my head around a solution for a situation
where I need to flexibly format some text with a varying number of
embedded fields.
Here's a simplified description of my challenge...
I have a list of lists called bigList:
bigList = [ little, small, tiny]
The sub-lists
Thomas Heller:
the 'cmp' argument seems to be gone. Can that be?
Yes, that's a wonderful thing, because from the code I see around
99.9% of people see the cmp and just use it, totally ignoring the
presence of the 'key' argument, that allows better and shorter
solutions of the sorting problem.
On Oct 9, 3:00 pm, Joe Strout [EMAIL PROTECTED] wrote:
I'm trying to (gently) convince my business partner that we should be
adding Python to our core toolset. He's never used it before, apart
from poking around in the tutorial a bit at my urging. But he's got a
birthday coming up, and
Paul Rubin wrote:
Lie Ryan [EMAIL PROTECTED] writes:
in python 2.6, ast.literal_eval may be used to replace eval() for
literals.
What happens on literal_eval('[1]*9') ?
Easy to try. Since it is not a literal or display,
ValueError: malformed string, just as with set({1,2,3])
Ross,
I'm no expert in python, so excuse me if this is inane.
What I would do is have fmts be a dictionary where
fmts = { 3 = 'oats %0d kilos over %0d days with %0d workers',
2 = 'barley %0d lbs for %0d hours',
1 = 'apples %0d baskets'}
then something like
for x in bigList:
beginner [EMAIL PROTECTED] writes:
Hi All,
I have a list of records like below:
rec=[{F1:1, F2:2}, {F1:3, F2:4} ]
Now I want to write code to find out the ratio of the sums of the two
fields.
One thing I can do is:
sum(r[F1] for r in rec)/sum(r[F2] for r in rec)
But this is slow
ShashiGowda wrote:
I am writing a package manager and stuck unable to write the version
sorting function the algorithm is here
http://www.linux.gr/cgi-bin/man/man2html?deb-version+5
and all other info is also in it please tell me how to do lexical
comparision in python it'll be cool if you just
Hello group,
I'm trying to use a htmllib.HTMLParser derivate class to parse a website
which I fetched via
httplib.HTTPConnection().request().getresponse().read(). Now the problem
is: As soon as I pass the htmllib.HTMLParser UTF-8 code, it chokes. The
code is something like this:
prs =
Almar Klein wrote:
Hi,
I was wondering...
Say we have a np.ndarray A of two dimensions (a grayscale image for
example). If we want to access x:2, y:3, we have to do A[3,2]. Why is
the order of x and y reversed?
Because images are stored by rows, not by columns. So column 3, row 2,
is row
On Thu, Oct 9, 2008 at 3:48 PM, Mensanator [EMAIL PROTECTED] wrote:
Fine. Can you then see to it that this is mentioned on the Python
download page?
I'm not sure if anyone has mentioned it in all of the invective, but
the right thing to do is to report a bug on http://bugs.python.org.
If the
Aaron Castironpi Brady wrote:
On Oct 9, 9:47 am, Gabriel Genellina [EMAIL PROTECTED] wrote:
En Thu, 09 Oct 2008 00:24:20 -0300, Aaron Castironpi Brady
[EMAIL PROTECTED] escribió:
Found this bug. It's in 2.6, too bad.
Posting here is not going to help much, it just will be lost. Would be
I say, ignore this advice and disable UAC.
Fine. Can you then see to it that this is mentioned on the Python
download page?
I think Thorsten's advice is helpful (in the sense that it solves
the problem, and is IMO pragmatic also), but I *still* wouldn't
put it on the Python download page,
Basically, we want a[i][j] == a[i,j]. Since there is no literal syntax for
numpy arrays, we need to be able to convert from a sequence of sequences to
an array. The indexing needs to correspond between the two.
Thanks for the reply. I guess that explains the *why*...
Adopt the numpy order.
You can believe what you want. The people who developed UAC don't have
to support it.
I know for a fact that the implementation is incomplete. In Windows
Installer, there is no way (that I know of) to create an MSI file
that conditionally turns on UAC, only when the installation actually
needs
Terry Reedy [EMAIL PROTECTED] wrote in
news:[EMAIL PROTECTED]:
You forgot to specify which version of Python on which
computer system.
It's on Python 2.6.
--
http://mail.python.org/mailman/listinfo/python-list
Thomas Heller wrote:
Does Python 3 have no way anymore to sort with a comparison function?
Both [].sort() and sorted() seem to accept only 'key' and 'reverse' arguments,
the 'cmp' argument seems to be gone. Can that be?
Yes. When this was discussed, no one could come up with an actual use
On Oct 9, 5:20 pm, Joe Strout [EMAIL PROTECTED] wrote:
Wow, this was harder than I thought (at least for a rusty Pythoneer
like myself). Here's my stab at an implementation. Remember, the
goal is to add a match method to Template which works like
Template.substitute, but in reverse:
Johannes Bauer wrote:
Hello group,
I'm trying to use a htmllib.HTMLParser derivate class to parse a website
which I fetched via
httplib.HTTPConnection().request().getresponse().read(). Now the problem
is: As soon as I pass the htmllib.HTMLParser UTF-8 code, it chokes. The
code is something like
* Martin v. Löwis (Thu, 09 Oct 2008 23:32:42 +0200)
I say, ignore this advice and disable UAC.
Fine. Can you then see to it that this is mentioned on the Python
download page?
I think Thorsten's advice is helpful (in the sense that it solves the
problem, and is IMO pragmatic also),
I
sert [EMAIL PROTECTED] wrote in
news:[EMAIL PROTECTED]:
It's on Python 2.6.
On Windows.
--
http://mail.python.org/mailman/listinfo/python-list
Terry Reedy schrieb:
Johannes Bauer wrote:
Hello group,
I'm trying to use a htmllib.HTMLParser derivate class to parse a website
which I fetched via
httplib.HTTPConnection().request().getresponse().read(). Now the problem
is: As soon as I pass the htmllib.HTMLParser UTF-8 code, it chokes.
On Oct 9, 4:41 pm, Martin v. Löwis [EMAIL PROTECTED] wrote:
You can believe what you want. The people who developed UAC don't have
to support it.
I know for a fact that the implementation is incomplete. In Windows
Installer, there is no way (that I know of) to create an MSI file
that
I posted a problem with Vista on Jul 6 concerning not being
able to run IDLE in 2.6b1. No replies.
Where did you post that? On python-dev?
What am I supposed to do? File bug reports on things
I don't even know are bugs?
You mean, it might have been intentional that IDLE won't run
on Vista?
* Martin v. Löwis (Thu, 09 Oct 2008 23:41:44 +0200)
You can believe what you want. The people who developed UAC don't
have to support it.
I know for a fact that the implementation is incomplete. In Windows
Installer, there is no way (that I know of) to create an MSI file
that
On Oct 9, 3:53 pm, Alexander Schmolck [EMAIL PROTECTED] wrote:
beginner [EMAIL PROTECTED] writes:
Hi All,
I have a list of records like below:
rec=[{F1:1, F2:2}, {F1:3, F2:4} ]
Now I want to write code to find out the ratio of the sums of the two
fields.
One thing I can do is:
On Oct 9, 5:48 pm, Martin v. Löwis [EMAIL PROTECTED] wrote:
I posted a problem with Vista on Jul 6 concerning not being
able to run IDLE in 2.6b1. No replies.
Where did you post that? On python-dev?
No, right here on comp.lang.python. I don't even know what
you're referring to.
What am
I'm currently sharing a directory on sys.path with another
group.
We don't have the option to modify sys.path.
In order to reduce conflicts between the two group's code,
installation procedures, etc, I'd like to make a subdirectory
for each group, and have each group manage their own
[EMAIL PROTECTED] wrote:
Is there a way to import a module from one of these subdirectories?
Any other more pythonic ways to approach the situation?
ah, the magic of __init__.py.
Thanks all!
--
Mark Harrison
Pixar Animation Studios
--
http://mail.python.org/mailman/listinfo/python-list
Almar Klein wrote:
Basically, we want a[i][j] == a[i,j]. Since there is no literal
syntax for numpy arrays, we need to be able to convert from a
sequence of sequences to an array. The indexing needs to correspond
between the two.
Thanks for the reply. I guess that explains
On Thu, Oct 9, 2008 at 4:54 PM, Johannes Bauer [EMAIL PROTECTED] wrote:
Hello group,
Now when I take website directly from the parser, everything is fine.
However I want to do some modifications before I parse it, namely UTF-8
modifications in the style:
website = website.replace(uföö,
as a 20 year observer of microsoft, I have to say this is not amazing
at all... and I do not mean that as a random put down of Microsoft.
Microsoft often develops things in response to demand... but they
don't always fit in their system well, and thus are not really used in
the spirit of the
On Oct 9, 9:46 pm, Jean-Paul Calderone [EMAIL PROTECTED] wrote:
On Thu, 9 Oct 2008 06:37:04 -0700 (PDT), WaterWalk [EMAIL PROTECTED] wrote:
Until Python 2.5, the exception object still uses ansi string. Thus,
in the following example:
f = open(u\u6d4b.log)
Suppose the file to open does not
Hi everyone,
Crunchy version 1.0 alpha 1 has been released.
Crunchy is an application that transforms normally static Python
tutorial (html files, or reStructuredText ones - if docutils is
installed on your computer) into interactive sessions within your
browser (Firefox).
It is available from
In The Name Of Allaah,
Most Gracious, Most Merciful
YOU MUST KNOW THIS MAN
MUHAMMAD
(May peace and blessings of God Almighty be upon him)
You may be an atheist or an agnostic; or you may belong to anyone of
the religious denominations that exist in the world today. You may be
a Communist or a
My brothers and sisters everywhere! With this essay, I am not singling
out the adherents of Islam - to which I ascribe - but rather I am
writing this essay to every man and woman throughout the whole world.
I ask Allah that He facilitates tat this essay reaches every ear,
falls under the sight of
Excuse me!!
Would you stop for a moment?!
O...man...Haven't you thought-one day- about yourself ?
Who has made it?
Have you seen a design which hasn't a designer ?!
Have you seen a wonderful,delicate work without a worker ?!
It's you and the whole universe!..
Who has made them all ?!!
You know who
Johannes Bauer wrote:
Terry Reedy schrieb:
Johannes Bauer wrote:
Hello group,
I'm trying to use a htmllib.HTMLParser derivate class to parse a website
which I fetched via
httplib.HTTPConnection().request().getresponse().read(). Now the problem
is: As soon as I pass the htmllib.HTMLParser
The package posix_ipc provides a Python interface to POSIX shared
memory and named semaphores on platforms that support them (i.e. most
Unices). Platform details, source code, sample code and usage
instructions are provided at the link below. This package is GPLed.
Does anyone have any simple examples
of using Python 2.6/3.0's epoll with a
simpler socket (tcp) server ?
Thanks,
cheers
James
--
--
-- Problems are solved by method
--
http://mail.python.org/mailman/listinfo/python-list
Hi
My name is fatima
I’ve seen many places of the world on TV screen and few that I’ve
visited either for fun or/and business
As you know when we travel we meet a lot of different cultures and
people,
I found in many places I’ve been to; that people stereotyped Islam
(that's my religion) they
This can't get more amazing see for yourself! http://tardis-db.co.uk/
--
http://mail.python.org/mailman/listinfo/python-list
Barry wrote:
I recently tried switching from ElementTree to cElementTree. My
application parses a collection of large XML files and creates indexes
based on certain attributes. This entire collection is saved as an
instance of my Database class. Using ElementTree and cPickle has
allowed me
Python 2.5.2 (r252:60911, Aug 28 2008, 23:51:17)
[GCC 4.3.0 20080428 (Red Hat 4.3.0-8)] on linux2
Type help, copyright, credits or license for more information.
import CGIHTTPServer
Traceback (most recent call last):
File stdin, line 1, in module
File
Changes by Jason Day [EMAIL PROTECTED]:
--
title: ntpath.abspath can fail on Win Server 2008 (64-bit) - ntpath.abspath
fails for long str paths
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4071
New submission from Davi Post [EMAIL PROTECTED]:
Language Reference for the try statement does not show changes for v2.6,
specifically the PEP 3110: Exception-Handling Changes. At least, the
grammar should include the except ... as syntax.
New submission from Mark Dickinson [EMAIL PROTECTED]:
Here's a snippet from Python 2.6:
from decimal import Decimal, getcontext
getcontext().prec = 3
Decimal('NaN').max(Decimal('1234'))
Decimal('sNaN234')
The result here should be Decimal('1.23E+3')---the specification says that
the result
Georg Brandl [EMAIL PROTECTED] added the comment:
Your analysis is correct -- the HTML is invalid. However, this problem
doesn't occur in new documentation since we don't use the system used
until 2.5 anymore.
--
resolution: - wont fix
status: open - closed
Christian Boos [EMAIL PROTECTED] added the comment:
Hit the same issue, which is actually only a typo, as self.__path is
used nowhere.
diff -r 4d10dcbd5f63 Lib/distutils/msvc9compiler.py
--- a/Lib/distutils/msvc9compiler.pyThu Oct 09 11:19:40 2008 +0200
+++ b/Lib/distutils/msvc9compiler.py
The Lawnmower man [EMAIL PROTECTED] added the comment:
Sorry, but I still have the same problem as Kevin Walzer and I can't
understand the solution proposed by Ronald Oussoren. Where is the patch?
How can I install it? What I am supposed to do?
Thank you very much!
--
nosy:
New submission from Skip Montanaro [EMAIL PROTECTED]:
While responding to a c.l.py question just now I discovered that
numeric timezone offsets don't appear to be supported by either the
time.strftime function or the _strptime module. I noticed on my
Mac's strftime(3) man page that it supports
Christian Heimes [EMAIL PROTECTED] added the comment:
I build the installation myself and used make altinstall, too. Even
the latest checkout of the 2.6 branch fails to print the site information.
$ ./configure
...
$ make
...
$ ./python -m site
$ ./python -m platform
Ulrich Eckhardt [EMAIL PROTECTED] added the comment:
Roumen, just and explanation on the TCHAR/WCHAR/CHAR issue under win32...
In the old days, DOS/Windows was built with 8-bit characters using
codepages. So functions like CreateFile() took a char string that used
the current local codepage as
Nick Coghlan [EMAIL PROTECTED] added the comment:
Platform? It works fine for me (system python is 2.5, local python is
trunk - the tildes aren't actually in the printout, I subbed them in for
my home directory):
~/devel/python$ python -m site
sys.path = [
'~/devel/python',
Nick Coghlan [EMAIL PROTECTED] added the comment:
Platform? It works fine for me (system python is 2.5, local python is
trunk - the tildes aren't actually in the printout, I subbed them in for
my home directory):
~/devel/python$ python -m site
sys.path = [
'~/devel/python',
Roumen Petrov [EMAIL PROTECTED] added the comment:
Which CE version ? Is the patch required for previous/next CE version ?
If the CE can't work with char why the compiler don't threat strings as
wide characters always ?
--
nosy: +rpetrov
___
Python
Changes by Nick Coghlan [EMAIL PROTECTED]:
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4082
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Nick Coghlan [EMAIL PROTECTED]:
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4082
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Mark Dickinson [EMAIL PROTECTED]:
The Decimal module breaks transitivity of equality: Decimal(2) == 2 and
2 == float(2), but Decimal(2) != float(2).
The Python set and dict implementations rely on transitivity of equality
for correct operation.
These two facts together
Ulrich Eckhardt [EMAIL PROTECTED] added the comment:
Actually, even _Py_NegativeRefcount() passes a statically sized buffer
with 300 chars. Other than that, there is get_ref_type() which uses one
with 350 chars, but AFAICT, that's the largest one. Attached accordingly
modified patch.
Mark Dickinson [EMAIL PROTECTED] added the comment:
Mark, is some of the inaccuracy due to double rounding?
No, I don't think so; at least, not in the sense of rounding the same
value twice (with different precisions). I get similar results on my
Core 2 Duo machine, which should be immune
Changes by Nick Coghlan [EMAIL PROTECTED]:
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4082
___
___
Python-bugs-list mailing list
Unsubscribe:
Nick Coghlan [EMAIL PROTECTED] added the comment:
Hmm, that makes for absolutely identical base systems except that mine
is i686 where yours is x86_64.
What do you see if you stick some debugging messages at module level in
site.py? (e.g. printing out __name__)
(I'll be going offline shortly -
Christian Heimes [EMAIL PROTECTED] added the comment:
I already added a print __name__ right before the if __name__ ==
__main__ block. Python 2.5, trunk and 3.0 print:
site
__main__
while Python 2.6 just prints:
site
Christian
___
Python tracker [EMAIL
Dan OD [EMAIL PROTECTED] added the comment:
Confusion - apologies - please remove this report.
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4076
___
___
Giampaolo Rodola' [EMAIL PROTECTED] added the comment:
As for issue #3911 this is another module for which an actual test suite
would be very necessary.
--
nosy: +giampaolo.rodola
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3727
Nick Coghlan [EMAIL PROTECTED] added the comment:
I'm setting up a 2.6 working area now - we'll see what's to be seen once
I have that up and running. None of the runpy or pkgutil stuff has been
touched in months though (since PEP 366 was implemented), so I'm a
little puzzled how it could be
Nick Coghlan [EMAIL PROTECTED] added the comment:
Platform? It works fine for me (system python is 2.5, local python is
trunk - the tildes aren't actually in the printout, I subbed them in for
my home directory):
~/devel/python$ python -m site
sys.path = [
'~/devel/python',
Nick Coghlan [EMAIL PROTECTED] added the comment:
No joy. 32-bit Ubuntu here, and ./python -m site works fine on the 2.6
branch, as does python2.6 -m site after a make altinstall.
Is this an installation you built yourself, or was it packaged by
someone else?
Christian Heimes [EMAIL PROTECTED] added the comment:
It's an *installation* of Python 2.6.0 (r26:66714, Oct 2 2008) on
Ubuntu Linux AMD64. The feature is broken on the release26-maint branch
but it works fine on the trunk.
--
versions: -Python 2.7
Nick Coghlan [EMAIL PROTECTED] added the comment:
Platform? It works fine for me (system python is 2.5, local python is
trunk - the tildes aren't actually in the printout, I subbed them in for
my home directory):
~/devel/python$ python -m site
sys.path = [
'~/devel/python',
David Ripton [EMAIL PROTECTED] added the comment:
Also, two of the example code blurbs in that page still refer to the
module as processing instead of multiprocessing. (Search for
import processing to find them.)
--
nosy: +dripton
___
Python tracker
New submission from David Jones [EMAIL PROTECTED]:
Consider the web page:
http://www.python.org/doc/2.5.2/whatsnew/acks.html
(the problem appears throughout the whatsnew document, but that page
happens to be short and have more than one instance).
On my browser, Safari 3.1.2 on Intel OS X
New submission from Giampaolo Rodola' [EMAIL PROTECTED]:
poplib module is currently lacking a test suite which actually connects
to a server and uses the POP3 class methods and facilities.
Bug #3727, discovered just a bunch of days before the stable release of
Python 3.0 is an example of how
New submission from Manuel [EMAIL PROTECTED]:
On some machines, the application (makehuman, an open source software)
crash, immediately, as soon the user try to double click on the exe. The
problem happen with the version compiled using python 2.6, while the one
compiled with 2.5 work fine.
We
Manuel [EMAIL PROTECTED] added the comment:
gdb output from one of our users:
warning: LDR: LdrpWalkImportDescriptor() failed to probe python26.dll
for its manifest, ntstatus 0xc0150002
Program received signal SIGSEGV, Segmentation fault.
Program received
Changes by Giampaolo Rodola' [EMAIL PROTECTED]:
--
nosy: +giampaolo.rodola
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4089
___
___
Python-bugs-list
Raymond Hettinger [EMAIL PROTECTED] added the comment:
+1 on a log2 function, especially one that has been generalized to work
with long integers. It would help with the numbits problem that
comes-up all the time.
___
Python tracker [EMAIL PROTECTED]
New submission from Terry J. Reedy [EMAIL PROTECTED]:
RefMan Expressions Comparisons has a subsection headed
Comparison of objects of the same type depends on the type
with entries for numbers, bytes, strings, tuples, lists, mappings, and
most_other (compared by id). Sets (and dict views) are
Terry J. Reedy [EMAIL PROTECTED] added the comment:
There are two issues involved:
1. documenting set behavior
2. what to do, if anything, about Decimals and other numbers
Since users are free to create similar problems, and since sets are
missing from the Reference section on comparisons, I
Facundo Batista [EMAIL PROTECTED] added the comment:
(Ok, remember that I'm not a numeric guy before start hitting me, :p )
I think that if we have Decimal(1)==1, and 1==1.0, to have Decimal(1)==1.0.
We always rejected comparison with unsupported types, but having this
situation, I'd propose
101 - 200 of 231 matches
Mail list logo