[issue13734] Add a generic directory walker method to avoid symlink attacks

2012-02-01 Thread Charles-François Natali

Charles-François Natali  added the comment:

> I think the O(depth) version is fine. The O(1) version is quite more
> complicated, difficult to follow, and it seems less robust (it doesn't
> use try/finally and therefore might leak fds if the generator isn't
> exhausted before being destroyed).

I agree.

> On modern systems you have at least 1024 fds, so the restriction
> shouldn't be a problem.

Actually, I think you're much more likely to run above the max
recursion limit than RLIMIT_NOFILE (OTOH, you don't know how many FDs
are already open at the time of the call).

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13734] Add a generic directory walker method to avoid symlink attacks

2012-02-01 Thread Nick Coghlan

Nick Coghlan  added the comment:

I'm also a fan of using the simpler approach unless/until we have solid 
evidence that the file descriptor limit could be a problem in practice.

A comment in the code mentioning the concern, along with the fact that there's 
an alternate algorithm attached to this tracker issue that avoids it would 
probably be appropriate though.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13719] bdist_msi upload fails

2012-02-01 Thread Ralf Schmitt

Ralf Schmitt  added the comment:

It's a bug in bdist_msi not in the upload command. You can check that 
distribution.dist_files point to valid files after running the command.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13917] Python 2.7.2 and 3.2.2 execl crash

2012-02-01 Thread Carlo Di Dato

New submission from Carlo Di Dato :

These lines make Python 2.7.2 and 3.2.2 crash

import os
os.execl("cmd.exe", "")

Regards

--
components: Windows
messages: 152428
nosy: shinnai
priority: normal
severity: normal
status: open
title: Python 2.7.2 and 3.2.2 execl crash
type: crash
versions: Python 2.7, Python 3.1

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13917] Python 2.7.2 and 3.2.2 execl crash

2012-02-01 Thread Carlo Di Dato

Changes by Carlo Di Dato :


--
versions: +Python 3.2 -Python 3.1

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13917] Python 2.7.2 and 3.2.2 execl crash

2012-02-01 Thread Tim Golden

Tim Golden  added the comment:

This is a duplicate of http://bugs.python.org/issue8036

(which I still haven't got around to applying...)

--
nosy: +tim.golden

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13917] Python 2.7.2 and 3.2.2 execl crash

2012-02-01 Thread Antoine Pitrou

Changes by Antoine Pitrou :


--
resolution:  -> duplicate
status: open -> closed
superseder:  -> Interpreter crashes on invalid arg to spawnl on Windows

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7856] cannot decode from or encode to big5 \xf9\xd8

2012-02-01 Thread Antoine Pitrou

Changes by Antoine Pitrou :


--
nosy: +haypo
versions: +Python 2.7, Python 3.2, Python 3.3 -Python 2.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13918] locale.atof documentation is missing func argument

2012-02-01 Thread Cédric Krier

New submission from Cédric Krier :

atof has a func argument used to instantiate the result but it is missing in 
the documentation.

--
assignee: docs@python
components: Documentation
messages: 152430
nosy: ced, docs@python
priority: normal
severity: normal
status: open
title: locale.atof documentation is missing func argument
type: enhancement

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13868] Add hyphen doc fix

2012-02-01 Thread Boštjan Mejak

Boštjan Mejak  added the comment:

Seriously, how old are you two clowns?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13868] Add hyphen doc fix

2012-02-01 Thread Sandro Tosi

Sandro Tosi  added the comment:

On Wed, Feb 1, 2012 at 15:42, Boštjan Mejak  wrote:
> Seriously, how old are you two clowns?

I think it's enough: FTR I'm +1 on removing Retro tracker account,
effective immediately (if any admin is around).

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12328] multiprocessing's overlapped PipeConnection on Windows

2012-02-01 Thread sbt

sbt  added the comment:

I have done an updated patch.  (It does *not* switch to using bytes oriented 
pipes as I suggested in the previous message.)

The patch also adds a wait() function with signature

wait(object_list, timeout=None)

for polling multiple objects at once.  On Unix it is just a wrapper for

select.select(object_list, [], [], timeout)

except that it retries when it gets EINTR.  wait() works with "connected" 
sockets too, although on Windows it does not work for "listening" sockets.

The patch removes SentinelReady and changes concurrent.futures to use wait() 
instead.

Polling is now done by issuing zero length overlapped reads.  This means that 
the pipe is not modified except possibly if a zero length message is removed.

