Georg Brandl ge...@python.org added the comment:
It's quite a large patch... :)
I now own a new laptop that had Windows 7 preinstalled, so I'll try to get set
up VC++ Express, and then test the patch. Still I'm nosying Martin as well.
For the future, it's much easier to just attach both files
Changes by Eric V. Smith e...@trueblade.com:
--
nosy: +eric.smith, jaraco
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12084
___
___
Martin v. Löwis mar...@v.loewis.de added the comment:
maybe it'd be better to add support for libarchive
That wouldn't be better. We want the C dependency as small
and low-level as possible, so that the dependency is small
and the functionality flexible to implement stuff in Python
on top of
dario frascatani dgfrascat...@gmail.com added the comment:
I have some problem to compile python source code to my server, I can't install
make.
My problem is only when import the smtplib.
--
___
Python tracker rep...@bugs.python.org
New submission from Radomir Dopieralski python-b...@sheep.art.pl:
In the tutorial, at
http://docs.python.org/tutorial/classes.html#private-variables you can read:
9.6. Private Variables
“Private” instance variables that cannot be accessed except from inside an
object don’t exist in
Changes by Łukasz Langa luk...@langa.pl:
--
assignee: docs@python - lukasz.langa
nosy: +lukasz.langa
stage: - needs patch
versions: +Python 3.1, Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12086
Georg Brandl ge...@python.org added the comment:
No warnings, please. See
http://docs.python.org/documenting/style.html#affirmative-tone and related
sections.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
Tim Golden m...@timgolden.me.uk added the comment:
But at the least, the start of the para might be slightly reworded to something
like: If you specifically need to avoid name clashes with subclasses, there is
limited support... which avoids the phrase Since there is a valid use-case
for
Radomir Dopieralski python-b...@sheep.art.pl added the comment:
In the unlikely case that you specifically need to avoid name clashes with
subclasses, there is limited support... ;)
--
___
Python tracker rep...@bugs.python.org
Ezio Melotti ezio.melo...@gmail.com added the comment:
I think the main problem here is that they are called private and people
coming from other languages assume that the double underscore is the Python way
to mark variables as private, whereas the appearance of being private is just a
side
Łukasz Langa luk...@langa.pl added the comment:
I'd like to see that section gone altogether. The tutorial is designed to be
the first point of contact with the language. In that context name mangling is
an obscure detail with an unlikely use case.
If anything, the tutorial should simply
Nadeem Vawda nadeem.va...@gmail.com added the comment:
Also, if I'm reading the documentation correctly, there isn't any
support for incremental in-memory coding, so it wouldn't be possible
to implement classes analogous to BZ2Compressor/BZ2Decompressor.
--
assignee: - nadeem.vawda
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12077
___
Changes by Michael Foord mich...@voidspace.org.uk:
--
nosy: +michael.foord
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1748064
___
___
Michael Foord mich...@voidspace.org.uk added the comment:
Yep, ensuring the truncated repr includes at least the *first* difference
sounds like the right approach.
--
assignee: - michael.foord
___
Python tracker rep...@bugs.python.org
Michael Foord mich...@voidspace.org.uk added the comment:
If PEP 362 is implemented it would either fix or obsolete this issue:
http://www.python.org/dev/peps/pep-0362/
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1748064
Michael Foord mich...@voidspace.org.uk added the comment:
Sorry, *could* fix / obsolete this issue. i.e. builtin functions / methods
could support pep 362 - the reference implementation is in pure python and
doesn't work for C functions.
--
___
Ezio Melotti ezio.melo...@gmail.com added the comment:
FWIW unittest had a similar issue and it's been solved adding an 'exit'
argument to unittest.main() [0].
I think using an attribute here might be fine.
The patch contains some trailing whitespace that should be removed, also it
might be
Nick Coghlan ncogh...@gmail.com added the comment:
The challenge with C functions is that this becomes *additional* metadata that
somehow needs to be provided to the method and function creation process. None
of our APIs are set up to accept that information (and obviously no code is set
up
New submission from Hagen Fürstenau ha...@zhuliguan.net:
With issue 10419 fixed, I've run into the next distutils unicode bug: The
command install_egg_info doesn't specify an encoding when opening the
.egg-info file for writing. Depending on the locale, this may result in
something like the
STINNER Victor victor.stin...@haypocalc.com added the comment:
install_egg_info.run() uses f = open(target, 'w') to create the .egg-info file
and so the file uses the locale encoding. I don't know which module/program
reads the file, so I don't know if the locale encoding is a good choice.
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12075
___
___
Python-bugs-list mailing list
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12081
___
___
Python-bugs-list mailing list
STINNER Victor victor.stin...@haypocalc.com added the comment:
@pitrou: What do you think Antoine?
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12028
___
Antoine Pitrou pit...@free.fr added the comment:
Just a detail, but with the last version, select is retried with the
full timeout (note that the signal you're the most likely to receive
is SIGCHLD and since it's ignored by default it won't cause EINTR, so
this shouldn't happen too often).
STINNER Victor victor.stin...@haypocalc.com added the comment:
The threading API changed in Python 3 with the PEP 3108, especially and issue
#2875. Extract of the PEP:
thread [done]
* People should use 'threading' instead.
* Rename 'thread' to _thread.
* Deprecate dummy_thread and
Antoine Pitrou pit...@free.fr added the comment:
I think that threading._get_ident() is more reliable than
threading.current_thread().ident because Thread.ident can be None in
some cases.
In which case can it be None?
--
___
Python tracker
Antoine Pitrou pit...@free.fr added the comment:
Thus,
Connection.recv_bytes() will be called:
def _recv_bytes(self, maxsize=None):
buf = self._recv(4)
size, = struct.unpack(=i, buf.getvalue())
if maxsize is not None and size maxsize:
return None
New submission from Scott Leerssen sleers...@gmail.com:
I'm opening this as a continuation of issue10761 since it was closed as fixed,
and there's a bit more work to do there.
The fix for issue10761 was incomplete. It did not handle the case where the
symlink being overwritten did not
STINNER Victor victor.stin...@haypocalc.com added the comment:
In which case can it be None?
Oh, I misunderstood threading.py. current_thread().ident cannot be None.
During the bootstrap of a thread, Thread._ident is None, but
current_thread().ident is not None because current_thread()
Senthil Kumaran sent...@uthcode.com added the comment:
I looked at your message and the patch, seems okay for the case of testing if
the symlink is broken and performing the next steps. I shall commit it soon.
--
assignee: - orsenthil
nosy: +orsenthil
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
Another possibility is to make it a private module _posixcapabilities, which
would be used in os module:
try:
from _posixcapabilities import *
except ImportError:
pass
--
Roundup Robot devnull@devnull added the comment:
New changeset 44fd95cead7b by Victor Stinner in branch '3.1':
Issue #11614: import __hello__ prints Hello World!. Patch written by Andreas
http://hg.python.org/cpython/rev/44fd95cead7b
New changeset 2c5736e8a221 by Victor Stinner in branch '3.2':
STINNER Victor victor.stin...@haypocalc.com added the comment:
Thanks Andreas for your fix! Python 3 is now better than Python 2: it prints
Hello World! instead of Hello World
--
resolution: - fixed
status: open - closed
___
Python tracker
Antoine Pitrou pit...@free.fr added the comment:
posixcap sounds ok to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1615158
___
___
Alex Lai alex_...@scotiacapital.com added the comment:
I install the Python package compiled by sunfreeware.
Alex Lai
Senior System Support Specialist
TAG-IPM Application Support, Scotia Capital,
720 King St. West, 6th Floor,
Toronto, Ontario M5V 2T3
Tel: (416) 607-4789
-Original
Roundup Robot devnull@devnull added the comment:
New changeset 16503022c4b8 by Victor Stinner in branch '3.1':
Issue #12057: Convert CJK encoding testcase BLOB into multiple text files
http://hg.python.org/cpython/rev/16503022c4b8
New changeset 370db8da308f by Victor Stinner in branch '3.2':
Jason R. Coombs jar...@jaraco.com added the comment:
I've made some progress on this issue. Thanks to Waldemar's findings, I'm able
to selectively reproduce the issue by installing/uninstalling the Visual C++
redistributable that includes KB2467174 on a Windows 7 RTM installation.
So I added
Roundup Robot devnull@devnull added the comment:
New changeset 9e1d7cd15d2e by Victor Stinner in branch '3.1':
Issue #11614: Fix importlib tests for the new __hello__ module
http://hg.python.org/cpython/rev/9e1d7cd15d2e
New changeset 6119f6cc9b2d by Victor Stinner in branch '3.2':
(Merge 3.1)
Ana Sofia Paixão anasofiapai...@gmail.com added the comment:
I was taking a look into the possibility of splitting this page into several
pages, and wondered: could the contents of the Comparisons and the Boolean
operations sections just be merged into Python Reference / Expressions, and
then
New submission from STINNER Victor victor.stin...@haypocalc.com:
In Python 3.1, a test fails if it writes to stdout/stderr. It is no more the
case in Python 3.2 and 3.3. Why? If we decided to not check for unexpected
output in Python 3.2+, the following code should be removed:
if verbose:
Roundup Robot devnull@devnull added the comment:
New changeset 1bd697cdd210 by Victor Stinner in branch '2.7':
Issue #12057: Convert CJK encoding testcase BLOB into multiple text files
http://hg.python.org/cpython/rev/1bd697cdd210
--
___
Python
Roundup Robot devnull@devnull added the comment:
New changeset 9a4d4506680a by Victor Stinner in branch '3.1':
Issue #11614: Fix test_linecache, cjkencodings_test.py doesn't exist anymore
http://hg.python.org/cpython/rev/9a4d4506680a
New changeset 43cbfacae463 by Victor Stinner in branch '3.2':
STINNER Victor victor.stin...@haypocalc.com added the comment:
Oh, I specified the wrong issue number of my last 3 commits: test_linecache
failure is related to this issue.
New changeset 9a4d4506680a by Victor Stinner in branch '3.1':
Issue #11614: Fix test_linecache, cjkencodings_test.py
STINNER Victor victor.stin...@haypocalc.com added the comment:
New changeset 9a4d4506680a by Victor Stinner in branch '3.1':
Issue #11614: Fix test_linecache, cjkencodings_test.py doesn't exist anymore
Oh, these commits are related to #12057, not this one.
--
Ezio Melotti ezio.melo...@gmail.com added the comment:
I think it should be OK. The stdtypes page could then mention type-specific
behavior in the types' sections (e.g. , =, =, for sets) and link to the
language reference for the general behavior.
--
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12087
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12089
___
Brian Curtin br...@python.org added the comment:
Hirokazu contacted me directly with these patches a few days ago but I haven't
been able to email him because his host's DNS is apparently down.
The tests in this patch do not end up testing anything, so we'll need to start
with a proper test.
Éric Araujo mer...@netwok.org added the comment:
The pkg_resources module in setuptools or distribute reads those files.
In 3.3, packaging.database reads them too (it’s an implementation of PEP 376
with b/w compat with egg-info). It may work just fine in 3.x (it uses text
I/O), but when we
Changes by Daniel Urban urban.dani...@gmail.com:
--
nosy: +durban
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1748064
___
___
Python-bugs-list
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
On Sat, May 14, 2011 at 2:50 PM, Mark Dickinson rep...@bugs.python.org wrote:
..
On the issue itself, I'm -1 on making comparisons with float('nan') raise: I
don't see that there's a real problem here that needs solving.
Jason R. Coombs jar...@jaraco.com added the comment:
I decided to investigate further. I created another script to test the call to
_wstat to try to recreate the -1 return code, but I was unable to do so. I'm
attaching the script, which creates the same 'sample' package, but instead of
R. David Murray rdmur...@bitdance.com added the comment:
Antoine removed that check as part of the -j support, if I recall correctly.
The check for unexpected output was part of the support for the transition
between the old pre-unittest test suite and the unittest based test suite, and
does
New submission from Stefan Krah stefan-use...@bytereef.org:
The new Fedora buildbot (--without-threads) fails to compile:
http://www.python.org/dev/buildbot/all/builders/AMD64%20Fedora%20without%20threads%203.2/builds/1
I didn't check the release branch yet.
--
components: Build
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
On Sat, May 14, 2011 at 3:08 PM, Raymond Hettinger
rep...@bugs.python.org wrote:
..
Note that the current behaviour does *not* violate IEEE 754, ...
I agree with Mark.
Do we really need a popular vote to determine what
Stefan Krah stefan-use...@bytereef.org added the comment:
A backport of 79fcd71d0356 fixes the problem.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12090
___
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
A tracker bug has mangled the following paragraph following the IEEE 754
standard quote in my previous post:
Table 5.2 referenced above lists 10 operations, four of which (, ,
=, and =) are given spellings that are
James Hutchison jamesghutchi...@gmail.com added the comment:
I would like to add in windows, input now adds a \r at the end which wasn't
in 3.1. It doesn't do it in idle. This is using just the regular console window
that opens up when you double click. I'm guessing this is related to the
Brian Curtin br...@python.org added the comment:
That's already fixed, it'll be in 3.2.1
--
nosy: +brian.curtin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11990
___
Nir Aides n...@winpdb.org added the comment:
Steffen, can you explain in layman's terms?
On Sun, May 15, 2011 at 8:03 PM, Steffen Daode Nurpmeso
rep...@bugs.python.org wrote:
@ Charles-François Natali wrote (2011-05-15 01:14+0200):
So if we really wanted to be safe, the only solution would
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
rhettinger Your other tracker item correctly focused on the behavior of
rhettinger float('NaN') itself,
You closed issue11949 as well, so it won't help. I disagree that this issue
would be resolved by resolving
Changes by Sijin Joseph sijinjos...@gmail.com:
--
nosy: -sijinjoseph
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12018
___
___
Python-bugs-list
Changes by Sijin Joseph sijinjos...@gmail.com:
--
nosy: -sijinjoseph
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12045
___
___
Python-bugs-list
Changes by Sijin Joseph sijinjos...@gmail.com:
--
nosy: -sijinjoseph
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11882
___
___
Python-bugs-list
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12084
___
___
New submission from Charles-François Natali neolo...@free.fr:
Multiprocessing's MapResult and ApplyResult use a notification mechanism to
signal callers when the underlying value is available.
Instead of re-inventing the wheel, we could use threading.Event instead: this
leads to cleaner and
Sijin Joseph sijinjos...@gmail.com added the comment:
Is this related to some other issue? The fix seems trivial, however I am
curious as to how you stumbled upon this?
Is there more to this issue than just performance?
--
___
Python tracker
Antoine Pitrou pit...@free.fr added the comment:
Yes, it should be trivial to fix.
I've stumbled on this simply because I needed to write similar code for another
patch, so studied how it was done in posixmodule.c.
--
___
Python tracker
Sijin Joseph sijinjos...@gmail.com added the comment:
Attaching patch.
Removed the second call to os.popen and used the dump variable that was read
earlier as the argument to re.search.
--
keywords: +patch
nosy: +sijinjoseph
Added file: http://bugs.python.org/file22010/12045.patch
Charles-François Natali neolo...@free.fr added the comment:
Closing as duplicate of issue #9205.
--
nosy: +neologix
resolution: - duplicate
status: open - closed
superseder: - Parent process hanging in multiprocessing if children terminate
unexpectedly
Martin v. Löwis mar...@v.loewis.de added the comment:
posixcap sounds ok to me.
Bike-sheddingly, it bothers me that these functions are actually
*not* defined by POSIX, but have been withdrawn before becoming
standard. So I'd rather call it linuxcap. Using _linuxcap, and
exposing them from os
New submission from Sandro Tosi sandro.t...@gmail.com:
following up http://mail.python.org/pipermail/docs/2011-April/004161.html, it
would be nice to have changeset 1811eb03ba00 applied in 2.7 (it's already there
in 3.1, 3.2 and default). Added Georg to the nosy list since it's the author of
Changes by Nadeem Vawda nadeem.va...@gmail.com:
--
nosy: +nadeem.vawda
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7443
___
___
Python-bugs-list
New submission from Sandro Tosi sandro.t...@gmail.com:
following up http://mail.python.org/pipermail/docs/2011-April/004154.html and
what was done in 1de718a31004, here's a tiny patch to correct that typo in 2.7
too.
--
assignee: docs@python
components: Documentation
files:
New submission from Nathan nathaniel.j.b...@gmail.com:
To Whom it may concern – I have suddenly lost my ability to launch IDLE. I am
using 2.6 with windows xp. I was using ipython with PyReadline. I have
uninstalled and reinstalled just python 2.6.6 with no luck.
I get the following error:
Roundup Robot devnull@devnull added the comment:
New changeset 47bc3509f76b by Victor Stinner in branch '2.7':
Issue #11614: Fix test_linecache, cjkencodings_test.py doesn't exist anymore
http://hg.python.org/cpython/rev/47bc3509f76b
--
___
Python
Brian Curtin br...@python.org added the comment:
Looks like I was referring to a different patch from the email - sorry for any
confusion.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12084
Changes by René Schümann whitet...@gmail.com:
--
nosy: +WhiteTiger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1006238
___
___
Python-bugs-list
Changes by René Schümann whitet...@gmail.com:
--
nosy: +WhiteTiger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4709
___
___
Python-bugs-list
Changes by René Schümann whitet...@gmail.com:
--
nosy: +WhiteTiger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
___
Python-bugs-list
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
assignee: lukasz.langa - rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12086
___
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
This is a venerable section of the tutorial that has been exposed to many, many
readers and AFAICT it has never caused a problem. So, I see no need to make a
change to it.
Also as Georg points out, the docs (especially the
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
assignee: docs@python - rhettinger
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12077
___
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12028
___
___
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
assignee: - rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11986
___
___
Roundup Robot devnull@devnull added the comment:
New changeset b29f0b6fcb76 by Senthil Kumaran in branch '2.7':
Fix closes issue #12088 - fixes the tarfile.extractall issue when the
http://hg.python.org/cpython/rev/b29f0b6fcb76
--
nosy: +python-dev
Senthil Kumaran sent...@uthcode.com added the comment:
Committed the fix. Thank you, Scott.
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12088
Roundup Robot devnull@devnull added the comment:
New changeset 874309ce6e62 by Ezio Melotti in branch '2.7':
#12093: fix typo in struct doc. Patch by Sandro Tosi.
http://hg.python.org/cpython/rev/874309ce6e62
--
nosy: +python-dev
___
Python tracker
Ezio Melotti ezio.melo...@gmail.com added the comment:
Fixed, thanks for the patch!
--
assignee: docs@python - ezio.melotti
nosy: +ezio.melotti
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker
Roundup Robot devnull@devnull added the comment:
New changeset c449d3c3e0da by Ezio Melotti in branch '2.7':
#12092: backport rephrasing of a paragraph in the tutorial.
http://hg.python.org/cpython/rev/c449d3c3e0da
--
nosy: +python-dev
___
Python
Ezio Melotti ezio.melo...@gmail.com added the comment:
Fixed, thanks for the report!
--
assignee: docs@python - ezio.melotti
nosy: +ezio.melotti
resolution: - fixed
stage: commit review - committed/rejected
status: open - closed
___
Python tracker
Ezio Melotti ezio.melo...@gmail.com added the comment:
I can't test this on Windows, but you could try the following things:
1) check that 'python.exe -V' returns 2.6.6;
2) try using the IDLE shortcut in the start menu;
3) try from abc import ABCMeta from the interactive interpreter;
4)
Changes by Brian Curtin br...@python.org:
--
Removed message: http://bugs.python.org/msg136132
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12084
___
Changes by Senthil Kumaran sent...@uthcode.com:
--
assignee: - orsenthil
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11197
___
Takeshi Yoshino tyosh...@google.com added the comment:
Thank you for the fix!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12050
___
___
Changes by Daniel Urban urban.dani...@gmail.com:
--
nosy: +durban
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12077
___
___
Python-bugs-list
David Coles coles.da...@gmail.com added the comment:
Attached is a patch that updates configure.in to make sure that wchar.h is
present and that wchar_t is at least 16 bits wide.
On android-8 this patch causes the configure step to fail since SIZEOF_WCHAR_T
== 1. On android-9 and my Linux
98 matches
Mail list logo