[issue11175] allow argparse FileType to accept encoding and errors arguments

2012-12-16 Thread Lucas Maystre

Lucas Maystre added the comment:

Sorry for the little glitches you had to fix, I wonder why I didn't catch them.
Anyways, thanks Petri!

--

___
Python tracker 

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



[issue14901] Python Windows FAQ is Very Outdated

2012-12-16 Thread Brian Curtin

Brian Curtin added the comment:

Thanks for the patch.

--
resolution:  -> fixed
stage: patch review -> 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



[issue14901] Python Windows FAQ is Very Outdated

2012-12-16 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 5edbd93509b8 by Brian Curtin in branch '3.2':
Fix #14901. Update the Windows FAQ.
http://hg.python.org/cpython/rev/5edbd93509b8

New changeset fe20d5bf0c93 by Brian Curtin in branch 'default':
Add Ashish Nitin Patil for work on Issue #14901
http://hg.python.org/cpython/rev/fe20d5bf0c93

New changeset 81d1df1f512a by Brian Curtin in branch '2.7':
Fix #14901. Update some sections of Windows FAQ.
http://hg.python.org/cpython/rev/81d1df1f512a

--
nosy: +python-dev

___
Python tracker 

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



[issue14901] Python Windows FAQ is Very Outdated

2012-12-16 Thread Brian Curtin

Brian Curtin added the comment:

Looks alright so far. I'm working on reviewing and applying it.

--
assignee: docs@python -> brian.curtin

___
Python tracker 

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



[issue16507] Patch selectmodule.c to support WSAPoll on Windows

2012-12-16 Thread Richard Oudkerk

Richard Oudkerk added the comment:

Here is a new version with tests and docs.

Note that the docs do not mention the bug mentioned in

  http://daniel.haxx.se/blog/2012/10/10/wsapoll-is-broken/

Maybe they should?

Note that that bug makes it a bit difficult to use poll with tulip on Windows.  
(But one could restrict timeouts to one second and always check outstanding 
connect attempts using select() when poll() returns.)

--
type:  -> enhancement
versions: +Python 3.4
Added file: http://bugs.python.org/file28341/runtime_wsapoll.patch

___
Python tracker 

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



[issue16655] IDLE list.append calltips test failures

2012-12-16 Thread Chris Jerdonek

Chris Jerdonek added the comment:

Could you mock or monkey-patch what you are getting a tool tip for (i.e. set 
the "external" string you are checking for)?

--

___
Python tracker 

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



[issue13863] import.c sometimes generates incorrect timestamps on Windows + NTFS

2012-12-16 Thread Mark Dickinson

Mark Dickinson added the comment:

Updated patch to address comments from Serhiy on Rietveld:

 - use '& 0x' in the Python code that gets the mtime;  only the
   bottom 32 bits of the mtime are used.
 - simplify line that reads mtime from .pyc file.

Also improved an error check in the C code: compare with INVALID_HANDLE_VALUE 
instead of comparing with -1 directly.

--
Added file: http://bugs.python.org/file28340/pyc_mtime3.patch

___
Python tracker 

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



[issue16701] Docs missing the behavior of += (in-place add) for lists.

2012-12-16 Thread R. David Murray

R. David Murray added the comment:

Well, it is effectively documented by the text here:

   
http://docs.python.org/3/reference/simple_stmts.html#augmented-assignment-statements

since "a + b" is logically equivalent to a.extend(b) when a is being updated 
"in-place".  The fact that it is in fact implemented using extend is an 
implementation detail.

That said, it would be logical to add an entry for the augmented assignment to 
the table here:

   http://docs.python.org/3/library/stdtypes.html#mutable-sequence-types

There also may be other places in that chapter where augmented assignment 
deserves mention.

--
nosy: +r.david.murray
versions:  -Python 3.1, Python 3.5

___
Python tracker 

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



[issue16698] test_posix.test_getgroups fails on some systems

2012-12-16 Thread Ned Deily

Ned Deily added the comment:

The test failure on OS X is likely an instance of the platform limitation 
documented in issue10433.

--
nosy: +ned.deily

___
Python tracker 

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



[issue16661] test_posix.test_getgrouplist fails on some systems - incorrectly comparing getgroups and getgrouplist results

2012-12-16 Thread Ned Deily

Ned Deily added the comment:

The getgroups test failure on OS X is likely the known limitation documented in 
issue10433.

--
nosy: +ned.deily

___
Python tracker 

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



[issue13390] Hunt memory allocations in addition to reference leaks

2012-12-16 Thread Stefan Krah

Stefan Krah added the comment:

``./configure --without-pymalloc'' fails here:

gcc -pthread   -Xlinker -export-dynamic -o python Modules/python.o 
libpython3.4.a -lpthread -ldl  -lutil   -lm  
libpython3.4.a(sysmodule.o): In function `sys_getallocatedblocks':
/home/stefan/hg/cpython/./Python/sysmodule.c:900: undefined reference to 
`_Py_GetAllocatedBlocks'
collect2: error: ld returned 1 exit status
make: *** [python] Error 1

--
nosy: +skrah

___
Python tracker 

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



[issue16701] Docs missing the behavior of += (in-place add) for lists.

