On Wed, Jul 27, 2011 at 2:09 PM, John Salerno johnj...@gmail.com wrote:
Thank you. I changed it as suggested so that now it runs C:
\Python32\python.exe extract_songs.py but it still isn't working.
Have you confirmed that the job's working directory is set correctly?
Naming the script without a
Terry Reedy, 27.07.2011 04:58:
On 7/26/2011 8:06 PM, llwaeva...@gmail.com wrote:
I have been searching the example on C extension that works in python
3.1.x
All the stdlib modules written in C. These are extension modules that come
with Python. There are perhaps a hundred more on PyPI.
Or
Am 26.07.2011 17:19 schrieb Eldon Ziegler:
Is there a way to have the Python processor look only for bytecode
files, not .py files? We are seeing huge numbers of Linux audit messages
on production system on which only bytecode files are stored. The audit
subsystem is recording each open failure.
Hi all,
I have written a small GUI application in python 3.x using the tkinter
module. Program is running fine, but multiple instances of the program
can now be created. I would like to reduce the number of instances of
the program to only 1 instance. I know that this is possible by using
a
On Jul 14, 7:00 pm, monkeys paw mon...@joemoney.net wrote:
On 7/9/2011 10:01 PM, John Salerno wrote:
Thanks everyone! I probably should have said something like Python,
if possible and efficient, otherwise any other method ! :)
I'll look into the Task Scheduler. Thanks again!
You could
Saul Spatz saul.sp...@gmail.com writes:
In tcl/tk an Entry widget can be set to validate its contents with
the validate option. [...] Can one do something like this in
tkinter?
i read the thread and nobody mentioned the python mega widget (Pmw)
toolkit, from whose docs i quote the following
Am 27.07.2011 03:32, schrieb harrismh777:
Christian Heimes wrote:
The first four bytes of a pyc file contain the magic header. It must
match the magic of the current Python version. The next four bytes
contain the pyc_mtime. It must match the mtime of the corresponding .py
files as returned
Hi:
My Python version is 3.1.2.
I am programming embedding c with python in windows.
When I imported urllib.request in my test py file,
PyImport_ImportModule always return NULL.
But I imported re or cmd ,they work fine.
I found urllib is folder, and request
Hello all.
I have been waiting a lot to ask this question and I did ask some days
back but probably could not put it the proper way.
I want to know how I can safely include special characters like or
in xml text?
For example I store a small xml file containing list of organisations.
Many
hackingKK, 27.07.2011 13:16:
I have been waiting a lot to ask this question and I did ask some days back
but probably could not put it the proper way.
I assume you missed the answer you got?
I want to know how I can safely include special characters like or in
xml text?
For example I
Steven Kauffmann wrote:
I have written a small GUI application in python 3.x using the tkinter
module. Program is running fine, but multiple instances of the program
can now be created. I would like to reduce the number of instances of
the program to only 1 instance. I know that this is
On Jul 27, 1:10 am, Thomas Rachel nutznetz-0c1b6768-bfa9-48d5-
a470-7603bd3aa...@spamschutz.glglgl.de wrote:
Am 26.07.2011 17:19 schrieb Eldon Ziegler:
Is there a way to have the Python processor look only for bytecode
files, not .py files? We are seeing huge numbers of Linux audit messages
On 01/-10/-28163 02:59 PM, John Salerno wrote:
On Jul 26, 9:22 pm, Andrew Bergbahamutzero8...@gmail.com wrote:
On 2011.07.26 08:05 PM,JohnSalernowrote: Hmm, okay I'm finally trying Task
Scheduler, but how do I set it to
run a Python script? It seems to not work, I suppose because it's
On Wed, Jul 27, 2011 at 10:27 PM, Dave Angel da...@ieee.org wrote:
As Chris pointed out, you probably aren't getting the script's directory
right. After all, how can the scheduler guess where you put it? The
obvious answer is to use a full path for the script's filename. Another
alternative
On 07/27/2011 08:35 AM, Chris Angelico wrote:
On Wed, Jul 27, 2011 at 10:27 PM, Dave Angelda...@ieee.org wrote:
As Chris pointed out, you probably aren't getting the script's directory
right. After all, how can the scheduler guess where you put it? The
obvious answer is to use a full path
Am 27.07.2011 14:18 schrieb John Roth:
Two comments. First, your trace isn't showing attempts to open .py
files, it's showing attempts to open the Curses library in the bash
directory.
Of course. My goal was to show that the OP's problem is not a python
one, but occurs all over several
It's been many months since I played with Python, and have forgotten how
to bring up IDLE. If I simply click on a py file, I see what may be a
dos window appear and quickly disappear. If I right-click on the file,
and select IDLE, the same thing happens. If I go directly to All
Programs, the
On Jul 27, 10:06 am, W. eWatson wolftra...@invalid.com wrote:
It's been many months since I played with Python, and have forgotten how
to bring up IDLE. If I simply click on a py file, I see what may be a
dos window appear and quickly disappear.
Double-clicking a [py|pyw] file in windows will
On Jul 27, 7:58 am, Billy Mays
81282ed9a88799d21e77957df2d84bd6514d9...@myhashismyemail.com wrote:
On 07/27/2011 08:35 AM, Chris Angelico wrote:
On Wed, Jul 27, 2011 at 10:27 PM, Dave Angelda...@ieee.org wrote:
As Chris pointed out, you probably aren't getting the script's directory
On 7/27/2011 8:38 AM, rantingrick wrote:
On Jul 27, 10:06 am, W. eWatsonwolftra...@invalid.com wrote:
It's been many months since I played with Python, and have forgotten how
to bring up IDLE. If I simply click on a py file, I see what may be a
dos window appear and quickly disappear.
On Wed, Jul 27, 2011 at 12:28 PM, W. eWatson wolftra...@invalid.com wrote:
If I run cmd.exe and work my way down to .../idlelib, I find nothing but
idle.bat. strange. Hidden? I can get into line mode by using python.exe.
That is, I can type in print abc, and get a result.
So, you don't have
On 27 Lug, 10:18, Steven Kauffmann steven.kauffm...@gmail.com wrote:
Hi all,
I have written a small GUI application in python 3.x using the tkinter
module. Program is running fine, but multiple instances of the program
can now be created. I would like to reduce the number of instances of
the
Christian Heimes wrote:
Now the test.py has the same mtime as test.pyc and Python won't
recompile the .pyc file from the .py file as long as the magic header
(168686339) is correct.
~very cool.
--
http://mail.python.org/mailman/listinfo/python-list
Hello All,
I would like to parse this TCL command line with shlex:
'-option1 [get_rule A1 B2] -option2 $VAR -option3 TAG'
And I want to get the splitted list:
['-option1', '[get_rule A1 B2]', '-option2', '$VAR', '-option3', 'TAG']
Then I will gather in tuple 2 by 2 the arguments.
I tried
On 7/27/2011 9:48 AM, Jerry Hill wrote:
On Wed, Jul 27, 2011 at 12:28 PM, W. eWatsonwolftra...@invalid.com wrote:
If I run cmd.exe and work my way down to .../idlelib, I find nothing but
idle.bat. strange. Hidden? I can get into line mode by using python.exe.
That is, I can type in print
I use Doxygen to document my source code, and I'm wondering how
exceptions thrown by a method of a class should be documented in the
following example.
I have a Settings class that is used to hold application settings. A
Settings object initializes itself from a ConfigParser that gets
passed in
On Wed, Jul 27, 2011 at 3:34 PM, W. eWatson wolftra...@invalid.com wrote:
On 7/27/2011 9:48 AM, Jerry Hill wrote:
So, you don't have an idle.py or idle.pyw in C:\Python26\Lib\idlelib\
(or where ever you installed python)? If not, it sounds to me like
your python installation is screwed up. I
I've been tinkering around learning traditional Unix shell programming
and python at the same time. I set myself the following exercise which
I found quite educational. I first wrote a shell CGI script to read
the man pages on my web hosting service's computer via a browser like
so:
I've not used the shlex module, but this feels more like an issue to address
with a parser than for a lexical analyzer - or perhaps even both, since
you're splitting on whitespace sometimes, and matching square brackets
sometimes.
I've used pyparsing for stuff a bit similar to this.
Or here's a
Hi All,
I'm happy to announce a new release of TestFixtures with the following
changes:
- testfixtures' compare function now does rich comparison of dicts and
their subclasses, showing which keys matches, were missing or differed
between the two objects being compared.
- A decorator of
Thank you Dan for answering.
I ended with this and gave up with shlex:
split = ['-option1', '[get_rule', 'A1', 'B2]', '-option2', '$VAR',
'-option3', 'TAG']
procedure_found = False
result = []
for token in split:
if not token.startswith('[') and not token.endswith(']') and not
Arcadio arcadiosinc...@gmail.com writes:
I have a Settings class that is used to hold application settings. A
Settings object initializes itself from a ConfigParser that gets
passed in as an argument to the constructor.
So the caller is aware of, and takes responsibility for, the
ConfigParser
On 7/27/2011 12:53 PM, Jerry Hill wrote:
On Wed, Jul 27, 2011 at 3:34 PM, W. eWatsonwolftra...@invalid.com wrote:
On 7/27/2011 9:48 AM, Jerry Hill wrote:
So, you don't have an idle.py or idle.pyw in C:\Python26\Lib\idlelib\
(or where ever you installed python)? If not, it sounds to me like
Hello,
I use bpython interpreter. This is a very good interactive CLI.
I want to create a CLI with the same features than bpython.
But the cmd std module seems no to be used in this project...
Is there a tool where I can plug all my grammary commands line
a sort of generic box with
You could probably use a recursive descent parser with the standard library.
But if your management is OK with pyparsing, that might be easier, and a bit
more clear as well.
On Wed, Jul 27, 2011 at 2:08 PM, Karim karim.liat...@free.fr wrote:
**
Thank you Dan for answering.
I ended with
On 07/28/2011 12:11 AM, Dan Stromberg wrote:
You could probably use a recursive descent parser with the standard
library.
But if your management is OK with pyparsing, that might be easier, and
a bit more clear as well.
Yes, I thought to use str method partition in a recursive way but
Karim wrote:
I use bpython interpreter. This is a very good interactive CLI.
I had never heard of it and had to google for it.
It appears to be a curses based CLI for *nix and MacOS
I want to create a CLI with the same features than bpython.
But the cmd std module seems no to be used in
I believe the current Python style guide is inconsistent. The author
again allowed hie emotion to get in the way of logic. I will be
posting blocks of text from the PEP8 and commenting below them.
--
One of Guido's key insights is that
On 07/27/2011 12:34 AM, Alan Gauld wrote:
Karim wrote:
I use bpython interpreter. This is a very good interactive CLI.
I had never heard of it and had to google for it.
It appears to be a curses based CLI for *nix and MacOS
Ah Windows user.
I want to create a CLI with the same features
hackingKK wrote:
I have been waiting a lot to ask this question and I did ask some days
back but probably could not put it the proper way.
You still can't. http://www.catb.org/~esr/faqs/smart-questions.html
But to spare everyone yet another try:
I want to know how I can safely include
On 07/28/2011 12:31 AM, Michael Poeltl wrote:
hi,
have you heard abut ipython? maybe that's helpful for you?
http://ipython.scipy.org/moin/python
Hello Michael,
Yes I saw some article where Ipython and Bpython CLI integrations was
made in Django.
Thanks for the link I will evaluate it as
Chris Rebert wrote:
John Gordon wrote:
Neil Cerutti writes:
You can fit much more code per unit of horizontal space with a
proportionally spaced font. As a result, that issue, while valid,
is significantly reduced.
Is it? I assume one major reason for the 80-character limit is to help
Hi Karim
On 28 July 2011 00:04, Karim karim.liat...@free.fr wrote:
On 07/27/2011 12:34 AM, Alan Gauld wrote:
Karim wrote:
I use bpython interpreter. This is a very good interactive CLI.
I had never heard of it and had to google for it.
It appears to be a curses based CLI for *nix and
Rick gave you some good advice, perhaps worth re-reading. What you need
are investigative skills, and not just bits of data.
Totally agree. beginning to see what's going on. I'm not specifically
accessing the list element with n (vs. n[0]). Printing n uses repr
which gives the unicode tag.
On 2011.07.27 05:34 PM, rantingrick wrote:
--
Use 4 spaces per indentation level.
--
This should be the only acceptable indention level allowed by the
interpreter. All other
On 27/07/11 23:26, W. eWatson wrote:
I cannot copy from the cmd window. It ends with [errorno 13] Permission
denied to c:||Users\\Wayne\\idlerc\\recent-files.lst'
Yes you can. Right-click to bring up a menu with a select or copy
option (IIRC)
As for the error, see if there is file
On 07/28/2011 01:32 AM, Walter Prins wrote:
Hi Karim
On 28 July 2011 00:04, Karim karim.liat...@free.fr
mailto:karim.liat...@free.fr wrote:
On 07/27/2011 12:34 AM, Alan Gauld wrote:
Karim wrote:
I use bpython interpreter. This is a very good interactive
On 28/07/11 00:34, rantingrick wrote:
I believe the current Python style guide is inconsistent. The author
again allowed hie emotion to get in the way of logic.
If you think that logic can be the foundation of a style [guide], then
you have a very curious idea of what logic means.
[ snip rant
In the mean time, I punted and re-installed. It's still not quite right.
I uninstalled it. I was asked during install if I wanted to remove
c:\Python25. It was still there and had several folders (Lib, Scripts)
and files (fishe.py, RemovePIL.exe, junk.py). I said yes. It installed
2.5.2.
I have started using your pysvn module and find it very useful.
I trying to doing a pysvn.Client.merge which is working well, but I am
would like to cater for conflicts. I would like to by default accept
“theirs-full” version, but I can’t figure out how to do it.
Svn command line merge has a
Hi Everyone,
After a brief hiatus, registrations for PyCon Australia 2011 are back
online! We have extended some registration deadlines to compensate
for the outage.
PyCon Australia is Australia's only conference dedicated exclusively to
the Python programming language, and will be held at
On 28Jul2011 02:06, Thomas Jollans t...@jollybox.de wrote:
| On 28/07/11 00:34, rantingrick wrote:
| [ snip rant ]
|
| To be clear, the code is more what you'd call guidelines than actual
| rules. Welcome aboard the Black Pearl, Mister Ranting!
I think when he releases Python4000 we'll all fall
On 2011.07.27 08:34 PM, Cameron Simpson wrote:
I think when he releases Python4000 we'll all fall behind.
That is, if he ever does release RickPy4000. ;)
--
CPython 3.2.1 | Windows NT 6.1.7601.17592 | Thunderbird 5.0
PGP/GPG Public Key ID: 0xF88E034060A78FCB
--
Arcadio arcadiosinc...@gmail.com writes:
I have a Settings class that is used to hold application settings. A
Settings object initializes itself from a ConfigParser that gets
passed in as an argument to the constructor.
In article 87oc0fpg9o@benfinney.id.au
Ben Finney
Hi:
My Python version is 3.1.2.
I am programming embedding c with python in windows.
When I imported urllib.request in my test py file,
PyImport_ImportModule always return NULL.
But I imported re or cmd ,they work fine.
I found urllib is folder, and request
On Thu, 28 Jul 2011 08:34 am rantingrick wrote:
WRONG! When in doubt be consistent! There should be one AND ONLY ONE
obvious way to do it! When we have multiple ways of doing the same
thing we induce an overhead into our work flows. Instead we need to
follow the zen; in other words, BE
Steven D'Aprano wrote:
On Thu, 28 Jul 2011 08:34 am rantingrick wrote:
WRONG! When in doubt be consistent! There should be one AND ONLY ONE
obvious way to do it! When we have multiple ways of doing the same
thing we induce an overhead into our work flows. Instead we need to
follow the
Greetings folks,
Well, we're back from a 3985 mile road trip around the Southeastern
U.S. ending back in Minnesota--- dragging a trailer--- spent somewhere
close to a month visiting battle fields honoring the CSA dead from that
little skirmish between the states 1861-1865... found my great
On 7/27/2011 11:50 PM, harrismh777 wrote:
No one cares and don't spam the list.
--
http://mail.python.org/mailman/listinfo/python-list
Hi Python experts,
I'm trying to use a dict structure to store and update information from
X number of threads. How do I share this dict structure between threads? I
heard of using a queue, but I'm not familiar with how it works. Does anyone
have an example of using a queue to store
Ezio Melotti ezio.melo...@gmail.com added the comment:
I left a review about your patch on rietveld, including a description of what I
think it's going on there (the patch lacks some context and it's not easy to
figure out how everything works there).
I also did some tests with and without the
Charles-François Natali neolo...@free.fr added the comment:
patch-Modules_selectmodule_c is not enough to fix kqueue_event_init(): it
doesn't catch overflow error on the ident attribute.
This patch is not correct.
Furthermore, it's another occurrence of something I don't understand
with
Federico Schwindt federico.schwi...@gmail.com added the comment:
I wrote the patch. While the patch fixes most of the issues I'm not entirely
happy with it and that's the reason I have not submitted it.
--
___
Python tracker rep...@bugs.python.org
Charles-François Natali neolo...@free.fr added the comment:
I wrote the patch. While the patch fixes most of the issues I'm not entirely
happy with it and that's the reason I have not submitted it.
Could you submit it here so that we can help you get it in shape for inclusion?
That way we'll
Ask Solem a...@celeryproject.org added the comment:
How would you replace the following functionality
with the multiple with statement syntax:
x = (A(), B(), C())
with nested(*x) as context:
It seems to me that nested() is still useful for this particular
use case.
Petri Lehtinen pe...@digip.org added the comment:
Attached an updated patch:
- the test now uses support.skip_unless_symlink decorator
- added an explicit assertion ensuring that the contents of the linked
directory aren't deleted
- removed issue reference from the code
--
Added
Petri Lehtinen pe...@digip.org added the comment:
Ok, so the current raising semantics should be good.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12170
___
Petri Lehtinen pe...@digip.org added the comment:
R. David Murray wrote:
Note that both of these have been fixed in default, so I'm
repurposing this issue for the refactoring I suggested.
However, since I can't find an existing issue for the bytearray
fix, maybe somebody already did it and I
Changes by Petri Lehtinen pe...@digip.org:
--
keywords: +easy
nosy: +jnoller
stage: test needed - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12294
___
Petri Lehtinen pe...@digip.org added the comment:
Duplicate of issue 12170.
--
nosy: +petri.lehtinen
superseder: - index() and count() methods of bytes and bytearray should
accept byte ints
___
Python tracker rep...@bugs.python.org
Petri Lehtinen pe...@digip.org added the comment:
Already fixed in 3.3 as a part of issue 8914. This does not cause a compilation
failure with the default build flags, so there's no need to backport to older
versions.
Closing as duplicate of issue 8914.
--
nosy: +petri.lehtinen
Petri Lehtinen pe...@digip.org added the comment:
After hitting the submit button, I realized that Python.h is of course included
when embedding Python, so the fix could be backported to 3.2.
--
keywords: +easy
resolution: duplicate -
stage: - needs patch
status: closed - open
Björn Lindqvist bjou...@gmail.com added the comment:
I don't have the expertise to backport it myself, but the problem certainly is
still present in python 2.7.1 on Windows 7. It is especially pronounced when
using threading to read from multiple url files.
--
nosy: +bjourne
Changes by junior1971 junior1...@meta.ua:
Added file: http://bugs.python.org/file22770/cheapcodfedextramadolvery.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12029
___
New submission from aliles aaron.i...@gmail.com:
code.InteractiveConsole doesn't match the CPython interactive interpreter with
respect to allowing sys.excepthook to handle exceptions. Unlike the interactive
interpreter, replacing sys.excepthook with an alternate function will not
change
Nick Coghlan ncogh...@gmail.com added the comment:
Indeed it is, although we think actually doing that is a bad idea (as discussed
earlier on this tracker item).
See the 3.1 docs for the recommended workaround for the removal (basically grab
a copy of the 3.1 code and drop it into your own
STINNER Victor victor.stin...@haypocalc.com added the comment:
What do you suggest?
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12643
___
aliles aaron.i...@gmail.com added the comment:
OK. Not something I was expecting to be asked. But cool :D
If it's not possible for InteractiveConsole to allow exceptions to propagate
through sys.excepthook. (I assume they are being caught in a try: catch: block)
check sys.excepthook for a
Changes by junior1971 junior1...@meta.ua:
Added file: http://bugs.python.org/file22772/generictramadolhclonline.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12029
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
If it's not possible for InteractiveConsole to allow exceptions
to propagate through sys.excepthook.
Ok, I was not sure that I understood correctly. This change should be an option
to not break existing code.
--
aliles aaron.i...@gmail.com added the comment:
Yes. I have code that behaves differently under CPython and PyPy because of
this issue.
Admittedly that code is somewhat evil. It's attached for reference, in
particular the __HelpSyntax class.
--
Added file:
Changes by Ralf Schmitt python-b...@systemexit.de:
--
nosy: +schmir
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12641
___
___
Python-bugs-list
New submission from Eli Bendersky eli...@gmail.com:
The 'a' conversion type isn't documented in library/stdtypes.rst
--
assignee: eli.bendersky
components: Documentation
keywords: gsoc
messages: 141228
nosy: eli.bendersky
priority: low
severity: normal
status: open
title: document the
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
keywords: +easy, patch -gsoc
stage: - patch review
Added file: http://bugs.python.org/file22774/issue12644.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12644
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +docs@python, eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12644
___
___
Éric Araujo mer...@netwok.org added the comment:
I don’t think anyone could find anything wrong with the patch.
--
stage: patch review - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12644
Éric Araujo mer...@netwok.org added the comment:
Hi! Thanks for the report. This can’t be fixed in 2.5, 2.6 or 3.1, which are
in security-fix only mode, but we can do something for the active branches.
A quick web search finds reference of this deprecation/removal as far as 2007.
Does
Éric Araujo mer...@netwok.org added the comment:
I forgot to answer this:
Why is -mno-cygwin still be used,
Simply because distutils had no dedicated maintainer for a long time, and
because nobody was aware of this change. I don’t think any Python core
developer is using Cygwin.
and is
Changes by Éric Araujo mer...@netwok.org:
Removed file: http://bugs.python.org/file22770/cheapcodfedextramadolvery.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12029
___
Changes by Éric Araujo mer...@netwok.org:
Removed file: http://bugs.python.org/file22772/generictramadolhclonline.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12029
___
Éric Araujo mer...@netwok.org added the comment:
Ezio wrote:
myhp.feed('scriptpfoo/p/script')
data: 'pfoo' # where's the /p?
http://www.w3.org/TR/html4/types#type-cdata says:
Although the STYLE and SCRIPT elements use CDATA for their data
model, for these elements, CDATA must be
Changes by Éric Araujo mer...@netwok.org:
Added file: http://bugs.python.org/file22776/fbf2f56d225f.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12614
___
Éric Araujo mer...@netwok.org added the comment:
The patch is a little more intrusive than the Python 3 patch because
Python 2.7 doesn't allow specifying the newline to use when writing a
file (afaict)
Instead of writing a new class, what about using io.open instead of the
builtin? Then
Éric Araujo mer...@netwok.org added the comment:
where does the 1ko barrier come from? Was it only chosen out of
performance considerations [...]
Most certainly. I’ll look at the history of the file later to try to find the
developer who decided that.
tempfile.NamedTemporaryFile was
Éric Araujo mer...@netwok.org added the comment:
Apart from one change (testing for “self._request is not None”), the patch is
ready. Thanks!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12614
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset c3aebd01a033 by Senthil Kumaran in branch '3.2':
Fix closes Issue12621 - Fix docstrings of find and rfind methods of
bytes/bytearry/unicodeobject.
http://hg.python.org/cpython/rev/c3aebd01a033
New changeset
R. David Murray rdmur...@bitdance.com added the comment:
It's not buggy, but it is also not helpful. This kind of thing is what we
introduced the 'strict' parameter for. And indeed I believe we've fixed some
of these cases thereby. So any additional fixes should go into non-strict mode
in
Éric Araujo mer...@netwok.org added the comment:
But surely it's not named POSIX mode for no reason. It's because
those rules resemble those of the UNIX shell. While non-POSIX mode
resemble those of non-POSIX shells, such as DOS.
Not exactly: when it comes to parsing, shells on POSIX systems
Jason R. Coombs jar...@jaraco.com added the comment:
Instead of writing a new class, what about using io.open instead of the
builtin? Then you’ll be able to use the same patch than 3.2.
Ooh. Excellent suggestion.
--
___
Python tracker
Charles-François Natali neolo...@free.fr added the comment:
The patch looks good to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12464
___
1 - 100 of 151 matches
Mail list logo