I changed ReadFile(), WriteFile() and GetOverlappedResult() to return pairs, 
the second entry of which is zero or an "expected" error code.  (Unexpected 
errors still raise an exception.)  This avoids the need to ever use 
GetLastError().

--
Added file: http://bugs.python.org/file24388/pipe_poll_fix.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13868] Add hyphen doc fix

2012-02-01 Thread Boštjan Mejak

Boštjan Mejak  added the comment:

Kiss my ball sac!

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13919] kiss my ball sac

2012-02-01 Thread Boštjan Mejak

Changes by Boštjan Mejak :


--
assignee: docs@python
components: Documentation
nosy: Retro, docs@python
priority: normal
severity: normal
status: open
title: kiss my ball sac
type: enhancement
versions: Python 2.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13919] kiss my ball sac

2012-02-01 Thread Nadeem Vawda

Changes by Nadeem Vawda :


--
resolution:  -> invalid
stage:  -> committed/rejected
status: open -> closed
type: enhancement -> 

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13920] intern() doc wrong spelling

2012-02-01 Thread Boštjan Mejak

Changes by Boštjan Mejak :


--
hgrepos:  -110

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13920] intern() doc wrong spelling

2012-02-01 Thread Boštjan Mejak

New submission from Boštjan Mejak :

http://docs.python.org/library/functions.html#intern

Visit the upper link andewsqEz80olp

--
assignee: docs@python
components: Documentation
hgrepos: 110
messages: 152435
nosy: Retro, docs@python
priority: normal
severity: normal
status: open
title: intern() doc wrong spelling
versions: Python 2.7, Python 3.2, Python 3.3

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13920] intern() doc wrong spelling

2012-02-01 Thread Boštjan Mejak

Boštjan Mejak  added the comment:

http://docs.python.org/library/functions.html#intern

Visit the upper link and fix 2 words that say "compare" to "comparison".

Hint: "blah blah blah pointer compare ... string compare ..."

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13920] intern() doc wrong spelling

2012-02-01 Thread Boštjan Mejak

Changes by Boštjan Mejak :


--
type:  -> enhancement

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13868] Add hyphen doc fix

2012-02-01 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

Retro, your contributions are not welcome anymore.

--
nosy: +pitrou

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13920] intern() doc wrong spelling

2012-02-01 Thread Brian Curtin

Brian Curtin  added the comment:

This is fine as is.

--
nosy: +brian.curtin
resolution:  -> wont fix
stage:  -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13920] intern() doc wrong spelling

2012-02-01 Thread Brian Curtin

Changes by Brian Curtin :


--
nosy:  -brian.curtin

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13908] PyType_FromSpec() lacks PyType_Ready() call

2012-02-01 Thread Jesús Cea Avión

Changes by Jesús Cea Avión :


--
nosy: +jcea

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13868] Add hyphen doc fix

2012-02-01 Thread Georg Brandl

Changes by Georg Brandl :


--
resolution:  -> invalid
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13885] CVE-2011-3389: _ssl module always disables the CBC IV attack countermeasure

2012-02-01 Thread Jesús Cea Avión

Changes by Jesús Cea Avión :


--
nosy: +jcea

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13872] socket.detach doesn't mark socket._closed

2012-02-01 Thread Jesús Cea Avión

Changes by Jesús Cea Avión :


--
nosy: +jcea

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13889] str(float) and round(float) issues with FPU precision

2012-02-01 Thread Jesús Cea Avión

Changes by Jesús Cea Avión :


--
assignee: mark.dickinson -> 
nosy: +jcea
type: behavior -> 

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13889] str(float) and round(float) issues with FPU precision

2012-02-01 Thread Jesús Cea Avión

Jesús Cea Avión  added the comment:

Should this bug be marked as "closed+committed"?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13676] sqlite3: Zero byte truncates string contents

2012-02-01 Thread Roundup Robot

Roundup Robot  added the comment:

New changeset 2e13011b3719 by Petri Lehtinen in branch '3.2':
sqlite3: Handle strings with embedded zeros correctly
http://hg.python.org/cpython/rev/2e13011b3719

New changeset 93ac4b12a750 by Petri Lehtinen in branch '2.7':
sqlite3: Handle strings with embedded zeros correctly
http://hg.python.org/cpython/rev/93ac4b12a750

New changeset 6f4044afa600 by Petri Lehtinen in branch 'default':
Merge branch 3.2
http://hg.python.org/cpython/rev/6f4044afa600

--
nosy: +python-dev
resolution:  -> fixed
stage:  -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13921] sqlite3: OptimizedUnicode doesn't work in Py3k

2012-02-01 Thread Petri Lehtinen

New submission from Petri Lehtinen :

