ChiPy
=
When: 7 PM Thursday June 9, 2011
Where: Google
Join us for the best meeting ever!
You will need to RSVP at http://chipy.org/
RSVP Quick Links:
YES http://chipy.org/meetings/rsvp/33/yes
MAYBE http://chipy.org/meetings/rsvp/33/maybe
Topics
--
1. 7:00
University of Washington Marketing and the Seattle Plone Gathering host
the inaugural Seattle PyCamp 2011 at The Paul G. Allen Center for
Computer Science Engineering on Monday, August 29 through Friday,
September 2, 2011.
Register today at http://trizpug.org/boot-camp/seapy11/
For
En Mon, 06 Jun 2011 14:48:26 -0300, Steve Oldner steven.old...@la.gov
escribió:
Seems to work using 2.7 but not 3.2. On 3.2 it just closes all my
python sessions. Is this a bug? Can someone point me to a How To on
using a local printer in windows?
It's a bug. Starting IDLE from the
On Tue, Jun 7, 2011 at 3:23 PM, Nobody nob...@nowhere.com wrote:
[1] If a hostname ends with a dot, it's fully qualified.
[otherwise not, so you have to use the resolver]
In article mailman.2521.1307425928.9059.python-l...@python.org,
Chris Angelico ros...@gmail.com wrote:
Outside of BIND
On Tue, 07 Jun 2011 01:03:55 -0300, Gabriel Genellina wrote:
En Sat, 28 May 2011 14:05:16 -0300, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info escribió:
On Sat, 28 May 2011 09:39:08 -0700, John Nagle wrote:
Python allows patching code while the code is executing.
Can you give an
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes:
On Tue, 07 Jun 2011 10:11:01 +1000, Ben Finney wrote:
I tend to use ‘ufoo {bar} baz.format(**vars())’, since ‘vars’ can
also take the namespace of an object. I only need to remember one
“give me the namespace” function for
En Fri, 27 May 2011 17:38:50 -0300, Thorsten Kampe
thors...@thorstenkampe.de escribió:
sys.tracebacklimit = 0
The 3.2 documentation says When set to 0 or less, all traceback
information is suppressed and only the exception type and value are
printed. Bug?
Yes; reported at
Cheap wholesale (free shipping)
http://www.aliexpress.com/fm-store/906966
Novelty stationery
Best-selling daily necessities
Cleverly incorporated Series
Outdoor Travel
Fashion Home Appliances
Japan and South Korea Fashion Jewelry
Ms. beauty products
Children's Toys
Auto supplies Series
Seasonal
A python web process is producing files that are given randomized names of the
form
hh-MMDDhhmmss-.pdf
where rrr.. is a 128bit random number (encoded as base62). The intent of the
random part is to prevent recipients of one file from being able to guess the
names of others.
Have you tried using UUID module?
Its pretty handy and comes with base64 encoding function which gives
extremely high quality randon strings
ref:
http://stackoverflow.com/questions/621649/python-and-random-keys-of-21-char-max
On Tue, Jun 7, 2011 at 3:48 PM, Robin Becker ro...@reportlab.com
On 07/06/2011 11:26, Nitin Pawar wrote:
Have you tried using UUID module?
Its pretty handy and comes with base64 encoding function which gives
extremely high quality randon strings
ref:
http://stackoverflow.com/questions/621649/python-and-random-keys-of-21-char-max
..
I didn't actually
On Jun 7, 6:18 am, Robin Becker ro...@reportlab.com wrote:
A python web process is producing files that are given randomized names of
the form
hh-MMDDhhmmss-.pdf
where rrr.. is a 128bit random number (encoded as base62). The intent of the
random part is to prevent
On Jun 7, 7:35 am, Robin Becker ro...@reportlab.com wrote:
On 07/06/2011 11:26, Nitin Pawar wrote: Have you tried using UUID module?
Its pretty handy and comes with base64 encoding function which gives
extremely high quality randon strings
ref:
/dev/urandom does not block, that's the point of it as compared to /
dev/random.
Jean-Paul
my mistake, I thought it was the other way round, on FreeBSD they're the same
anyway which is what we test on.
--
Robin Becker
--
http://mail.python.org/mailman/listinfo/python-list
Thanks Gabriel!
Do you know where any documentation is on printing to a local printer for 3.2?
I've found Hammond's and Golden's info for win32, but haven't seen if it works
for 3.2.
Again thank you for your reply and submitting the bug.
--
Steve Oldner
-Original Message-
From:
On Jun 7, 12:03 am, Gabriel Genellina gagsl-...@yahoo.com.ar
wrote:
En Sat, 28 May 2011 14:05:16 -0300, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info escribi :
On Sat, 28 May 2011 09:39:08 -0700, John Nagle wrote:
Python allows patching code while the code is executing.
On 07/06/2011 12:40, Jean-Paul Calderone wrote:
astcgi and the
initialization is only carried out once and then say 50 rrr values are
generated.
How much randomness do you actually have in this scheme? The PID is
probably difficult
for an attacker to know, but it's allocated roughly
On the 30th of May, I received an email from a man (I'll leave out his
name, but it was properly male) offering to translate the docs for the
gdmodule (which I maintain) into Belorussian. He wanted my approval,
and a link from my page to his. This seemed fair, so I told him to tell
me when
Hello Ian,
thanks, I found another php script but it is not working as well :/ What am
I doing wrong?
And I have another question too: when I use text for encoding Text for 1
and Text for 11 the first letters of encoded strings are the same in both
strings?
here is my py:
# -*- coding: utf-8 -*-
Robin Becker ro...@reportlab.com writes:
I have a vague memory that the original author felt that entropy might
run out or something like that so reading from /dev/urandom always was
not a good idea.
If there is enough entropy to begin with, then /dev/urandom should be
cryptographically
Hans Mulder wrote:
If you use curses, you must initialize it by calling curses.initscr(),
which returns a WindowObject representing the konsole window. To
put things on the screen, you call methods on this object. Keep in
mind that a window in curses jargon is just a rectangle inside
your
Hello,
I was trying to find out whose the program launcher, but os.environ['USER']
returns the user whom owns the desktop environment, regardless the program
is called by root.
I'd like to know it, so the program will run with the right privileges.
Is there any standard function on python, that
import getpass
user = getpass.getuser()
On Tue, Jun 7, 2011 at 7:54 PM, TheSaint nob...@nowhere.net.no wrote:
Hello,
I was trying to find out whose the program launcher, but os.environ['USER']
returns the user whom owns the desktop environment, regardless the program
is called by root.
I'd
On Tue, Jun 7, 2011 at 7:54 PM, TheSaint nob...@nowhere.net.no wrote:
Hello,
I was trying to find out whose the program launcher, but os.environ['USER']
returns the user whom owns the desktop environment, regardless the program
is called by root.
I'd like to know it, so the program will run
Chris Gonnerman ch...@gonnerman.org writes:
On the 30th of May, I received an email from a man (I'll leave out his
name, but it was properly male) offering to translate the docs for the
gdmodule (which I maintain) into Belorussian. [...]
The same has happened on the gcc list, where it has
hi,
I'm new to web testing and after having googled for a day and a half I
figured it might be better to ask here.
What I've got is a tree of static HTML documentation I want to test.
For example to test that
o referenced images exist and are not corrupted,
o links to files from the table of
On 06/06/2011 09:29 AM, Steven D'Aprano wrote:
On Sun, 05 Jun 2011 23:03:39 -0700, ru...@yahoo.com wrote:
[...]
I would argue that the first, non-regex solution is superior, as it
clearly distinguishes the multiple steps of the solution:
* filter lines that start with CUSTOMER
* extract
On Tue, 07 Jun 2011 16:55:28 +0200, Alain Ketterlin wrote:
Chris Gonnerman ch...@gonnerman.org writes:
On the 30th of May, I received an email from a man (I'll leave out his
name, but it was properly male) offering to translate the docs for the
gdmodule (which I maintain) into Belorussian.
On 7 Jun 2011 16:27:32 GMT, Peter Pearson ppearson@nowhere.invalid
wrote:
On Tue, 07 Jun 2011 16:55:28 +0200, Alain Ketterlin wrote:
Chris Gonnerman ch...@gonnerman.org writes:
On the 30th of May, I received an email from a man (I'll leave out his
name, but it was properly male) offering to
On Monday, June 6, 2011 9:03:55 PM UTC-7, Gabriel Genellina wrote:
En Sat, 28 May 2011 14:05:16 -0300, Steven D'Aprano
steve+comp@pearwood.info escribi�:
On Sat, 28 May 2011 09:39:08 -0700, John Nagle wrote:
Python allows patching code while the code is executing.
Can you
hey i am new to python and i want to make a website using python .
so for that i need a login page. in this login page i want to use the
sessions... but i am not getting how to do it
--
http://mail.python.org/mailman/listinfo/python-list
Can you give us more context? Which web framework are you working with?
You can have a look at http://pythonwise.blogspot.com/2007/05/websession.html ;)
--
http://mail.python.org/mailman/listinfo/python-list
vipul jain wrote:
hey i am new to python and i want to make a website using python .
so for that i need a login page. in this login page i want to use the
sessions... but i am not getting how to do it
The Python standard library doesn't include a session framework, but you
can either use
http://pypi.python.org/pypi/selenium ?
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
In a stack trace, is it possible to somehow get the arguments with
which each function was called?
So for example, if function `foo` in module `bar` was called with
arguments `(1, [2])` when it raised an exception, then instead of:
Traceback (most recent call last):
File bar.py,
On 2011-06-07, Dun Peal dunpea...@gmail.com wrote:
Hi,
In a stack trace, is it possible to somehow get the arguments with
which each function was called?
So for example, if function `foo` in module `bar` was called with
arguments `(1, [2])` when it raised an exception, then instead of:
On 6/7/2011 7:35 AM, Robin Becker wrote:
I guess what I'm asking is whether any sequence that's using random to
generate random numbers is predictable if enough samples are drawn.
Apparently so. random.random is *not* 'cryptographically secure'.
On 06/06/2011 08:33 AM, rusi wrote:
For any significant language feature (take recursion for example)
there are these issues:
1. Ease of reading/skimming (other's) code
2. Ease of writing/designing one's own
3. Learning curve
4. Costs/payoffs (eg efficiency, succinctness) of use
5.
On 6/7/2011 8:46 AM, Chris Gonnerman wrote:
On the 30th of May, I received an email from a man (I'll leave out his
name, but it was properly male) offering to translate the docs for the
gdmodule (which I maintain) into Belorussian. He wanted my approval, and
a link from my page to his. This
On Jun 7, 2011, at 20:09, Kev Dwyer wrote:
vipul jain wrote:
hey i am new to python and i want to make a website using python .
so for that i need a login page. in this login page i want to use the
sessions... but i am not getting how to do it
The Python standard library doesn't
Carl Banks wrote:
On Monday, June 6, 2011 9:03:55 PM UTC-7, Gabriel Genellina wrote:
En Sat, 28 May 2011 14:05:16 -0300, Steven D'Aprano
steve+comp@pearwood.info escribi�:
On Sat, 28 May 2011 09:39:08 -0700, John Nagle wrote:
Python allows patching code while the code is executing.
On Jun 7, 1:23 pm, Neil Cerutti ne...@norwich.edu wrote:
Use pdb.
Neil, thanks for the tip; `pdb` is indeed a great debugging tool.
Still, it doesn't obviate the need for arguments in the stack trace.
For example:
1) Arguments in stack trace can expedite a debugging session, and even
obviate
On Jun 7, 2:05 pm, Miki Tebeka miki.teb...@gmail.com wrote:
http://pypi.python.org/pypi/selenium?
I looked at Selenium and it may be what I need, but when I searched
for selenium and broken link (one of the things I need to test for),
I found only an unanswered question:
On Tue, Jun 7, 2011 at 1:31 PM, Dun Peal dunpea...@gmail.com wrote:
On Jun 7, 1:23 pm, Neil Cerutti ne...@norwich.edu wrote:
Use pdb.
Neil, thanks for the tip; `pdb` is indeed a great debugging tool.
Still, it doesn't obviate the need for arguments in the stack trace.
Your program could use
On Tue, Jun 7, 2011 at 3:18 AM, Robin Becker ro...@reportlab.com wrote:
A python web process is producing files that are given randomized names of
the form
hh-MMDDhhmmss-.pdf
where rrr.. is a 128bit random number (encoded as base62). The intent of the
random part is to
On 7-6-2011 21:31, Dun Peal wrote:
On Jun 7, 1:23 pm, Neil Cerutti ne...@norwich.edu wrote:
Use pdb.
Neil, thanks for the tip; `pdb` is indeed a great debugging tool.
Still, it doesn't obviate the need for arguments in the stack trace.
If you can't use pdb perhaps you can use the
On Tue, Jun 7, 2011 at 11:51 AM, Ethan Furman et...@stoneleaf.us wrote:
I'm not sure where he gets the idea that this has any impact on
concurrency, though.
What if f has two calls to self.h() [or some other function], and self.h
changes in between?
Surely that would be a major headache.
I
On Tue, Jun 7, 2011 at 2:22 PM, Ian Kelly ian.g.ke...@gmail.com wrote:
from functools import partial
def g(value):
print(value)
return partial(g, value+1)
f = partial(0)
for i in range(1):
f = f()
The partial(0) should read partial(g, 0), of course.
--
On 2011-06-07, Dun Peal dunpea...@gmail.com wrote:
On Jun 7, 1:23?pm, Neil Cerutti ne...@norwich.edu wrote:
Use pdb.
Neil, thanks for the tip; `pdb` is indeed a great debugging
tool.
Still, it doesn't obviate the need for arguments in the stack
trace. For example:
1) Arguments in stack
geremy condra debat...@gmail.com writes:
# adds random junk to the filename- should make it hard to guess
rrr = os.urandom(16)
fname += base64.b64encode(rrr)
Don't use b64 output in a filename -- it can have slashes in it! :-(
Simplest is to use old fashioned hexadeimal for stuff like that,
On Tue, 07 Jun 2011 15:52:05 +1000, Chris Angelico wrote:
[1] If a hostname ends with a dot, it's fully qualified.
Outside of BIND files, when do you ever see a name that actually ends
with a dot?
Whenever it is entered that way.
This may be necessary on complex networks with local
On Tue, Jun 7, 2011 at 2:42 PM, Paul Rubin no.email@nospam.invalid wrote:
geremy condra debat...@gmail.com writes:
# adds random junk to the filename- should make it hard to guess
rrr = os.urandom(16)
fname += base64.b64encode(rrr)
Don't use b64 output in a filename -- it can have slashes in
On Tue, 07 Jun 2011 13:27:59 +0100, Robin Becker wrote:
If you want the full 16 bytes of unpredictability, why don't you just
read 16 bytes from
/dev/urandom and forget about all the other stuff?
I have a vague memory that the original author felt that entropy might
run out or something
Hello All,
I want to print some integers in a zero padded fashion, eg. :
print(Testing %04i % 1)
Testing 0001
but the padding needs to be dynamic eg. sometimes %05i, %02i or some
other padding amount. But I can't insert a variable into the format
specification to achieve the desirable padding.
On Tue, Jun 7, 2011 at 1:42 PM, Paul Rubin no.email@nospam.invalid wrote:
geremy condra debat...@gmail.com writes:
# adds random junk to the filename- should make it hard to guess
rrr = os.urandom(16)
fname += base64.b64encode(rrr)
Don't use b64 output in a filename -- it can have slashes in
On Tue, Jun 7, 2011 at 2:36 PM, Friedrich Clausen f...@derf.nl wrote:
Hello All,
I want to print some integers in a zero padded fashion, eg. :
print(Testing %04i % 1)
Testing 0001
but the padding needs to be dynamic eg. sometimes %05i, %02i or some
other padding amount. But I can't insert
Friedrich Clausen wrote:
I want to print some integers in a zero padded fashion, eg. :
print(Testing %04i % 1)
Testing 0001
but the padding needs to be dynamic eg. sometimes %05i, %02i or some
other padding amount. But I can't insert a variable into the format
specification to achieve
On 6/7/2011 2:36 PM Friedrich Clausen said...
Hello All,
I want to print some integers in a zero padded fashion, eg. :
print(Testing %04i % 1)
Testing 0001
but the padding needs to be dynamic eg. sometimes %05i, %02i or some
other padding amount. But I can't insert a variable into the
Friedrich Clausen wrote:
Hello All,
I want to print some integers in a zero padded fashion, eg. :
print(Testing %04i % 1)
Testing 0001
but the padding needs to be dynamic eg. sometimes %05i, %02i or some
other padding amount. But I can't insert a variable into the format
specification to
[Drafted by Gabriel Genellina.]
QOTW: 'Reminds me of the catch-phrase from the first Pirates of the
Caribbean movie: 'It's more of a guideline than a rule.' - Tim
Roberts,
2011-05-27, on the mutator-methods-return-None
Announcing two maintenance releases (including security fixes):
2.5.6
Python 2.6.x
'test {0:.2f}'.format(1)
'test 1.00'
'test {0:{1}f}'.format(1,2)
'test 1.00'
'test {0:{1}f}'.format(1,.2)
'test 1.00'
'test {0:.{1}f}'.format(1,2)
'test 1.00'
Ramit
Ramit Prasad | JPMorgan Chase Investment Bank | Currencies Technology
712 Main Street | Houston, TX 77002
Friedrich Clausen wrote:
I would be much obliged if someone can give me some tips on how to
achieve a variably pad a number.
b='04'
a=testing %+b+i
print(a % 1)
testing 0001
kind regards,
m harris
--
http://mail.python.org/mailman/listinfo/python-list
On 07/06/2011 22:36, Friedrich Clausen wrote:
Hello All,
I want to print some integers in a zero padded fashion, eg. :
print(Testing %04i % 1)
Testing 0001
but the padding needs to be dynamic eg. sometimes %05i, %02i or some
other padding amount. But I can't insert a variable into the
Ethan Furman wrote:
-- print(Testing %0*i % (width, 1))
The '*' acts as a place holder for the width argument.
very nice...
--
http://mail.python.org/mailman/listinfo/python-list
Am 07.06.2011 20:26, schrieb Terry Reedy:
On 6/7/2011 7:35 AM, Robin Becker wrote:
I guess what I'm asking is whether any sequence that's using random to
generate random numbers is predictable if enough samples are drawn.
Apparently so. random.random is *not* 'cryptographically secure'.
Got similar things. Don't know what is the root cause but enabling
distribute seems to work...
c:\_work\homevirtualenv --distribute pyve\openpyxl
New python executable in pyve\openpyxl\Scripts\python.exe
A globally installed setuptools was found (in c:\python25\lib\site-
packages)
Use the
On Wed, Jun 8, 2011 at 7:43 AM, Mel mwil...@the-wire.com wrote:
:)
('%%0%dd' % (pads,)) % (n,)
Probably be good to wrap it in a function. It looks kind of obscure as it
is.
Would get rather pretty (read: ugly and impossible to read) if you
wanted to put a literal percent sign in front of
Hi guys!
I am trying to build a C++ application that uses pthreads and embedded
python. I've simplified the problem down so that the Python code is a single
class that subclasses from Queue. The main thread of the C++ application
adds to the queue. A worker thread in the C++ application reads
Friedrich:
snip
I would be much obliged if someone can give me some tips on how to
achieve a variably pad a number.
:)
('%%0%dd' % (pads,)) % (n,)
Probably be good to wrap it in a function. It looks kind of obscure as it
is.
You might want to try new style string formatting [1], which
On 06/06/2011 08:33 AM, rusi wrote:
Evidently for syntactic, implementation and cultural reasons, Perl
programmers are likely to get (and then overuse) regexes faster than
python programmers.
ru...@yahoo.com ru...@yahoo.com wrote:
I don't see how the different Perl and Python cultures
Thomas Rachel wrote in message news:isi5dk$8h1$1...@r03.glglgl.eu...
Am 04.06.2011 20:27 schrieb TommyVee:
I'm using the SimPy package to run simulations. Anyone who's used this
package knows that the way it simulates process concurrency is through
the clever use of yield statements. Some of
On 06/07/2011 03:01 PM, harrismh777 wrote:
Ethan Furman wrote:
-- print(Testing %0*i % (width, 1))
The '*' acts as a place holder for the width argument.
very nice...
It works for precision as well as width.
wid = 10
prec = 3
num = 123.456789
print %0*.*f % (wid, prec, num)
gives you
Hi All,
Does anybody know what the following error means with paramiko, and
how to fix it.
I don't know what is causing it and why. I have updated paramiko to
version 1.7.7.1 (George) but still has the same issue.
Also I can not reproduce the problem and therefore debugging is harder
for me.
Christian Heimes li...@cheimes.de writes:
PyCrypto has a strong pseudorandom number generator, too.
If you mean the one at pycrypto.org, that page now says:
Random number generation
Do not use RandomPool to generate random numbers. Use Crypto.Random
instead. RandomPool is
Nobody nob...@nowhere.com writes:
The problem with /dev/urandom is that it shares the same entropy pool as
/dev/random, so you're stealing entropy which may be needed for tasks
which really need it (e.g. generating SSL/TLS keys).
The most thorough analysis of Linux's /dev/*random that I know
En Tue, 07 Jun 2011 15:09:54 -0300, Dun Peal dunpea...@gmail.com
escribió:
In a stack trace, is it possible to somehow get the arguments with
which each function was called?
So for example, if function `foo` in module `bar` was called with
arguments `(1, [2])` when it raised an exception,
On 6/7/2011 7:05 PM, John Posner wrote:
You might want to try new style string formatting [1], which I think
is better than the old style in this particular case:
Testing {0:0{1}d}.format(42, 4)
'Testing 0042'
Testing {0:0{1}d}.format(42, 9)
'Testing 00042'
One cannot
Dear Pythoners,
I have written a few python tools and cant distribute as exe due to
scalability issues. I started with a few tools and gave it as exe to the
users and now as the number of tools have increased, they complain they have
too many exes :)
So i have requested a server space so I need
On Wed, Jun 8, 2011 at 1:10 PM, Abhijeet Mahagaonkar
abhijeet.mano...@gmail.com wrote:
So i have requested a server space so I need some inputs on how i will be
able to host these scripts on a webserver and have them run on browsers
rather than on individual systems.
Python doesn't normally
I need to call a python function from a Matlab environment. Is it
possible?
Let's assume, I have the following python code:
def squared(x):
y = x * x
return y
I want to call squared(3) from Matlab workspace/code and get 9.
Thanks for your feedback.
Nazmul
--
On Tue, Jun 7, 2011 at 7:30 PM, Paul Rubin no.email@nospam.invalid wrote:
Christian Heimes li...@cheimes.de writes:
PyCrypto has a strong pseudorandom number generator, too.
If you mean the one at pycrypto.org, that page now says:
Random number generation
Do not use RandomPool to
There are few options available with mod_python + apache configuration but
it comes with limitation as the scripts will be running on servers and you
will need to parse the requests and inputs as a web request to the script
On Wed, Jun 8, 2011 at 9:34 AM, Chris Angelico ros...@gmail.com wrote:
New submission from Gabriel Genellina gagsl-...@yahoo.com.ar:
On Windows, IDLE closes all open windows and exits completely, without any
error message, when selecting the Print window menu command.
Starting IDLE from inside a console, one can see the error message:
Exception in Tkinter
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment:
Note: There is a much bigger problem here: IDLE should not abort abruptly in
such cases, without any error indication.
--
___
Python tracker rep...@bugs.python.org
New submission from lilydjwg lilyd...@gmail.com:
On redirecting to a url like '/login', at around line 556 of request.py it will
raise an HTTPError. The sys.verrsion is
Python 3.2 (r32:88445, Apr 15 2011, 11:20:08)
[GCC 4.5.2 20110127 (prerelease)] on linux2
--
components:
New submission from Gabriel Genellina gagsl-...@yahoo.com.ar:
Python 3.x doesn't honor sys.tracebacklimit=0
According to
http://docs.python.org/py3k/library/sys.html#sys.tracebacklimit
when set to 0, it should not print any stack trace, but it does.
Python 3.2 (r32:88445, Feb 20 2011,
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment:
Originally reported by Thorsten Kampe in comp.lang.python 2011-5-27
http://permalink.gmane.org/gmane.comp.python.general/691496
--
___
Python tracker rep...@bugs.python.org
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
This was changed a long time ago with 565012d1123d
--
nosy: +amaury.forgeotdarc
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12276
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12276
___
___
New submission from Boštjan Mejak bostjan.me...@gmail.com:
http://docs.python.org/release/2.6.6/library/os.html?highlight=os.walk#os.walk
Click the above link and note the 5th paragraph which goes By default errors
from the listdir() call are ignored.
Please fix it to By default, errors from
Georg Brandl ge...@python.org added the comment:
Any Windows person going to review this one?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12084
___
Dirkjan Ochtman dirk...@ochtman.nl added the comment:
Here's an attempted patch against 2.7. It seemed nice to put the test in
test_doctest, but maybe it belongs in inspect...
--
keywords: +needs review, patch
Added file: http://bugs.python.org/file22270/issue9284.diff
Georg Brandl ge...@python.org added the comment:
If it's a minor cleanup and not a bugfix, why should it go into a branch that
receives bugfixes only?
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12019
Antoine Pitrou pit...@free.fr added the comment:
I'm not sure why you're creating a separate test file. There are already
signals-related tests in test_io. Also, perhaps you can reuse the idioms used
there, rather than spawn subprocesses.
--
stage: - patch review
Tim Golden m...@timgolden.me.uk added the comment:
I'm just patching a clone now.
--
nosy: +tim.golden
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12084
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
issue12084.diff:
- test_os pass with patched Python 3.3 on Windows 7 64 bits (and on Linux,
Debian Sid)
- in test_os: finally: os.remove(file1) fails with file1 doesn't exist: a
new try/finally should be used after with
Antoine Pitrou pit...@free.fr added the comment:
Well, the HTTP RFC does indicate that the redirection URI (in the Location
header: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30) must
be an absolute URI, but I also agree that using a relative URI in that context
is a common
STINNER Victor victor.stin...@haypocalc.com added the comment:
Win32SymlinkTests.test_rmdir_on_directory_link_to_missing_target() pass on my
Windows 7 64 bits VM (with and without the patch), but is skipped:
@unittest.skip(currently fails; consider for improvement)
def
Antoine Pitrou pit...@free.fr added the comment:
I don't think readline is special-cased:
$ echo 1/0 logging.py
$ cpython/default/python
Python 3.3a0 (default:d8502fee4638+, Jun 6 2011, 19:13:58)
[GCC 4.4.3] on linux2
Type help, copyright, credits or license for more information.
import
Tim Golden m...@timgolden.me.uk added the comment:
All expected tests pass on 3.2 branch (Win7 32-bit). The patch doesn't
apply cleanly to trunk; not sure if it's expected to or not. The code
looks ok on paper. I'll leave Victor to quibble over the Unicode stuff...
--
1 - 100 of 200 matches
Mail list logo