Richard Jones added the comment:
Thanks for the investigation Antoine.
In r84088 I've added a call to asyncore.close_all in the smtpd test tearDown
methods.
--
resolution: -> fixed
status: open -> closed
___
Python tra
New submission from Richard Jones <[EMAIL PROTECTED]>:
The Python 2.5 "-m" command-line option allowed execution of a package
directly, by invoking the __init__.py module.
Python 2.6 no longer allows this.
This is a quite unfortunate regression, and I would urge the decision to
Changes by Richard Jones <[EMAIL PROTECTED]>:
--
type: -> behavior
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3441>
___
___
Richard Jones <[EMAIL PROTECTED]> added the comment:
I'm afraid it's all a bit opaque to an outsider like me. I've no idea
what subtle breakage the feature was causing. I just saw it working
quite nicely for me in 2.5 :)
___
Python trac
New submission from Richard Jones <[EMAIL PROTECTED]>:
Executive summary of the patch:
The attached patch removes the use of __private attributes in the smtpd
module allowing it to be extensible without needing to use the
"___" hack.
Summary of the patch's changes:
New submission from Richard Jones:
The attached simple patch demonstrates the problem:
>>> str(NormalizedVersion('1.0.post1'))
'1.0.post1.z'
and includes a fix.
--
assignee: eric.araujo
components: Distutils2
files: post-fix.patch
keywords: patch
New submission from Richard Jones:
The attached patch includes the maintainer information in the data sent to PyPI
in a register or upload submission.
--
assignee: eric.araujo
components: Distutils2
files: maintainer.patch
keywords: patch
messages: 171774
nosy: alexis, eric.araujo
New submission from Richard Jones:
The RotatingFileHandler classes force the open() mode of the new log file to be
"w" even though it is initially defaulted to "a" in doRollover() methods:
self.mode = 'w'
self.stream = self._open()
This can cause
New submission from Richard Jones :
I'm using python 2.6 maint SVN r75588 and get the attached build log
when I run:
configure --enable-framework
make
Failed to build these modules:
_curses_curses_panel _tkinter
readline
--
components: Build
files: p
Richard Jones added the comment:
Giampaolo,
I think I can see where you're coming from: assuming that someone else must
have also had to resort to the name-mangling hack to extend the class? In that
case yes, my patch would break their code. I'll look at re-working it to use
Richard Jones added the comment:
After discussing with core devs at the EuroPython sprint I will implement a
different approach: new attributes with the old, private attributes implemented
as properties over the new attributes. The properties responsible for this will
raise
Richard Jones added the comment:
Committed in revision 83125.
--
assignee: -> richard
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
type: -> feature request
___
Python tracker
<http://bugs.py
Richard Jones added the comment:
That's odd. I didn't run the refcount tests because I was only adding Python
code. I'll look into compiling a debug build and running the tests locally with
a view to tracking down the problem.
--
___
Richard Jones added the comment:
The patch to test_smtplib.py no longer applies since trunk is now py3k. I'm
looking into it - and seeing whether the mock socket work I implemented for
test_smtpd.py will have any common code. I'm hitting some "fun" areas of
py3k-ness wit
Richard Jones added the comment:
Merged mock socket from test_smtpd.py and committed.
--
resolution: -> accepted
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Richard Jones added the comment:
The smtpd module now has a test suite. Please add your unit tests to
test_smtpd.py
--
nosy: +richard
___
Python tracker
<http://bugs.python.org/issue8
16 matches
Mail list logo