Neil Muller added the comment:
Poking at the source of the error suggests the problem is in symtable.c:
The offending logic looks to be (around line 1124 in python 2.7 at revision
91767:4cef7b0ec659):
if (s-v.Exec.globals) {
...
}
else
{
st-st_cur-ste_unoptimized |= OPT_BARE_EXEC
Neil Muller added the comment:
I can't reproduce this bug on windows XP or windows 7 with python 2.7 or python
3.3.
Is this still an issue?
--
nosy: +Neil Muller
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1145257
Neil Muller drnlmuller+b...@gmail.com added the comment:
This patch is now more than a year old with no comment. What needs to happen to
get this bug fixed?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9637
Neil Muller drnlmuller+b...@gmail.com added the comment:
SVN_Revision.diff replaces the remaining $Revision$ keywords in 2.7 with the
values from the last SVN checkout I have. This seems the correct minimal fix
for the issues caused by code parsing the revision tag in Python 2. I've left
Neil Muller drnlmuller+b...@gmail.com added the comment:
This patch removes or replaces a number SVN keywords which aren't buried in
comments.
I've removed '__revision__ = $Id$' cases - mainly present in distutils - as
no-one appears to using these.
I've replaced values in tarfile.py
Neil Muller drnlmuller+b...@gmail.com added the comment:
This also affects a number of files under Lib, including some that set their
version using $Revision$.
Since I stumbled on this issue by encountering some code that checks the
version string in tkinker breaking, this is an issue
Neil Muller drnlmuller+b...@gmail.com added the comment:
See issue6490 , which covers much of the same ground.
--
nosy: +Neil Muller
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11384
Changes by Neil Muller drnlmuller+b...@gmail.com:
--
versions: +Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6490
___
___
Python-bugs
New submission from Neil Muller drnlmuller+b...@gmail.com:
gzip._PaddedFile.__getattr__ chains out to getattr, but does so incorrectly
(found via running the numpy test suite).
The attached patch fixes this.
--
files: gzip_getattr.diff
keywords: patch
messages: 121607
nosy: Neil
Neil Muller drnlmuller+b...@gmail.com added the comment:
Add a test demonstrating the error.
--
Added file: http://bugs.python.org/file19653/gzip_getattr_test.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10465
Neil Muller drnlmuller+b...@gmail.com added the comment:
The attached patch grabs the os.popen documentation from python 2.7, throws
away the deprecation notes, and adds a pointer to subprocess.Popen for more
details.
--
keywords: +patch
nosy: +Neil Muller
Added file: http
Changes by Neil Muller drnlmuller+b...@gmail.com:
--
versions: +Python 3.2 -Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9637
Neil Muller drnlmuller+b...@gmail.com added the comment:
The problem is that the getproxies_environment function converts all
environment variables to lower case before deciding whether to use the name.
This means that whichever ends up last in os.environment will be used.
The attached patch
Neil Muller drnlmuller+b...@gmail.com added the comment:
#975556 and #1046092 look like they should also be superseded by this.
--
nosy: +Neil Muller
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1486713
Neil Muller drnlmuller+b...@gmail.com added the comment:
This should probably be solved as part of #1486713 .
--
nosy: +Neil Muller
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue975556
Neil Muller drnlmuller+b...@gmail.com added the comment:
I think this change is makes the parser far too lenient. Something like the
explicit tolerant mode proposed in #1486713 is a better solution.
--
nosy: +Neil Muller
___
Python tracker rep
New submission from Neil Muller drnlmuller+b...@gmail.com:
with make install (r85564), lib/python3.2/concurrent is created, but the
futures module is not installed there. The attached trivial patch fixes this
here.
--
files: futures-Makefile.diff
keywords: patch
messages: 118858
nosy
Neil Muller drnlmuller+b...@gmail.com added the comment:
There isn't an entry for anyone in maintainers.rst for concurrent.futures
either. That should probably also be fixed.
--
nosy: +bquinlan
___
Python tracker rep...@bugs.python.org
http
Neil Muller drnlmuller+b...@gmail.com added the comment:
So what still needs to happen to get this in?
Patch still applies to current python 3.2 trunk (r85564).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1343
Neil Muller drnlmuller+b...@gmail.com added the comment:
The bug is still present in py3k trunk, the py3k patch still applies, and, as
the bug has celebrated it's first birthday, all evidence suggests no-one else
cares.
--
status: open - languishing
versions: +Python 3.2
Neil Muller drnlmuller+b...@gmail.com added the comment:
Updated version of the patch against current py3k svn (r83022) attached.
This is a combined patch, including the previous xml.sax.saxutil changes
(including the 'short_empty_elements' keyword) and the new tests.
--
nosy: +Neil
Neil Muller drnlmuller+b...@gmail.com added the comment:
With the recent ElementTree changes on trunk, this bug no longer applies,
AFAICS.
--
nosy: +Neil Muller, flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3409
Neil Muller drnlmuller+b...@gmail.com added the comment:
Is it preferable to specify a URL for the Source
field in a .spec file (rather than just a filename)?
Fedora (see for example http://fedoraproject.org/wiki/Packaging/SourceURL )
encourages using a full url when available, so having
Neil Muller drnlmuller+b...@gmail.com added the comment:
It looks like this issue was missed in the recent ElementTree update.
Attached is an updated diff for py3k.
--
nosy: +flox
Added file: http://bugs.python.org/file16646/ElementInclude_py3k.diff
Neil Muller drnlmuller+b...@gmail.com added the comment:
Similiarly updated patch against current trunk
--
Added file: http://bugs.python.org/file16647/ElementInclude.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6231
Neil Muller drnlmuller+b...@gmail.com added the comment:
Poking this issue with updated patches.
Patch against py3k.
--
Added file: http://bugs.python.org/file16650/posixmodule_comb_py3k.patch
___
Python tracker rep...@bugs.python.org
http
Changes by Neil Muller drnlmuller+b...@gmail.com:
Added file: http://bugs.python.org/file16651/posixmodule_comb.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2768
Neil Muller drnlmuller+b...@gmail.com added the comment:
Poking the issue with an updated patch for trunk.
--
Added file: http://bugs.python.org/file16652/BaseHTTPServer_continue_3.patch
___
Python tracker rep...@bugs.python.org
http
Neil Muller drnlmuller+b...@gmail.com added the comment:
And a py3k version (although the conversion can be improved).
--
Added file:
http://bugs.python.org/file16653/BaseHTTPServer_continue_3_py3k.patch
___
Python tracker rep...@bugs.python.org
Neil Muller drnlmuller+b...@gmail.com added the comment:
Fair enough.
Possible doc patch attached.
--
Added file: http://bugs.python.org/file16654/fileno_doc.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2768
Neil Muller drnlmuller+b...@gmail.com added the comment:
More fleshed out doc patch. Mention caveats about using file descriptors
directly, add note to ftruncate similar to that for other dangerous methods.
--
Added file: http://bugs.python.org/file16655/fileno_doc.diff
Neil Muller drnlmuller+b...@gmail.com added the comment:
Updated patch - adds a test for this.
--
Added file: http://bugs.python.org/file14316/issue6233_py3k_with_test.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6233
Neil Muller drnlmuller+b...@gmail.com added the comment:
This doesn't give the expected answer for the test above
Which is obviously due to not comparing apples with apples, as I should
be using a byte-string in the py3k example.
import xml.etree.ElementTree as ET
e = ET.XML(b?xml version
New submission from Neil Muller drnlmuller+b...@gmail.com:
cElementTree will raise a SyntaxError on XML parsing errors, while
ElementTree will raise ExpatError. This makes changing between the two
a bit more problematic than it could be. See for example
https://lists.canonical.com/archives
New submission from Neil Muller drnlmuller+b...@gmail.com:
Consider:
from StringIO import StringIO
source = StringIO('body xmlns=http://#233;ffbot.org/ns;text/body')
import xml.etree.ElementTree as ET
events = (start-ns,)
context = ET.iterparse(source, events)
for action, elem in context
Neil Muller drnlmuller+b...@gmail.com added the comment:
some additional notes on the tests disabled for cElementTree:
a) cElementTree still reports the last error (bug noted at
http://effbot.python-hosting.com/ticket/30 , although not filed in the
python bug tracker AFAICS).
b) cElementTree
Neil Muller drnlmuller+b...@gmail.com added the comment:
Patch which includes the given fix and adds a test case to cover this
(test case from Russell Cloran)
--
keywords: +patch
nosy: +Neil Muller
Added file: http://bugs.python.org/file14211/issue-2746.diff
Changes by Neil Muller drnlmuller+b...@gmail.com:
--
nosy: +effbot
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2746
___
___
Python-bugs-list
New submission from Neil Muller drnlmuller+b...@gmail.com:
ElementTree and cElementTree give slightly different results for
repr(Element):
import xml.etree.ElementTree as ET
import xml.etree.cElementTree as cET
repr(ET.ElementTree('tag'))
'Element tag at b7cf506c'
repr(cET.ElementTree('tag
Neil Muller drnlmuller+b...@gmail.com added the comment:
Previous patch was missing two lines in the test case. Correct fix uploaded
--
Added file: http://bugs.python.org/file14213/issue-2746.diff
___
Python tracker rep...@bugs.python.org
http
New submission from Neil Muller drnlmuller+b...@gmail.com:
In some cases, ElementInclude will not include the tail from the current
node.
Test case and patch against trunk attached (from Simon Cross).
--
components: Library (Lib)
files: ElementInclude.diff
keywords: patch
messages
New submission from Neil Muller drnlmuller+b...@gmail.com:
The test coverage for ElementTree and cElementTree could be improved.
The attached file adds several more tests for ElementTree (including a
number from the ElementTree 1.2.7 pre-release).
This excludes the tests suggested in:
http
Neil Muller drnlmuller+b...@gmail.com added the comment:
This adds the same tests for cElementTree, disabling them in a few cases
were the behaviour differs.
(Tests include work from Russell Cloran, Jeremy Thurgood, Simon Cross,
Adrianna Pinksa and Graham Poulter)
--
Added file: http
Neil Muller drnlmuller+b...@gmail.com added the comment:
Same issue affects python 3k - the patch applies there cleanly as well.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6230
Neil Muller drnlmuller+b...@gmail.com added the comment:
Same issue affects python 3k. Modified patch (print statement needed
changing) added
--
Added file: http://bugs.python.org/file14220/ElementInclude_py3k.diff
___
Python tracker rep
Neil Muller drnlmuller+b...@gmail.com added the comment:
Issue also effects p3k. Adapted patch attached.
--
versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1
Added file: http://bugs.python.org/file14221/issue-2746_py3k.diff
___
Python tracker
Changes by Neil Muller drnlmuller+b...@gmail.com:
Removed file: http://bugs.python.org/file14211/issue-2746.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2746
Changes by Neil Muller drnlmuller+b...@gmail.com:
Removed file: http://bugs.python.org/file14213/issue-2746.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2746
Neil Muller drnlmuller+b...@gmail.com added the comment:
Previous upload of issue_2746 was corrupt. Fixed version uploaded.
--
Added file: http://bugs.python.org/file14222/issue-2746.diff
___
Python tracker rep...@bugs.python.org
http
New submission from Neil Muller drnlmuller+b...@gmail.com:
In py3k, ElementTree no longer correctly converts characters to entities
when they can't be represented in the requested output encoding.
Python 2:
import xml.etree.ElementTree as ET
e = ET.XML(?xml version='1.0'
encoding='iso-8859-1
Neil Muller drnlmuller+b...@gmail.com added the comment:
Simple possible patch uploaded
This doesn't give the expected answer for the test above, but does work
when starting from an XML file in utf-8 encoding. I still need to
determine why this happens.
--
keywords: +patch
Added file
Neil Muller drnlmuller+b...@gmail.com added the comment:
Updated combined patch for python trunk added (indentation issues
hopefully also fixed).
--
Added file: http://bugs.python.org/file14199/posixmodule_comb.patch
___
Python tracker rep
Neil Muller drnlmuller+b...@gmail.com added the comment:
Similar patch for the python 3 branch.
--
Added file: http://bugs.python.org/file14200/posixmodule_comb_py3k.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2768
Neil Muller [EMAIL PROTECTED] added the comment:
The attached patch is against recent svn (r64442), and adds samwyse's
refactoring of the class. The test for server responses is made less
restrictive when the request isn't HTTP/1.1.
--
nosy: +Neil Muller
Added file: http
Neil Muller [EMAIL PROTECTED] added the comment:
datetime has fromtimestamp already, so using totimestamp keeps naming
consistency (see toordinal and fromordinal).
--
nosy: +Neil Muller
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2736
Neil Muller [EMAIL PROTECTED] added the comment:
This patch combines the two earlier patches, and also updates the
docstrings and os.rst to reflect the changed behaviour.
Added file: http://bugs.python.org/file10281/posixmodule_2.patch
__
Tracker [EMAIL
Neil Muller [EMAIL PROTECTED] added the comment:
The attached patch changes most functions in posixmodule which require a
filedescriptor to use PyObjectAsDescriptor
There are a few cases, where I'm not certain of the usefulness of
changing the functions to support objects with fileno that I've
Neil Muller [EMAIL PROTECTED] added the comment:
Patches to test_posix.py to also test using file objects in os.fstat and
such.
Added file: http://bugs.python.org/file10243/test_posix.diff
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2768
Neil Muller [EMAIL PROTECTED] added the comment:
Update stdtypes.rst to note that %x, %X, %o can take signed values.
Note that %u is consider obsolete (referring to PEP 237)
Add a note on the length modifier description to clarify the meaning.
--
keywords: +patch
nosy: +Neil Muller
New submission from Neil Muller [EMAIL PROTECTED]:
split with no sep specified will not return an empty string, whereas
split with sep specified will.
The attached patch updates the docstring to reflect this for str.split
and unicode.split.
--
files: split_docstring.diff
keywords
Changes by Neil Muller [EMAIL PROTECTED]:
--
assignee: - georg.brandl
components: +Documentation
nosy: +georg.brandl
versions: +Python 2.6
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2809
61 matches
Mail list logo