Connection.text_factory can be used to control what objects are
returned for the TEXT data type. An excerpt from the docs:

For efficiency reasons, there’s also a way to return str
objects only for non-ASCII data, and bytes otherwise. To
activate it, set this attribute to sqlite3.OptimizedUnicode.

However, it always returns Unicode strings now. There's even a
test for this feature which is obviously wrong:

def CheckOptimizedUnicode(self):
self.con.text_factory = sqlite.OptimizedUnicode
austria = "Österreich"
germany = "Deutchland"
a_row = self.con.execute("select ?", (austria,)).fetchone()
d_row = self.con.execute("select ?", (germany,)).fetchone()
self.assertTrue(type(a_row[0]) == str, "type of non-ASCII row must be 
str")
self.assertTrue(type(d_row[0]) == str, "type of ASCII-only row must be 
str")

It checks for str in both cases even though it should test for
bytes in the latter case.

---

The user can get bytes if he wants to by saying so explicitly.
Having the library mix bytes and unicode by itself makes it
harder for the user. Furthermore, I don't really buy
the "efficiency" reason here, so I'd vote for removing the whole
OptimizeUnicode thing. It has never worked for Py3k so it would
be safe.

--
components: Library (Lib)
messages: 152441
nosy: petri.lehtinen, pitrou
priority: normal
severity: normal
status: open
title: sqlite3: OptimizedUnicode doesn't work in Py3k
type: behavior
versions: Python 3.2, Python 3.3

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13921] sqlite3: OptimizedUnicode doesn't work in Py3k

2012-02-01 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

+1 for removing, it makes no sense under Python 3.

--
nosy: +ghaering

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13922] argparse handling multiple "--" in args improperly

2012-02-01 Thread Warren Turkal

New submission from Warren Turkal :

I have a program that runs something like the following:
$ hack run -- :target --arg1 --arg2 arg3 arg4

This basically runs a program identified by :target with the args. However, I 
cannot pass "--" to the program. For example, if I type:
$ hack run -- :hack run -- :target clean --help

the second "--" is swallowed by the parser, and I get an the help for "hack 
run" instead of instead of "hack clean". The run subcommand just does the 
following:

all_args = [target.bin_path] + args.args
os.execv(target.bin_path, all_args)

However, the first hack run has the following list for args:
args = Namespace(args=['run', ':hack', 'clean', '--help'], func=, target=':hack')

Where is the second "--"? I would have expected the args list to be:
args=['run', '--', ':hack', 'clean', '--help']

About the python version, I am using python 2.6. However, I am using the latest 
release of argparse from [1] and am assuming that it's very similar code.

[1]http://code.google.com/p/argparse/downloads/list

--
messages: 152443
nosy: Warren.Turkal
priority: normal
severity: normal
status: open
title: argparse handling multiple "--" in args improperly
type: behavior
versions: Python 2.7, Python 3.2

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13923] new formatter for argparse

2012-02-01 Thread Warren Turkal

New submission from Warren Turkal :

It would be really nice to have a formatter for argparse that would respect 
explicit new lines while still wrapping lines otherwise.

This would allow the description and epilog to have be a little more structured 
while still getting the advantage of line wrapping.

--
messages: 152444
nosy: Warren.Turkal
priority: normal
severity: normal
status: open
title: new formatter for argparse
type: enhancement

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13817] deadlock in subprocess while running several threads using Popen

2012-02-01 Thread Charles-François Natali

Charles-François Natali  added the comment:

I thought about this a bit more, and I realized that a slight variation
of this bug also affects 2.7, and also older versions (i.e. before
_PyGILState_Reinit() was introduced), because any code that gets called
from PyOS_AfterFork() and uses the TLS API suffers from the same
problem.
I had the new test deadlock once, in theading._after_fork(): when trying
to acquire an (unlocked) lock, it got stuck in Py_END_ALLOW_THREADS,
which calls indirectly PyGILState_GetThisThreadState(), which calls
find_key().
Although less likely, this bug has been present for a *long* time, it's
surprising it had never been noticed before.
So the fix - calling PyThread_ReInitTLS() right at the beginning of 
PyOS_AfterFork() - should also be applied to 2.7.
I'll commit it tomorrow.

--
Added file: http://bugs.python.org/file24389/reinit_tls_27.diff

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13924] Mercurial robots.txt should let robots crawl landing pages.

2012-02-01 Thread Ivaylo Popov

New submission from Ivaylo Popov :

