Georg Brandl ge...@python.org added the comment:
Looks okay to me (and any bugs are likely to become apparent when the
installers are built...)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11054
Georg Brandl ge...@python.org added the comment:
It's reviewed by Antoine, so you can commit.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10989
___
Georg Brandl ge...@python.org added the comment:
I think the canonical message is expected X, not Y. Otherwise, fine to
commit.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11032
___
Changes by Georg Brandl ge...@python.org:
--
assignee: georg.brandl - haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11032
___
___
Georg Brandl ge...@python.org added the comment:
If this helps with hanging, okay to commit. (It doesn't have any effect on
non-OSX anyway.)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10940
Łukasz Langa luk...@langa.pl added the comment:
Martin, could you shed some light on the state of that PEP?
--
nosy: +lukasz.langa
title: How distutils2 handle namespaces - State of PEP 382 or How does
distutils2 handle namespaces?
___
Python
Georg Brandl ge...@python.org added the comment:
Good to go.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11053
___
___
Python-bugs-list
Georg Brandl ge...@python.org added the comment:
I'd really like someone else to throw a pair of eyes at the code changes before
it is committed.
But yes, I will allow this into rc2, and we'll buy some stabilizing time by
adding an rc3 to the cycle.
--
Changes by Georg Brandl ge...@python.org:
--
Removed message: http://bugs.python.org/msg127391
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9124
___
Georg Brandl ge...@python.org added the comment:
I'd really like someone else to throw a pair of eyes at the code changes before
it is committed.
But yes, I will allow this into rc2, since a completely broken module isn't
really what a minor release is about.
--
Georg Brandl ge...@python.org added the comment:
The new test is faulty; it appears to be specific to the timezone of the patch
submitter.
The library fix should go in nevertheless, if you could add a correct test,
Alexander, it would be great.
--
priority: normal - release blocker
New submission from nw nils.win...@googlemail.com:
The attached code is not converted properly. No warning either.
Eventually it may be a good idea to reintroduce the old more versatile method.
--
components: 2to3 (2.x to 3.0 conversion tool)
files: test.py
messages: 127394
nosy:
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
RDM: it seems i was too tired to get your messages right last evening!
Indeed it's now completely my fault, i should inspect the content further in
respect to the str/bytes etc. stuff! Thus - i will now need three or four days
New submission from Kelsey kelsey.highto...@gmail.com:
Missing DistutilsOptionError import in distutil2.config causes the following
error:
Traceback (most recent call last):
File /opt/OpenPython-2.7.1/lib/python2.7/runpy.py, line 162, in
_run_module_as_main
__main__, fname, loader,
Kelsey kelsey.highto...@gmail.com added the comment:
Link to patch:
https://bitbucket.org/khightower/distutils2/changeset/22f336b467b8
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11057
Changes by Kelsey kelsey.highto...@gmail.com:
--
title: Missing DistutilsOptionError - Missing import of DistutilsOptionError
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11057
___
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
Let me summarize this thread:
- For darwin/MacOS X there exists an undocumented MACOSX_DEPLOYMENT_TARGET
switch, which makes its way all through the build-system and the 'sysconfig'
module. Even though 'configure' auto-detects
Changes by Steffen Daode Nurpmeso sdao...@googlemail.com:
Removed file: http://bugs.python.org/file20575/DIFF
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11046
___
Changes by Steffen Daode Nurpmeso sdao...@googlemail.com:
Removed file: http://bugs.python.org/file20582/DIFF
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11046
___
Antoine Pitrou pit...@free.fr added the comment:
Here is a patch to ignore door files when running the fd_status script. It
seems to eradicate the intermittent failures on the solaris buildbots.
--
keywords: +patch
Added file: http://bugs.python.org/file20600/spdoors.patch
Eric Smith e...@trueblade.com added the comment:
It looks like the canonical message is expected X, got Y. With that change
I've checked it in in r88226. I'll backport.
--
assignee: haypo - eric.smith
___
Python tracker rep...@bugs.python.org
New submission from Kelsey kelsey.highto...@gmail.com:
When trying to create a source distribution, I get the following error and no
stack trace:
[openpython:yamlconfig]$ /opt/OpenPython-2.7.1/bin/python -m distutils2.run
sdist
WARNING:root:warning: no files found matching 's'
Eric Smith e...@trueblade.com added the comment:
Actually this error doesn't exist on older versions because these used to be
methods on a string. The error was introduced in r85456 (issue 9418) when these
became functions in the _string module.
No need to backport.
--
resolution: -
Eric Smith e...@trueblade.com added the comment:
No further action required. I'm not going to remove format() and friends from
stringlib as long as there's chatter about adding a .format() for bytes.
--
resolution: - accepted
stage: patch review - committed/rejected
status: open -
Kelsey kelsey.highto...@gmail.com added the comment:
Link to patch:
https://bitbucket.org/khightower/distutils2/changeset/6ef86fa5236b
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11058
STINNER Victor victor.stin...@haypocalc.com added the comment:
Ok, fixed in r88228. Not backport needed, SSLContext was introduced in Python
3.2.
--
resolution: accepted - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
STINNER Victor victor.stin...@haypocalc.com added the comment:
+if isinstance(message, io.TextIOWrapper):
+# Backward compatibility hack.
+message = message.buffer
Is it a good thing to parse a mailbox using a text file? If not, we should emit
a
Nick Coghlan ncogh...@gmail.com added the comment:
test_warnings actually includes sanity checks for import_fresh_module - they
could be adapted into a separate unit test easily enough.
--
___
Python tracker rep...@bugs.python.org
New submission from Steffen Daode Nurpmeso sdao...@googlemail.com:
... because i don't know where to place this message, i do place it here.
Whatever has happened in the last 90 minutes, cloning from code.python.org/hg
results in mercurial panics!
Please see
Antoine Pitrou pit...@free.fr added the comment:
+os.mkdir(os.path.join(TESTFN, TESTFN))
Please don't. This will break the day TESTFN becomes a non-trivial path.
+def test_make_bad_fd(self):
+fd = support.make_bad_fd()
+self.assertRaises(OSError, os.write, fd, bfoo)
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
MAN!! Forget it - it's ok again; it's maybe really a mercurial non-atomicity
failure.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11059
Changes by Steffen Daode Nurpmeso sdao...@googlemail.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11059
___
___
Antoine Pitrou pit...@free.fr added the comment:
Works fine here.
--
nosy: +pitrou
resolution: - works for me
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11059
___
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
Nope. In the meanwhile i've accomplished to clone py3k once again, but
branches/release2.7-maint fails over and over again. I've added another
message to http://mercurial.selenic.com/bts/issue2239.
Have a nice weekend.
Antoine Pitrou pit...@free.fr added the comment:
Nick, a more problematic issue is that __main__ is always called __main__,
regardless of whether it is actually imported as the real main module or
through a regular import. This means that it is impossible to discriminate
between both uses by
Antoine Pitrou pit...@free.fr added the comment:
Actually, forget that (!). The following patch seems to work:
Index: Lib/multiprocessing/forking.py
===
--- Lib/multiprocessing/forking.py (révision 88224)
+++
Jesse Noller jnol...@gmail.com added the comment:
I'm fine with that tweak antoine
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10845
___
___
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
Also in respect to Issue 6203 i could talk about a project which did not link
against anything in the end, only ld(1) and syscalls and the undocumented third
'char **envp' arg to UNIX main()s.
Thus: all of you should be *very*
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
User lemburg pointed me to this, but no, i've posted msg127416 to Issue 11022.
--
nosy: +sdaoden
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6203
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
nosy: +giampaolo.rodola
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11015
___
___
R. David Murray rdmur...@bitdance.com added the comment:
Victor: yes, I was thinking that when I added that comment but forgot to come
back to it. Thanks for spotting that.
Another thing I forgot about yesterday is that I activated the commented out
statements that do linesep transformations
Nick Coghlan ncogh...@gmail.com added the comment:
Useless is a rather strong word. Every change we've made to the import system
(or, more accurately, the main module identification system) has been backed up
with decent use cases - nearly all of the subsequent problems can be traced
back to
Giampaolo Rodola' g.rod...@gmail.com added the comment:
* class TestCase(unittest.TestCase): - why not give the test class a
more useful name?
done
* import_fresh_module is tested similarly to import_module - can't a
test be added that it indeed performs its special sauce?
Even by
Nick Coghlan ncogh...@gmail.com added the comment:
(Replaced patch file to fix a typo in a comment)
--
Added file: http://bugs.python.org/file20603/issue10845_mitigation.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10845
Changes by Nick Coghlan ncogh...@gmail.com:
Removed file: http://bugs.python.org/file20601/issue10845_mitigation.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10845
___
Nick Coghlan ncogh...@gmail.com added the comment:
Georg, it would be very good to have this fix in for RC2. Otherwise any use of
multiprocessing in conjunction with zipfile, package or directory execution
will fail on Windows in 3.2.
--
assignee: - georg.brandl
priority: critical -
Georg Brandl ge...@python.org added the comment:
With issue10845_mitigation.diff applied, Antoine's patch is no longer necessary?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10845
___
Antoine Pitrou pit...@free.fr added the comment:
(Replaced patch file to fix a typo in a comment)
Does that patch still work if the objects marshalled between parent and
child refer to classes living in the __main__.py module?
--
___
Python tracker
New submission from Godefroid Chapelle got...@bubblenet.be:
sdist does not complain about
version = 0.4.5dev
which is not PEP 386 compliant
--
assignee: tarek
components: Distutils2
messages: 127425
nosy: eric.araujo, gotcha, tarek
priority: normal
severity: normal
status: open
Nick Coghlan ncogh...@gmail.com added the comment:
__main__.py files aren't like ordinary modules - they should *not* be defining
classes or anything like that. Instead, they should be treated as if the entire
file was implicitly inside an if __name__ == '__main__': clause - when
imported
Nick Coghlan ncogh...@gmail.com added the comment:
To answer Antoine's question directly:
With the patch, it works just as well as multiprocessing on Windows currently
does if the objects marshalled between parent and
child refer to classes defined inside a if __name__ == '__main__': clause in
Sebastien Douche sdou...@gmail.com added the comment:
Thanks Martin for the response, but I cannot understand how implement it after
reading the PEP.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11037
Éric Araujo mer...@netwok.org added the comment:
Hi Sébastien. How does d2 handle namespaces? It does not, because such a
thing does not exist yet. We don’t support setuptools’ namespace packages, but
wait for the cleaned-up standardization thanks to to PEP 382. That PEP hasn’t
reached
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Yes me neither. The PEP is hard to understand, maybe a pseudo-code example
could shed some light
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11037
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Eric: the PEP was accepted already IIRC, and its status is not up-to-date.
So it's just a matter of adding the implementation now. This bug can be a
placeholder for its implementation if no other bug was opened for this yet
--
Changes by Tarek Ziadé ziade.ta...@gmail.com:
--
title: How does distutils2 handle namespaces? - Implementing PEP 382
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11037
___
Éric Araujo mer...@netwok.org added the comment:
Fixed two NameErrors in that file in 801c90825cc1, thanks.
--
assignee: tarek - eric.araujo
resolution: - fixed
stage: - committed/rejected
versions: +3rd party -Python 2.7
___
Python tracker
New submission from R. David Murray rdmur...@bitdance.com:
One of the new tests introduced for #9124 fails for the Bably mailbox format.
The failing tests pass a file to the add method (test_add_binary_file,
test_add_nonascii_binary_file, test_add_text_file_warns). The failing part of
the
Éric Araujo mer...@netwok.org added the comment:
Thanks for the patch. Would you like to complete it? It lacks tests, and I
think the fix may be in the wrong place: You fixed sdist but not bdists. I
think the root of the problem is in the manifest (distutils2) / filelist
(distutils1)
Éric Araujo mer...@netwok.org added the comment:
This tracker is for bugs found in the CPython distribution (or distutils2,
which is temporarily developed outside of it), not other codebases like PyPI or
the tracker itself. Your bug report will be welcome on the
catalog-...@python.org
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Attached patch fixes the test (hopefully we don't have to support systems with
non-POSIX epoch) and cleans up whitespace.
--
resolution: - accepted
stage: patch review - commit review
Added file:
Changes by Alexander Belopolsky belopol...@users.sourceforge.net:
Removed file: http://bugs.python.org/file20604/issue10939.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10939
___
Changes by Alexander Belopolsky belopol...@users.sourceforge.net:
Added file: http://bugs.python.org/file20605/issue10939.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10939
___
Éric Araujo mer...@netwok.org added the comment:
Probably fixed by Gaël in changeset c8dfb3c63894. (BTW, please never use local
revision numbers for Mercurial, they’re confusing.)
--
resolution: out of date - fixed
stage: - committed/rejected
___
Éric Araujo mer...@netwok.org added the comment:
Please report this to catalog-sig.
--
assignee: tarek -
components: -Distutils2
nosy: +eric.araujo
resolution: - invalid
stage: - committed/rejected
status: open - closed
type: behavior -
versions: -3rd party
Éric Araujo mer...@netwok.org added the comment:
Thanks for the report and fix (da2f3527ef02). I think you wanted to use a
global object to list required fields, but you defined it without using it:
_345_REQUIRED = ('Name', 'Version')
[...]
-for attr in ('Name', 'Version',
And Clover a...@doxdesk.com added the comment:
@carsten.klein: there is no such thing as an “original RFC”. The RFCs that have
been produced on the subject of cookies, 2109 and 2965, were drawn up long
after user-agents implemented cookies. Their attempts to clean up the warts of
cookies and
New submission from Keith Dart keith.d...@gmail.com:
When the uuid.py module is simply imported it has the side effect of forking a
subprocess (/sbin/ldconfig) and doing a lot of stuff find a uuid implementation
by ctypes. This is undesirable in many contexts. It would be better to perform
Éric Araujo mer...@netwok.org added the comment:
This message makes me think it is not accepted:
http://mail.python.org/pipermail/python-dev/2010-May/100457.html
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11037
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Committed in revision 88231.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10939
___
Georg Brandl ge...@python.org added the comment:
Looks like Antoine agreed, so this should be fine to go in.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10845
___
R. David Murray rdmur...@bitdance.com added the comment:
OK, I've added deprecation warnings for using StringIO or text mode files as
input. I found one bug thereby, but it is a bug that pre-existed the patch
(see issue 11062).
I've completed my code review.
To address Victor's question
Éric Araujo mer...@netwok.org added the comment:
+1, this was agreed upon last summer:
https://bitbucket.org/Merwok/sample-distutils2-project/src/tip/new-config-file.rst#cl-255
(see also fellowship archive). Fixed by Gaël in c8dfb3c63894.
--
resolution: - fixed
stage: -
Éric Araujo mer...@netwok.org added the comment:
Closing as duplicate, please comment on the other bug report if the unwanted
behavior is still here.
--
nosy: -tarek, tarek-ziade
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder: - Some commands
Éric Araujo mer...@netwok.org added the comment:
I’m not opposed to reindent normalizing EOLs, given that our VCS hooks will
translate them to the right thing (for example, making sure that files specific
to the Windows build use CRLF, not LF, even if edited on POSIX).
--
Pavel Labushev p.labus...@gmail.com added the comment:
How to reproduce:
# mkdir /mnt/readonly
# mount --bind / /mnt/readonly
# mount -o remount,ro /mnt/readonly
# mount -t proc proc /mnt/readonly/proc
# chroot /mnt/readonly python3.2 -c import ctypes
Segmentation fault
If your python build
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11045
___
___
Python-bugs-list
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +barry, brett.cannon, flox, gangesmaster, loewis, meador.inge
title: Bad description for a change - Bad description for an entry in
whatsnew/2.7
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
This tracker is for reporting bugs found in the CPython distribution, not PEPs,
PyPI or other websites. You can write to the python-dev mailing list if the
XXX bother you.
--
assignee: docs@python -
components: -Documentation
nosy:
Changes by Éric Araujo mer...@netwok.org:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11057
___
___
Python-bugs-list
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11063
___
Éric Araujo mer...@netwok.org added the comment:
The warnings mean that some code is iterating over the string 'setup.py'
instead of a list like ['setup.py']. This message comes from the manifest
module, but I don’t know more.
Regarding the bug and proposed patch, I wonder. This was not
New submission from Dustin Farris dustin.far...@gmail.com:
Running help(abc) in Python 2.6.1 displays syntax for Py3k.
--
assignee: docs@python
components: Documentation
messages: 127453
nosy: docs@python, dustin.farris
priority: normal
severity: normal
status: open
title: abc
Éric Araujo mer...@netwok.org added the comment:
Not for me:
| class C:
| __metaclass__ = ABCMeta
| @abstractproperty
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
Dustin Farris dustin.far...@gmail.com added the comment:
This is what I get:
Python 2.6.1 (r261:67515, Jun 24 2010, 21:47:49)
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type help, copyright, credits or license for more information.
import abc
help(abc)
NAME
abc - Abstract Base
Éric Araujo mer...@netwok.org added the comment:
I’m afraid I don’t understand your report.
--
versions: +3rd party
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11061
___
Éric Araujo mer...@netwok.org added the comment:
Can you reproduce with 2.6.6?
--
assignee: docs@python -
components: +Library (Lib) -Documentation
nosy: -docs@python
versions: -Python 2.6, Python 3.1
___
Python tracker rep...@bugs.python.org
Dustin Farris dustin.far...@gmail.com added the comment:
Negative.
2.6.6 is correct. Apologies.
--
resolution: - rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11064
STINNER Victor victor.stin...@haypocalc.com added the comment:
The last step is running the tests on Windows.
Attached is the updated patch.
mailbox4.patch doesn't pass on Windows, Raymond is working on a patch.
--
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
No problem, thanks for wanting to help. Don’t hesitate to report other bugs
you may find in the future, if you find them in the latest versions :)
--
resolution: rejected - out of date
stage: - committed/rejected
Changes by Keith Dart keith.d...@gmail.com:
--
nosy: +kdart
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11063
___
___
Python-bugs-list mailing
Ned Deily n...@acm.org added the comment:
Committed in r88232 for 3.2rc2. Pending 2.7 backport, if necessary.
--
priority: release blocker -
resolution: accepted - fixed
stage: commit review - committed/rejected
status: open - pending
___
Python
Changes by nw nils.win...@googlemail.com:
--
keywords: +patch
Added file: http://bugs.python.org/file20607/fix.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11056
___
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Merged to 3.1 in r88233.
--
nosy: +benjamin.peterson
resolution: accepted - fixed
stage: commit review - committed/rejected
versions: +Python 3.1
___
Python tracker
Ned Deily n...@acm.org added the comment:
Committed in r88234 for 3.2rc2. Pending backport to 3.1.
--
priority: release blocker -
resolution: - fixed
stage: commit review - committed/rejected
status: open - pending
___
Python tracker
Ned Deily n...@acm.org added the comment:
Committed in r88235 for 3.2rc2 with release manager approval.
Pending 2.7 backport.
--
priority: release blocker -
resolution: - fixed
stage: patch review - committed/rejected
status: open - pending
versions: +Python 2.7
Changes by Georg Brandl ge...@python.org:
--
assignee: - benjamin.peterson
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11056
___
karl karl+pythonb...@la-grange.net added the comment:
@aclover
see my comment http://bugs.python.org/issue2193#msg125423
Adam Barth is working for Google on Chrome.
The RFC being written is made in cooperation with other browser developers.
If you have comments about this RFC you are welcome
Éric Araujo mer...@netwok.org added the comment:
XP.
I think Firefox 3.5 is still widely used, maybe older version too. For
Windows, I guess IE 7 and 8 are used too. Opera seems to be compliant,
so a good test; on Mac OS X, I understand other browsers are used.
clear=allnbsp;/div'
at the end
New submission from Ned Batchelder ned...@users.sourceforge.net:
Run this shell script against 3.2, and it will fail. Against 3.1, it succeeds.
I've been running tests on Ubuntu 10.10.
mkdir -p sub
cat sub/modzip.py END_PY
j = 1
END_PY
zip zipmod.zip sub/modzip.py
PYTHONPATH=zipmod.zip
1 - 100 of 168 matches
Mail list logo