2012-12-16 Thread Ashwini Chaudhary

New submission from Ashwini Chaudhary:

I think the python docs are missing the behavior of += for lists. It actually 
calls list.extend() but can't find that anywhere in docs expect in source code, 
http://hg.python.org/cpython/file/2d2d4807a3ed/Objects/listobject.c#l892.

--
assignee: docs@python
components: Documentation
messages: 177627
nosy: docs@python, montysinngh
priority: normal
severity: normal
status: open
title: Docs missing the behavior of += (in-place add) for lists.
type: enhancement
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 
3.4, Python 3.5

___
Python tracker 

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



[issue15783] decimal: Support None default values in the C accelerator module

2012-12-16 Thread Stefan Krah

Stefan Krah added the comment:

I think I've found all of them now. Closing.

--
assignee:  -> skrah
components: +Library (Lib)
resolution:  -> fixed
stage: test needed -> committed/rejected
status: open -> closed
versions: +Python 3.4

___
Python tracker 

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



[issue15783] decimal: Support None default values in the C accelerator module

2012-12-16 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 907d71668d3c by Stefan Krah in branch '3.3':
Issue #15783: Support None default values in the Context() constructor.
http://hg.python.org/cpython/rev/907d71668d3c

--

___
Python tracker 

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



[issue16694] Add pure Python operator module

2012-12-16 Thread Arfrever Frehtes Taifersar Arahesis

Changes by Arfrever Frehtes Taifersar Arahesis :


--
nosy: +Arfrever

___
Python tracker 

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



[issue16618] Different glob() results for strings and bytes

2012-12-16 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


Removed file: http://bugs.python.org/file28336/glob_tests-2.7_2.patch

___
Python tracker 

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



[issue16618] Different glob() results for strings and bytes

2012-12-16 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


Removed file: http://bugs.python.org/file28335/glob_dotfiles_2.patch

___
Python tracker 

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



[issue16700] Document that bytes OS API can returns unusable results on Windows

2012-12-16 Thread STINNER Victor

STINNER Victor added the comment:

I don't remember il the deprecation of bytes filename is documented.

--

___
Python tracker 

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



[issue16618] Different glob() results for strings and bytes

2012-12-16 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Yet one attempt.

--
Added file: http://bugs.python.org/file28338/glob_dotfiles_2.patch
Added file: http://bugs.python.org/file28339/glob_tests-2.7_2.patch

___
Python tracker 

___diff -r 2d2d4807a3ed Lib/glob.py
--- a/Lib/glob.py   Sun Dec 16 16:40:22 2012 +0100
+++ b/Lib/glob.py   Sun Dec 16 21:12:42 2012 +0200
@@ -57,8 +57,8 @@
 names = os.listdir(dirname)
 except os.error:
 return []
-if pattern[0] != '.':
-names = [x for x in names if x[0] != '.']
+if not _ishidden(pattern):
+names = [x for x in names if not _ishidden(x)]
 return fnmatch.filter(names, pattern)
 
 def glob0(dirname, basename):
@@ -82,3 +82,6 @@
 else:
 match = magic_check.search(s)
 return match is not None
+
+def _ishidden(path):
+return path[0] in ('.', b'.'[0])
diff -r 2d2d4807a3ed Lib/test/test_glob.py
--- a/Lib/test/test_glob.py Sun Dec 16 16:40:22 2012 +0100
+++ b/Lib/test/test_glob.py Sun Dec 16 21:12:42 2012 +0200
@@ -31,7 +31,8 @@
 self.mktemp('a', 'bcd', 'efg', 'ha')
 if can_symlink():
 os.symlink(self.norm('broken'), self.norm('sym1'))
-os.symlink(self.norm('broken'), self.norm('sym2'))
+os.symlink('broken', self.norm('sym2'))
+os.symlink(os.path.join('a', 'bcd'), self.norm('sym3'))
 
 def tearDown(self):
 shutil.rmtree(self.tempdir)
@@ -44,10 +45,16 @@
 p = os.path.join(self.tempdir, pattern)
 res = glob.glob(p)
 self.assertEqual(list(glob.iglob(p)), res)
+bres = [os.fsencode(x) for x in res]
+self.assertEqual(glob.glob(os.fsencode(p)), bres)
+self.assertEqual(list(glob.iglob(os.fsencode(p))), bres)
 return res
 
 def assertSequencesEqual_noorder(self, l1, l2):
+l1 = list(l1)
+l2 = list(l2)
 self.assertEqual(set(l1), set(l2))
+self.assertEqual(sorted(l1), sorted(l2))
 
 def test_glob_literal(self):
 eq = self.assertSequencesEqual_noorder
@@ -58,13 +65,23 @@
 
 # test return types are unicode, but only if os.listdir
 # returns unicode filenames
-uniset = set([str])
-tmp = os.listdir('.')
-if set(type(x) for x in tmp) == uniset:
+uniset = {str}
+tmp = os.listdir(os.curdir)
+if {type(x) for x in tmp} == uniset:
 u1 = glob.glob('*')
