[issue5904] strftime docs do not explain locale effect on result string

2014-04-17 Thread Éric Araujo
Éric Araujo added the comment: This may help: http://blog.codekills.net/2013/04/13/strftime--table-of-locale-aware-formatters-in-different-locales/ -- nosy: +wolever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5904

[issue21240] Add an abstactmethod directive to the Python ReST domain

2014-04-17 Thread Georg Brandl
Georg Brandl added the comment: LGTM without having tested it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21240 ___ ___ Python-bugs-list

[issue5904] strftime docs do not explain locale effect on result string

2014-04-17 Thread David Wolever
David Wolever added the comment: It may also be worth noting that the strftime formatters table now includes examples from different locales: https://docs.python.org/2/library/datetime.html#strftime-strptime-behavior This change was introduced about a year ago. --

[issue21106] Updated Mac folder icon

2014-04-17 Thread Vivek Jain
Vivek Jain added the comment: No reply from Apple yet, so I'm guessing at this stage they won't be responding. Does anyone have any contacts at Apple they could nudge to have a look at this? :) The other option is to recreate something that looks like Apple's folder icon but isn't. There is a

[issue16484] pydoc generates invalid docs.python.org link for xml.etree.ElementTree and other modules

2014-04-17 Thread Martin Panter
Martin Panter added the comment: I don’t think these ones could be so easily fixed, but on my computer “pydoc” references: * library/importlib.machinery.html (ideally should be library/importlib.html#module-importlib.machinery) * library/tkinter.font.html (not in Python documentation at all

[issue1191964] asynchronous Subprocess

2014-04-17 Thread Martin Panter
Changes by Martin Panter vadmium...@gmail.com: -- nosy: +vadmium ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1191964 ___ ___ Python-bugs-list

[issue21108] Add examples for importlib in doc

2014-04-17 Thread Martin Panter
Changes by Martin Panter vadmium...@gmail.com: -- nosy: +vadmium ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21108 ___ ___ Python-bugs-list

[issue21207] urandom persistent fd - not re-openned after fd close

2014-04-17 Thread Charles-François Natali
Charles-François Natali added the comment: I was expecting to see such a report :-) I'm al for the st_ino+st_dev check, it can't hurt. But everybody must keep in mind that if another thread messes with the FD between the check and the read, there's nothing we can do... --

[issue1191964] asynchronous Subprocess

2014-04-17 Thread Josiah Carlson
Josiah Carlson added the comment: Victor, I addressed the majority of your comments except for a couple stylistic pieces. Your annoyance with the short poll time for Windows made me re-read the docs from MS, which made me realize that my interpretation was wrong. It also made me confirm

[issue16864] sqlite3.Cursor.lastrowid isn't populated when executing a SQL REPLACE statement

2014-04-17 Thread Alex Lord
Alex Lord added the comment: Have a unit test that replicates this bug. Working on the C code to fix it right now. -- nosy: +Alex.Lord ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16864

[issue4744] asynchat documentation needs to be more precise

2014-04-17 Thread Nitika Agarwal
Nitika Agarwal added the comment: But then I have submitted another patch issue4744_3 with the corrections.Please review my patch issue4744_3.patch -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4744

[issue21233] Add *Calloc functions to CPython memory allocation API

