Hi Thomas,
Thanks for your comments! Please check mine inline.
On Aug 17, 1:50 am, Thomas Jollans tho...@jollybox.de wrote:
On Monday 16 August 2010, it occurred to Jacky to exclaim:
Hi there,
Recently I'm facing a problem to convert 4 bytes on an bytearray into
an 32-bit integer. So
On Monday 16 August 2010, it occurred to Jacky to exclaim:
Hi Thomas,
Thanks for your comments! Please check mine inline.
On Aug 17, 1:50 am, Thomas Jollans tho...@jollybox.de wrote:
On Monday 16 August 2010, it occurred to Jacky to exclaim:
Hi there,
Recently I'm facing a
On Aug 16, 8:08 pm, Jacky jacky.chao.w...@gmail.com wrote:
Hi Thomas,
Thanks for your comments! Please check mine inline.
On Aug 17, 1:50 am, Thomas Jollans tho...@jollybox.de wrote:
On Monday 16 August 2010, it occurred to Jacky to exclaim:
Hi there,
Recently I'm facing a problem
Baba wrote:
[ ... ]
Now, i believe that the number of consecutive passes required to make
this work is equal to the smallest number of pack sizes. So if we have
packs of (9,12,21) the number of passes needed would be 9 and the
theorem would read
If it is possible to buy n,n+1,n+2,...n+8
On Aug 16, 8:36 pm, Mark Dickinson dicki...@gmail.com wrote:
On Aug 16, 8:08 pm, Jacky jacky.chao.w...@gmail.com wrote:
My concern is that struct may need to parse the format string,
construct the list, and de-reference index=0 for this generated list
to get the int out.
There should be
Baba raoul...@gmail.com writes:
Hi Mel,
indeed i thought of generalising the theorem as follows:
If it is possible to buy n, n+1,~, n+(x-1) sets of McNuggets, for some
x, then it is possible to buy any number of McNuggets = x, given that
McNuggets come in x, y and z packs.
so with
well i still believe that the key is the smallest sized pack and
there's no need to go into higher mathematics to solve this problem.
I think below code works within the limits of the exercise which
states to look at a maximum range of 200 in order not to search
forever.
packages=[2,103,105]
On 8/16/2010 4:18 PM, Baba wrote:
packages=[2,103,105]
min_size=min(packages[0],packages[1],packages[2])
or:
min_size = min(packages)
-John
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, 16 Aug 2010 08:17:20 -0700, Steve Ferg wrote:
In this little script:
pre
import pdb
pdb.set_trace()
def main():
xm = 123
print(Hello,world!)
main()
/pre
When I run this, I use pdb to step through it until I reach the point in
main() where the xm variable has
On Aug 9, 8:19 am, Mike Kent mrmak...@cox.net wrote:
On Aug 8, 8:43 pm, rantingrick rantingr...@gmail.com wrote:
Xah, this is really you, isn't it. Come on, confess.
*MOI*, How could *I* be xah. I really don't like Ruby however he
gushes over it all the time. And he does not like Python that
On Mon, 16 Aug 2010 08:17:20 -0700, Steve Ferg wrote:
In this little script:
pre
import pdb
pdb.set_trace()
def main():
xm = 123
print(Hello,world!)
main()
/pre
When I run this, I use pdb to step through it until I reach the point in
main() where the xm variable has
On Aug 8, 8:15 pm, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
On Sun, 08 Aug 2010 17:43:03 -0700, rantingrick wrote:
Ruby has what they
call a Here Doc. Besides picking the most boneheaded name for such an
object
It's standard terminology that has been around for a long
On Mon, 16 Aug 2010 05:46:17 -0700, Alex Willmer wrote:
On Aug 16, 12:23 pm, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
On Sun, 15 Aug 2010 17:36:07 -0700, Alex Willmer wrote:
On Aug 16, 1:07 am, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
You're
On Sun, Aug 15, 2010 at 11:24:25PM +, Steven D'Aprano wrote:
On Sun, 15 Aug 2010 23:21:51 +0200, fons wrote:
The documentation on execfile() and locals() makes it clear that code
executed from execfile() can not modify local variables in the function
from wich execfile() was called.
On Mon, 16 Aug 2010 20:40:52 +0200, Frederic Rentsch wrote:
How about
[obj for obj in dataList if obj.number == 100]
That should create a list of all objects whose .number is 100. No need
to cycle through a loop.
What do you think the list comprehension does, if not cycle through a
In message
5fa7b287-0199-4349-ae0d-c34c8461c...@5g2000yqz.googlegroups.com, Standish
P wrote:
We envisage an exogenous stack which has malloc() associated
with a push and free() associated with a pop.
Since when are malloc(3) and free(3) exogenous?
--
Hey everyone, I'm trying to be able to run my app, which uses pygtk,
under windows, but unfortunately I'm having big problems with it. The main
purpose of this is to later on make an .exe file but i havent even been able
to run the app at least.
I've followed every single step from this
On Aug 17, 3:32 am, Eric Brunel eric.bru...@pragmadev.nospam.com
wrote:
In article
993d9560-564d-47f0-b2db-6f0c6404a...@g6g2000pro.googlegroups.com,
Jah_Alarm jah.al...@gmail.com wrote:
hi,
pls help me out with the following issue: I wrote a function that uses
a for loop that changes a
On Mon, 16 Aug 2010 19:27:32 +0200, Alex van der Spek wrote:
Here is an excerpt. It works because the end condition is a fixed number
(ln==10255), the approximate number of data lines in a file. If I
replace that condition by EOFError, the program does not do the intended
work. It appears as
hi,
I need to generate a binary array with a specified average proportion
of 1s (e.g. [1 0 0 0
0 1 0 0] has this proportion = 25%). In Matlab I run something like
random(m,n)p where p is the value
between 0 and 1. I'm trying to use random.randint(0,2,size=[m,n]), but
I don't understand how to
On Aug 16, 2010, at 20:37 , Jah_Alarm wrote:
hi,
I need to generate a binary array with a specified average proportion
of 1s (e.g. [1 0 0 0
0 1 0 0] has this proportion = 25%). In Matlab I run something like
random(m,n)p where p is the value
between 0 and 1. I'm trying to use
Hi Mark,
Thanks for your reply. Agree and I'll use your suggestions. Thanks!
-Jacky
On Aug 17, 3:36 am, Mark Dickinson dicki...@gmail.com wrote:
On Aug 16, 8:08 pm, Jacky jacky.chao.w...@gmail.com wrote:
Hi Thomas,
Thanks for your comments! Please check mine inline.
On Aug 17, 1:50
On Aug 17, 3:38 am, Thomas Jollans tho...@jollybox.de wrote:
On Monday 16 August 2010, it occurred to Jacky to exclaim:
Hi Thomas,
Thanks for your comments! Please check mine inline.
On Aug 17, 1:50 am, Thomas Jollans tho...@jollybox.de wrote:
On Monday 16 August 2010, it
In article i4b770$hv...@localhost.localdomain,
Martin Gregorie mar...@address-in-sig.invalid wrote:
Say you have intensity data captured from an X-ray goniometer from 160
degrees to 30 degrees at 0.01 degree resolution. Which is most evil of
the following?
1) real intensity[16000:3000]
On Aug 17, 3:53 am, Mark Dickinson dicki...@gmail.com wrote:
On Aug 16, 8:36 pm, Mark Dickinson dicki...@gmail.com wrote:
On Aug 16, 8:08 pm, Jacky jacky.chao.w...@gmail.com wrote:
My concern is that struct may need to parse the format string,
construct the list, and de-reference
On Aug 16, 5:37 pm, Jah_Alarm jah.al...@gmail.com wrote:
hi,
I need to generate a binary array with a specified average proportion
of 1s (e.g. [1 0 0 0
0 1 0 0] has this proportion = 25%). In Matlab I run something like
random(m,n)p where p is the value
between 0 and 1. I'm trying to use
Hello Comp.Lang,Python,
1) How do I parse Basic Posix RE's in Python (i need it because of
some old scripts and a specific OS developed in Seattle)
2) How can I split a string into sections that MATCH a regex (rather
then splitting by seperator). Tokenizer-style but ignoring every place
from
[Paddy]
Lets say you have two *sets* of integers representing two near-copies
of some system, then a measure of their difference could be calculated
as:
len(X.symmetric_difference(Y)) / (len(X) + len(Y)) * 100 %
If the two collections of integers are allowed duplicates then you
need a
On Aug 17, 2:57 am, Jeff Hobbs jeff.ho...@gmail.com wrote:
On Aug 16, 7:30 am, ChrisChia chrischi...@gmail.com wrote:
I have this:
image1 = ImageTk.PhotoImage(file = c:\\f1.jpg)
image2 = ImageTk.PhotoImage(file = c:\\f2.jpg)
imagelist.append(image1)
imagelist.append(image2)
In message roy-ee1b7f.21001716082...@news.panix.com, Roy Smith wrote:
5) real intensity[160.0 : 30.0 : 0.01]
How many elements in that array?
a) 2999
b) 3000
c) neither of the above
--
http://mail.python.org/mailman/listinfo/python-list
In article i4cqg0$ol...@lust.ihug.co.nz,
Lawrence D'Oliveiro l...@geek-central.gen.new_zealand wrote:
In message roy-ee1b7f.21001716082...@news.panix.com, Roy Smith wrote:
5) real intensity[160.0 : 30.0 : 0.01]
How many elements in that array?
a) 2999
b) 3000
c) neither of the above
As monitors are getting bigger, is there a general change in opinion on
the 79 chars limit in source files? I've experimented with 98 characters
per line and I find it quite a bit more comfortable to work with that
length, even though sometimes I have to edit files in 80 width
terminals, it's
On Tue, Aug 17, 2010 at 12:35 PM, AK andrei@gmail.com wrote:
As monitors are getting bigger, is there a general change in opinion on
the 79 chars limit in source files? I've experimented with 98 characters
per line and I find it quite a bit more comfortable to work with that
length, even
In article mailman.2213.1282012961.1673.python-l...@python.org,
James Mills prolo...@shortcircuit.net.au wrote:
On Tue, Aug 17, 2010 at 12:35 PM, AK andrei@gmail.com wrote:
As monitors are getting bigger, is there a general change in opinion on
the 79 chars limit in source files? I've
On 08/16/2010 10:42 PM, James Mills wrote:
On Tue, Aug 17, 2010 at 12:35 PM, AKandrei@gmail.com wrote:
As monitors are getting bigger, is there a general change in opinion on
the 79 chars limit in source files? I've experimented with 98 characters
per line and I find it quite a bit more
On Tue, Aug 17, 2010 at 12:50 PM, Roy Smith r...@panix.com wrote:
I disagree with James. I have no problem with going wider than 80, if
it improves readability by not forcing you to fold lines in unnatural
places.
There's more important things to worry about.
Roy, under normal circumstances
hi, this is probably a very silly question, but I can't get my hear
around it unfortunately(
I have an array (say, mat=rand(3,5)) from which I 'pull out' a row
(say, s1=mat[1,]). The problem is, the shape of this row s1 is not
[1,5], as I would expect, but rather [5,], which means that I can't,
Hello,
I started learning python last year. All of this time i have used the
terminal and gedit to create, modify, and test my applications and modules.
For some reason I can not do this any more.
I'll try to do my best to explain whats happening.
I have a script modtest.py which has a function
On Mon, Aug 16, 2010 at 11:33 PM, kreglet kreg...@gmail.com wrote:
Hello,
I started learning python last year. All of this time i have used the
terminal and gedit to create, modify, and test my applications and modules.
For some reason I can not do this any more.
I'll try to do my best to
On Mon, 16 Aug 2010 22:35:49 -0400, AK wrote:
As monitors are getting bigger, is there a general change in opinion on
the 79 chars limit in source files? I've experimented with 98 characters
per line and I find it quite a bit more comfortable to work with that
length, even though sometimes I
On 8/16/10 9:29 PM, Roy Smith wrote:
In articlei4cqg0$ol...@lust.ihug.co.nz,
Lawrence D'Oliveirol...@geek-central.gen.new_zealand wrote:
In messageroy-ee1b7f.21001716082...@news.panix.com, Roy Smith wrote:
5) real intensity[160.0 : 30.0 : 0.01]
How many elements in that array?
a) 2999
On 8/16/10 10:07 PM, Aram Ter-Sarkissov wrote:
hi, this is probably a very silly question, but I can't get my hear
around it unfortunately(
I have an array (say, mat=rand(3,5)) from which I 'pull out' a row
(say, s1=mat[1,]). The problem is, the shape of this row s1 is not
[1,5], as I would
hi, I've already asked this question but so far the progress has been
small.
I'm running Tkinter. I have some elements on the screen (Labels, most
importantly) which content has to be updated every iteration of the
algorithm run, e.g. Iteration = [i] for i in range(n), n=100. I'm
using the
On 08/16/2010 11:51 PM, Steven D'Aprano wrote:
On Mon, 16 Aug 2010 22:35:49 -0400, AK wrote:
As monitors are getting bigger, is there a general change in opinion on
the 79 chars limit in source files? I've experimented with 98 characters
per line and I find it quite a bit more comfortable to
On Mon, 16 Aug 2010 22:56:20 -0500, Robert Kern wrote:
On 8/16/10 9:29 PM, Roy Smith wrote:
In articlei4cqg0$ol...@lust.ihug.co.nz,
Lawrence D'Oliveirol...@geek-central.gen.new_zealand wrote:
In messageroy-ee1b7f.21001716082...@news.panix.com, Roy Smith wrote:
5) real intensity[160.0 :
Greetings,
I want a debugging function with the effect of the function below (in a
seperate module):
def dump(expr):
print expr, '=', eval(expr)
foo = 33
dump('foo')
Of course this fails when called from another module because eval does not
know the globals or locals of the caller. Is
On Tue, Aug 17, 2010 at 2:12 PM, AK andrei@gmail.com wrote:
There's no doubt that there are pro's and con's, but to be fair, it's
not like code becomes unreadable over 79 chars - the difference is that
when your terminal is 80 chars, it's less convenient for you to read
code that's wider
On Aug 16, 11:04 am, Baba raoul...@gmail.com wrote:
Hi Chas, Roald,
These are all complicated formula that i believe are not expected at
this level. If you look at the source (see my first submission) you
will see that this exercise is only the second in a series called
Introduction to
On Aug 16, 9:07 pm, Jah_Alarm jah.al...@gmail.com wrote:
I have some elements on the screen (Labels, most
importantly) which content has to be updated every iteration of the
algorithm
The variable type is IntVar()
You would use int_var_name.set(some_number)
--
On 08/17/2010 12:26 AM, James Mills wrote:
On Tue, Aug 17, 2010 at 2:12 PM, AKandrei@gmail.com wrote:
There's no doubt that there are pro's and con's, but to be fair, it's
not like code becomes unreadable over 79 chars - the difference is that
when your terminal is 80 chars, it's less
On Tue, Aug 17, 2010 at 2:50 PM, AK andrei@gmail.com wrote:
By the way, the reason I asked is that we're working on a python
tutorial and I realized that even though I'm used to 99, I wasn't sure
if it's ok to teach that to new users or not..
In my opinion it would be okay to teach.
On 08/16/2010 08:59 PM, AK wrote:
But.. why horizontal scrolling, isn't autowrap much better than that?
Wouldn't it really make a visual mess of Python code if lines wrapped?
Maybe if they wrapped smartly.
In general, the only time I find my lines longer than 75 characters are
strings or
On 08/16/2010 10:50 PM, AK wrote:
I stay away from ugly cramped one-liners; I mostly run over 79 when I
have a few `and` and `or` clauses or long strings. I've also noticed
something interesting: going from 79 to 99 affects a relatively large
number of lines, but going over 99 (i.e. 99 to 132)
Daniel Urban urban.dani...@gmail.com added the comment:
I'm attaching a new patch containing also some documentation for the two new
decorators. The doc is rather terse, and english is not my first language, so
please let me know if some corrections are needed.
--
Added file:
Changes by beng umali bpum...@gmail.com:
--
nosy: bpumali
priority: normal
severity: normal
status: open
title: IDLE
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9620
___
New submission from beng umali bpum...@gmail.com:
I can't seem to get my head around solving this problem after installing Python
2.7 on a mac os x 10.6.4. The error message that comes out after clicking IDLE
from the applications reads:
IDLE's subprocess didn't make connection. Either IDLE
Freek Dijkstra fr...@macfreek.nl added the comment:
If it would help to separate things, let me know, and I split this up in three
separate bug reports.
(For the record, knowing these limitations, I could work around it in my code,
so they are low priority for me; I just think that it will
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Pehaps it hasn't been demonstrated before, but just for the sake of argument
(and because I'm a persistant bugger), here are the two different cases:
current:
ctxt = self.assertRaises(MyException)
with ctxt:
foo()
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
No, apparently, r78942 was not included in 3.1.2.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9257
___
Freek Dijkstra fr...@macfreek.nl added the comment:
I can confirm that both the problem exists and the patch works on Python 2.6
and 3.1. I love to see it committed.
--
nosy: +macfreek
___
Python tracker rep...@bugs.python.org
Thomas Guettler guet...@thomas-guettler.de added the comment:
Yes, I think this can be closed, too.
--
nosy: +guettli
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1982
___
Jesse Noller jnol...@gmail.com added the comment:
Thanks Freek - we're actually discussing some stuff like this in issue9205 as
well
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9592
Marc-Andre Lemburg m...@egenix.com added the comment:
STINNER Victor wrote:
New submission from STINNER Victor victor.stin...@haypocalc.com:
mmap, buffer, bytearray, string and unicode objects set the char buffer
callback (bf_getcharbuffer). The bytearray object sets also the release
Giampaolo Rodola' g.rod...@gmail.com added the comment:
I think the main problem here is that it's not easy to write reliable tests
that work across all platforms (getaddrinfo(host, 'ftp') returning UDP
addresses on FreeBSD/Qemu only is an example).
We might try to go a little deeper as you
Florent Xicluna florent.xicl...@gmail.com added the comment:
Btw, the comment and failure message in r81380/r81381 look wrong.
-# If absolute import syntax is used, then do not try to perform
-# a relative import in the face of failure.
+# If explicit relative import syntax is used,
New submission from Matt Bond gmattb...@gmail.com:
As part of my GSoC project working on 2to3, I've created a script which will
allow compiled fixer patterns to be visualized using graphviz. This would be
useful for debugging and understanding exactly how patterns are matched. I've
written
Alberto Trevino albe...@byu.edu added the comment:
On Sunday, August 15, 2010 09:19:27 am Giampaolo Rodola' wrote:
Patch no longer applies cleanly because smtpd.py changed in the meantime.
Is someone going to fix that or I am expected to play daily catch-up until
this gets merged?
A further
Changes by Alexander Belopolsky belopol...@users.sourceforge.net:
--
resolution: - out of date
stage: unit test needed - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1982
Florent Xicluna florent.xicl...@gmail.com added the comment:
Fixed in 2.6.6 with release manager approval on r84093.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9145
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
stage: - patch review
type: - behavior
versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1102
Mark Lawrence breamore...@yahoo.co.uk added the comment:
Does this still need a patch or can it be closed?
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6724
___
Changes by Tim Golden m...@timgolden.me.uk:
--
components: +Windows
nosy: +tim.golden
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1102
___
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
Note that the buffer interface release API is meant to protect
against such modifications, so I don't see why rejecting objects
that do implement this API should be rejected.
As I explained, the release API is *not* used by
New submission from Kristján Valur Jónsson krist...@ccpgames.com:
issue 9609 updates _lsprof.c to be multi-stack aware. This allows
cProfile.Profile() objects to be shared by many threads and provide meaningfull
results.
This update makes it more convenient to profile running,
Changes by Daniel Urban urban.dani...@gmail.com:
--
nosy: +durban
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1615
___
___
Python-bugs-list
Joel Brobecker brobec...@gnat.com added the comment:
More update on this patch: It's incomplete, and possibly wrong, unfortunately.
The issue that someone else noticed is that it does not handle the case when
Python was configured with --libdir=...; and I think that the default lib dir
on
STINNER Victor victor.stin...@haypocalc.com added the comment:
Commited as r84094 to 3.2.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9599
___
Giampaolo Rodola' g.rod...@gmail.com added the comment:
Re-adapted patch including size_limit change as described in my previous
message is in attachment.
Barry and Alberto, could you take a final look at it before committing?
--
Added file: http://bugs.python.org/file18546/smtpd.patch
Changes by Éric Araujo mer...@netwok.org:
Removed file: http://bugs.python.org/file18062/smime.p7s
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9189
___
Changes by Éric Araujo mer...@netwok.org:
--
components: +Build
nosy: +eric.araujo
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9189
___
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7741
___
___
Python-bugs-list
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo, kbk
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9618
___
___
Python-bugs-list
Éric Araujo mer...@netwok.org added the comment:
+1 on committing this change.
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9562
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
zipimport_read_directory.patch commited as r84095.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9425
___
Changes by STINNER Victor victor.stin...@haypocalc.com:
Removed file: http://bugs.python.org/file18527/zipimport_read_directory.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9425
___
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo, tarek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7352
___
___
Python-bugs-list
Alberto Trevino albe...@byu.edu added the comment:
On Monday, August 16, 2010 11:42:51 am you wrote:
Re-adapted patch including size_limit change as described in my previous
message is in attachment. Barry and Alberto, could you take a final look
at it before committing?
Looks good to me.
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Can someone explain why among the 6 calls to Py_GetFinalPathNameByHandle, 5 of
them use VOLUME_NAME_DOS and only one uses VOLUME_NAME_NT?
--
nosy: +amaury.forgeotdarc
status: closed - pending
STINNER Victor victor.stin...@haypocalc.com added the comment:
Py_UNICODE_strncmp.patch: create Py_UNICODE_strncmp() function.
--
Added file: http://bugs.python.org/file18547/Py_UNICODE_strncmp.patch
___
Python tracker rep...@bugs.python.org
Changes by Terry J. Reedy tjre...@udel.edu:
--
title: python2.6-config --ldflags out of /usr and missing -Linstall_lib_dir
- pythonx.y-config --ldflags out of /usr and missing -Linstall_lib_dir
versions: +Python 3.2 -Python 2.7
___
Python tracker
Barry A. Warsaw ba...@python.org added the comment:
The one thing that looks weird to me is VRFY. Since it never actually does
verify the user, should we even claim to support the command? Why not let
subclasses claim support if they want to add it?
--
Brian Curtin cur...@acm.org added the comment:
I committed the code you speak of (posix__getfinalpathname in
Modules/posixmodule.c), but I don't know if I have a great answer for that
question. It looks like VOLUME_NAME_NT (path with volume device path) should
just be changed to
Florent Xicluna florent.xicl...@gmail.com added the comment:
Comment changed in r84097, 3.2 branch, with minor fixes.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7902
___
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Committed to py3k in r84098. Accepting this change for py3k was an easy
decision to make because zip and map already behave this way in 3.x.
I am inclined to reject this for 2.7, however. While I agree that this is a
Barry A. Warsaw ba...@python.org added the comment:
Guido has spoken:
http://mail.python.org/pipermail/python-dev/2010-August/103104.html
We'll keep the change for 2.6.6rc2.
--
nosy: +barry
status: open - closed
___
Python tracker
Barry A. Warsaw ba...@python.org added the comment:
r84103 in release26-maint
I will let Ronald commit to the other branches. I did this one due to the
timing of 2.6.6 rc 2. Bumping status away from release blocker.
--
priority: release blocker - high
New submission from Dave Malcolm dmalc...@redhat.com:
test_site.py has a couple of assertions of the form
self.assertTrue(len(foo), some number)
which appear to be incorrect, and should read:
self.assertEqual(len(foo), some number)
or assertEquals (that file uses both methods).
r76047
Jason R. Coombs jar...@jaraco.com added the comment:
In the case where I did use VOLUME_NAME_NT, I think I chose it because it
returned a more robust result. That is, it's not clear what the result is if
the result is not on a volume that is assigned a drive letter, but all files
referenced
Alberto Trevino albe...@byu.edu added the comment:
On Monday, August 16, 2010 12:58:07 pm Barry A. Warsaw wrote:
The one thing that looks weird to me is VRFY. Since it never actually
does verify the user, should we even claim to support the command? Why
not let subclasses claim support if
Changes by Alexander Belopolsky belopol...@users.sourceforge.net:
--
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1581183
___
101 - 200 of 234 matches
Mail list logo