http://hg.python.org/robots.txt currently disallows all robots from all paths. 
This means that the site doesn't show up in Google search results seeking, for 
instance, browsing access to the python source
https://www.google.com/search?ie=UTF-8&q=python+source+browse
https://www.google.com/search?ie=UTF-8&q=python+repo+browse
https://www.google.com/search?ie=UTF-8&q=hg+python+browse
etc...

Instead, robots.txt should allow access to the landing page, 
http://hg.python.org/, and the landing pages for hosted projects, e.g. 
http://hg.python.org/cpython/, while prohibiting access to the */rev/*, 
*/shortlog/*, ..., directories.

This change would be very easy, cost virtually nothing, and let users find the 
mercurial repository viewer from search engines. Note that 
http://svn.python.org/ does show up in search results, as an illustration of 
how convenient this is.

--
components: None
messages: 152446
nosy: Ivaylo.Popov
priority: normal
severity: normal
status: open
title: Mercurial robots.txt should let robots crawl landing pages.
type: enhancement

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7833] bdist_wininst installers fail to load extensions built with Issue4120 patch

2012-02-01 Thread Mark Dickinson

Mark Dickinson  added the comment:

Mark:  Possibly a stupid question, but in your commit (see snippet below), why 
is the processorArchitecture hard coded to "x86"?  Is it appropriate to replace 
this with "amd64" for 64-bit builds, or should it always be "x86"?

+
+  
+  
+

--
nosy: +mark.dickinson

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13889] str(float) and round(float) issues with FPU precision

2012-02-01 Thread Jesús Cea Avión

Changes by Jesús Cea Avión :


--
assignee:  -> mark.dickinson
type:  -> behavior

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7833] bdist_wininst installers fail to load extensions built with Issue4120 patch

2012-02-01 Thread Mark Hammond

Mark Hammond  added the comment:

ack - that is a really good point.  IIRC it can be "*".  I'll try and look at 
this over the next day or 2.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com




[issue13889] str(float) and round(float) issues with FPU precision

2012-02-01 Thread Mark Dickinson

Mark Dickinson  added the comment:

> Should this bug be marked as "closed+committed"?

No, the main issue is still under consideration.

There were two issues here:

(1) a clear bug, namely that the Py_SET_53BIT_PRECISION_* macros weren't being 
used for the dtoa calls when rounding, and

(2) a proposal to alter the way that the FPU settings are treated on Windows;  
this is still open.

I'll change the type from behaviour, though.

--
type: behavior -> enhancement

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13925] making assignments to an empty two dimensional list

2012-02-01 Thread Dave E

New submission from Dave E :

I might be missing something, but I am expecting the following code to print 
out a list of lists with each internal list holding one number[0-4], but 
instead the internal lists are a copy of the list "count".  

#!/usr/bin/python
count = range(4)
twoDimensionList = [[]] * len(count)
for i in range(len(count)):
   twoDimensionList[i].append(count[i])
print twoDimensionList

Should print: 
[[0], [1], [2], [3]]

but erroneously prints:
[[0, 1, 2, 3], [0, 1, 2, 3], [0, 1, 2, 3], [0, 1, 2, 3]]

--
files: twoDimensionalList.py
messages: 152450
nosy: drathlian
priority: normal
severity: normal
status: open
title: making assignments to an empty two dimensional list
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file24390/twoDimensionalList.py

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13925] making assignments to an empty two dimensional list

2012-02-01 Thread Mark Dickinson

Mark Dickinson  added the comment:

This isn't a bug, but a known gotcha:  see.

http://docs.python.org/faq/programming.html#how-do-i-create-a-multidimensional-list

--
nosy: +mark.dickinson
resolution:  -> invalid
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13919] invalid

2012-02-01 Thread Mark Dickinson

Changes by Mark Dickinson :


--
title: kiss my ball sac -> invalid

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13703] Hash collision security issue

2012-02-01 Thread STINNER Victor

STINNER Victor  added the comment:

It looks like it was not yet decided if the CryptoGen API or a weak LCG should 
be used on Windows. Extract of 
add-randomization-to-3.1-dmalcolm-2012-02-01-001.patch:

+#ifdef MS_WINDOWS
+#if 1
+(void)win32_urandom((unsigned char *)secret, secret_size, 0);
+#else
+/* fast but weak RNG (fast initialization, weak seed) */

Does someone know how to link Python to advapi32.dll (on Windows) to avoid 
GetModuleHandle("advapi32.dll")?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13868] Add hyphen doc fix

2012-02-01 Thread Raymond Hettinger

Raymond Hettinger  added the comment:

Boštjan, please stop wasting everyone's time.

--
nosy: +rhettinger

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com