Change by Nam Nguyen :
--
nosy: +Nam.Nguyen
___
Python tracker
<https://bugs.python.org/issue37461>
___
___
Python-bugs-list mailing list
Unsubscribe:
Nam Nguyen added the comment:
Just being nosy here that we should not continue down the path with regex. A
proper grammar parser according to spec would be much more appropriate and
eliminate these whack-a-mole issues.
--
nosy: +Nam.Nguyen
Nam Nguyen added the comment:
I think the best behavior is to do what popular web browsers do. Chrome and
Firefox, for example, parses this is host 127.0.0.1, path /, fragment
#@evil.com.
If the code does want to support username/password, it should do a custom
opener (with basic HTTP
Changes by Nam Nguyen <bits...@gmail.com>:
--
pull_requests: +1937
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30500>
___
_
New submission from Nam Nguyen:
Reported by Orange Tsai:
==
Hi, Python Security Team
import urllib
from urlparse import urlparse
url = 'http://127.0.0.1#@evil.com/'
print urlparse(url).netloc # 127.0.0.1
print urllib.urlopen(url).read()# will access evil.com
I have
Nam Nguyen bits...@gmail.com added the comment:
Using a remote server such as python.org is a good idea when you have internet
connection. When you don't, though, how will the test run?
--
nosy: +Nam.Nguyen
___
Python tracker rep...@bugs.python.org
Nam Nguyen bits...@gmail.com added the comment:
+1
That was actually what I did. I replaced the internal queue with another one
whose limit was properly set.
If you are busy to write one, let me find some time to create another patch
Nam Nguyen bits...@gmail.com added the comment:
Currently, ProcessionPoolExecutor has this line in its constructor:
self._call_queue = multiprocessing.Queue(self._max_workers +
EXTRA_QUEUED_CALLS)
where EXTRA_QUEUED_CALLS is 1.
And yes
Nam Nguyen bits...@gmail.com added the comment:
I used the ThreadPoolExecutor to process a large number (bounded) of
input/output jobs. Because there were too many of them and the worker threads
could not process them fast enough to drain them from the queue, the queue kept
increasing in size
Nam Nguyen bits...@gmail.com added the comment:
I can't find any CHM for download.
For example, this is everything there is to Python 3.2.2:
http://www.python.org/ftp/python/3.2.2/
Yet there's no sight of CHM in it.
--
___
Python tracker rep
New submission from Nam Nguyen bits...@gmail.com:
Before 2.7, one can easily find .CHM files in the Documentation download page.
When 2.7 come out, the only way to get CHM files is downloading the Windows
installers (EXE or MSI), installing it on Windows, and grabbing the CHM files
Changes by Nam Nguyen bits...@gmail.com:
--
keywords: +patch
Added file: http://bugs.python.org/file24666/executor-queue-size.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14119
New submission from Nam Nguyen bits...@gmail.com:
I am running into a memory consumption issue with concurrent.futures module.
Its Executors do not have a public API to adjust their queue size. and the
queues are created unbounded initially.
It would be helpful to have some public method
Nam Nguyen bits...@gmail.com added the comment:
By the way, ProcessPoolExecutor actually sets its queue size to a reasonable
number but ThreadPoolExecutor does not.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14119
Nam Nguyen bits...@gmail.com added the comment:
Ronald's patch does fix the segmentation fault with clang-compiled Python. But
this bug report seems to be about LLVM-GCC not compiling correctly.
--
___
Python tracker rep...@bugs.python.org
http
Nam Nguyen bits...@gmail.com added the comment:
Please do keep the warning though. It is best to warn in both Python-C
Py_Initialize() document and the Embedding tutorial.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
Nam Nguyen bits...@gmail.com added the comment:
Here's a minimal test case for #define bug in LLVM GCC.
If the base struct is 8-byte long or smaller, the code runs correctly.
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)
#include stdio.h
#include stdlib.h
Changes by Nam Nguyen bits...@gmail.com:
--
nosy: +Nam.Nguyen
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13241
___
___
Python-bugs-list mailing
Nam Nguyen bits...@gmail.com added the comment:
That would be great. Thank you.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13562
New submission from Nam Nguyen bits...@gmail.com:
A doc patch to remind Python embedder to set sys.path prior to Py_Initialize.
This is to ensure a controlled module load path to work around these issues:
http://bugs.python.org/issue12989
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008
New submission from Nam Nguyen bits...@gmail.com:
The module search path is constructed from PYTHONPATH env-var, then zip path,
then HKCU PythonPath, then HKLM PythonPath, then PYTHONPATH define (in
pyconfig.h), and finally argv[0]. If PYTHONHOME is available, the PYTHONPATH
define
Nam Nguyen bits...@gmail.com added the comment:
In uint32_converter, I'm not sure the if statement comparing val and UINT32_MAX
makes sense. val was defined to be unsigned long, which is 32bit on 32-bit
compiler.
--
nosy: +Nam.Nguyen
___
Python
Changes by Nam Nguyen bits...@gmail.com:
--
nosy: +Nam.Nguyen
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5876
___
___
Python-bugs-list mailing
23 matches
Mail list logo