As in Numpty Dumpty?
Sorry...
--
Psss, psss, put it down! - http://www.cafepress.com/putitdown
--
http://mail.python.org/mailman/listinfo/python-list
On 11/11/10 14:26, Lawrence D'Oliveiro wrote:
In messagemailman.843.1289438674.2218.python-l...@python.org, Tim Chase
wrote:
Amusingly, as others have noted, you replied with an unobfuscated
email address.
This
http://mail.python.org/pipermail/python-list/2010-November/1260153.html
would
*
Hello,I have knew the python mail list neamed python-list@python.org,I want
to know what is the information I can get from the mail list?Thank you!*
--
*=:-)*
*Keep Stupid,Keep Thirsty!*
--
http://mail.python.org/mailman/listinfo/python-list
rantingrick, 11.11.2010 19:07:
On Nov 10, 5:35 pm, Arnaud Delobellearno...@gmail.com wrote:
So pypy is pie-pee, not pie-pie or pee-pee. With that edifying
thought, I'm off to bed.
:) Good catch!
Actually i've always thought of pypi as pie-pie and Scipy as cy-pie.
Num-pie does not work
On Nov 11, 10:32 am, John Nagle na...@animats.com wrote:
Is there any reason to prefer tempfile.TemporaryFile()
over os.tmpfile()? Both create a nameless temporary file
that will be deleted on close.
os.tmpfile calls your OS's tmpfile system call.
tempfile.TemporaryFile creates the
Hi,
I'm learning the python program language.I get someinformation from the
python-list,but I felt boring to read a text-information ,so how can I read
the python-list's FAQs quickly?
Thank you!
--
*=:-)*
*Keep Stupid,Keep Thirsty!*
--
http://mail.python.org/mailman/listinfo/python-list
I have a generator function which takes as arguments another generator and a
dictionary of other generators like this:
def modgen(gen, gendict):
for item in gen():
for k, v in gendict:
do_something_called_k(item, v.next())
yield item
I want to control the
Hello All,
I have an issue while accessing COM API of an application. I got
following error when I tried to run following command:
win32com.client.Dispatch(app ID)
File C:\Python25\Lib\site-packages\win32com\client\__init__.py,
line 95, in Dispatch
dispatch, userName =
HAI WANT TO MEET FRIENDS FOR REAL FUN, CLICK FRIENDS-4-FUN
http://tinyurl.com/friend-4-fun
or
http://goo.gl/1bour
or
http://tinyurl.com/friend-4-fun1
--
http://mail.python.org/mailman/listinfo/python-list
It is a 'standard' behaviour that a lone '--' terminates options. argparse
says:
If you have positional arguments that must begin with '-' and don’t look
like negative numbers, you can insert the pseudo-argument '--' which tells
parse_args that everything after that is a positional argument:
Neal Becker wrote:
It is a 'standard' behaviour that a lone '--' terminates options.
argparse says:
If you have positional arguments that must begin with '-' and don’t look
like negative numbers, you can insert the pseudo-argument '--' which tells
parse_args that everything after that is
How do I pass the following header
Header name: Cookie
Header value: [SID=the session identifier]
to SOAP.HeaderHandler():
class HeaderHandler:
# Initially fail out if there are any problems.
def __init__(self, header, attrs):
for i in header.__dict__.keys():
On 2010-11-12, Martin Gregorie mar...@address-in-sig.invalid wrote:
On Thu, 11 Nov 2010 13:01:01 -0500, Steve Holden wrote:
Moving from one language to anther is not just a matter of
transliterating the code. Of you try that you will end up with a messy
code base that looks like PHP written
My company is working on releasing some of our code as open-source python
modules. I don't want my foo module conflicting with other modules called
foo on PyPi or github or a user's system. Is there anything wrong, from a
conventions standpoint, with having modules like company.foo and company.bar
On Nov 11, 3:13 pm, Tim Golden m...@timgolden.me.uk wrote:
Try Celery
http://ask.github.com/celery/getting-started/introduction.html
Thank you Tim, looks very interesting!
Manu
--
http://mail.python.org/mailman/listinfo/python-list
On Nov 12, 6:58 am, Lawrence D'Oliveiro l...@geek-
central.gen.new_zealand wrote:
In message
2cf9a225-7d1c-4490-8a62-807e79bdd...@n30g2000vbb.googlegroups.com,
Why not skip all the threads and just spawn all the processes in your main
loop? Then after getting the SIGINT, send that signal to
On 11/12/10 8:12 AM, Micah Carrick wrote:
My company is working on releasing some of our code as open-source python
modules. I don't want my foo module conflicting with other modules called
foo on PyPi or github or a user's system. Is there anything wrong, from a
conventions standpoint, with
On Nov 12, 2:47 am, John O'Hagan resea...@johnohagan.com wrote:
I have tried using a deep update function on the original nested dictionary,
but this only works if I change the contents of a list, not if I want to,
say, change a node from a list to a dictionary or vice versa, because in that
=== LOAN AND INTERNSHIP PROGRAM ===
European Union (EU) allows for the free movement of goods between
Italy and other member states: Austria, Belgium, Bulgaria, Cyprus,
Czech Republic, Denmark, Estonia, Finland, France, Germany, Greece,
Hungary, Ireland, Latvia, Lithuania, Luxembourg, Malta,
John O'Hagan resea...@johnohagan.com writes:
I have a generator function which takes as arguments another generator and a
dictionary of other generators like this:
def modgen(gen, gendict):
for item in gen():
for k, v in gendict:
do_something_called_k(item,
Hi,
as often before, I've cloned a working system (GenToo) onto another
machine. There, from a livecd and chroot to the cloned root partition
python -v
import site
fails with the following error
Python 2.6.6 (r266:84292, Oct 13 2010, 09:06:24)
[GCC 4.4.4] on linux2
Type help, copyright,
Am 12.11.2010 19:32, schrieb Helmut Jarausch:
Hi,
as often before, I've cloned a working system (GenToo) onto another
machine. There, from a livecd and chroot to the cloned root partition
python -v
import site
fails with the following error
Python 2.6.6 (r266:84292, Oct 13 2010, 09:06:24)
I support multiple projects, some of which will remain on Python 2.x
and some of which want to use Python 3.1.2. While I have installed
both on my Windows PC, only the last installed version can be used. I
do not have admin rights on the machine, so altering registry settings
is not an option. Any
Am 12.11.2010 20:05, schrieb Doug Stell:
I support multiple projects, some of which will remain on Python 2.x
and some of which want to use Python 3.1.2. While I have installed
both on my Windows PC, only the last installed version can be used. I
do not have admin rights on the machine, so
On Fri, 12 Nov 2010 19:42:46 +0100, Stefan Sonnenberg-Carstens wrote:
Am 12.11.2010 19:32, schrieb Helmut Jarausch:
Hi,
as often before, I've cloned a working system (GenToo) onto another
machine. There, from a livecd and chroot to the cloned root partition
python -v
import site
fails
Am 12.11.2010 20:24, schrieb Helmut Jarausch:
On Fri, 12 Nov 2010 19:42:46 +0100, Stefan Sonnenberg-Carstens wrote:
Am 12.11.2010 19:32, schrieb Helmut Jarausch:
Hi,
as often before, I've cloned a working system (GenToo) onto another
machine. There, from a livecd and chroot to the cloned
Hi,
I'm a brand new Python 2.7 user, attempting to use it to convert a raster
file to an ASCII file. I used ArcGis9.3 to create the raster file. My code
begins with the line
import arcgisscripting
However, Python gives an error message ImportError: DLL load failed: The
specified module could
To answer various question:
MRAB -
I've tried worker threads, and it kills the thread only and not the program
as a whole. I could use that as a work-around, but I would prefer something
more direct, in case other problems arise.
Steve Holden -
A traceback sounds like a great idea, but I don't
On 11/10/2010 9:25 AM, Emanuele D'Arrigo wrote:
Greetings everybody,
I've tried to come up with this message for a couple of weeks now and
it doesn't look like I'm getting any clearer in my thoughts so I
decided that it's probably best to take the plunge and ask you guys to
kindly throw me a
On 11/12/2010 12:18 PM, John Nagle wrote:
On 11/10/2010 9:25 AM, Emanuele D'Arrigo wrote:
Greetings everybody,
I've tried to come up with this message for a couple of weeks now and
it doesn't look like I'm getting any clearer in my thoughts so I
decided that it's probably best to take the
On 11/12/10 2:00 PM, Brett Bowman wrote:
A whoops, good catch. I meant to say gfx and swftools. I'm using PIL to
modify the images once I get a PNG from swftools, and I mis-spoke.
There is nothing you can do to catch the error. swftools is not written to be
used as a Python library, so it
On 11/12/2010 12:00 PM Brett Bowman said...
FATAL PDF disallows copying
I ran into something like this about six months ago. IIRC, I was able
to detect this setting (using reportlab I think), but a quick look to
rediscover what I did specifically didn't yield anything useful.
I'm pretty
On 11/12/2010 12:00 PM, Brett Bowman wrote:
Steve Holden -
A traceback sounds like a great idea, but I don't know how to go about
it, or know what is involved. Could you suggest a tutorial I could follow?
The traceback is the listing of modules and line numbers that you
normally get when a
Has anyone here benchmarked a 32-bit Python versus a 64-bit Python for
Django or some other webserver?
My hypotheses is that for apps not needing the 64-bit address space,
the 32-bit version has better memory utilization and hence better
cache performance. If so, then switching python versions
Am 12.11.2010 22:24, schrieb Raymond Hettinger:
My hypotheses is that for apps not needing the 64-bit address space,
the 32-bit version has better memory utilization and hence better
cache performance. If so, then switching python versions may enable a
single server to handle a greater traffic
Raymond Hettinger, 12.11.2010 22:24:
Has anyone here benchmarked a 32-bit Python versus a 64-bit Python for
Django or some other webserver?
My hypotheses is that for apps not needing the 64-bit address space,
the 32-bit version has better memory utilization and hence better
cache performance.
My understanding is that any object which is not pointed to by any
variable will be automatically deleted. What if I create a class
object, but only keep a reference to one of its members, and not a
reference to the object itself? What goes on internally in Python?
Does Python retain the whole
On 11/12/10 4:03 PM, George Burdell wrote:
My understanding is that any object which is not pointed to by any
variable will be automatically deleted. What if I create a class
object, but only keep a reference to one of its members, and not a
reference to the object itself? What goes on
On 11/12/2010 2:03 PM, George Burdell wrote:
My understanding is that any object which is not pointed to by any
variable will be automatically deleted. What if I create a class
object, but only keep a reference to one of its members, and not a
reference to the object itself? What goes on
On 11/12/2010 2:03 PM George Burdell said...
My understanding is that any object which is not pointed to by any
variable will be automatically deleted. What if I create a class
object, but only keep a reference to one of its members, and not a
reference to the object itself? What goes on
On Thu, 11 Nov 2010 16:51:38 -0800, Ethan Furman wrote:
Lawrence D'Oliveiro wrote:
As for those who persisted in posting my address after being warned of
this, I’m still deciding what to do.
You can be such an ass sometimes.
Sometimes?
--
Steven
--
I'd like to draw on a turtle canvas, but use the mouse to direct the turtle. I
don't see a good way of getting the mouse coordinates and the button state. I
tried to do something like this:
import turtle
def gothere(event):
print event.x
print event.y
turtle.goto(event.x,event.y)
On 11/12/2010 3:51 PM, Steven D'Aprano wrote:
On Thu, 11 Nov 2010 16:51:38 -0800, Ethan Furman wrote:
Lawrence D'Oliveiro wrote:
As for those who persisted in posting my address after being warned of
this, I’m still deciding what to do.
You can be such an ass sometimes.
Sometimes?
On Fri, 12 Nov 2010 19:24:50 -0500, Brian Blais wrote:
I'd like to draw on a turtle canvas, but use the mouse to direct the
turtle. I don't see a good way of getting the mouse coordinates and the
button state.
I think the right way to do that is by creating an event handler to the
turtle.
hello dear list!
i'm very new to programming and self teaching myself. I'm having a
problem with a little project.
I'm trying to preform an fetch-process, but every time i try it i runs
into errors.
i have read the Python-documents for more than ten hours now! And i
have several books here
-
On Fri, 12 Nov 2010 17:21:04 -0800, Martin Kaspar wrote:
hello dear list!
i'm very new to programming and self teaching myself. I'm having a
problem with a little project.
This doesn't directly help with your problem, but the tool at this URL:
http://www.solmetra.com/scripts/regex/
may be
On Fri, 12 Nov 2010, Ian wrote:
On Nov 12, 2:47 am, John O'Hagan resea...@johnohagan.com wrote:
I have tried using a deep update function on the original nested
dictionary, but this only works if I change the contents of a list, not
if I want to, say, change a node from a list to a
On Nov 12, 2010, at 8:05 PM, Steven D'Aprano wrote:
On Fri, 12 Nov 2010 19:24:50 -0500, Brian Blais wrote:
I'd like to draw on a turtle canvas, but use the mouse to direct the
turtle. I don't see a good way of getting the mouse coordinates and the
button state.
I think the right way to
On 13/11/2010 01:21, Martin Kaspar wrote:
hello dear list!
i'm very new to programming and self teaching myself. I'm having a
problem with a little project.
I'm trying to preform an fetch-process, but every time i try it i runs
into errors.
i have read the Python-documents for more than ten
Hi,
I'm pleased to announce the 0.2.0 release of psutil:
http://code.google.com/p/psutil
=== About ===
psutil is a module providing an interface for retrieving information
on running processes and system utilization (CPU, memory) in a
portable way by using Python, implementing many
On Fri, 12 Nov 2010 09:47:26 +, John O'Hagan wrote:
I have a generator function which takes as arguments another generator
and a dictionary of other generators like this:
def modgen(gen, gendict):
for item in gen():
for k, v in gendict:
Air Drop Pro iPhone Game Review
AirDrop Pro is is based on the aid delivery service within the third
world etc. So we should all know what to expect from this iPhone and
iPod Touch game.
The format of the games goes like this a plane flies in a straight
line through the screen from
On 11/12/2010 5:51 PM, Martin Gregorie wrote:
On Fri, 12 Nov 2010 17:21:04 -0800, Martin Kaspar wrote:
hello dear list!
i'm very new to programming and self teaching myself. I'm having a
problem with a little project.
This doesn't directly help with your problem, but the tool at this URL:
On Sat, 13 Nov 2010, Steven D'Aprano wrote:
On Fri, 12 Nov 2010 09:47:26 +, John O'Hagan wrote:
I have a generator function which takes as arguments another generator
and a dictionary of other generators like this:
def modgen(gen, gendict):
for item in gen():
for k, v in
Eli Bendersky eli...@gmail.com added the comment:
Alexander, http://bugs.python.org/file19553/trace-deprecations.diff looks good
to me
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10371
Stefan Krah stefan-use...@bytereef.org added the comment:
I think this might be more than a documentation bug. Akira's example shows
that the maintainer is erroneously listed as the author. This does not
seem fair to an author who in general will have written most of a package.
I'd prefer a
Tarek Ziadé ziade.ta...@gmail.com added the comment:
PEP 345 adds a Maintainer field to fix this, and this is now present and active
in Ditsutils2. You can now have both.
--
resolution: - fixed
status: open - closed
___
Python tracker
Eli Bendersky eli...@gmail.com added the comment:
Alexander,
I'm submitting a patch for Doc/library/trace.rst for 3.2, incorporating the
stylistic changes you propose.
It would be really great to see this fixed for the next release of 3.2, since
the documentation improvement is major, and
Hallvard B Furuseth h.b.furus...@usit.uio.no added the comment:
STINNER Victor writes:
Python-ast.c: why do you move req_name and req_type outside PyAST_obj2mod()?
Eh, in case I've managed to be sufficiently unclear: The reason I
modified it at all was because the initialization is not valid
Hallvard B Furuseth h.b.furus...@usit.uio.no added the comment:
Martin v. Löwis writes:
And I still don't understand the rationale for this request. Can you
please post an example Python module that has this markup you are asking
for, so I can show you how to achieve what you want without
Éric Araujo mer...@netwok.org added the comment:
I think 2to3 is designed to take 2.x code and turn it into 3.x code. Codebases
using tricks and hacks to support both 2.x and 3.x (like the example you linked
to) cannot be handled by 2to3. You have to make a choice between manual
maintenance
New submission from Abyx fl.l...@gmail.com:
Code to reproduce the bug:
#include python.h
#include windows.h
DWORD WINAPI thread_fn(void* code)
{
PyGILState_STATE state = PyGILState_Ensure();
PyRun_SimpleString(with sync: print('.')\n);
PyGILState_Release(state);
New submission from Christoph Mathys erase...@gmail.com:
The ctor of subprocess.Popen has a race condition, which the attached program
should demonstrate (on my computer a few seconds are enough). Program One
sleeps for 2 seconds, Program Two exits right after execve. Now I would expect
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Agreed. There was a similar issue in python2.6 with list comprehensions.
The issue is that both threads run the code with the same globals dictionary,
and top-level code use the same dict for locals and globals.
This is already fixed
New submission from Ronald Oussoren ronaldousso...@mac.com:
The documentation for os.path.commonprefix notes:
os.path.commonprefix(list)
Return the longest path prefix (taken character-by-character) that is a prefix
of all paths in list. If list is empty, return the empty string (''). Note
Eric Smith e...@trueblade.com added the comment:
Indeed, that behavior seems completely useless.
I've verified that it works the same in 2.5.1.
--
nosy: +eric.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10395
Eric Smith e...@trueblade.com added the comment:
Although there are test cases in test_genericpath that verify this behavior, so
apparently it's intentional.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10395
Abyx fl.l...@gmail.com added the comment:
Thanks.
--
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10393
___
___
Typo lol.rab...@yahoo.com added the comment:
Hey, I found out what the problem was. I wasn't saving the files as a .py file.
As soon as I did that the color came back. Sorry to have wasted your time .
--
___
Python tracker rep...@bugs.python.org
Ronald Oussoren ronaldousso...@mac.com added the comment:
That's why I write 'broken by design' in the title.
A fix for this will have to a new function, if any get added (I've written a
unix implementation that finds the longest shared path several times and can
provide an implementation and
Terry J. Reedy tjre...@udel.edu added the comment:
Thank you for reporting back. This could be closed as invalid, but since I
think this is something I should have known or guessed, I will leave it open
for now as a reminder to look at the docs sometime and see if anything should
be added
Antoine Pitrou pit...@free.fr added the comment:
Stable branches (2.7 and 3.1) only get bug fixes, not new features or
code cleanups.
Éric, making code compliant *is* a bug fix (admittedly of minor importance
here, since all modern compilers accept the non-compliant code anyway).
--
Antoine Pitrou pit...@free.fr added the comment:
The requested feature would require an additional argument to fdopen() and
open(), which already have many args. It would be better IMO to make the `name`
attribute on file objects writeable.
By the way, right now (in 3.x) fdopen() gives you
Éric Araujo mer...@netwok.org added the comment:
Thanks for the report. Setuptools is not a part of Python, and distutils docs
don’t mention issues specific to third-party tools. I think I will reject this
bug.
--
assignee: d...@python - eric.araujo
nosy: +eric.araujo
status: open -
anatoly techtonik techto...@gmail.com added the comment:
Yes. You're missing the second case. In:
regrtest [options] test_file.test_method
You don't specify class name. This saves some time you need to navigate and
copy/paste name of container class. It will save more time if masks are used
New submission from Michael Hoffman qq9jsuv...@snkmail.com:
If you create a Pdb instance with an stdin argument, the default behavior is
for commands to be retrieved using raw_input(), which uses sys.stdin instead,
thereby causing the stdin argument to be without effect.
You can work around
Changes by Michael Hoffman qq9jsuv...@snkmail.com:
Added file: http://bugs.python.org/file19581/expected_behavior.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10396
___
Terry J. Reedy tjre...@udel.edu added the comment:
What is the best way to pass around source code?
- file-like objects, line iterators, readline-like function?
Line iterator (list of lines) as returned by open().readlines.
Memory should not be an issue. Read disk once and close.
with
Terry J. Reedy tjre...@udel.edu added the comment:
Please suggest a specific alteration in the codecs.readline doc that we can
then discuss.
--
assignee: - d...@python
components: +Documentation -Library (Lib)
nosy: +d...@python, terry.reedy
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: +terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10356
___
___
Python-bugs-list
Antoine Pitrou pit...@free.fr added the comment:
The starttls patch has been committed in r86431. Thank you very much for
writing the initial patch.
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python
Terry J. Reedy tjre...@udel.edu added the comment:
That suggests that the last statement needs to be guarded somehow.
I re-versioned to 3.2 because 3.1.final will be out very soon.
I expect 3.2 and 2.7 should have same problem.
--
nosy: +terry.reedy
versions: +Python 3.2 -Python 3.1
Terry J. Reedy tjre...@udel.edu added the comment:
[Copied from Issue10070.]
which is to say (for the benefit of other reviewers):
This was a minor sub-issue mentioned there in passing and independent of the
main issue and ignored in the extensive discussion thereof.
--
nosy:
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1589
___
___
Python-bugs-list mailing list
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
On Fri, Nov 12, 2010 at 12:54 PM, Terry J. Reedy rep...@bugs.python.org wrote:
..
What is the best way to pass around source code?
- file-like objects, line iterators, readline-like function?
Line iterator (list of
Terry J. Reedy tjre...@udel.edu added the comment:
1. Does the markup make any visual difference?
2. Does the markup affect the index?
3. What do other module docs do?
I notice that 'Tkinter' appears in several section headings. Is it marked? (Is
the upper case a holdover that should be
Martin v. Löwis mar...@v.loewis.de added the comment:
I don't understand the example, either. If I run 2to3 on it, I get, as the only
change
if sys.version_info[0] 3: # Python 2
-from urllib import quote, unquote
-from urlparse import urlparse,
Terry J. Reedy tjre...@udel.edu added the comment:
I see the marker pointing to the space after '=', which is *really* not
helpful. If '5' were instead an identifier, one might be really misdirected. So
best would be Invalid char '0x' at position n in identifier 'something'
+1 to any
New submission from Bobby Impollonia bob...@gmail.com:
Steps to reproduce (requires linux because the --track-memory (-m) option to
perf.py is linux-only):
hg clone http://hg.python.org/benchmarks/ py2benchmarks
mkdir py3benchmarks
cd py3benchmarks
../py2benchmarks/make_perf3.sh
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
On Fri, Nov 12, 2010 at 2:09 PM, Terry J. Reedy rep...@bugs.python.org wrote:
..
1. Does the markup make any visual difference?
It does on my browser. (I wouldn't have noticed it otherwise.) See
Terry J. Reedy tjre...@udel.edu added the comment:
This stuff is hard to write automated tests for, hence there are none.
The patch is mostly straightforward: capture errno with new variable err at
point of possible error when intervening calculation is needed before testing
the value of
Martin v. Löwis mar...@v.loewis.de added the comment:
This goes back to issue400788 and
http://mail.python.org/pipermail/python-dev/2000-July/005897.html
http://mail.python.org/pipermail/python-dev/2000-August/008385.html
Skip changed it to do something meaningful (more than ten years ago),
New submission from Jani Poikela poppis.poik...@gmail.com:
Copy of issue 6421
Affects 2.7 too...
--
assignee: d...@python
components: Documentation
messages: 121064
nosy: Jani.Poikela, aleax, d...@python, georg.brandl
priority: normal
severity: normal
status: open
title: errors in docs
Georg Brandl ge...@python.org added the comment:
Thanks, done in r86432.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10398
___
Georg Brandl ge...@python.org added the comment:
Eric: any :mod: role never affects the index. Only the module directive does.
Otherwise, I concur that it's not mandatory to mark up every occurrence of the
module name, but it's nice in section headings.
--
Terry J. Reedy tjre...@udel.edu added the comment:
Line iterator does not carry the information about source encoding
which may be important for annotating the source code.
I would pass around both encoding and lines, possibly as a tuple.
A person heavily into OO might define a _Source class
New submission from Dave Malcolm dmalc...@redhat.com:
In msg#120541 of issue#1346238 Raymond suggested to aim high, so here goes...
I'm opening this as a separate bug as it's a very different approach to the
patches in that bug; adding those on the nosy list for that bug. Sorry in
advance
Changes by Dave Malcolm dmalc...@redhat.com:
Added file: http://bugs.python.org/file19584/before.png
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10399
___
Changes by Dave Malcolm dmalc...@redhat.com:
Added file: http://bugs.python.org/file19585/after.png
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10399
___
Terry J. Reedy tjre...@udel.edu added the comment:
http://docs.python.org/dev/contents.html
The only thing I see there is the bold-facing of *PEP 3101*.
Is that what you are referring to?
In any case, with Georg's concurrence go ahead with this and any other modules
you care about.
--
1 - 100 of 180 matches
Mail list logo