[issue14068] problem with re split

2012-02-20 Thread Ezio Melotti
Ezio Melotti added the comment: Can you paste (or upload) a minimal working example (with a short sample string) that uses re.split and str.split and shows how re.split is failing? -- ___ Python tracker _

[issue7966] mhlib does not emit deprecation warning

2012-02-20 Thread Éric Araujo
Éric Araujo added the comment: This was fixed by r63030. -- nosy: +eric.araujo resolution: -> fixed stage: test needed -> committed/rejected status: open -> closed versions: -Python 2.6 ___ Python tracker ___

[issue3213] "pydoc -p" should listen to [::] if IPv6 is supported

2012-02-20 Thread Éric Araujo
Changes by Éric Araujo : -- type: behavior -> enhancement versions: +Python 3.3 -Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___

[issue8942] __path__ attribute of modules loaded by zipimporter is untested

2012-02-20 Thread Éric Araujo
Changes by Éric Araujo : -- keywords: +easy nosy: +brett.cannon, eric.snow, ncoghlan stage: -> needs patch versions: +Python 2.7, Python 3.2, Python 3.3 ___ Python tracker ___ __

[issue14068] problem with re split

2012-02-20 Thread 启朗 杨
启朗 杨 added the comment: sure,here is an simple string from the news1.xml -- Added file: http://bugs.python.org/file24589/news1.xml ___ Python tracker ___ ___

[issue13641] decoding functions in the base64 module could accept unicode strings

2012-02-20 Thread Guido van Rossum
Guido van Rossum added the comment: Aside: I, too, at first thought this would be a bad idea because it brings back the Python 2 issue of accepting some but not all Unicode strings. But then I realized that by their nature these functions only accepts a very specific set of characters -- so t

[issue13703] Hash collision security issue

2012-02-20 Thread Gregory P. Smith
Gregory P. Smith added the comment: Roundup Robot didn't seem to notice it, but this has also been committed in 2.7: http://hg.python.org/cpython/rev/a0f43f4481e0 -- ___ Python tracker ___

[issue13703] Hash collision security issue

2012-02-20 Thread Éric Araujo
Éric Araujo added the comment: Yep, the bot only looks at commit messages, it does not inspect merges or other topographical information. That’s why some of us make sure to repeat bug numbers in our merge commit messages. -- ___ Python tracker

[issue13703] Hash collision security issue

2012-02-20 Thread Georg Brandl
Georg Brandl added the comment: But since our workflow is such that commits in X.Y branches always show up in X.Y+1, it doesn't really matter. -- ___ Python tracker ___ ___

[issue13605] document argparse's nargs=REMAINDER

2012-02-20 Thread Georg Brandl
Georg Brandl added the comment: Yes, that's correct. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue13703] Hash collision security issue

2012-02-20 Thread Gregory P. Smith
Gregory P. Smith added the comment: The bug report is the easiest thing to search for and follow when checking when something is resolved so it is nice to have a link to the relevant patch(es) for each branch. I just wanted to note the major commit here so that all planned branches had a not

[issue13703] Hash collision security issue

2012-02-20 Thread Gregory P. Smith
Gregory P. Smith added the comment: Question: Should sys.flags.hash_randomization be True (1) when PYTHONHASHSEED=0? It is now. Saying yes "working as intended" is fine by me. sys.flags.hash_randomization seems to simply indicate that doing something with the hash seed was explicitly specif

[issue13703] Hash collision security issue

2012-02-20 Thread Georg Brandl
Georg Brandl added the comment: That is a good question. I don't really care either way, but let's say +0 for turning it off when seed == 0. -R still needs to be made default in 3.3 - that's one reason this issue is still open. -- ___ Python trac

[issue14071] allow more than one hash seed per process (move _Py_HashSecret into PyInterpreterState)

2012-02-20 Thread Gregory P. Smith
New submission from Gregory P. Smith : The newly added hash randomization seed (issue 13703) is a global defined in object/object.c that is initialized only once within a process by a call from Py_InitializeEx(). For applications embedding Python interpreters it may be useful for them to NOT

[issue14060] Implement a CSP-style channel

2012-02-20 Thread Matt Joiner
Matt Joiner added the comment: As I see it, here are the desirable features of CSP-style concurrency as it pertains to channels: 1) At least an unbuffered mode 2) Can be marked closed 3) Block on multiple send/receives until one can proceed Specifically features 1 and 2 could be bolted onto q

[issue14059] Implement multiprocessing.Barrier

2012-02-20 Thread Charles-François Natali
Charles-François Natali added the comment: > Here is an initial implementation. Wouldn't it be simpler with a mp.Condition? Otherwise, this should be added to Lib/multiprocesing.synchronize.py, and the tests to test_multiprocessing. -- nosy: +neologix ___

<    1   2