2014-04-17 Thread Charles-François Natali
Charles-François Natali added the comment: Do you have benchmarks? (I'm not looking for an improvement, just no regression.) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21233 ___

[issue1191964] asynchronous Subprocess

2014-04-17 Thread Richard Oudkerk
Richard Oudkerk added the comment: If you use the short timeouts to make the wait interruptible then you can use waitformultipleobjects (which automatically waits on an extra event object) instead of waitforsingleobject. -- ___ Python tracker

[issue21106] Updated Mac folder icon

2014-04-17 Thread Martin v . Löwis
Martin v. Löwis added the comment: I see. I read the tutorial as actually giving permission to use these very shapes and forms for an icon. So if the resulting icon is (or could be) the result of following these steps, my layman's interpretation is that we have permission to use it. However,

[issue17213] ctypes loads wrong version of C runtime, leading to error message box from system

2014-04-17 Thread Christoph Gohlke
Changes by Christoph Gohlke cgoh...@uci.edu: -- nosy: +cgohlke ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17213 ___ ___ Python-bugs-list

[issue21233] Add *Calloc functions to CPython memory allocation API

2014-04-17 Thread Julian Taylor
Julian Taylor added the comment: won't replacing _PyObject_GC_Malloc with a calloc cause Var objects (PyObject_NewVar) to be completely zeroed which I think they didn't before? Some numeric programs stuff a lot of data into var objects and could care about python suddenly setting them to zero

[issue21280] shutil.make_archive() with default root_dir parameter raises FileNotFoundError: [Errno 2] No such file or directory: ''

2014-04-17 Thread Martin Panter
New submission from Martin Panter: from shutil import make_archive; make_archive(a, tar) Traceback (most recent call last): File stdin, line 1, in module File /usr/lib/python3.4/shutil.py, line 783, in make_archive filename = func(base_name, base_dir, **kwargs) File

[issue5150] IDLE to support reindent.py

2014-04-17 Thread Ned Deily
Ned Deily added the comment: The code needs to be updated for Python 3 and it needs a test. I'm deassigning it in the hopes that someone will feel free to pick it up. -- assignee: ned.deily - stage: commit review - patch review versions: +Python 3.5 -Python 3.2

[issue19500] Error when connecting to FTPS servers not supporting SSL session resuming

2014-04-17 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Interesting, I wasn't aware of this FTP(S) feature. Unfortunately RFC-4217 really doesn't say much about how this should be done but it definitively looks like something worth having. AFAIU this looks like something which should be implemented by servers

[issue21109] tarfile: Traversal attack vulnerability

2014-04-17 Thread Martin Panter
Martin Panter added the comment: Seems like shutil._unpack_tarfile() is affected. I guess it could at least do with one of those warnings in the documentation for make_archive(). The patch for this bug looks a bit over enthusiastic, for example skip_prefixes(blaua../stuff) would incorrectly

[issue20309] Not all method descriptors are callable

2014-04-17 Thread eryksun
eryksun added the comment: classmethod_descriptor instances such as vars(dict)['fromkeys'] are callable. The first argument has to be a subclass of __objclass__: vars(dict)['fromkeys'].__objclass__ class 'dict' Calling the descriptor creates a bound built-in method; slices the args

[issue21281] DEBUGGING: Simultaneous stopping of all threads on breakpoint and switching between threads

2014-04-17 Thread Sebastian Jylanki
New submission from Sebastian Jylanki: When debugging with some of the other very popular tools like GDB all the threads are halted when a breakpoint is hit on any of the threads. Then threads can be switched and analyzed separately at the current state of execution. When debugging with PDB

[issue20198] xml.etree.ElementTree.ElementTree.write attribute sorting

2014-04-17 Thread Martin Panter
Changes by Martin Panter vadmium...@gmail.com: -- nosy: +vadmium ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20198 ___ ___ Python-bugs-list

[issue5150] IDLE to support reindent.py

2014-04-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: I use rstrip routinely when editing idlelib files, before committing, so it has been useful for that purpose. I do not happen to know what reindent.py does that the current format options do not. #18704 was about integrating the pep8 style checker. That was

[issue19500] Error when connecting to FTPS servers not supporting SSL session resuming

2014-04-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Yuck. Is there a public FTP server available somewhere with this feature? -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19500 ___

[issue19500] Error when connecting to FTPS servers not supporting SSL session resuming

2014-04-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: The RFC is unhelpfully lousy. It's not enough to process a 522 error, since that can be triggered for different reasons. You also somehow have to interpret the error text to detect that session reuse is indeed mandated by the server. Regardless, to progress

[issue21233] Add *Calloc functions to CPython memory allocation API

2014-04-17 Thread Josh Rosenberg
Josh Rosenberg added the comment: Julian: No. See the diff: http://bugs.python.org/review/21233/diff/11644/Objects/typeobject.c The original GC_Malloc was explicitly memset-ing after confirming that it received a non-NULL pointer from the underlying malloc call; that memset is removed in

[issue21233] Add *Calloc functions to CPython memory allocation API

2014-04-17 Thread Josh Rosenberg
Josh Rosenberg added the comment: Well, to be more specific, PyType_GenericAlloc was originally calling one of two methods that didn't zero the memory (one of which was GC_Malloc), then memset-ing. Just realized you're talking about something else; not sure if you're correct about this now,

[issue21279] str.translate documentation incomplete

2014-04-17 Thread Josh Rosenberg
Josh Rosenberg added the comment: For the record, I have intentionally used bytes.maketrans to make translation table for str.translate for precisely this reason; it's much faster to look up a ordinal in a bytes object than in a dictionary. Before the recent (partial) patch for str.translate

[issue8106] SSL session management

2014-04-17 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8106 ___ ___

[issue8106] SSL session management

2014-04-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, I propose the following plan: - add a new opaque type allowing to wrap a SSL_SESSION - add a get_session() method to SSLSocket, returning the current session - add an optional session=... parameter to SSLContext.wrap_socket, allowing to specify a session

[issue21282] setup.py: More informative error msg for modules which built but failed import check

2014-04-17 Thread Lukas Vacek
New submission from Lukas Vacek: Hey, Currently when a module builds successfully during cpython build but it can't be imported (import check around line 330 in setup.py) the module shows in Failed to build these modules: which can be misleading. Especially when linking against libraries in

[issue21281] DEBUGGING: Simultaneous stopping of all threads on breakpoint and switching between threads

2014-04-17 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21281 ___ ___ Python-bugs-list

[issue21233] Add *Calloc functions to CPython memory allocation API

2014-04-17 Thread Julian Taylor
Julian Taylor added the comment: I just tested it, PyObject_NewVar seems to use RawMalloc not the GC malloc so its probably fine. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21233 ___

[issue21283] A escape character is used when a REGEXP is an argument of strip string function

2014-04-17 Thread Tito Bouzout
New submission from Tito Bouzout: Hello! I got a report that the character \ was removed from a string using the following code \\server\path\to.strip(r'\'') At first insight, looks like a bug, because I don't expect the use of the escape character at all. Then I noticed, that our mistake

[issue21283] A escape character is used when a REGEXP is an argument of strip string function

2014-04-17 Thread Matthew Barnett
Matthew Barnett added the comment: The argument isn't a regex, it's a raw string literal consisting of the characters (quote), \ (backslash), ' (apostrophe), (less than) and (greater than). -- ___ Python tracker rep...@bugs.python.org

[issue15276] unicode format does not really work in Python 2.x

2014-04-17 Thread Petr Dlouhý
Petr Dlouhý added the comment: For anyone stuck on Python 2.x, here is an workaround (maybe it could find it's way to documentation also): def fix_grouping(bytestring): try: return unicode(bytestring) except UnicodeDecodeError: return bytestring.decode(utf-8)

[issue12489] email.errors.HeaderParseError if base64url is used

2014-04-17 Thread Christian Theune
Christian Theune added the comment: So, in addition to +/ and -_ there are quite a few base64 variants. Worst thing: there are the two ambigious variants -_ and _-, even though _- supposedly is non-standard for its use. See http://en.wikipedia.org/wiki/Base64 The shortest fix I can see would

[issue21273] don't defined socket constants which are not implemented for GNU/Hurd

2014-04-17 Thread Benjamin Peterson
Benjamin Peterson added the comment: I'm not sure this is a good idea. In general, we expose whatever libc defines, and let it give ENOSYS (or similar) errors if the underlying system doesn't actually support the behavior. Presumably, the Hurd might implement SO_REUSEPORT at some point.

[issue1191964] asynchronous Subprocess

2014-04-17 Thread Josiah Carlson
Josiah Carlson added the comment: Richard: short timeouts are no longer an issue. Nothing to worry about :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1191964 ___

[issue12489] email.errors.HeaderParseError if base64url is used

2014-04-17 Thread Christian Theune
Changes by Christian Theune c...@gocept.com: -- hgrepos: +239 versions: +Python 3.4, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12489 ___

[issue12489] email.errors.HeaderParseError if base64url is used

2014-04-17 Thread Christian Theune
Changes by Christian Theune c...@gocept.com: -- hgrepos: +240 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12489 ___ ___ Python-bugs-list mailing

[issue21273] don't defined socket constants which are not implemented for GNU/Hurd

2014-04-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Indeed, this complicates the conditional defines for no obvious benefit. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21273 ___

[issue21283] A escape character is used when a REGEXP is an argument of strip string function

2014-04-17 Thread Eric V. Smith
Eric V. Smith added the comment: In addition, you probably want \\server\path\to to be a raw string, too. That way, the backslashes are not given special meaning. Notice the difference in output between these two: \\server\path\to.strip(r'\'') 'server\\path\to'

[issue12489] email.errors.HeaderParseError if base64url is used

2014-04-17 Thread Christian Theune
Changes by Christian Theune c...@gocept.com: Added file: http://bugs.python.org/file34944/732e7d4515c0.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12489 ___

[issue12489] email.errors.HeaderParseError if base64url is used

2014-04-17 Thread Christian Theune
Changes by Christian Theune c...@gocept.com: -- keywords: +patch Added file: http://bugs.python.org/file34943/62b280b61de7.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12489 ___

[issue21284] IDLE reformat tests fail in presence of non-default FormatParagraph setting

2014-04-17 Thread Raymond Hettinger
New submission from Raymond Hettinger: When a user sets FormatParagraph to anything other than 70, test_idle.py has 4 failing tests: test_comment_block (idlelib.idle_test.test_formatparagraph.FormatEventTest) ... FAIL test_long_line (idlelib.idle_test.test_formatparagraph.FormatEventTest) ...

[issue18374] ast.parse gives wrong position (col_offset) for some BinOp-s

2014-04-17 Thread Sam Kimbrel
Sam Kimbrel added the comment: Here's a patch that corrects col_offset for binops in both the ast module and in the compiler proper. I've incorporated Aivar's test into test_ast.py; if there are test suites for compile.c please let me know and I can add something there too. --

[issue1514420] Missing module code does spurious file search

2014-04-17 Thread Christian Theune
Christian Theune added the comment: I don't think the security risk exists due to this bug. As Python is searching for various places anyway, an attacker could just symlink one of those places anyway instead of 'stdin'. -- nosy: +ctheune ___ Python

[issue16285] Update urllib to RFC 3986

2014-04-17 Thread Christian Theune
Christian Theune added the comment: I'll update this. -- nosy: +ctheune ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16285 ___ ___

[issue21259] replace except: pass by except Exception: pass

2014-04-17 Thread Berker Peksag
Berker Peksag added the comment: This looks like a duplicate of issue 16261. -- nosy: +berker.peksag ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21259 ___

[issue15234] avoid runtime library path for extensions found in system directories

2014-04-17 Thread Matthias Klose
Matthias Klose added the comment: updated patch, reviewed by Thomas, checked that rpath is not added, and the the extensions still build. -- nosy: +twouters Added file: http://bugs.python.org/file34946/avoid-rpath.diff ___ Python tracker

[issue15234] avoid runtime library path for extensions found in system directories

2014-04-17 Thread Matthias Klose
Changes by Matthias Klose d...@debian.org: Removed file: http://bugs.python.org/file26222/rpath.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15234 ___

[issue15234] avoid runtime library path for extensions found in system directories

2014-04-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1a00e04a233d by doko in branch '3.4': - Issue #15234: For BerkelyDB and Sqlite, only add the found library and http://hg.python.org/cpython/rev/1a00e04a233d -- nosy: +python-dev ___ Python tracker

[issue16864] sqlite3.Cursor.lastrowid isn't populated when executing a SQL REPLACE statement

2014-04-17 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- stage: - needs patch type: enhancement - behavior versions: +Python 3.4, Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16864

[issue15234] avoid runtime library path for extensions found in system directories

2014-04-17 Thread Matthias Klose
Matthias Klose added the comment: fixed -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15234 ___ ___

[issue9364] some problems with the documentation of pydoc

2014-04-17 Thread Glenn Jones
Changes by Glenn Jones gl...@millenniumhand.co.uk: Added file: http://bugs.python.org/file34948/pydoc-2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9364 ___

[issue9364] some problems with the documentation of pydoc

2014-04-17 Thread Glenn Jones
Changes by Glenn Jones gl...@millenniumhand.co.uk: Added file: http://bugs.python.org/file34947/_sitebuiltins-2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9364 ___

[issue21274] define PATH_MAX for GNU/Hurd in Python/pythonrun.c

2014-04-17 Thread Matthias Klose
Changes by Matthias Klose d...@debian.org: -- nosy: +twouters ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21274 ___ ___ Python-bugs-list mailing

[issue21275] fix a socket test on KFreeBSD

2014-04-17 Thread Matthias Klose
Changes by Matthias Klose d...@debian.org: -- nosy: +twouters ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21275 ___ ___ Python-bugs-list mailing

[issue9364] some problems with the documentation of pydoc

2014-04-17 Thread Glenn Jones
Glenn Jones added the comment: I have added patches that replace the previous ones and apply to head. It appears that the other changes discussed (crosslinking and improving documentation) have already been done. -- nosy: +Glenn.Jones ___ Python

[issue16285] Update urllib quoting to RFC 3986

2014-04-17 Thread Christian Theune
Changes by Christian Theune c...@gocept.com: -- title: Update urllib to RFC 3986 - Update urllib quoting to RFC 3986 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16285 ___

[issue21276] don't define USE_XATTRS on kfreebsd and the Hurd

2014-04-17 Thread Matthias Klose
Changes by Matthias Klose d...@debian.org: -- nosy: +twouters ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21276 ___ ___ Python-bugs-list mailing

[issue21277] don't try to link _ctypes with a ffi_convenience library

2014-04-17 Thread Matthias Klose
Changes by Matthias Klose d...@debian.org: -- nosy: +twouters ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21277 ___ ___ Python-bugs-list mailing

[issue16285] Update urllib to RFC 3986

2014-04-17 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16285 ___ ___ Python-bugs-list mailing

[issue16285] Update urllib quoting to RFC 3986

2014-04-17 Thread Christian Theune
Changes by Christian Theune c...@gocept.com: -- hgrepos: +241 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16285 ___ ___ Python-bugs-list mailing

[issue21285] refactor anfd fix curses configure checks

2014-04-17 Thread Matthias Klose
New submission from Matthias Klose: this refactors the curses configure checks, and fixes the build with ncursesw. In it's current form the curses feature checks are run without the additional include path which leads to wrong results if the only the nurses headers are installed. --

[issue21285] refactor anfd fix curses configure checks

2014-04-17 Thread Matthias Klose
Changes by Matthias Klose d...@debian.org: -- versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21285 ___ ___ Python-bugs-list

[issue21285] refactor anfd fix curses configure checks

2014-04-17 Thread Matthias Klose
Changes by Matthias Klose d...@debian.org: -- nosy: +twouters ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21285 ___ ___ Python-bugs-list mailing

[issue16484] pydoc generates invalid docs.python.org link for xml.etree.ElementTree and other modules

2014-04-17 Thread Éric Araujo
Éric Araujo added the comment: Brett, any opposition to moving the doc about importlib submodules to separate files? -- nosy: +brett.cannon versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16484

[issue12489] email.errors.HeaderParseError if base64url is used

2014-04-17 Thread R. David Murray
R. David Murray added the comment: The patch looks good. I'd like the comment to say We use urlsafe_b64decode here because some mailers apparently use the urlsafe b64 alphabet, and urlsafe_b64decode will correctly decode both the urlsafe and regular alphabets. Also, the new header parser

[issue21268] Update pydoc module docstring

2014-04-17 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- resolution: - duplicate stage: needs patch - committed/rejected status: open - closed superseder: - some problems with the documentation of pydoc ___ Python tracker rep...@bugs.python.org

[issue21286] Refcounting information missing in docs for Python 3.4 and above.

2014-04-17 Thread Mark Dickinson
New submission from Mark Dickinson: It looks as though the information from refcounts.dat isn't making it into the online docs for 3.4 and 3.5. See e.g., the documentation for PyList_GetItem. For 3.3 [2], there's a Return value: Borrowed reference. annotation supplied by Sphinx's

[issue21286] Refcounting information missing in docs for Python 3.4 and above.

2014-04-17 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21286 ___ ___ Python-bugs-list

[issue16484] pydoc generates invalid docs.python.org link for xml.etree.ElementTree and other modules

2014-04-17 Thread Brett Cannon
Brett Cannon added the comment: No, I have no objections. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16484 ___ ___ Python-bugs-list mailing

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-04-17 Thread Mark Dickinson
Mark Dickinson added the comment: Yay! Thanks, Benjamin. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20904 ___ ___ Python-bugs-list mailing

[issue16285] Update urllib quoting to RFC 3986

2014-04-17 Thread Christian Theune
Changes by Christian Theune c...@gocept.com: -- hgrepos: -242 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16285 ___ ___ Python-bugs-list

[issue16285] Update urllib quoting to RFC 3986

2014-04-17 Thread Christian Theune
Changes by Christian Theune c...@gocept.com: -- hgrepos: +242 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16285 ___ ___ Python-bugs-list mailing

[issue21286] Refcounting information missing in docs for Python 3.4 and above.

2014-04-17 Thread Mark Dickinson
Mark Dickinson added the comment: N.B. When I build the docs locally on the default branch (using 'make html' from the Docs directory on a clean checkout), I *do* see the refcounting annotations in the html output. -- ___ Python tracker

[issue16285] Update urllib quoting to RFC 3986

2014-04-17 Thread Christian Theune
Changes by Christian Theune c...@gocept.com: -- versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16285 ___ ___

[issue16285] Update urllib quoting to RFC 3986

2014-04-17 Thread Christian Theune
Changes by Christian Theune c...@gocept.com: -- keywords: +patch Added file: http://bugs.python.org/file34950/0be3805cade1.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16285 ___

[issue20434] Fix error handler of _PyString_Resize() on allocation failure

2014-04-17 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Add comments and explicit (void) on the ignored value from _PyString_Resize as suggested by Victor -- Added file: http://bugs.python.org/file34951/string_resize.patch ___ Python tracker

[issue21274] define PATH_MAX for GNU/Hurd in Python/pythonrun.c

2014-04-17 Thread Thomas Wouters
Thomas Wouters added the comment: You should put the definition closer to the Windows one (right after or before it) rather than further down the file. Other than that, looks good. -- ___ Python tracker rep...@bugs.python.org

[issue21275] fix a socket test on KFreeBSD

2014-04-17 Thread Thomas Wouters
Thomas Wouters added the comment: Looks good. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21275 ___ ___ Python-bugs-list mailing list

[issue21276] don't define USE_XATTRS on kfreebsd and the Hurd

2014-04-17 Thread Thomas Wouters
Thomas Wouters added the comment: Looks good. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21276 ___ ___ Python-bugs-list mailing list

[issue10740] sqlite3 module breaks transactions and potentially corrupts data

2014-04-17 Thread Chris Monsanto
Chris Monsanto added the comment: This issue has been open for 4 years, last update was 2 months ago. Lack of transactional DDL is a big deal for Python programs that use SQLite heavily. We have a patch for Python 3 that applies cleanly and as far as I can tell works fine. I've been using it

[issue21276] don't define USE_XATTRS on kfreebsd and the Hurd

2014-04-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset ca2edbefca35 by doko in branch '3.4': Fixes for KFreeBSD and the Hurd: http://hg.python.org/cpython/rev/ca2edbefca35 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org

[issue21275] fix a socket test on KFreeBSD

2014-04-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset ca2edbefca35 by doko in branch '3.4': Fixes for KFreeBSD and the Hurd: http://hg.python.org/cpython/rev/ca2edbefca35 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org

[issue21285] refactor anfd fix curses configure checks

2014-04-17 Thread Thomas Wouters
Thomas Wouters added the comment: Good fix. Do remove the 'first curses header check' comment you add, and don't forget to regenerate configure (and maybe pyconfig.h.in? I don't know if that'll change.) -- ___ Python tracker rep...@bugs.python.org

[issue21286] Refcounting information missing in docs for Python 3.4 and above.

2014-04-17 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21286 ___ ___ Python-bugs-list mailing

[issue21274] define PATH_MAX for GNU/Hurd in Python/pythonrun.c

2014-04-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset ca2edbefca35 by doko in branch '3.4': Fixes for KFreeBSD and the Hurd: http://hg.python.org/cpython/rev/ca2edbefca35 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org

[issue15887] urlencode should accept iterables of pairs

2014-04-17 Thread Éric Araujo
Éric Araujo added the comment: Convert a mapping object or a sequence of two-element tuples, which may either be a str or a bytes, to a “percent-encoded” string. Mappings, duple sequences, and duples cannot be str or bytes. The only thing making sense to me here is that “which” refers to

[issue21285] refactor anfd fix curses configure checks

2014-04-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1bc0a8310b9f by doko in branch '2.7': - Issue #21285: Refactor and fix curses configure check to always search http://hg.python.org/cpython/rev/1bc0a8310b9f New changeset 635817da596d by doko in branch '3.4': - Issue #21285: Refactor and fix curses

[issue21285] refactor anfd fix curses configure checks

2014-04-17 Thread Matthias Klose
Matthias Klose added the comment: looks like with this change the curses extension isn't built anymore on Solaris. -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21285 ___

[issue21285] refactor and fix curses configure checks

2014-04-17 Thread Matthias Klose
Changes by Matthias Klose d...@debian.org: -- title: refactor anfd fix curses configure checks - refactor and fix curses configure checks ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21285

[issue21275] fix a socket test on KFreeBSD

2014-04-17 Thread Matthias Klose
Matthias Klose added the comment: fixed -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21275 ___ ___

[issue21274] define PATH_MAX for GNU/Hurd in Python/pythonrun.c

2014-04-17 Thread Matthias Klose
Matthias Klose added the comment: fixed -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21274 ___ ___

[issue21276] don't define USE_XATTRS on kfreebsd and the Hurd

2014-04-17 Thread Matthias Klose
Matthias Klose added the comment: fixed -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21276 ___ ___

[issue10362] AttributeError: addinfourl instance has no attribute 'tell'

2014-04-17 Thread Christian Theune
Christian Theune added the comment: I don't think this will be solved. File-like objects (in this case IO wrappers for the socket) may have different capabilities and tarfile is just expecting too much. My patch for #15002 relieved the situation somewhat by providing tell() but the IO stream

[issue21287] Better support for AF_PACKET on opensolaris (illumos)

2014-04-17 Thread Игорь Пашев
New submission from Игорь Пашев: SIOCGIFINDEX could be defined in illumos (aka OpenSolaris) if BSD_COMP macro defined. This causes known error: no member ifr_ifindex in struct ifreq. But OpenSolaris provides newer interface with struct lifreq and SIOCGLIFINDEX. Attached patch tries to use it.

  1   2   >