Roundup Robot added the comment:
New changeset b63b8c5628da by Benjamin Peterson in branch '2.7':
fix some test_weakref tests to not rely on ref-counting (closes #22267)
http://hg.python.org/cpython/rev/b63b8c5628da
New changeset b1c82ef96862 by Benjamin Peterson in branch '3.4':
fix some
Roundup Robot added the comment:
New changeset a91f8766f755 by Benjamin Peterson in branch '2.7':
allow test to work on implementations not using ref-counting (closes #22265)
http://hg.python.org/cpython/rev/a91f8766f755
New changeset e6bb59b6b85c by Benjamin Peterson in branch '3.4':
allow
Changes by Ned Deily n...@acm.org:
--
nosy: +sbt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9205
___
___
Python-bugs-list mailing list
New submission from Jonas Jelten:
The Python version selection for the documentation should be cached.
It's very annoying having to select the preferred version each time one follows
a link, e.g. search result, irc post, etc.
I'd like to see caching the preferred version in a cookie and
Benjamin Peterson added the comment:
I think technically this changes semantics, since the construction of the
GzipFile is no longer in the main try-except. You should probably backport the
full 3.x behavior.
--
nosy: +benjamin.peterson
___
Python
Benjamin Peterson added the comment:
I don't think that makes much sense. People often link to a particular version
of the documentation and making the version sticky to a particular user could
be confusing.
--
nosy: +benjamin.peterson
___
Python
Jonas Jelten added the comment:
it should rather be a opt-in feature. and when the redirection triggered, one
should be able do click (you know it from wikipedia) back to page where one was
redireced from.
--
___
Python tracker
Benjamin Peterson added the comment:
On Sun, Aug 24, 2014, at 16:39, Jonas Jelten wrote:
Jonas Jelten added the comment:
it should rather be a opt-in feature. and when the redirection triggered,
one should be able do click (you know it from wikipedia) back to page
where one was redireced
Graham Dumpleton added the comment:
Is actually WSGI 1.0.1 and not 1.1. :-)
--
nosy: +grahamd
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22264
___
STINNER Victor added the comment:
I don't like fix in the name fix_encoding. It is negative. Why not decode
or decode_wsgi?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22264
___
Graham Dumpleton added the comment:
From memory, the term sometimes used on the WEB-SIG when discussed was
transcode.
I find the idea that it needs 'fixing' or is 'incorrect', as in 'fix the
original incorrect decoding to latin-1' is a bit misleading as well. It was the
only practical way of
Changes by STINNER Victor victor.stin...@gmail.com:
--
title: Use FD_CLOEXEC in Python/fileutils.c - set_inheritable():
ioctl(FIOCLEX) is available but fails with ENOTTY on Illumos
___
Python tracker rep...@bugs.python.org
STINNER Victor added the comment:
@Igor: Here is a patch. Can you please apply it and run ./python -m test -v
test_os on your OS? I tried it manually on Linux by forcing the errno to
ENOTTY.
--
Added file: http://bugs.python.org/file36460/ioctl_works.patch
STINNER Victor added the comment:
I don't think that applications are prepared to handle surrogate characters, so
I'm not sure that the default encoding should be surrogateescape. In my
experience, text is later encoded to UTF-8 (or latin1 or ascii) and you then
you an error from the encoder.
STINNER Victor added the comment:
Oh, I forgot to mention that I'm not convinced that we should add such function
to the Python stdlib.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22264
STINNER Victor added the comment:
Your clean() function looses information. If a filename contains almost only
undecodable characters, it will looks like .txt. It's not very useful. I
would prefer to escape the byte. Mac OS X (HFS+ filesystem) uses for example
%HH format: \udc80 would be
STINNER Victor added the comment:
I think there are too many changes. Here is simpler patch which get rid of
all warnings in Objects/unicodeobject.c on my computer (gcc 4.6.3, 32-bit
Linux).
The purpose of my patch is not to make the compiler quiet, but to ensure that
negative lengths are
New submission from STINNER Victor:
With the PEP 393 implemented in Python 3.3, PyUnicode_AsUnicode() and all
similar functions have to convert the compact string to a heavy wchar_t* string
(UCS-4 on Linux: 4 bytes per character, UTF-16 on Windows: 2 or 4 bytes per
character) which is stored
STINNER Victor added the comment:
Instead of a complex structure, we can use a 64-bit signed integer to store a
number of nanoseconds. For a UNIX epoch, nanoseconds since January 1st 1970,
the min/max are:
1677-09-21 00:12:43.145224
2262-04-11 23:47:16.854776
The Linux kernel is going to use
Miki Tebeka added the comment:
How can you run a package without -m?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22240
___
___
Miki Tebeka added the comment:
Made the test more robust by using sys.executable in the comparison.
--
Added file: http://bugs.python.org/file36461/prog3.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22240
Changes by Brian Curtin br...@python.org:
--
nosy: -brian.curtin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9205
___
___
Python-bugs-list
Changes by Brian Kearns bdkea...@gmail.com:
Removed file: http://bugs.python.org/file36456/tarfile.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22266
___
Brian Kearns added the comment:
Yes, I guess that makes sense (though this behavior is undocumented and
untested...)
--
Added file: http://bugs.python.org/file36462/tarfile.patch
___
Python tracker rep...@bugs.python.org
paul j3 added the comment:
Package might be the wrong term. How about a directory with a `__main__.py`
file, and no local imports (relative or not)? In my tests it runs with and
without the -m.
--
___
Python tracker rep...@bugs.python.org
Zachary Ware added the comment:
Here's a new version of the patch, post-#22236. Serhiy, since you want this in
2.7 and 3.4, this version doesn't move any files around (except
Lib/test/test_tcl.py), which should make backporting easier.
I like this patch much better than the original, it's a
101 - 126 of 126 matches
Mail list logo