Michael Driscoll m...@pythonlibrary.org added the comment:
I know Python 3.x still runs on XP too, but should we continue to mention it in
our documentation? I don't know. Part of the reason I wrote up all that was to
see if people had any well thought out arguments one way or the other on
Michael Driscoll m...@pythonlibrary.org added the comment:
Should the patch for 1b replace Python 2.2 with Python 2.7/3.2 or just Python
3.2?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14901
Antoine Pitrou pit...@free.fr added the comment:
ElementTree supports incremental parsing with the iterparse() method, not sure
it fills your use case:
http://docs.python.org/dev/library/xml.etree.elementtree.html#xml.etree.ElementTree.iterparse
As for the json module, it doesn't have such a
Brian Curtin br...@python.org added the comment:
I'd rather it tried to stay as version agnostic as could be, but favoring 3.x
in general. I wouldn't tie it down to any particular version because we'll have
to come back in several years and update Python 3.3 to Python 3.8.
--
Frederick Ross madhad...@gmail.com added the comment:
Antoine, It's not iterative parsing, it's a sequence of XML docs or json
objects.
Eric, the server I'm retrieving from, for real time searches, steadily produces
a stream of (each properly formed) XML or json documents containing new
Éric Araujo mer...@netwok.org added the comment:
I know Python 3.x still runs on XP too, but should we continue to mention it
in our documentation? I don't know. Part
of the reason I wrote up all that was to see if people had any well thought
out arguments one way or the other on these
R. David Murray rdmur...@bitdance.com added the comment:
I think it is perfectly reasonable for a parser to leave the file pointer in
some undefined further location into the file when it detects extra stuff and
produces an error message. One can certainly argue that producing that error
Richard Oudkerk shibt...@gmail.com added the comment:
I'll, remember that in future;-)
Closing.
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
type: crash - behavior
___
Python tracker rep...@bugs.python.org
Changes by Richard Oudkerk shibt...@gmail.com:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12091
___
Changes by Richard Oudkerk shibt...@gmail.com:
--
resolution: - fixed
stage: commit review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14548
___
Michael Driscoll m...@pythonlibrary.org added the comment:
Could we say just Python and ignore the version number? Or would Python 2.7
work for the 2.7 branch patch since there isn't supposed to be a 2.8 and then
for Python 3 we could go with 3.x?
--
Éric Araujo mer...@netwok.org added the comment:
I’m not sure we understand each other. Can you give examples of the outdated
code samples so that we can discuss something concrete?
--
___
Python tracker rep...@bugs.python.org
Hobs hobsonl...@gmail.com added the comment:
Could even add an `operation` parameter to let the caller select actions,
including 'auto' implemented as Larry suggests. Sometimes you feel like
trusting the user's xdg-open preferences/settings. Sometimes you don't.
Easy enough to let the caller
Richard Oudkerk shibt...@gmail.com added the comment:
The patch was applied to 3.x branch in 0aa8af79359d and partially backported to
2.7 in 26bbff4562a7 - see #9400.
I will close.
--
nosy: +sbt
resolution: - fixed
stage: - committed/rejected
status: open - closed
Richard Oudkerk shibt...@gmail.com added the comment:
This is a duplicate of #9244 and #9400 which have been fixed by wrapping
unpicklable exceptions in picklable exceptions.
The larger issue of many exception classes being unpicklable, is dealt with in
#1692335.
--
resolution: -
Changes by Richard Oudkerk shibt...@gmail.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13751
___
___
Frederick Ross madhad...@gmail.com added the comment:
In the case of files, sure, it's fine. The error gives me the offset, and I can
go pull it out and buffer it, and it's fine. Plus XML is strict about having
only one document per file.
For streams, none of this is applicable. I can't seek
R. David Murray rdmur...@bitdance.com added the comment:
Well, if the stream isn't seekable then I don't see how it can be left in any
state other than the same one it leaves a file (read ahead as much as it read
to generate the error). So unfortunately by our backward compatibility rules I
New submission from Tuukka Tolvanen tuukka.tolva...@gmail.com:
LANG=C python3.2 -c 'import urllib.parse; help(urllib.parse)'
Traceback (most recent call last):
File string, line 1, in module
File /usr/lib/python3.2/site.py, line 477, in __call__
return pydoc.help(*args, **kwds)
File
Richard Oudkerk shibt...@gmail.com added the comment:
_eintr_retry was removed by 99ef4501205b.
--
resolution: - out of date
stage: - committed/rejected
status: open - closed
type: - behavior
___
Python tracker rep...@bugs.python.org
R. David Murray rdmur...@bitdance.com added the comment:
This works fine for me on Gentoo Linux with both 3.2.3+ (ie: what's in the
repo) and 3.2.2.
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14920
R. David Murray rdmur...@bitdance.com added the comment:
Ah, I should clarify: Gentoo's 3.2.2. I'm sure they've added some patches,
just like Debian.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14920
Serhiy Storchaka storch...@gmail.com added the comment:
Here is a patch for 3.3. All of the tests pass successfully. Unfortunately, it
is a little slow, but I tried to minimize the losses.
--
Added file: http://bugs.python.org/file25709/issue8271-3.3.patch
Changes by R. David Murray rdmur...@bitdance.com:
--
assignee: - r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14731
___
___
Michael Driscoll m...@pythonlibrary.org added the comment:
Okay. Here are a couple from
http://docs.python.org/faq/windows.html#how-do-i-run-a-python-program-under-windows:
You may also find that you have a Start-menu entry such as Start ‣ Programs ‣
Python 2.2 ‣ Python (command line)
Then
New submission from Daniel Holth dho...@fastmail.fm:
Based on the supply, there is a tremendous demand for printers of nested lists
(as long as they are not too complicated). But how will I find and compare the
available options? Add a trove classifier
Topic :: Nested Lists
to ease the
Changes by Serhiy Storchaka storch...@gmail.com:
--
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14920
___
___
Changes by Daniel Holth dho...@fastmail.fm:
--
resolution: - postponed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14921
___
R. David Murray rdmur...@bitdance.com added the comment:
Serhiy: did you add 3.3 because you can reproduce it on 3.3?
--
components: +Library (Lib) -None
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14920
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 8ba99b810b40 by R David Murray in branch 'default':
#14731: add preliminary What's New entry for policy framework.
http://hg.python.org/cpython/rev/8ba99b810b40
--
___
Changes by R. David Murray rdmur...@bitdance.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14731
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14921
___
___
Python-bugs-list
Ezio Melotti ezio.melo...@gmail.com added the comment:
Do you have any benchmark results?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8271
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 0189b9d2d6bc by R David Murray in branch 'default':
#12586: add provisional email policy with new header parsing and folding.
http://hg.python.org/cpython/rev/0189b9d2d6bc
--
nosy: +python-dev
New submission from Pablo Oliveira pa...@sifflez.org:
I'm using Python 2.7.3rc2 from debian sid packages.
If a mailbox.Maildir object is created with a unicode dirname,
retrieving a message tagged with maildir flags with get() or get_message()
fails with the following exception:
Traceback
stw sil...@googlemail.com added the comment:
So the tuple is linked-in to the garbage collection list before its
contents are constructed?
It is. It typically happens when you do (in C code):
Ok, thanks. I couldn't see how a tuple could be created before its contents in
python code, but it
Larry Hastings la...@hastings.org added the comment:
Could even add an `operation` parameter to let the caller
select actions,
[...]
operation in ['auto', 'run', 'edit', 'display', 'browse',
'explore', 'share', 'send', 'like', 'email', 'open', 'xdg-open',
...] # can be incrementally
Changes by Eric Snow ericsnowcurren...@gmail.com:
Added file: http://bugs.python.org/file25712/issue14673_as_module.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14673
___
Changes by Eric Snow ericsnowcurren...@gmail.com:
Added file: http://bugs.python.org/file25713/issue14673_as_type.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14673
___
Changes by Eric Snow ericsnowcurren...@gmail.com:
Added file: http://bugs.python.org/file25714/issue14673_as_structseq.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14673
___
Changes by Eric Snow ericsnowcurren...@gmail.com:
Added file: http://bugs.python.org/file25715/issue14673_as_simple_namespace.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14673
___
Eric Snow ericsnowcurren...@gmail.com added the comment:
I've just attached 4 patches, one for each of the likeliest implementations.
All 4 ran the test suite successfully.
In my mind, the simple namespace one is the best fit. However, it involves
adding a new built-in type (though a
Changes by Eric Snow ericsnowcurren...@gmail.com:
--
nosy: +barry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14673
___
___
Python-bugs-list
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset ea25ce432343 by Senthil Kumaran in branch '3.2':
Issue #14920: Fix the help(urllib.parse) failure on locale C terminals. Just
have ascii in help msg
http://hg.python.org/cpython/rev/ea25ce432343
New changeset
Sharif Nassar mrwack...@gmail.com added the comment:
Even better:
diff -r 747eec42e7ae distutils2/create.py
--- a/distutils2/create.py Mon May 21 17:01:44 2012 -0400
+++ b/distutils2/create.py Fri May 25 19:04:22 2012 -0700
@@ -674,7 +674,7 @@
%s
Status'''
Senthil Kumaran sent...@uthcode.com added the comment:
I have fixed the help to include only ascii characters ( represented in hex) so
that conversion to bytes is represented in the help and also the terminal whose
LANG is C is able to display them too.
On Ubuntu, when I had LANG=C, locale
Ezio Melotti ezio.melo...@gmail.com added the comment:
I thought everybody who is logged in had such permissions.
That part of the sentence refers to users that are not logged in.
It can be removed if you think it's confusing/unnecessary.
--
assignee: - ezio.melotti
type: -
Todd DeLuca todddel...@gmail.com added the comment:
That was my first thought, but if python2.5 compatibility is important, I
don't think using the start parameter is an option.
http://docs.python.org/library/functions.html#enumerate
Changed in version 2.6: The start parameter was added.
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 331cceee3b45 by R David Murray in branch 'default':
#12586: Expand What's New email entry with provisional policy features.
http://hg.python.org/cpython/rev/331cceee3b45
--
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 09e97829ed1e by R David Murray in branch 'default':
Add news entries for #14731 and #12586.
http://hg.python.org/cpython/rev/09e97829ed1e
--
___
Python tracker
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 09e97829ed1e by R David Murray in branch 'default':
Add news entries for #14731 and #12586.
http://hg.python.org/cpython/rev/09e97829ed1e
--
___
Python tracker
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 2b6f183091b9 by R David Murray in branch 'default':
#12586: Fix a small oversight in the new email policy header setting code.
http://hg.python.org/cpython/rev/2b6f183091b9
--
Terry J. Reedy tjre...@udel.edu added the comment:
There are other paramaters that take optional 'files'. Whatever change is made
should be done uniformly for all.
'File' is unfortunately vague, as it could mean file object or file name or
both. If file name, it could be str only or (for
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset df12ce0c96eb by R David Murray in branch 'default':
#665194: Add a localtime function to email.utils.
http://hg.python.org/cpython/rev/df12ce0c96eb
--
nosy: +python-dev
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset df12ce0c96eb by R David Murray in branch 'default':
#665194: Add a localtime function to email.utils.
http://hg.python.org/cpython/rev/df12ce0c96eb
--
___
Python tracker
Changes by R. David Murray rdmur...@bitdance.com:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12586
R. David Murray rdmur...@bitdance.com added the comment:
We ended up deciding to keep backward compatibility and add datetime support as
a new API. All of these changes are now checked in to default. (See issue
665194, as well as issue 12586.)
--
resolution: - duplicate
stage:
Larry Hastings la...@hastings.org added the comment:
Here's my first pass at a patch. For this patch,
I took the proposal to its logical extreme: I removed
every function in os that was both mildly redundant
with an existing function *and* has been added since
3.2, and moved that functionality
Éric Araujo mer...@netwok.org added the comment:
distutils indeed supports 2.5-2.7. The first proposed fix should be fine,
what’s needed is a unit test (more info in the devguide).
--
stage: needs patch - test needed
___
Python tracker
101 - 159 of 159 matches
Mail list logo