New submission from Brian Jones :
In Python 3.2b2, html.entities.codepoint2name and name2codepoint only support
the 252 HTML entity names defined in the HTML 4 spec from 1997. I'm wondering
if there's a reason not to support W3C Recommendation 'XML Entity Definitions
for Cha
New submission from Brian Jones :
In trying to write a PyPI service, I of course need to support the registration
and upload features of setup.py, which uses distutils for those actions. One
thing making this a bit more difficult than need be is the fact that
distutils.command.register and
Brian Jones added the comment:
In truth, I don't personally know if the other PyPI server implementations also
have to work around this issue. Other comments on that are welcome.
As for my own implementation, I've implemented a workaround to this, but I'm
working around and
Brian Jones added the comment:
Sure. I'll create a patch in the next few days and submit it. Thanks for the
link to the guidelines. :)
--
___
Python tracker
<http://bugs.python.org/is
Brian Jones added the comment:
So... have I missed a memo, or is it currently impossible to test the current
svn version of distutils in the current svn version of Python?
The tests for (at least) register and upload are written using Python 2.x
syntax and modules. How are new features and
Brian Jones added the comment:
If it's not a bug in distutils1, I imagine it will not be a bug in distutils2,
since that will also presumably work with PyPI, and PyPI will be the single
solitary supported implementation of the service?
I also don't see distutils2 in this
Brian Jones added the comment:
I can't find a previous discussion of this topic. If you know the list it
happened on, or the bug#, let me know as I'd be curious to see the discussion.
While I could concede that checking type is arguably a more common case than
checking ancestr
New submission from Brian Jones :
In Python 3.3.0b1, if the number of calls to a mock is, say, zero, and you call
assert_called_once_with() on that mock, it will throw an exception which says
"Expected to be called once. Called 0 times."
This is nice, but it would be nicer if
New submission from Brian Jones :
The documentation here:
http://docs.python.org/dev/library/unittest.html#unittest.TestCase.assertRaisesRegex
Indicates that, when used as a context manager, assertRaisesRegex should accept
a keyword argument 'msg'. However, that doesn't appear
Brian Jones added the comment:
No, I'm not. I'm sorry for not including this output initially. Here's what I
get (and I've added a sys.version_info line just to be double sure the right
executable is being invoked at runtime):
sys.version_info(major=3, minor=3, micro=0,
Brian Jones added the comment:
If there's some reason, based on the source snippet I posted from case.py, that
my msg should be making it to the output, can someone explain why/how it should
get there? I don't see any reason, from looking at the source, that 'msg'
should
Brian Jones added the comment:
I've just done a fresh hg pull and new build, and I can no longer reproduce the
problem. Yay!
--
___
Python tracker
<http://bugs.python.org/is
New submission from Brian Jones :
In email.utils.localtime, there's a variable 'offset' that will only exist if
time.daylight evaluates to True. If time.daylight evaluates to False, you'll
get an UnboundLocalError, because 'offset' is being referenced without b
Changes by Brian Jones :
--
nosy: +r.david.murray -Brian.Jones
___
Python tracker
<http://bugs.python.org/issue14278>
___
___
Python-bugs-list mailing list
Unsub
New submission from Brian Jones :
In email6, the message.Message class tries to delegate calls to methods not
defined in Message to message._HeaderList. However, delegating in this way
makes the methods inaccessible when accessing them through a call to super().
This comes into play in the
Changes by Brian Jones :
--
nosy: +Brian.Jones
___
Python tracker
<http://bugs.python.org/issue14278>
___
___
Python-bugs-list mailing list
Unsubscribe:
16 matches
Mail list logo