-u2 = glob.glob('./*')
-self.assertEqual(set(type(r) for r in u1), uniset)
-self.assertEqual(set(type(r) for r in u2), uniset)
+u2 = glob.glob(os.path.join(os.curdir, '*'))
+self.assertEqual({type(r) for r in u1}, uniset)
+self.assertEqual({type(r) for r in u2}, uniset)
+
+# test return types are bytes, but only if os.listdir
+# returns bytes filenames
+bytset = {bytes}
+tmp = os.listdir(os.fsencode(os.curdir))
+if {type(x) for x in tmp} == bytset:
+u1 = glob.glob(b'*')
+u2 = glob.glob(os.path.join(os.fsencode(os.curdir), b'*'))
+self.assertEqual({type(r) for r in u1}, bytset)
+self.assertEqual({type(r) for r in u2}, bytset)
 
 def test_glob_one_directory(self):
 eq = self.assertSequencesEqual_noorder
@@ -111,6 +128,9 @@
   {self.norm('aaa'), self.norm('aab')},
   {self.norm('aaa') + os.sep, self.norm('aab') + os.sep},
   ])
+eq = self.assertSequencesEqual_noorder
+eq(self.glob('a*', ''), [os.path.join(self.tempdir, x, '')
+ for x in ['a', 'aaa', 'aab']])
 
 def test_glob_bytes_directory_with_trailing_slash(self):
 # Same as test_glob_directory_with_trailing_slash, but with a
@@ -128,9 +148,20 @@
   ])
 
 @skip_unless_symlink
+def test_glob_symlinks(self):
+eq = self.assertSequencesEqual_noorder
+eq(self.glob('sym3'), [self.norm('sym3')])
+eq(self.glob('sym3', '*'), [self.norm('sym3', 'EF'),
+self.norm('sym3', 'efg')])
+eq(self.glob('sym3', ''), [os.path.join(self.norm('sym3'), '')])
+eq(self.glob('*', '*F'), [self.norm('aaa', 'zzzF'),
+self.norm('aab', 'F'), self.norm('sym3', 'EF')])
+
+@skip_unless_symlink
 def test_glob_broken_symlinks(self):
 eq = self.assertSequencesEqual_noorder
-eq(self.glob('sym*'), [self.norm('sym1'), self.norm('sym2')])
+eq(self.glob('sym*'), [self.norm('sym1'), self.norm('sym2'),
+   self.norm('sym3')])
 eq(self.glob('sym1'), [self.norm('sym1')])
 eq(self.glob('sym2'), [self.norm('sym2')])
 
diff -r b0935ef48186 Lib/test/test_glob.py
--- a/Lib/test/test_glob.py Sun Dec 16 13:55:47 2012 +0100
+++ b/Lib/tes

[issue13863] import.c sometimes generates incorrect timestamps on Windows + NTFS

2012-12-16 Thread Mark Dickinson

Mark Dickinson added the comment:

Updated patch, with a test.

--
Added file: http://bugs.python.org/file28337/pyc_mtime2.patch

___
Python tracker 

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



[issue16618] Different glob() results for strings and bytes

2012-12-16 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


Removed file: http://bugs.python.org/file28334/glob_tests-2.7_2.patch

___
Python tracker 

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



[issue16618] Different glob() results for strings and bytes

2012-12-16 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


Removed file: http://bugs.python.org/file28333/glob_dotfiles_2.patch

___
Python tracker 

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



[issue16618] Different glob() results for strings and bytes

2012-12-16 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Patches updated. Unrelated changes removed.

--
Added file: http://bugs.python.org/file28335/glob_dotfiles_2.patch
Added file: http://bugs.python.org/file28336/glob_tests-2.7_2.patch

___
Python tracker 

___diff -r 2d2d4807a3ed Lib/glob.py
--- a/Lib/glob.py   Sun Dec 16 16:40:22 2012 +0100
+++ b/Lib/glob.py   Sun Dec 16 21:10:24 2012 +0200
@@ -57,8 +57,8 @@
 names = os.listdir(dirname)
 except os.error:
 return []
-if pattern[0] != '.':
-names = [x for x in names if x[0] != '.']
+if not _ishidden(pattern):
+names = [x for x in names if not _ishidden(x)]
 return fnmatch.filter(names, pattern)
 
 def glob0(dirname, basename):
@@ -82,3 +82,6 @@
 else:
 match = magic_check.search(s)
 return match is not None
+
+def _ishidden(path):
+return path[0] in ('.', b'.'[0])
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16688] Backreferences make case-insensitive regex fail on non-ASCII strings.

2012-12-16 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

LGTM.

Matthew, can you please submit a contributor form?

http://python.org/psf/contrib/contrib-form/
http://python.org/psf/contrib/

--
stage: patch review -> commit review

___
Python tracker 

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



[issue16618] Different glob() results for strings and bytes

2012-12-16 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Patches updated to resolve conflicts with recent commits. Some minor test 
errors fixed.

--
Added file: http://bugs.python.org/file28333/glob_dotfiles_2.patch
Added file: http://bugs.python.org/file28334/glob_tests-2.7_2.patch

___
Python tracker 

