Paul Smedley p...@smedley.id.au added the comment:
When I get some spare time, I'll test the default code using Andy Mac's last
build of Python - which afaik was 2.4.x and see if it works correctly
--
___
Python tracker rep...@bugs.python.org
Michele Orrù maker...@gmail.com added the comment:
Whoops, probably I tested using $ python instead of $ ./python.exe -
Attaching two patches, one keeps using map(), but definitely changes unquote()
behavior; the other simply asserts user_passwd exists before using unquote().
Well, concerning
Changes by Michele Orrù maker...@gmail.com:
Removed file: http://bugs.python.org/file24186/issue13642.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13642
___
Changes by Michele Orrù maker...@gmail.com:
Added file: http://bugs.python.org/file24192/issue13642_with_map.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13642
___
Mark Dickinson dicki...@gmail.com added the comment:
No, but they take tuples:
'abcd'.endswith(('a', 'b'))
False
'abcd'.endswith(('c', 'd'))
True
Suggest closing as out of date.
--
nosy: +mark.dickinson
type: behavior - enhancement
versions: +Python 3.3 -Python 3.1
STINNER Victor victor.stin...@haypocalc.com added the comment:
Version 3 of my patch:
- Add PYTHONHASHSEED environment variable to get a fixed seed or to
disable the randomized hash function (PYTHONHASHSEED=0)
- Add tests on the randomized hash function
- Add more tests on os.urandom()
Eric V. Smith e...@trueblade.com added the comment:
It seems like a set would make more sense than a tuple. And if tuples, why not
lists?
Not that it matters much, since I doubt it's worth changing in either case.
It's easy enough for the caller to convert.
--
nosy: +eric.smith
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
resolution: - rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13755
___
New submission from Holger hol...@bille.dk:
Downloaded Python-3.2.2.tar
cd Python-3.2.2
./configure
make
Fail on:
.
ranlib libpython3.2m.a
make: *** No rule to make target `libpython3.2m.dll.a', needed by `python.exe'.
Stop.
libpython3.2m.a
Florian Berger fber...@florian-berger.de added the comment:
Voting for re-opening.
I am currently porting a non-threaded function for use within a threaded
application. If threading.Event had __bool__, it would be a drop-in replacement
for simple True/False flags that can not be used in
Benjamin Peterson benja...@python.org added the comment:
__ap__'s implementation method is about 2x faster than mine.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12736
___
Antoine Pitrou pit...@free.fr added the comment:
Version 3 of my patch:
- Add PYTHONHASHSEED environment variable to get a fixed seed or to
disable the randomized hash function (PYTHONHASHSEED=0)
- Add tests on the randomized hash function
- Add more tests on os.urandom()
You forgot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 01ef13e9e225 by Senthil Kumaran in branch '2.7':
- Issue #13642: Unquote before b64encoding user:password during Basic
http://hg.python.org/cpython/rev/01ef13e9e225
--
nosy: +python-dev
Senthil Kumaran sent...@uthcode.com added the comment:
Joonas and Michele - The fix along with the tests is in for 2.7 line. W.r.t to
tests having it in the class level buf seems to be only easy way, for other it
seemed to be that FakeSocket and FakeConnection stuff need some major change
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 3370fa13ed73 by Senthil Kumaran in branch '3.2':
Issue9637 - Explain in getproxies_environment that scheme_proxy environ
variable case does not matter.
http://hg.python.org/cpython/rev/3370fa13ed73
New changeset
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 4a30eae3b945 by Senthil Kumaran in branch '2.7':
port to 2.7 - Issue9637 - Details that case of Proxy env var does not matter.
http://hg.python.org/cpython/rev/4a30eae3b945
--
Senthil Kumaran sent...@uthcode.com added the comment:
This is fixed. Thanks for your contribution.
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
New submission from Charles-François Natali neolo...@free.fr:
os.fdlistdir() closes the FD passed as argument.
This is annoying, since in 99% of the cases you'd like to keep FD intact, so
you end up doing os.fdlistdir(os.dup(fd)).
Here's a patch that duplicates the FD in fdlistdir(), so that
Antoine Pitrou pit...@free.fr added the comment:
Agreed with the change.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13757
___
___
Ross Lagerwall rosslagerw...@gmail.com added the comment:
The reason I made it like that was that it seemed closer to the fdopendir()
function which steals the fd for internal use.
However, I agree that it makes more sense to dup() it.
Patch looks good.
--
Steven Bethard steven.beth...@gmail.com added the comment:
Eric's suggested doc fix looks good to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13685
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 6d395ed03f95 by Charles-François Natali in branch 'default':
Issue #13757: Change os.fdlistdir() so that it duplicates the passed file
http://hg.python.org/cpython/rev/6d395ed03f95
--
nosy: +python-dev
Charles-François Natali neolo...@free.fr added the comment:
Nick suggested to call the new flag exclusive create in the doc (and explain
in whatsnew that it's based C11 new 'x' flag).
Could someone please check the attached patch?
My wording sounds really clumsy, so I'd prefer if a native
Charles-François Natali neolo...@free.fr added the comment:
Thanks!
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13757
Brett Cannon br...@python.org added the comment:
On Mon, Jan 9, 2012 at 18:05, Antoine Pitrou rep...@bugs.python.org wrote:
Antoine Pitrou pit...@free.fr added the comment:
I'm not suggesting two stat calls (in the general case); you would
call one or the other depending on the magic
STINNER Victor victor.stin...@haypocalc.com added the comment:
Patch version 4:
- os.urandom() raises again exceptions on failure
- drop support of VMS (which used RAND_pseudo_bytes from OpenSSL): I don't see
how to link Python/random.c to libcrypto on VMS, I don't have VMS, and it don't
see
Charles-François Natali neolo...@free.fr added the comment:
Here's a patch with tests and documentation.
I noticed something surprising:
walk() with followlinks=False returns links to directories as
directories (in dirnames).
I find this surprising, since if you don't follow symlinks, those are
STINNER Victor victor.stin...@haypocalc.com added the comment:
Patch version 5 fixes test_unicode for 64-bit system.
--
Added file: http://bugs.python.org/file24198/random-5.patch
___
Python tracker rep...@bugs.python.org
Changes by STINNER Victor victor.stin...@haypocalc.com:
Removed file: http://bugs.python.org/file24142/random.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13703
___
Changes by STINNER Victor victor.stin...@haypocalc.com:
Removed file: http://bugs.python.org/file24193/random-3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13703
___
Changes by STINNER Victor victor.stin...@haypocalc.com:
Removed file: http://bugs.python.org/file24143/random-2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13703
___
Changes by STINNER Victor victor.stin...@haypocalc.com:
Removed file: http://bugs.python.org/file24196/random-4.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13703
___
Changes by Benjamin Peterson benja...@python.org:
Added file: http://bugs.python.org/file24199/full-casemapping.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12736
___
New submission from Terry J. Reedy tjre...@udel.edu:
The 3.2.2 doc for compile() says The filename argument should give the file
from which the code was read; pass some recognizable value if it wasn’t read
from a file ('string' is commonly used).
I am not sure what 'recognizable' is supposed
New submission from Atsushi Shibata shib...@webcore.co.jp:
I installed Python 3.2.2 on Macintosh(Snow Leopard), by using installer on
python.org.
In interactive mode, it does not accept multibyte character. When I type
Japanese character on it, it changes to ?.
I tried to make Python 3.2.2 by
New submission from Faheem Mitha fah...@faheem.info:
I have not experienced this myself, but see
http://stackoverflow.com/questions/2246384/multiprocessing-pool-hangs-when-there-is-a-exception-in-any-of-the-thread
This appears to be another case of http://bugs.python.org/issue1692335
I also
36 matches
Mail list logo