Hi,
Pyro 3.11 has been released!
Pyro is a an advanced and powerful Distributed Object Technology system written entirely
in Python, that is designed to be very easy to use.
Have a look at http://www.xs4all.nl/~irmen/pyro3/ for more information.
Highlights of this release are:
- improved
Hello Mark,
Exactly, thanks very much!
Dimos
--- On Sat, 11/20/10, Mark Dickinson dicki...@gmail.com wrote:
From: Mark Dickinson dicki...@gmail.com
Subject: Re: Weibull distr. random number generation
To: python-list@python.org
Date: Saturday, November 20, 2010, 7:09 PM
On Nov 19, 3:21
On Nov 17, 10:53 am, Arnaud Delobelle arno...@gmail.com wrote:
I guess that the step is supposed to be h, so you should write:
xx = range(-kappa, kappa+1, h)
This is what I have in the source code:
---8---8---8---8---
h = 0.105069988414
xx = range(-kappa, kappa+1, h)
---8---8---8---8---
On Mon, Nov 22, 2010 at 12:47 AM, MATLABdude matlab.d...@mbnet.fi wrote:
On Nov 17, 10:53 am, Arnaud Delobelle arno...@gmail.com wrote:
I guess that the step is supposed to be h, so you should write:
xx = range(-kappa, kappa+1, h)
This is what I have in the source code:
MATLABdude wrote:
On Nov 17, 10:53 am, Arnaud Delobelle arno...@gmail.com wrote:
I guess that the step is supposed to be h, so you should write:
xx = range(-kappa, kappa+1, h)
This is what I have in the source code:
---8---8---8---8---
h = 0.105069988414
xx = range(-kappa, kappa+1, h)
Hi,
is there a convenient way to read bz2 files into a numpy array?
I tried:
from bz2 import *
from numpy import *
fd = BZ2File(filename, 'rb')
read_data = fromfile(fd, float32)
but BZ2File doesn't seem to produce a transparent filehandle.
Kind regards!
Johannes
--
Johannes Korn wrote:
I tried:
from bz2 import *
from numpy import *
fd = BZ2File(filename, 'rb')
read_data = fromfile(fd, float32)
but BZ2File doesn't seem to produce a transparent filehandle.
is there a convenient way to read bz2 files into a numpy array?
Try
import numpy
import
Shel wrote:
Hello,
I am pretty new to all this. I have some coding experience, and am
currently most comfortable with Python. I also have database design
experience with MS Access, and have just created my first mySQL db.
So right now I have a mySQL db structure and some Python code. My end
Hello,
I am working on providing a SSO solution to a customer who acts as an
identity provider. He already has IDP on his side to generate SAML 2
assertions with user first name , last name and time stamp as parameters.
Our task is to accept this assertion which is signed, decrypt it and send it
To be more specific, I have something like this in rvirtualenv itself
(that's the pokus.py file):
import os
os.system(echo 128)
I generate a batch file like this (that's the pokus.bat file):
@echo off
pokus.py
And after that, I run the pokus.bat file from a test (that's the
run.py file):
from
Hi!
I'm writing tests and I'm wondering how to achieve a few things most
elegantly with Python's unittest module.
Let's say I have two flags invert X and invert Y. Now, for testing these, I
would write one test for each combination. What I have in the test case is
something like this:
def
if x in range(a, b): #wrong!
it feels so natural to check it that way, but we have to write
if a = x = b
I understand that it's not a big deal, but it would be awesome to have
some optimisations - it's clearly possible to detect things like that
wrong one and fix it in a bytecode.
On Nov 21, 10:38 pm, Ertugrul Söylemez e...@ertes.de wrote:
Jon Harrop use...@ffconsultancy.com wrote:
Ertugrul Söylemez e...@ertes.de wrote in message
news:20101014052650.510e8...@tritium.streitmacht.eu...
That's nonsense.
Actually namekuseijin is right. You really need to persevere
On Nov 22, 11:38 am, Ulrich Eckhardt ulrich.eckha...@dominolaser.com
wrote:
Hi!
I'm writing tests and I'm wondering how to achieve a few things most
elegantly with Python's unittest module.
Let's say I have two flags invert X and invert Y. Now, for testing these, I
would write one test for
In article q91qr7-i9j@satorlaser.homedns.org,
Ulrich Eckhardt ulrich.eckha...@dominolaser.com wrote:
def test_invert_flags(self):
test flags to invert coordinates
tests = [((10, 20), INVERT_NONE, (10, 20)),
((10, 20), INVERT_X, (-10, 20)),
All,
I have a problem in starting my Python(Django) App using Apache and Mod_Wsgi
I am using Django 1.2.3 and Python 2.6.6 running on Apache 2.2.17 with
Mod_Wsgi 3.3
When I try to access the app from Web Browser, I am getting these
errors.
[Mon Nov 22 09:45:25 2010] [notice] Apache/2.2.17
Roy Smith wrote:
Writing one test method per parameter combination, as you suggested, is
a reasonable approach, especially if the number of combinations is
reasonably small.
The number of parameters and thus combinations are unfortunately rather
large. Also, sometimes that data is not static
Richard Thomas wrote:
[batch-programming different unit tests]
You could have a parameter to the test method and some custom
TestLoader that knows what to do with it.
Interesting, thanks for this suggestion, I'll look into it!
Uli
--
Domino Laser GmbH
Geschäftsführer: Thorsten Föcking,
On 2010-11-22 08:12:27 -0500, markhanif...@gmail.com said:
All opinions are biased.
All opinions show some bias. Not all opinions represent what is usually
called a conflict of interest. Since JH makes his living selling
tools and training for certain languages, he has a severe conflict of
In article ddbqr7-5rj@satorlaser.homedns.org,
Ulrich Eckhardt ulrich.eckha...@dominolaser.com wrote:
Yet another possibility is to leave it the way you originally wrote it
and not worry about the fact that the loop aborts on the first failure.
Let it fail, fix it, then re-run the test
On 22 Nov 2010 06:26:34 GMT Steven D'Aprano
st...@remove-this-cybersource.com.au wrote:
On Sun, 21 Nov 2010 23:57:21 -0500, Steve Holden wrote:
Perhaps we could take this thread to alt.small.minded.bickering now?
Alas, my ISP doesn't carry that newsgroup. Where else can I get my
Hello,
I need to implement such behavior:
obj.attr1.attr2.attr3 -- obj.attr1__attr2__attr3
It looks like I have to override obj's class __getattribute__ and also
use python descriptors somehow.
Any help will be much appreciated.
On Mon, 22 Nov 2010 05:38:53 +0100, Ertugrul Söylemez e...@ertes.de
wrote:
Haskell is a simple language with a comparably small specification.
It's not as simple as Common Lisp, but it's simple. Note that simple
doesn't mean easy. Haskell is certainly more difficult to learn than
other
On Mon, 22 Nov 2010 07:46:47 -0800 (PST) Roman Dolgiy tost...@gmail.com wrote:
Hello,
I need to implement such behavior:
obj.attr1.attr2.attr3 -- obj.attr1__attr2__attr3
It looks like I have to override obj's class __getattribute__ and also
use python descriptors somehow.
Any help
On Nov 22, 10:57 am, Howard Brazee how...@brazee.net wrote:
On Mon, 22 Nov 2010 05:38:53 +0100, Ertugrul S ylemez e...@ertes.de
wrote:
Haskell is a simple language with a comparably small specification.
It's not as simple as Common Lisp, but it's simple. Note that simple
doesn't mean easy.
Here is what you want for printing python source filename:
print __file__
On Tuesday, June 22, 2010 12:44 PM Peng Yu wrote:
I want to print filename and line number for debugging purpose. So far
I only find how to print the line number but not how to print
filename.
import inspect
print
On Nov 22, 9:45 am, Raffael Cavallaro
raffaelcavall...@pas.despam.s.il.vous.plait.mac.com wrote:
On 2010-11-22 08:12:27 -0500, markhanif...@gmail.com said:
All opinions are biased.
All opinions show some bias. Not all opinions represent what is usually
called a conflict of interest. Since
On Nov 22, 6:04 pm, Andreas Waldenburger use...@geekmail.invalid
wrote:
On Mon, 22 Nov 2010 07:46:47 -0800 (PST) Roman Dolgiy tost...@gmail.com
wrote:
Hello,
I need to implement such behavior:
obj.attr1.attr2.attr3 -- obj.attr1__attr2__attr3
It looks like I have to override obj's
On Mon, 22 Nov 2010 08:14:40 -0800 (PST), toby
t...@telegraphics.com.au wrote:
This is a good (if familiar) observation. Teaching children (or young
people with little exposure to computers) how to program in various
paradigms could produce interesting primary evidence. Pity that this
isn't
On Mon, 22 Nov 2010 08:25:34 -0800, scattered wrote:
On Nov 22, 9:45 am, Raffael Cavallaro
raffaelcavall...@pas.despam.s.il.vous.plait.mac.com wrote:
On 2010-11-22 08:12:27 -0500, markhanif...@gmail.com said:
All opinions are biased.
All opinions show some bias. Not all opinions represent
On Mon, 22 Nov 2010 08:41:49 -0800 (PST) Roman Dolgiy tost...@gmail.com wrote:
On Nov 22, 6:04 pm, Andreas Waldenburger use...@geekmail.invalid
wrote:
On Mon, 22 Nov 2010 07:46:47 -0800 (PST) Roman Dolgiy
tost...@gmail.com wrote:
Hello,
I need to implement such behavior:
On 11/22/2010 4:38 AM, Ulrich Eckhardt wrote:
Let's say I have two flags invert X and invert Y. Now, for testing these, I
would write one test for each combination. What I have in the test case is
something like this:
def test_invert_flags(self):
test flags to invert coordinates
On 22 nov, 14:47, Howard Brazee how...@brazee.net wrote:
On Mon, 22 Nov 2010 08:14:40 -0800 (PST), toby
t...@telegraphics.com.au wrote:
This is a good (if familiar) observation. Teaching children (or young
people with little exposure to computers) how to program in various
paradigms could
On Nov 22, 8:45 am, Raffael Cavallaro
raffaelcavall...@pas.despam.s.il.vous.plait.mac.com wrote:
On 2010-11-22 08:12:27 -0500, markhanif...@gmail.com said:
All opinions are biased.
All opinions show some bias. Not all opinions represent what is usually
called a conflict of interest.
On Nov 22, 12:28 pm, namekuseijin namekusei...@gmail.com wrote:
On 22 nov, 14:47, Howard Brazee how...@brazee.net wrote:
On Mon, 22 Nov 2010 08:14:40 -0800 (PST), toby
t...@telegraphics.com.au wrote:
This is a good (if familiar) observation. Teaching children (or young
people with
On 11/22/2010 10:46 AM, Roman Dolgiy wrote:
Hello,
I need to implement such behavior:
obj.attr1.attr2.attr3 -- obj.attr1__attr2__attr3
obj.attr1.attr2.attr3 is parsed as ((obj.attr1).attr2).attr3,
so this cannot work in general but only if attr1 and attr2 are known to
not be 'final' names.
Ian Kelly wrote:
On 11/22/2010 4:38 AM, Ulrich Eckhardt wrote:
Also, I'd rather construct the error message from the data
instead of maintaining it in different places, because
manually keeping those in sync is another, errorprone burden.
I'm not sure I follow the problem you're
Ulrich Eckhardt ulrich.eckha...@dominolaser.com writes:
Let's say I have two flags invert X and invert Y. Now, for testing these, I
would write one test for each combination. What I have in the test case is
something like this:
def test_invert_flags(self):
test flags to invert
I'm planning to build an external lib. This lib will exchange
a lot of strings between the lib and the core Python code
of applications.
I wish this lib to be modern, 100% unicode compliant. It will
be developped for Python 2.7 and for Python 3. In an early
phase, technically, it will be
On Nov 22, 7:57 pm, Terry Reedy tjre...@udel.edu wrote:
On 11/22/2010 10:46 AM, Roman Dolgiy wrote:
Hello,
I need to implement such behavior:
obj.attr1.attr2.attr3 -- obj.attr1__attr2__attr3
obj.attr1.attr2.attr3 is parsed as ((obj.attr1).attr2).attr3,
so this cannot work in general
Hi,
I want to be able to let the user enter paths like this:
apps/name/**/*.js
and then find all the matching files in apps/name and all its
subdirectories. However I found out that Python's glob function
doesn't support the recursive ** wildcard. Is there any 3rd party glob
function which do
Am 22.11.2010 22:43, schrieb Martin Lundberg:
Hi,
I want to be able to let the user enter paths like this:
apps/name/**/*.js
and then find all the matching files in apps/name and all its
subdirectories. However I found out that Python's glob function
doesn't support the recursive ** wildcard.
On 2010-11-22 11:25:34 -0500, scattered said:
And you don't think that [JH] could write a book about Haskell
if he honestly came to think that it were a superior all-aroung
language?
Until he actually does, he has a financial interest in trash-talking
Haskell. This makes anything he says
HI,
Am 22.11.2010 um 23:05 schrieb Stefan Sonnenberg-Carstens:
Am 22.11.2010 22:43, schrieb Martin Lundberg;
I want to be able to let the user enter paths like this:
apps/name/**/*.js
and then find all the matching files in apps/name and all its
subdirectories. However I found out that
Hi,
Am 22.11.2010 um 23:05 schrieb Stefan Sonnenberg-Carstens:
Am 22.11.2010 22:43, schrieb Martin Lundberg:
I want to be able to let the user enter paths like this:
apps/name/**/*.js
and then find all the matching files in apps/name and all its
subdirectories. However I found out that
On 11/22/2010 3:25 PM, jmfauth wrote:
I'm planning to build an external lib. This lib will exchange
a lot of strings between the lib and the core Python code
of applications.
Are you planning to exchange indirectly via disk files or directly via
memory buffers?
This pretty much amounts to
I'm using activepython 2.6 on XP. I am trying to install uTidylib 0.2
with easy_install. I like uTidylib more vs. newer modules.and want to
use it. I get output below. How do I install it? I do see it in
http://pypi.python.org/simple/uTidylib/
Thanks.
C:\Documents and Settings\user1easy_install
Am 22.11.2010 22:43, schrieb Martin Lundberg:
Hi,
I want to be able to let the user enter paths like this:
apps/name/**/*.js
and then find all the matching files in apps/name and all its
subdirectories. However I found out that Python's glob function
doesn't support the recursive **
On 2010-11-22, at 4:22 PM, goldtech wrote:
I'm using activepython 2.6 on XP. I am trying to install uTidylib 0.2
with easy_install. I like uTidylib more vs. newer modules.and want to
use it. I get output below. How do I install it? I do see it in
http://pypi.python.org/simple/uTidylib/
Hello ,
I have been trying to read contents from a file in MAC.
I wrote the code
filename = test.rtf
FileHandle = open(filename,'r')
fileStr = FileHandle.read()
print fileStr
FileHandle.close()
When I see the output I see a lot of junk. The junk is like a lot of
question marks, the
mmap.mmap (f.fileno(), 0, prot=mmap.PROT_READ)
error: [Errno 22] Invalid argument
According to http://docs.python.org/library/mmap.html, mmap on _windows_
doesn't accept 0-length file. But this was tested on linux. Is this a bug?
I don't see anything in linux man-page about the underlying
In article
66e4164c-e81d-4a65-b847-c5ef900fa...@a37g2000yqi.googlegroups.com,
dilip raghavan dilip198...@gmail.com wrote:
I have been trying to read contents from a file in MAC.
I wrote the code
filename = test.rtf
FileHandle = open(filename,'r')
fileStr = FileHandle.read()
On Nov 19, 11:05 am, Eric Frederich eric.freder...@gmail.com wrote:
I have a proprietary software PropSoft that I need to extend.
They support extensions written in C that can link against PropLib to
interact with the system.
I have a Python C module that wraps a couple PropLib functions that
On 22Nov2010 20:33, Neal Becker ndbeck...@gmail.com wrote:
| mmap.mmap (f.fileno(), 0, prot=mmap.PROT_READ)
| error: [Errno 22] Invalid argument
|
| According to http://docs.python.org/library/mmap.html, mmap on _windows_
| doesn't accept 0-length file. But this was tested on linux. Is this a
On 23Nov2010 13:59, I wrote:
| On 22Nov2010 20:33, Neal Becker ndbeck...@gmail.com wrote:
| | mmap.mmap (f.fileno(), 0, prot=mmap.PROT_READ)
| | error: [Errno 22] Invalid argument
[...]
| | I don't see anything in linux man-page about the underlying C mmap function
| | not accepting 0-length
On Mon, 22 Nov 2010 11:37:22 +0100, Peter Otten wrote:
is there a convenient way to read bz2 files into a numpy array?
Try
f = bz2.BZ2File(filename)
data = numpy.fromstring(f.read(), numpy.float32)
That's going to hurt if the file is large.
You might be better off either extracting to a
On Mon, 22 Nov 2010 20:33:08 -0500, Neal Becker wrote:
I don't see anything in linux man-page about the underlying C mmap function
not accepting 0-length files.
My mmap(2) manpage says:
ERRORS
...
EINVAL (since Linux 2.6.12) length was 0.
--
Let me rephrase the question. Say I have a query string like this:
?view=Dataitem=9875
What I want to do is simply invoke process view with variable
Data. This would replace my existing query string mess which looks
like this:
if 'view' in form and 'item' in form:
HTML=view(Data,
On Nov 22, 11:11 am, Peter Otten __pete...@web.de wrote:
Try numpy.arange() instead:
numpy.arange(0, 1, .1)
array([ 0. , 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9])
Thanks! It worked.
What's wrong with the following code?
---8---8---8---
T0_orig = [5, 50, 500, 5000]
for
MATLABdude matlab.d...@mbnet.fi writes:
On Nov 22, 11:11 am, Peter Otten __pete...@web.de wrote:
Try numpy.arange() instead:
numpy.arange(0, 1, .1)
array([ 0. , 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9])
Thanks! It worked.
What's wrong with the following code?
On Nov 23, 9:43 am, Arnaud Delobelle arno...@gmail.com wrote:
T0_orig is a list and you are trying to multiply this list by a float
(m**-1)
Yes, yes of course. Thanks! :)
This works:
---8---8---8---
T0_orig = [5, 50, 500, 5000]
for counter in T0_orig:
T0 =
Martin v. Löwis mar...@v.loewis.de added the comment:
Martin, that is an interesting viewpoint, and one I considered, but
didn't state, because it seems much too restrictive. Most CGI
programs are written in scripting languages, not compiled to .exe.
So it seems the solution should allow
Gynvael Coldwind gynv...@gmail.com added the comment:
(since Issue 10491 is superseded by this one, I'll reply here)
As I've said in issue 10491, in my opinion this is not a case of frustrating
users because they have to elevate the console (I think they have to do that in
case of UAC
Martin v. Löwis mar...@v.loewis.de added the comment:
For 3.2, this now fixed in r86681.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10459
___
New submission from Vil viligno...@gmail.com:
scan on msi installer x86 win 3.x python gives Win32/Palevo.DZ worm and erases.
--
messages: 122101
nosy: VilIgnoble
priority: normal
severity: normal
status: open
title: Palevo.DZ worm msix86 installer 3.x installer
type: security
versions:
Glenn Linderman v+pyt...@g.nevcal.com added the comment:
The rest of the code has clearly never had its deficiencies exposed on Windows,
simply because executable() has prevented that. So what the rest of the code
already supports is basically nothing. Reasonable Windows support is
Hallvard B Furuseth h.b.furus...@usit.uio.no added the comment:
Senthil Kumaran writes:
I have doubts on the validity of this bug itself.
- First is, query and fragment are usually for the file being served
from the webserver, not on the directories. If there are characters such
as '?' and
New submission from Martin gzl...@googlemail.com:
My build got broken by the change for issue 9981 in revision 86137. The problem
is it adds $(IntDir) to various places in the vcproj file, including the
command line arguments to make_buildinfo, and my svn checkout is under a dir
with a space
Michael Foord mich...@voidspace.org.uk added the comment:
Eli - I quite agree. TestProgram is a *particularly* obscure part of unittest.
A much better solution (well - both would be ideal) would be to refactor the
code so that it isn't so obscure.
TestProgram is an artefact of unittest's
STINNER Victor victor.stin...@haypocalc.com added the comment:
no cookie found, returns ('utf-8', [line1, line2])
I never understood the usage of the second item. IMO it should be None if no
cookie found.
--
___
Python tracker
Martin v. Löwis mar...@v.loewis.de added the comment:
The patch for 3.1 is r86685. The patch for 2.7 is r86686.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10459
Martin v. Löwis mar...@v.loewis.de added the comment:
Your suggestion of making CGIHTTPRequestHandler easier to subclass is
certainly a good one, and is almost imperative to implement to fix
this bug in a useful manner without implementing an insufficient set
of Windows extensions (for
Martin v. Löwis mar...@v.loewis.de added the comment:
Kristjan, can you take a look?
--
assignee: - krisvale
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10501
___
Changes by Senthil Kumaran orsent...@gmail.com:
--
assignee: facundobatista - orsenthil
nosy: -BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1675455
___
Changes by Senthil Kumaran orsent...@gmail.com:
--
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10483
___
___
Python-bugs-list
New submission from Michael Foord mich...@voidspace.org.uk:
Add the unittestgui test runner, built with Tk, to the Tools directory.
It would be good to have this script included in the bin/ directory of the Mac
installer as well.
The unittestgui runner can be found at:
Michael Foord mich...@voidspace.org.uk added the comment:
It will need documenting, or at least pointing to in the documentation,
probably with a note recommending Hudson for production use - unittestgui is a
tool for beginners / convenience.
Note also that Brian Curtin has contributed a
Ole Laursen o...@iola.dk added the comment:
Okay. I can only say that while the current docstrings are likely good
reminders for you, knowing Python in and out, they were pretty useless to me as
documentation, which I believe docstrings should be, they're called docstrings,
after all, not
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Ah yes, spaces in filenames. One always forgets.
Fixed the make_buildinfo.c (quote whole string, not just part of it) and
committed in revision 86689
--
resolution: - accepted
status: open - closed
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
Actually, I don't think it's a great idea in general to use temporary files for
logging, though of course there are specific cases where one might do this. So
for the logging examples in the docs (which used '/tmp/XXX') I just removed the
Rob Cliffe rob.cli...@btinternet.com added the comment:
Thanks for your work. Glad if I have made a contribution to Python,
however small.
Rob Cliffe
On 22/11/2010 00:26, Éric Araujo wrote:
Éric Araujomer...@netwok.org added the comment:
Thank you. I uploaded your patch to Rietveld and
Rob Cliffe rob.cli...@btinternet.com added the comment:
I would not be at all surprised if my patch could be simplified (in fact
I'd be surprised if it couldn't).
However, I did try out your version on Python 2.5 specifically, and it
did not work for me.
Trying it out on help(Exception), the
New submission from Giampaolo Rodola' g.rod...@gmail.com:
http://docs.python.org/library/os.html#os.getuid
os.getuid() documentation just states:
Return the current process’s user id.
It is not clear, however, whether user id refers to real, effective or saved
user id.
As per:
Éric Araujo mer...@netwok.org added the comment:
New features can only go into 3.2, so you have to test with an updated checkout
of the Subversion branch named py3k. See the link I have in a previous message.
(P.S. Would you be so kind as to edit quoted text out of your replies? It’s
Marc-Andre Lemburg m...@egenix.com added the comment:
I think that's a bug in the resetlocale() API.
The correct way to reset the locale setting to defaults, it to use
setlocale(category, )
The other issues here is that getlocale() appears to return non-ISO language
codes on Windows. If
Ezio Melotti ezio.melo...@gmail.com added the comment:
Committed in r86690 on py3k, blocked in r86691 and r88692 on 3.1/2.7.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9424
___
Wes Chow wes.c...@gmail.com added the comment:
This same bug also exists in HTTPClient, and my patch addresses that.
Addressing it in HTTPClient has a side effect of taking care of it for urllib2
as well (and all future libraries that use HTTPClient).
Even if the urllib2 patch is preferable,
New submission from Johann Hanne pyt...@jf.hanne.name:
There are a number of mingw compile issues which are easily fixed
* some _MSC_VER #if's should be MS_WINDOWS instead
* for cross-compiling, windows.h should be all-lowercase
* mingw has a strcasecmp, so private implementations must not use
Changes by Éric Araujo mer...@netwok.org:
--
stage: unit test needed - patch review
versions: +Python 2.7, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue940286
___
Giampaolo Rodola' g.rod...@gmail.com added the comment:
Update: I think also os.getlogin() doc is wrong.
This is what it states (2.7 doc):
Return the name of the user logged in on the controlling terminal of
the process. For most purposes, it is more useful to use the
environment variable
Éric Araujo mer...@netwok.org added the comment:
Whatsnew documents are not edited after the corresponding release is done.
Using either /home/user or tempfile depending on the example seems good to me.
--
stage: needs patch - patch review
___
Changes by And Clover a...@doxdesk.com:
--
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10490
___
___
Python-bugs-list mailing
Éric Araujo mer...@netwok.org added the comment:
Review time!
+elif [ in text:
+self.matches = self.dict_key_matches(text)
Does this complete only dicts? What about other mappings? What about other
sequences implementing __getitem__? One of the function name and
Éric Araujo mer...@netwok.org added the comment:
I tried to use “make patchcheck” after edits to reST files and it hung. Do you
have the same behavior? I suspect reindent-rst is the culprit.
I’m wondering about the reindenting; other checks in patchcheck don’t edit
files, they just print
R. David Murray rdmur...@bitdance.com added the comment:
I had a report from a user on IRC during the bug weekend that they could not
reproduce the failure on windows. So it may be dependent on the windows
version. That doesn't answer your question of why it hasn't come up before,
though,
anatoly techtonik techto...@gmail.com added the comment:
On Mon, Nov 22, 2010 at 3:59 PM, Éric Araujo rep...@bugs.python.org wrote:
Using either /home/user or tempfile depending on the example seems good to me.
There is no /home/user on Windows.
--
New submission from Stefan Krah stefan-use...@bytereef.org:
On Windows, test_compileall fails due to #10197:
==
FAIL: test_quiet (test.test_compileall.CommandLineTests)
Éric Araujo mer...@netwok.org added the comment:
Can you post on #10453? Thanks in advance.
--
nosy: +eric.araujo
resolution: - duplicate
stage: patch review - committed/rejected
status: open - closed
superseder: - Add -h/--help option to compileall
Chris Lambacher ch...@kateandchris.net added the comment:
I don't understand what you mean by elides the line breaks in output. They
are still there, you just don't see them as \n because print() is no longer
implicitly converting the bytes to a string (which appears to actually result
in a
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10087
___
___
1 - 100 of 186 matches
Mail list logo