___diff -r 2d2d4807a3ed Lib/_pyio.py
--- a/Lib/_pyio.py  Sun Dec 16 16:40:22 2012 +0100
+++ b/Lib/_pyio.py  Sun Dec 16 20:53:44 2012 +0200
@@ -346,8 +346,10 @@
 This method has no effect if the file is already closed.
 """
 if not self.__closed:
-self.flush()
-self.__closed = True
+try:
+self.flush()
+finally:
+self.__closed = True
 
 def __del__(self):
 """Destructor.  Calls close()."""
@@ -1584,8 +1586,10 @@
 
 def close(self):
 if self.buffer is not None and not self.closed:
-self.flush()
-self.buffer.close()
+try:
+self.flush()
+finally:
+self.buffer.close()
 
 @property
 def closed(self):
@@ -2074,3 +2078,56 @@
 def detach(self):
 # This doesn't make sense on StringIO.
 self._unsupported("detach")
+
+
+class BytesPipeIO(BufferedIOBase):
+
+def __init__(self, maxsize=0):
+self.maxsize = maxsize
+self._queue = BytesIO()
+self._size = 0
+self._offset = 0
+self.mutex = threading.Lock()
+self.not_empty = threading.Condition(self.mutex)
+self.not_full = threading.Condition(self.mutex)
+self.all_tasks_done = threading.Condition(self.mutex)
+self.unfinished_tasks = 0
+
+def readable(self):
+return True
+
+def writable(self):
+return True
+
+def read1(self, n=-1):
+with self.not_empty:
+while not self._queue:
+self.not_empty.wait()
+self._queue.seek(self._offset)
+b = self._queue.read(n)
+self._offset += len(b)
+self.not_full.notify()
+return b
+
+#def readall(self):
+#pass
+
+#def readinto(self, b):
+#pass
+
+def write(self, b):
+with self.not_full:
+if self.maxsize > 0:
+while self._size - self._offset >= self.maxsize:
+self.not_full.wait()
+if self._offset * 2 > self._size + 0x1000:
+self._pack()
+self._queue.seek(self._size)
+self._size += self._queue.write(b)
+self.unfinished_tasks += 1
+self.not_empty.notify()
+
+def _pack(self):
+self._queue = BytesIO(self._queue.read())
+self._size -= self._offset
+self._offset = 0
diff -r 2d2d4807a3ed Lib/codecs.py
--- a/Lib/codecs.py Sun Dec 16 16:40:22 2012 +0100
+++ b/Lib/codecs.py Sun Dec 16 20:53:44 2012 +0200
@@ -462,15 +462,8 @@
 # read until we get the required number of characters (if available)
 while True:
 # can the request be satisfied from the character buffer?
-if chars < 0:
-if size < 0:
-if self.charbuffer:
-break
-elif len(self.charbuffer) >= size:
-break
-else:
-if len(self.charbuffer) >= chars:
-break
+if chars >= 0 and len(self.charbuffer) >= chars:
+break
 # we need more data
 if size < 0:
 newdata = self.stream.read()
diff -r 2d2d4807a3ed Lib/ftplib.py
--- a/Lib/ftplib.py Sun Dec 16 16:40:22 2012 +0100
+++ b/Lib/ftplib.py Sun Dec 16 20:53:44 2012 +0200
@@ -288,21 +288,25 @@
 
 def makeport(self):
 '''Create a new socket and send a PORT command for it.'''
-msg = "getaddrinfo returns an empty list"
 sock = None
+saved_err = None
 for res in socket.getaddrinfo(None, 0, self.af, socket.SOCK_STREAM, 0, 
socket.AI_PASSIVE):
 af, socktype, proto, canonname, sa = res
 try:
 sock = socket.socket(af, socktype, proto)
 sock.bind(sa)
-except socket.error as msg:
+except OSError as err:
+saved_err = err
 if sock:
 sock.close()
 sock = None
 continue
 break
 if not sock:
-raise socket.error(msg)
+if saved_err is not None:
+raise saved_err from None
+else:
+raise OSError("getaddrinfo returns an empty list")
 sock.listen(1)
 port = sock.getsockname()[1] # Get proper port
 host = self.sock.getsockname()[0] # Get proper host
diff -r 2d2d4807a3ed Lib/glob.py
--- a/Lib/glob

[issue16688] Backreferences make case-insensitive regex fail on non-ASCII strings.

2012-12-16 Thread Matthew Barnett

Changes by Matthew Barnett :


Removed file: http://bugs.python.org/file28330/issue16688#3.patch

___
Python tracker 

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



[issue16688] Backreferences make case-insensitive regex fail on non-ASCII strings.

2012-12-16 Thread Matthew Barnett

Matthew Barnett added the comment:

Oops! :-( Now corrected.

--
Added file: http://bugs.python.org/file28332/issue16688#3.patch

___
Python tracker 

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



[issue16618] Different glob() results for strings and bytes

2012-12-16 Thread Antoine Pitrou

Antoine Pitrou added the comment:

The patch doesn't apply cleanly.

--

___
Python tracker 

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



[issue16688] Backreferences make case-insensitive regex fail on non-ASCII strings.

2012-12-16 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

The second test pass on unpatched Python.

--

___
Python tracker 

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



[issue13863] import.c sometimes generates incorrect timestamps on Windows + NTFS

2012-12-16 Thread Mark Dickinson

Changes by Mark Dickinson :


--
keywords: +patch
Added file: http://bugs.python.org/file28331/pyc_mtime.patch

___
Python tracker 

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



[issue13863] import.c sometimes generates incorrect timestamps on Windows + NTFS

2012-12-16 Thread Mark Dickinson

Mark Dickinson added the comment:

Here's a possible fix for Python 2.7.  Reviews from Windows experts would be 
very much appreciated;  I don't really know what I'm doing here.

I'm still trying to work out how to test this effectively.

--

___
Python tracker 

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



[issue16688] Backreferences make case-insensitive regex fail on non-ASCII strings.

2012-12-16 Thread Matthew Barnett

Matthew Barnett added the comment:

Here are some tests for the issue.

--
Added file: http://bugs.python.org/file28330/issue16688#3.patch

___
Python tracker 

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



[issue16700] Document that bytes OS API can returns unusable results on Windows

2012-12-16 Thread Antoine Pitrou

Changes by Antoine Pitrou :


--
nosy: +haypo

___
Python tracker 

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



[issue16700] Document that bytes OS API can returns unusable results on Windows

2012-12-16 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

Some OS functions which returns bytes (os.environb, os.getenvb(), os.getcwdb(), 
os.listdir(), os.readlink(), os.walk(), os.path.abspath(), 
os.path.expanduser(), os.path.expandvars(), os.path.realpath() and may be 
other) can return unusable result on Windows (see for example issue13247 and 
issue16656). The documentation should contains strong warnings about this.

--
assignee: docs@python
components: Documentation, Windows
messages: 177613
nosy: docs@python, serhiy.storchaka
priority: normal
severity: normal
stage: needs patch
status: open
title: Document that bytes OS API can returns unusable results on Windows
type: enhancement
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4

___
Python tracker 

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



[issue13247] under Windows, os.path.abspath returns non-ASCII bytes paths as question marks

2012-12-16 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

See also issue16656 where another approach was proposed (unicode names returned 
from Bytes API if result is not encodable). Actually I think now that there is 
no right solution of this issue.

--
nosy: +serhiy.storchaka

___
Python tracker 

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



[issue13247] under Windows, os.path.abspath returns non-ASCII bytes paths as question marks

2012-12-16 Thread Antoine Pitrou

Changes by Antoine Pitrou :


--
components: +Windows
stage: committed/rejected -> 
title: os.path.abspath returns unicode paths as question marks -> under 
Windows, os.path.abspath returns non-ASCII bytes paths as question marks
type: enhancement -> behavior
versions: +Python 2.7, Python 3.1, Python 3.2, Python 3.4

___
Python tracker 

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



[issue16699] Mountain Lion buildbot lacks disk space

2012-12-16 Thread Antoine Pitrou

New submission from Antoine Pitrou:

==
ERROR: test_large_file_ops (test.test_io.CIOTest)
--
Traceback (most recent call last):
  File 
"/Volumes/bay2/buildslave/cpython/3.3.snakebite-mountainlion-amd64/build/Lib/test/test_io.py",
 line 432, in test_large_file_ops
self.large_file_ops(f)
  File 
"/Volumes/bay2/buildslave/cpython/3.3.snakebite-mountainlion-amd64/build/Lib/test/test_io.py",
 line 332, in large_file_ops
self.assertEqual(f.write(b"xxx"), 3)
OSError: [Errno 28] No space left on device

--
assignee:  -> trent
keywords: +buildbot
nosy: +trent

___
Python tracker 

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



[issue16699] Mountain Lion buildbot lacks disk space

2012-12-16 Thread Antoine Pitrou

Changes by Antoine Pitrou :


--
nosy: pitrou
priority: normal
severity: normal
status: open
title: Mountain Lion buildbot lacks disk space

___
Python tracker 

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



[issue16656] os.listdir() returns unusable bytes result on Windows

2012-12-16 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Indeed, os.listdir() should always be called with a unicode argument under 
Windows (which is the natural thing to do in 3.x, anyway). The other issue 
(with print() unable to display some symbols depending on the codepage) is 
unrelated.

--
nosy: +pitrou
resolution:  -> wont fix
status: open -> closed

___
Python tracker 

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



[issue16656] os.listdir() returns unusable bytes result on Windows

2012-12-16 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Looks as this is a duplicate of issue13247. And Victor submitted a patch with 
approach similar to me (except that my patch does not raises an exception, but 
returns an unicode for unencodable names).

It looks as longliving design bug and perhaps really be closed as "won't fix".

--

___
Python tracker 

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



[issue15845] Fixing some byte-to-string conversion warnings

2012-12-16 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

The first bug fixed in issue16696.

--
nosy: +pitrou, serhiy.storchaka
type: enhancement -> behavior
versions: +Python 3.2, Python 3.4

___
Python tracker 

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



[issue13876] Sporadic failure in test_socket: testRecvmsgEOF

2012-12-16 Thread Antoine Pitrou

Antoine Pitrou added the comment:

I've now silenced the exception. Leaving this issue open in case someone wants 
to investigate more.

--
resolution:  -> fixed
stage: needs patch -> committed/rejected
versions: +Python 3.4

___
Python tracker 

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



[issue13876] Sporadic failure in test_socket: testRecvmsgEOF

2012-12-16 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 391bda06fa65 by Antoine Pitrou in branch '3.3':
Silence sporadic failure in RecvmsgSCTPStreamTest.testRecvmsgEOF (issue #13876) 
- probably not Python-related.
http://hg.python.org/cpython/rev/391bda06fa65

New changeset 2d2d4807a3ed by Antoine Pitrou in branch 'default':
Silence sporadic failure in RecvmsgSCTPStreamTest.testRecvmsgEOF (issue #13876) 
- probably not Python-related.
http://hg.python.org/cpython/rev/2d2d4807a3ed

--
nosy: +python-dev

___
Python tracker 

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



[issue16696] BytesWarning in glob.glob

2012-12-16 Thread Antoine Pitrou

Antoine Pitrou added the comment:

I've added some tests for patterns with a trailing slash.

--
resolution:  -> fixed
stage: needs patch -> 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



[issue16696] BytesWarning in glob.glob

2012-12-16 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 96f19274de18 by Antoine Pitrou in branch '3.2':
Issue #16696: fix comparison between bytes and string. Also, improve glob tests.
http://hg.python.org/cpython/rev/96f19274de18

New changeset ed8134df30e4 by Antoine Pitrou in branch '3.3':
Issue #16696: fix comparison between bytes and string. Also, improve glob tests.
http://hg.python.org/cpython/rev/ed8134df30e4

New changeset 9e898ee68388 by Antoine Pitrou in branch 'default':
Issue #16696: fix comparison between bytes and string. Also, improve glob tests.
http://hg.python.org/cpython/rev/9e898ee68388

--
nosy: +python-dev

___
Python tracker 

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



[issue16696] BytesWarning in glob.glob

2012-12-16 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

It should be "if not basename:". No additional tests are possible except those 
which added for issue16626.

--

___
Python tracker 

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



[issue16468] argparse only supports iterable choices

2012-12-16 Thread R. David Murray

Changes by R. David Murray :


--
nosy: +wim.glenn

___
Python tracker 

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



[issue16697] argparse kwarg 'choices' documentation

2012-12-16 Thread R. David Murray

R. David Murray added the comment:

This is a duplicate of issue issue 16468, which may get closed with either a 
bug fix or a doc fix, depending on the outcome of the overall discussion.

--
nosy: +r.david.murray
resolution:  -> duplicate
stage:  -> committed/rejected
status: open -> closed
superseder:  -> argparse only supports iterable choices
type: enhancement -> behavior

___
Python tracker 

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



[issue16698] test_posix.test_getgroups fails on some systems

2012-12-16 Thread Ross Lagerwall

New submission from Ross Lagerwall:

test_posix.test_getgroups() fails on some systems:

http://buildbot.python.org/all/builders/AMD64%20Mountain%20Lion%20%5BSB%5D%203.2

This could be related to #16661.

--
components: Tests
messages: 177601
nosy: rosslagerwall
priority: normal
severity: normal
stage: needs patch
status: open
title: test_posix.test_getgroups fails on some systems
type: behavior
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4

___
Python tracker 

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



[issue16661] test_posix.test_getgrouplist fails on some systems - incorrectly comparing getgroups and getgrouplist results

2012-12-16 Thread Ross Lagerwall

Ross Lagerwall added the comment:

getgrouplist() is new in 3.3. Those failures are from getgroups() failing. I'll 
open a separate issue for that.

--
status: open -> closed

___
Python tracker 

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



[issue16697] argparse kwarg 'choices' documentation

2012-12-16 Thread wim glenn

New submission from wim glenn:

Any object that supports the in operator can be passed as the choices value, so 
dict objects, set objects, custom containers, etc. are all supported.  (from  
http://docs.python.org/dev/library/argparse.html#choices )

Actual behaviour is contradicted by the docs - it seems the container must 
additionally be iterable.  When using a custom container, argparse b0rks on 
trying to iterate through choices.  Using a metavar prevents this, but it still 
breaks on cases where the element is not in the container.  

More details here:  
http://stackoverflow.com/questions/13833566/python-argparse-choices-from-an-infinite-set

--
assignee: docs@python
components: Documentation
messages: 177599
nosy: docs@python, wim.glenn
priority: normal
severity: normal
status: open
title: argparse kwarg 'choices' documentation
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



[issue16597] file descriptor not being closed with context manager on IOError when device is full

2012-12-16 Thread Antoine Pitrou

Changes by Antoine Pitrou :


--
nosy: +hynek

___
Python tracker 

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



[issue16661] test_posix.test_getgrouplist fails on some systems - incorrectly comparing getgroups and getgrouplist results

2012-12-16 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Apparently this also needs fixing on 2.7 and 3.2, see e.g. 
http://buildbot.python.org/all/builders/AMD64%20Mountain%20Lion%20%5BSB%5D%203.2

--
nosy: +pitrou
status: closed -> open
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



[issue16618] Different glob() results for strings and bytes

2012-12-16 Thread Antoine Pitrou

Antoine Pitrou added the comment:

See also issue16696.

--

___
Python tracker 

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



[issue16696] BytesWarning in glob.glob

2012-12-16 Thread Antoine Pitrou

New submission from Antoine Pitrou:

This failure appeared on one of the Windows buildbots:

==
ERROR: test_glob_magic_in_drive (test.test_glob.GlobTests)
--
Traceback (most recent call last):
  File "C:\buildbot.python.org\3.2.kloth-win64\build\lib\test\test_glob.py", 
line 118, in test_glob_magic_in_drive
eq(glob.glob(b'*:'), [])
  File "C:\buildbot.python.org\3.2.kloth-win64\build\lib\glob.py", line 15, in 
glob
return list(iglob(pathname))
  File "C:\buildbot.python.org\3.2.kloth-win64\build\lib\glob.py", line 44, in 
iglob
for name in glob_in_dir(dirname, basename):
  File "C:\buildbot.python.org\3.2.kloth-win64\build\lib\glob.py", line 66, in 
glob0
if basename == '':
BytesWarning: Comparison between bytes and string

--
components: Library (Lib), Windows
messages: 177596
nosy: pitrou, serhiy.storchaka
priority: normal
severity: normal
stage: needs patch
status: open
title: BytesWarning in glob.glob
type: behavior
versions: Python 3.2, Python 3.3, Python 3.4

___
Python tracker 

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



[issue16626] Infinite recursion in glob.glob('*:') on Windows

2012-12-16 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Patches now committed, thank you !

--
resolution:  -> fixed
stage: patch review -> 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



[issue16626] Infinite recursion in glob.glob('*:') on Windows

2012-12-16 Thread Roundup Robot

Roundup Robot added the comment:

New changeset b0935ef48186 by Antoine Pitrou in branch '2.7':
Issue #16626: Fix infinite recursion in glob.glob() on Windows when the pattern 
contains a wildcard in the drive or UNC path.
http://hg.python.org/cpython/rev/b0935ef48186

--

___
Python tracker 

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



[issue16626] Infinite recursion in glob.glob('*:') on Windows

2012-12-16 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 4af260a54e05 by Antoine Pitrou in branch '3.2':
Issue #16626: Fix infinite recursion in glob.glob() on Windows when the pattern 
contains a wildcard in the drive or UNC path.
http://hg.python.org/cpython/rev/4af260a54e05

New changeset b90aa7f66e4a by Antoine Pitrou in branch '3.3':
Issue #16626: Fix infinite recursion in glob.glob() on Windows when the pattern 
contains a wildcard in the drive or UNC path.
http://hg.python.org/cpython/rev/b90aa7f66e4a

New changeset bfb39fb93af7 by Antoine Pitrou in branch 'default':
Issue #16626: Fix infinite recursion in glob.glob() on Windows when the pattern 
contains a wildcard in the drive or UNC path.
http://hg.python.org/cpython/rev/bfb39fb93af7

--
nosy: +python-dev

___
Python tracker 

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



[issue16669] Docstrings for namedtuple

2012-12-16 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

> 1. Most data attributes cannot have individual docstrings, so I expect the 
> class docstring to list and possibly explain the data attributes. 

But almost all PyStructSequence field have individual docstrings.

> This does not create a second new class and is not a 'trick'.

Thanks for the tip.

> I presume that is why property docstrings are not used much.

Indeed, only 84 of 336 Python implemented properties have docstrings .
However this is even larger percent than for methods (about 8K of 43K).
And 100 of 115 PyStructSequence field have docstrings.

I think Python should have more docstrings, not less.

--

___
Python tracker 

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



[issue16679] Wrong URL path decoding

2012-12-16 Thread And Clover

And Clover added the comment:

WSGI's usage of ISO-8859-1 for all HTTP-byte-originated strings is very much 
deliberate; we needed a way to preserve the original input bytes whilst still 
using unicode strings, and at the time surrogateescape was not available. The 
result is counter-intuitive but at least it is finally consistent; the 
expectation is that most web authors will be using some kind of web framework 
or input-reading library that will hide away the unpleasant details.

See http://mail.python.org/pipermail/web-sig/2007-December/thread.html#3002 and 
http://mail.python.org/pipermail/web-sig/2010-July/thread.html#4473 for the 
background discussion.

In any case we cannot assume a path is UTF-8 - not every URI is known to have 
come from an IRI so RFC 3987 does not necessarily apply. 
UTF-8-with-Latin1-fallback is also undesirable in itself as it adds ambiguity - 
an ISO-8859-1 byte sequence that by coincidence happens to be a valid UTF-8 
byte sequence will get mangled.

--

___
Python tracker 

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



[issue16076] xml.etree.ElementTree.Element and xml.etree.ElementTree.TreeBuilder are no longer pickleable

2012-12-16 Thread Daniel Shahaf

Daniel Shahaf added the comment:

Haven't had a chance to look at the test___all__ -related failures yet.  Still 
planning to do so once I have some time.

--

___
Python tracker 

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



[issue16664] Test Glob: files starting with .

2012-12-16 Thread Hynek Schlawack

Hynek Schlawack added the comment:

Thank you for your patch and welcome to CPython core development!

Presuming you want to submit more patches in future, please take the time to 
sign a Python contributor agreement: http://www.python.org/psf/contrib/ . 
You'll get a pretty star next to your name in the bug tracker in return. ;)

--
resolution:  -> fixed
stage: commit review -> 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



[issue16664] Test Glob: files starting with .

2012-12-16 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 028ecc3900f5 by Hynek Schlawack in branch '2.7':
#16664: Add regression tests for glob's behaviour concerning "."-entries
http://hg.python.org/cpython/rev/028ecc3900f5

New changeset 29f0c45ce576 by Hynek Schlawack in branch '3.2':
#16664: Add regression tests for glob's behaviour concerning "."-entries
http://hg.python.org/cpython/rev/29f0c45ce576

New changeset f646842023b3 by Hynek Schlawack in branch '3.3':
#16664: Add regression tests for glob's behaviour concerning "."-entries
http://hg.python.org/cpython/rev/f646842023b3

New changeset 1fb39efcc3dd by Hynek Schlawack in branch 'default':
#16664: Add regression tests for glob's behaviour concerning "."-entries
http://hg.python.org/cpython/rev/1fb39efcc3dd

--
nosy: +python-dev

___
Python tracker 

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



[issue16618] Different glob() results for strings and bytes

2012-12-16 Thread Hynek Schlawack

Changes by Hynek Schlawack :


--
nosy: +hynek

___
Python tracker 

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



[issue16694] Add pure Python operator module

2012-12-16 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Perhaps Modules/operator.c should be renamed to Modules/_operator.c.

Also note, that error messages in Python an C implementations sometimes differ.

--

___
Python tracker 

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



[issue16664] Test Glob: files starting with .

2012-12-16 Thread Hynek Schlawack

Hynek Schlawack added the comment:

Patch LGTM and will be applied, I have opened issue16695 for the related update 
of the docs.

BTW how did you create the patch? The bugtracker/Rietveld didn't recognize it 
for review and applying it took some effort too.

--
title: [PATCH] Test Glob: files starting with . -> Test Glob: files starting 
with .
type:  -> enhancement

___
Python tracker 

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



[issue16694] Add pure Python operator module

2012-12-16 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Here is a functional (and more effective) equivalent of attrgetter:

def attrgetter(attr, *attrs):
"""
Return a callable object that fetches the given attribute(s) from its 
operand.
After f=attrgetter('name'), the call f(r) returns r.name.
After g=attrgetter('name', 'date'), the call g(r) returns (r.name, r.date).
After h=attrgetter('name.first', 'name.last'), the call h(r) returns
(r.name.first, r.name.last).
"""
if not attrs:
if not isinstance(attr, str):
raise TypeError('attribute name must be a string')
names = attr.split('.')
def func(obj):
for name in names:
obj = getattr(obj, name)
return obj
return func
else:
getters = tuple(map(attrgetter, (attr,) + attrs))
def func(obj):
return tuple(getter(obj) for getter in getters)
return func

--
nosy: +serhiy.storchaka

___
Python tracker 

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



[issue14901] Python Windows FAQ is Very Outdated

2012-12-16 Thread Antoine Pitrou

Changes by Antoine Pitrou :


--
stage: needs patch -> patch review

___
Python tracker 

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



[issue16695] Clarify fnmatch & glob docs about the handling of leading "."s

2012-12-16 Thread Hynek Schlawack

New submission from Hynek Schlawack:

See issue16664.

--
assignee: docs@python
components: Documentation
keywords: easy
messages: 177584
nosy: Sebastian.Kreft, docs@python, hynek, pitrou
priority: normal
severity: normal
stage: needs patch
status: open
title: Clarify fnmatch & glob docs about the handling of leading "."s
type: enhancement
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4

___
Python tracker 

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



[issue16626] Infinite recursion in glob.glob('*:') on Windows

2012-12-16 Thread Antoine Pitrou

Antoine Pitrou added the comment:

> Patch updated with clarified comments.
> 
> Are the tests fail on non-fixed Python?

Yes, they do.

--

___
Python tracker 

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



[issue16694] Add pure Python operator module

2012-12-16 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
stage:  -> patch review

___
Python tracker 

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



[issue16651] Find out what stdlib modules lack a pure Python implementation

2012-12-16 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
dependencies: +Add pure Python operator module

___
Python tracker 

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



[issue16626] Infinite recursion in glob.glob('*:') on Windows

2012-12-16 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Patch updated with clarified comments.

Are the tests fail on non-fixed Python?

--
Added file: http://bugs.python.org/file28329/glob_magic_in_drive_2.patch

___
Python tracker 

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



[issue8109] Server-side support for TLS Server Name Indication extension

2012-12-16 Thread danblack

danblack added the comment:

> If it isn't very clear to you, I can still handle it myself, though. Those 
> docs aren't the best.

Not clear enough. Yes I'd appreciate you handling it. Thanks.

--

___
Python tracker 

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



[issue16688] Backreferences make case-insensitive regex fail on non-ASCII strings.

2012-12-16 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

The patches LGTM. How about adding a test?

--

___
Python tracker 

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