Michele Orrù maker...@gmail.com added the comment:
Well, actually encodings.aliases links to the encoding _module name_, as
described in the doc:
Encoding Aliases Support
This module is used by the encodings package search function to
map encodings names to module names.
So I've
Changes by Michele Orrù maker...@gmail.com:
Added file: http://bugs.python.org/file22058/fail_tactis.txt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8898
___
Changes by Michele Orrù maker...@gmail.com:
Added file: http://bugs.python.org/file22059/issue8898_withtests.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8898
___
Changes by Michele Orrù maker...@gmail.com:
Added file: http://bugs.python.org/file22060/fail_mcbs.txt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8898
___
New submission from Nicolas Estibals nicolas.estib...@gmail.com:
smtplib.send_message permits to send messages that are in python Message
representation by selecting smtp's from and to in the message headers. Most
of the time the implementation is correct but if the message is bounced
New submission from ekorn jono...@gmail.com:
Combining multiple option flags to doctest.testmod(optionflags=...) requires
the bitwise or operator |, not plain or. I therefore suggest rewording
or-ing together individual option flags. to or-ing together individual
option flags, using the
Charles-François Natali neolo...@free.fr added the comment:
Digging a little deeper, here's the conclusion:
- with py3k, fragmentation is less likely: the buffered reader returned by
makefile() ensures that we can allocate only one result buffer for the total
number of bytes read() (thanks to
Changes by Charles-François Natali neolo...@free.fr:
Added file: http://bugs.python.org/file22063/imaplib_recv_27.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1441530
___
Changes by Charles-François Natali neolo...@free.fr:
Removed file: http://bugs.python.org/file22044/imaplib_read.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1441530
___
Changes by Charles-François Natali neolo...@free.fr:
Removed file: http://bugs.python.org/file22051/imaplib_ssl_makefile.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1441530
___
Marc-Andre Lemburg m...@egenix.com added the comment:
Michele Orrù wrote:
Michele Orrù maker...@gmail.com added the comment:
Well, actually encodings.aliases links to the encoding _module name_, as
described in the doc:
Encoding Aliases Support
This module is used by the encodings
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5715
___
___
Roundup Robot devnull@devnull added the comment:
New changeset d5771ed4ec4e by Victor Stinner in branch '2.7':
Issue #12012: test_ssl uses test_support.import_module()
http://hg.python.org/cpython/rev/d5771ed4ec4e
--
___
Python tracker
STINNER Victor victor.stin...@haypocalc.com added the comment:
Victor, you broke the Solaris gcc buildbot on 2.7.
It should be fixed by d5771ed4ec4e.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
Michele Orrù maker...@gmail.com added the comment:
So, what do you prefer? Add a check for sys.platform, or just skip it?
discussion on python-dev. So I'm +1 for just skipping it for now (with a XXX
comment on the right maybe).
--
title: The email package should defer to the codecs
Michele Orrù maker...@gmail.com added the comment:
Sorry, I was told that email the bugtracker could not work properly.
- mcbs has something broken in its imports;
mbcs is only available on Windows.
So, what do you prefer? Add a check for sys.platform, or just skip it?
- tactis module
Changes by Michele Orrù maker...@gmail.com:
Removed file: http://bugs.python.org/file22057/unnamed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8898
___
Roundup Robot devnull@devnull added the comment:
New changeset 825b4278a055 by Mark Dickinson in branch 'default':
Issue #12079: Decimal(0).fma(Decimal('inf'), 'not a number') should give a
TypeError, not a Decimal.InvalidOperation
http://hg.python.org/cpython/rev/825b4278a055
--
nosy:
Mark Dickinson dicki...@gmail.com added the comment:
It turns out that this is as simple as moving the _convert_other call to the
top of the Decimal.fma method. (For some reason I was confusing this with the
subtleties involved in making sure that an InvalidOperation arising from the
Marc-Andre Lemburg m...@egenix.com added the comment:
Michele Orrù wrote:
Michele Orrù maker...@gmail.com added the comment:
Sorry, I was told that email the bugtracker could not work properly.
- mcbs has something broken in its imports;
mbcs is only available on Windows.
So,
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +charles-francois.natali, rosslagerwall
versions: +Python 3.3 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6560
___
Michele Orrù maker...@gmail.com added the comment:
unittest.skip* are decorators, so useless in this case; also, AFAIS
Lib/test/ uses sys.platform.
I would suggest to put a try statement in encodings.mbcs, and raise an
error in case the imported modules imported are not found.
But this is
Ezio Melotti ezio.melo...@gmail.com added the comment:
Something like:
if name == 'mbcs' and not sys.platform.startswith('win'):
continue
should be enough.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8898
Changes by Michele Orrù maker...@gmail.com:
Removed file: http://bugs.python.org/file22065/issue8898_skip.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8898
___
Changes by Michele Orrù maker...@gmail.com:
Added file: http://bugs.python.org/file22066/issue8898_skip.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8898
___
Ezio Melotti ezio.melo...@gmail.com added the comment:
I suggest to:
1) remove the alias for tactis;
2) add the aliases for latin_* and the tests for the aliases;
3) fix the email.charset to use the new aliases instead of its own dict.
2) and 3) should go on 3.3 only, 1) could be
R. David Murray rdmur...@bitdance.com added the comment:
I think adding the word 'bitwise' in front of or'ed and linking it to that
section would be sufficient.
--
nosy: +r.david.murray
versions: +Python 3.2, Python 3.3
___
Python tracker
STINNER Victor victor.stin...@haypocalc.com added the comment:
Update the patch and describe the new feature in regrtest doc (--help).
--
Added file: http://bugs.python.org/file22067/regrtest_sigusr1-2.patch
___
Python tracker rep...@bugs.python.org
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12100
___
___
Mark Dickinson dicki...@gmail.com added the comment:
Here's a patch. Stefan, could you please review?
--
keywords: +patch
Added file: http://bugs.python.org/file22068/issue12080.patch
___
Python tracker rep...@bugs.python.org
Changes by Mark Dickinson dicki...@gmail.com:
--
stage: - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12080
___
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
@charles-francois.natali: Your patch is ok, you can commit it into 3.1, 3.2,
3.3. But you may wait after 3.2.1.
@Georg Brandl: Should we wait after Python 3.2.1 for this issue?
--
nosy: +georg.brandl
STINNER Victor victor.stin...@haypocalc.com added the comment:
Issue #12105 adds os.O_CLOEXEC flag, so we will be able to write
open(os.open(filename, os.O_RDONLY|os.O_CLOEXEC)). Do you want to work on a doc
patch?
--
___
Python tracker
STINNER Victor victor.stin...@haypocalc.com added the comment:
open() documentation may explain the os.fdopen(os.open()) trick
to use low-level options like O_SYNC or O_CLOEXEC.
Why not, but I leave it to someone more comfortable with
documentation than me :-)
Issue #12103 should be fine
STINNER Victor victor.stin...@haypocalc.com added the comment:
I don't know if it's related, but SimpleXMLRPCServer in Python 2.7 uses
fcntl(self.fileno(), fcntl.F_SETFD, flags):
class SimpleXMLRPCServer(SocketServer.TCPServer,
SimpleXMLRPCDispatcher):
...
def
STINNER Victor victor.stin...@haypocalc.com added the comment:
Oh, by the way: it would also be nice to add os.O_CLOEXEC to Python 2.7.
For example, tempfile._mkstemp_inner() uses:
fd = _os.open(file, flags, 0600)
_set_cloexec(fd) # fcntl(fd, F_SETFD, flags | FD_CLOEXEC)
Philip Drew pwtd...@gmail.com added the comment:
The error message is:
ImportError: No module named site.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12140
___
Ezio Melotti ezio.melo...@gmail.com added the comment:
The 'site' module should be in Python27\Lib\site.py.
You could try to run python.exe -v to see if it says something useful in the
output, or maybe try to reinstall Python and see if it works.
--
Philip Drew pwtd...@gmail.com added the comment:
The site module is in the right place
This is what I got running the -v flag: (I don't know what you're looking for)
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
Marc-Andre Lemburg m...@egenix.com added the comment:
Ezio Melotti wrote:
Ezio Melotti ezio.melo...@gmail.com added the comment:
I suggest to:
1) remove the alias for tactis;
2) add the aliases for latin_* and the tests for the aliases;
3) fix the email.charset to use the new
Marc-Andre Lemburg m...@egenix.com added the comment:
I think it's better to use a StringIO instance for the tests.
Regarding resetting the incremental codec every time .encode() is called:
Hye-Shik will have to comment. Perhaps there's an internal reason why they do
this.
--
Georg Brandl ge...@python.org added the comment:
One moment -- adding a new value to the os module looks like a new feature to
me. Is there any convincing reason why this needs to go to 3.2? (And it most
definitely shouldn't go to 3.1.)
--
___
Mark Dickinson dicki...@gmail.com added the comment:
Here's a slightly improved version that adds guards against computing 10**ye
for large ye in the case y 0, ye 0.
--
Added file: http://bugs.python.org/file22069/issue12080_v2.patch
___
Python
Changes by s7v7nislands s7v7nisla...@gmail.com:
--
nosy: +s7v7nislands
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9942
___
___
Python-bugs-list
Antoine Pitrou pit...@free.fr added the comment:
No reason. I think this is definitely 3.3 material.
--
nosy: +pitrou
versions: -Python 3.1, Python 3.2, Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12105
Antoine Pitrou pit...@free.fr added the comment:
Patch looks fine to me. Is it easily testable?
--
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5715
___
Michele Orrù maker...@gmail.com added the comment:
In the sense that the alias for 'tactis' should be removed also in 2.7 and 3.2?
--
title: The email package should defer to the codecs module for all aliases -
The email package should defer to the codecs module for all aliases
Changes by Michele Orrù maker...@gmail.com:
Removed file: http://bugs.python.org/file22064/unnamed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8898
___
Roundup Robot devnull@devnull added the comment:
New changeset 52b78e07d009 by Antoine Pitrou in branch '3.2':
Issue #12138: fix use of transient_internet() in test_urllibnet
http://hg.python.org/cpython/rev/52b78e07d009
New changeset 18432e8885e0 by Antoine Pitrou in branch 'default':
Issue
Changes by Antoine Pitrou pit...@free.fr:
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12138
___
Antoine Pitrou pit...@free.fr added the comment:
Both patches look ok to me.
--
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1441530
___
Éric Araujo mer...@netwok.org added the comment:
Hi, thanks for the report. Distutils is feature frozen, and distutils does not
included README{.txt,} by default anymore*. I don’t know why Tarek changed
that. If he changes his mind, I’d be +1 to your proposal, otherwise it will be
Changes by Éric Araujo mer...@netwok.org:
--
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder: - test_distutils failure with --enable-shared
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
Let’s make one bug for both requests (print whole command line + print stderr),
fix it in packaging and discuss if it can be backported to distutils.
--
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
The docs should value readability over conciseness IMHO; the examples here with
seven operations in a row are a bit scary.
--
___
Python tracker rep...@bugs.python.org
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
that doesn't make me any good
Well - 'can only be better than myself, so i'll take that as yes :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12102
Changes by Steffen Daode Nurpmeso sdao...@googlemail.com:
Removed file: http://bugs.python.org/file22020/12102.1.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12102
___
Eli Bendersky eli...@gmail.com added the comment:
Éric, I'm not sure that the note is necessary at all, but once it's there, it
should value *correctness* over conciseness and readability.
--
___
Python tracker rep...@bugs.python.org
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Thanks for the test David
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12143
___
___
New submission from Ezio Melotti ezio.melo...@gmail.com:
The attached patch causes a segfault while running test_urllib:
$ ./python -m test test_urllib
[1/1] test_urllib
test.test_urllib.FakeHTTPConnection object at 0xb66b0fbc
test.test_urllib.FakeHTTPConnection object at 0xb66b76fc
Antoine Pitrou pit...@free.fr added the comment:
This occurs when running the GC and then calling the finalization of an IO
object, which temporarily resurrects the object to call its close() method:
#0 0x7fc20bc1609b in raise () from /lib64/libpthread.so.0
#1 0x005328e7 in
R. David Murray rdmur...@bitdance.com added the comment:
euc_jp and euc_kr seem to be backward (that is, codecs translates them to the _
version, instead of translating the _ version to the - version). I worry that
there might be other deviations from the standard email names. I would
R. David Murray rdmur...@bitdance.com added the comment:
Hmm. Must have misread. Looks like all the common charsets do have MIME
entries in the IANA table.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8898
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
The advantage of an environment variable is that it is by default inherited by
subprocesses.
(These patches no longer apply cleanly. I will create updated patches.)
--
R. David Murray rdmur...@bitdance.com added the comment:
On second thought the resolution order ought to be swapped anyway: if the user
has added an ALIAS, they are going to want that used, not the one from codecs.
--
___
Python tracker
Antoine Pitrou pit...@free.fr added the comment:
Here is a quick script to reproduce. It seems that the type of the object has
to be caught in a reference cycle for this to happen: apparently the
descriptors start being deallocated but the method cache isn't updated yet (?).
--
nosy:
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
I wrote the recipe and wanted to follow any actions related to it.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12146
___
Antoine Pitrou pit...@free.fr added the comment:
Ezio, in the meantime, you can simply put the FakeSocket declaration at the top
level.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12149
Tarek Ziadé ziade.ta...@gmail.com added the comment:
I am trying to fix this by backporting the distutils fix, but --enabled-share
does not work for me ?!
$ make distclean ./configure --enable-shared --with-pydebug make
$ ./python
libpython3.3dm.so.1.0: cannot open shared object file: No
Antoine Pitrou pit...@free.fr added the comment:
Tarek, you must use LD_LIBRARY_PATH.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10126
___
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
These changes cause test failure on 3.1 branch when verbose mode is disabled:
# python3.1 -m test.regrtest test_zipfile
test_zipfile
test test_zipfile produced unexpected output:
Roundup Robot devnull@devnull added the comment:
New changeset f1c544245eab by Charles-François Natali in branch 'default':
Issue #12105: Add O_CLOEXEC to the os module.
http://hg.python.org/cpython/rev/f1c544245eab
--
nosy: +python-dev
___
Python
Charles-François Natali neolo...@free.fr added the comment:
I've committed the patch to 3.3.
Since the documentation aspect is traced in Issue #12103, I'm closing this
issue.
Марк, thanks for reporting this!
--
resolution: accepted - fixed
stage: commit review - committed/rejected
Antoine Pitrou pit...@free.fr added the comment:
And apparently some buildbot doesn't like it:
http://www.python.org/dev/buildbot/all/builders/x86%20Gentoo%20Non-Debug%203.x/builds/57/
==
FAIL: test_oscloexec
Roundup Robot devnull@devnull added the comment:
New changeset 3d822e1ca930 by Tarek Ziade in branch 'default':
Issue 10126 - backported distutils fix for the enable-share mode into packaging
http://hg.python.org/cpython/rev/3d822e1ca930
--
nosy: +python-dev
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Fixed in packaging. It seems that all fronts are OK, so closing this
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10126
Changes by Davide Rizzo sor...@gmail.com:
--
nosy: +davide.rizzo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12149
___
___
Python-bugs-list
Changes by Tarek Ziadé ziade.ta...@gmail.com:
--
resolution: duplicate -
status: closed - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12132
___
Roundup Robot devnull@devnull added the comment:
New changeset 1ba12ac770e0 by Tarek Ziade in branch 'default':
Issue 12132 - skip the test_buil_ext test if the xx module is not found
http://hg.python.org/cpython/rev/1ba12ac770e0
--
nosy: +python-dev
Changes by Tarek Ziadé ziade.ta...@gmail.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12132
___
___
Roundup Robot devnull@devnull added the comment:
New changeset 9ef8fc5454cb by Victor Stinner in branch '3.1':
Issue #10801: Remove a debug print() from test_zipfile
http://hg.python.org/cpython/rev/9ef8fc5454cb
--
___
Python tracker
STINNER Victor victor.stin...@haypocalc.com added the comment:
These changes cause test failure on 3.1 branch when verbose mode is disabled
What a shame! I commited a debug print():
1.39 +print(fname)
It should be fixed by my last commit.
--
Tarek Ziadé ziade.ta...@gmail.com added the comment:
@ned: right. done, and fixes issue12132
--
assignee: pitrou - tarek
components: +Library (Lib)
title: --multiprocessing fails with packaging.tests.test_command_build_ext -
sysconfig.get_config_vars('srcdir') fails in specific cases
STINNER Victor victor.stin...@haypocalc.com added the comment:
Patch looks fine to me. Is it easily testable?
test_subprocess has some tests checking cloexec: test_pipe_cloexec() and
test_pipe_cloexec_real_tools(). You may reuse some code from these tests?
--
STINNER Victor victor.stin...@haypocalc.com added the comment:
One moment -- adding a new value to the os module looks like a new
feature to me. Is there any convincing reason why this needs to go to
3.2? (And it most definitely shouldn't go to 3.1.)
Python doesn't suppose atomic
New submission from Tarek Ziadé ziade.ta...@gmail.com:
==
ERROR: test_get_path (test.test_sysconfig.TestSysConfig)
--
Traceback (most recent call last):
File
Antoine Pitrou pit...@free.fr added the comment:
Python doesn't suppose atomic open+CLOEXEC anymore, I consider this as a
regression from Python 2 (which support open(re) with the GNU libc).
It has never been documented (nor supported) so, no, I wouldn't consider
it a regression.
But... it
Charles-François Natali neolo...@free.fr added the comment:
And apparently some buildbot doesn't like it
Linux-2.6.22-vs2.2.0.7-gentoo-i686-Intel-R-_Xeon-TM-_CPU_2.80GHz-with-gentoo-2.0.1
little-endian
O_CLOEXEC support was added to Linux 2.6.23: this means that the libc defines
it while
Terry J. Reedy tjre...@udel.edu added the comment:
Given that the note is already gone* as obsolete in 3.x, I think a minimal
maintenance fix for correctness should be fine for 2.7.
* It is replaced, in essence, by Ranges containing absolute values larger than
sys.maxsize are permitted but
Ismail Donmez ism...@namtrac.org added the comment:
Can someone please review this patch? test_list fails with clang without this
patch.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11149
New submission from STINNER Victor victor.stin...@haypocalc.com:
test_logging does sometimes fail.
A recent example on Windows XP:
http://www.python.org/dev/buildbot/all/builders/x86%20XP-4%203.x/builds/4645/steps/test/logs/stdio
test test_logging failed -- Traceback (most recent call last):
Roundup Robot devnull@devnull added the comment:
New changeset 54ffc01b6cc2 by Victor Stinner in branch 'default':
Issue #12151: test_logging writes debug messages to stderr, not stdout
http://hg.python.org/cpython/rev/54ffc01b6cc2
--
nosy: +python-dev
STINNER Victor victor.stin...@haypocalc.com added the comment:
I cannot reproduce the problem: python -m test test_packaging test_packaging.
I suppose that it was fixed by tarek.
--
nosy: +haypo
resolution: - fixed
status: open - closed
___
Python
STINNER Victor victor.stin...@haypocalc.com added the comment:
It looks like Tarek fixed this bug because I'm unable to reproduce it.
--
nosy: +haypo
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12144
___
___
Python-bugs-list mailing list
Jesús Cea Avión j...@jcea.es added the comment:
Could you possibly test the bug in Python 2.7, 3.1, 3.2 and current 3.3 branch?.
Python 2.6 is open for security fixes only, I think.
--
___
Python tracker rep...@bugs.python.org
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12147
___
___
Python-bugs-list mailing list
STINNER Victor victor.stin...@haypocalc.com added the comment:
Duplicate of #12125.
--
nosy: +haypo
resolution: - duplicate
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12150
STINNER Victor victor.stin...@haypocalc.com added the comment:
Issue #12150 has been marked as a duplicate of this issue:
==
ERROR: test_get_path (test.test_sysconfig.TestSysConfig)
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12125
___
___
Python-bugs-list mailing list
1 - 100 of 109 matches
Mail list logo