[issue15494] Move test/support.py into a test.support subpackage

2012-10-24 Thread Nick Coghlan
Nick Coghlan added the comment: I already did, that thread 'tis a large part of why I'm somewhat irritable in relation to this topic today. "Huge source files are inherently bad because they provide no hint as to the modular breakdown and encourage excessive coupling between subcomponents" is

[issue15494] Move test/support.py into a test.support subpackage

2012-10-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ah, ok. Perhaps I should read python-dev before talking about it! -- ___ Python tracker ___ ___ Pyth

[issue16319] optional comma inside function argument list triggers syntax error

2012-10-24 Thread Inyeol Lee
New submission from Inyeol Lee: Ubuntu 12.04, python 3.2.3 Optional trailing comma causes syntax error if used for keyword-only argument list: These are OK -- def f(a, b,): pass def f(a, b=None,): pass These triggers syntax error -- def f(a, *, b,): pass def f(a, *, b=None,): pass python 3.1

[issue15494] Move test/support.py into a test.support subpackage

2012-10-24 Thread Chris Jerdonek
Chris Jerdonek added the comment: >> Excessively large source files are a sign of bad software design. > > Do you [want to] weigh in the python-dev discussion about splitting > unicodeobject.c? Nick did weigh in starting here: http://mail.python.org/pipermail/python-dev/2012-October/122391.html

[issue15494] Move test/support.py into a test.support subpackage

2012-10-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: s/Do you weigh in/Do you want to weigh in/, sorry. -- ___ Python tracker ___ ___ Python-bugs-list ma

[issue15494] Move test/support.py into a test.support subpackage

2012-10-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: > test.support will become a package in 3.3 and trunk after the final 3.2 > release goes out. > > Excessively large source files are a sign of bad software design. Do you weigh in the python-dev discussion about splitting unicodeobject.c? -- _

[issue16241] "-X faulthandler" is not documented in -X option docs

2012-10-24 Thread Petri Lehtinen
Petri Lehtinen added the comment: Andrew: Generally all changes deserve a Misc/NEWS entry, see: http://docs.python.org/devguide/committing.html#news-entries The feature was new in 3.3, but this change only went in after the release of 3.3.0, so ISTM that a Misc/NEWS entry is required. -

[issue13510] Clarify that readlines() is not needed to iterate over a file

2012-10-24 Thread Chris Rebert
Chris Rebert added the comment: file.readlines() (and perhaps dare I say even file.readline()) should not even be mentioned in the tutorial, IMO. It is difficult to imagine a use case where just iterating over the file object isn't superior. I cannot remember the last time that I have used eit

[issue15808] Possibility of setting custom key bindings for "Additional help sources" menu items

2012-10-24 Thread Roger Serwy
Changes by Roger Serwy : -- nosy: +serwy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue16278] os.rename documentation slightly inaccurate

2012-10-24 Thread Chris Jerdonek
Chris Jerdonek added the comment: Before we discuss wording, it's not clear to me whether all possibilities have been checked. I count 2*3*2=12 possibilities to check (excluding src and dst being on different filesystems): src: file or directory dst: file, empty directory, or non-empty direct

[issue16318] FTP_TLS in ftplib not supporting prot_p storlines in FTP7.5

2012-10-24 Thread Ned Deily
Changes by Ned Deily : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue16315] Support xz compression in Mac build script

2012-10-24 Thread Ned Deily
Ned Deily added the comment: Serhiy, I see that the context for this patch is that you have been providing xz patches for various parts of Python. For the reasons I mentioned, this particular patch is not needed nor will it work as is on OS X. So I am rejecting it for now. -- resolu

[issue16309] "PYTHONPATH=" different from no PYTHONPATH at all

2012-10-24 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue15494] Move test/support.py into a test.support subpackage

2012-10-24 Thread Nick Coghlan
Nick Coghlan added the comment: Umm, WTF? You're really asking me to justify the basic software engineering principle that modularity is good, and wanting to dump everything in one file is one of the classic signs that your architectural design is non-existent and you have completely failed to ad

[issue1634034] Show "expected" token on syntax error

2012-10-24 Thread Ezio Melotti
Ezio Melotti added the comment: Looking at the changes in the patch it seems to me that, in at least a few cases, it's better to have a bare "invalid syntax" than a misleading error. For example: >>> dict(a = i for i in range(10)) +SyntaxError: invalid syntax - ')' expected The () are

[issue1634034] Show "expected" token on syntax error

2012-10-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Patch updated (thanks Benjamin for comments). -- Added file: http://bugs.python.org/file27708/syntax-error-hints-3.4_2.patch ___ Python tracker

[issue16218] Python launcher does not support non ascii characters

2012-10-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Test added. -- stage: test needed -> patch review Added file: http://bugs.python.org/file27707/pythonrun_filename_decoding_2.patch ___ Python tracker

[issue15494] Move test/support.py into a test.support subpackage

2012-10-24 Thread Ezio Melotti
Ezio Melotti added the comment: > Excessively large source files are a sign of bad software design. Are there actual reasons that support this claim? -- ___ Python tracker ___ _

[issue15494] Move test/support.py into a test.support subpackage

2012-10-24 Thread Nick Coghlan
Nick Coghlan added the comment: test.support will become a package in 3.3 and trunk after the final 3.2 release goes out. Excessively large source files are a sign of bad software design. -- ___ Python tracker ___

[issue15494] Move test/support.py into a test.support subpackage

2012-10-24 Thread Ezio Melotti
Ezio Melotti added the comment: Tonight I was looking for assert_python_failure() in test.support, and it took me a while to figure out it was in script_helper.py instead. As suggested in msg166778 by Antoine, I would rather pick option 1 and merge everything in test.support, rather than furth

[issue16318] FTP_TLS in ftplib not supporting prot_p storlines in FTP7.5

2012-10-24 Thread Jeremy Brock
New submission from Jeremy Brock: Recently I have been working on a project to utilize the new FTP_TLS library from ftplib in Python 2.7.3. What I found is that no matter what I try, when prot_p() is called prior to transferring files to 2008 Server R2 running FTP7.5, the python client connec

[issue9517] Make test.script_helper more comprehensive, and use it in the test suite

2012-10-24 Thread Ezio Melotti
Ezio Melotti added the comment: > There's already strip_python_stderr() :) This is already used in Lib/test/script_helper.py:42, and a way to call _assert_python() without using -E has also been introduced[0]. The next step would be to check if these functions could be used elsewhere in the o

[issue11015] Bring test.support docs up to date

2012-10-24 Thread Ezio Melotti
Ezio Melotti added the comment: > There are some other helper modules (such as test.script_helper) > that could also stand to be made easier to find. Documenting script_helper.py would be good too. I seem to remember some discussion about merging it with support.py -- if that happens it can be

[issue16315] Support xz compression in Mac build script

2012-10-24 Thread Ned Deily
Ned Deily added the comment: Thanks for the patch but why are you proposing it? First, there are no xz compressed downloads used in the OS X installer build. Second, OS X currently does not ship with xz library support or with an unxz command. We build libxz for use by Python in the installer

[issue16306] Multiple error line for unknown command line parameter

2012-10-24 Thread Hieu Nguyen
Hieu Nguyen added the comment: I've attached the patch for this issue, including the test. -- keywords: +patch nosy: +hieu.nguyen Added file: http://bugs.python.org/file27705/issue16306.patch ___ Python tracker ___

[issue16278] os.rename documentation slightly inaccurate

2012-10-24 Thread Andrew Svetlov
Andrew Svetlov added the comment: Chris, maybe you can guess better wording? -- nosy: +chris.jerdonek ___ Python tracker ___ ___ Pytho

[issue16315] Support xz compression in Mac build script

2012-10-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- title: Support xz compression in Mac buil script -> Support xz compression in Mac build script ___ Python tracker ___ __

[issue15132] Let unittest.TestProgram()'s defaultTest argument be a list

2012-10-24 Thread Michael Foord
Changes by Michael Foord : -- assignee: -> michael.foord ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue16314] Support xz compression in distutils

2012-10-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> wont fix stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue16314] Support xz compression in distutils

2012-10-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: OK, I didn't know that distutils are frozen. -- Added file: http://bugs.python.org/file27704/distutils-lzma.patch ___ Python tracker ___ _

[issue16314] Support xz compression in distutils

2012-10-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Removed file: http://bugs.python.org/file27700/distutils-lzma.patch ___ Python tracker ___ ___ Python-bugs-list

[issue16317] Mention lzma module in tutorial

2012-10-24 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: The proposed patch adds link to lzma module (in additional to zlib, gzip, bz2, and zipfile) in tutorial. -- assignee: docs@python components: Documentation files: stdlib-lzma.patch keywords: patch messages: 173713 nosy: docs@python, nadeem.vawda, se

[issue16316] Support xz compression in mimetypes module

2012-10-24 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: The proposed patch adds xz compression support in additional to gzip, compress and bzip2 in mimetypes module. -- components: Library (Lib) files: mimetypes-lzma.patch keywords: patch messages: 173712 nosy: nadeem.vawda, serhiy.storchaka priority: no

[issue16315] Support xz compression in Mac buil script

2012-10-24 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: The proposed patch adds xz compression support in additional to gzip and bzip2 in Mac buil script. -- assignee: ronaldoussoren components: Build, Macintosh files: macbuildscript-lzma.patch keywords: patch messages: 173711 nosy: hynek, nadeem.vawda,

[issue16235] Add python-config.sh for use during cross compilation.

2012-10-24 Thread Matthias Klose
Matthias Klose added the comment: Earlier, we had the shell script, now we have the python implementation, which doesn't work for cross builds. On the other hand, I don't like to have two implementations which need to be kept in sync. So my proposal would be to discard the python implementatio

[issue16314] Support xz compression in distutils

2012-10-24 Thread Éric Araujo
Éric Araujo added the comment: I think there’s already a report for distutils2. For distutils, if we take the feature freeze seriously, this would have to be rejected. I know it looks innocuous, but distutils is brittle code widely monkey-patched, so I prefer to take no chances. --

[issue16314] Support xz compression in distutils

2012-10-24 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: The proposed patch adds xz compression support in additional to gzip, compress and bzip2 in distutils. -- assignee: eric.araujo components: Distutils files: distutils-lzma.patch keywords: patch messages: 173708 nosy: eric.araujo, nadeem.vawda, serhi

[issue16313] Support xz compression in shutil module

2012-10-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue16313] Support xz compression in shutil module

2012-10-24 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: The proposed patch adds xz compression support in additional to gzip and bzip2 in shutil module. -- components: Library (Lib) files: shutil-lzma.patch keywords: patch messages: 173707 nosy: hynek, nadeem.vawda, serhiy.storchaka, tarek priority: norm

[issue16306] Multiple error line for unknown command line parameter

2012-10-24 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue8913] Document that datetime.__format__ is datetime.strftime

2012-10-24 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue14897] struct.pack raises unexpected error message

2012-10-24 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

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

2012-10-24 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue2005] posixmodule expects sizeof(pid_t/gid_t/uid_t) <= sizeof(long)

2012-10-24 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue9351] argparse set_defaults on subcommands should override top level set_defaults

2012-10-24 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue16262] srcdir != builddir builds fail, if hg is not installed

2012-10-24 Thread Matthias Klose
Matthias Klose added the comment: > Wait, does that mean you are explicitly supporting older Python versions? no, that is unchanged. the Parser/asdl_c.py script had a shebang with python. Of course you could replace the python in AC_CHECK_PROCS with the allowed python2.x versions. But then ma

[issue15916] change doctest DocTestSuite not to raise ValueError if no docstrings

2012-10-24 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue2005] posixmodule expects sizeof(pid_t/gid_t/uid_t) <= sizeof(long)

2012-10-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Of course PyLong_AsUnsignedLong* should be used only if the type is unsigned. In such case any negative values except -1 are invalid. -- keywords: -easy ___ Python tracker _

[issue16303] typo in error message in pstats.py

2012-10-24 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch and the report! -- assignee: -> ezio.melotti nosy: +ezio.melotti resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> enhancement ___ Python tracker

[issue16303] typo in error message in pstats.py

2012-10-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset ad1cc596bedb by Ezio Melotti in branch '2.7': #16303: remove extra quotes from exception and add (). Initial patch by Vladimir Rutsky. http://hg.python.org/cpython/rev/ad1cc596bedb -- nosy: +python-dev

[issue2005] posixmodule expects sizeof(pid_t/gid_t/uid_t) <= sizeof(long)

2012-10-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I suggest use PyLong_AsLongAndOverflow/PyLong_AsLongLongAndOverflow and then PyLong_AsUnsignedLong/PyLong_AsUnsignedLongLong in case if positive overflow. Perhaps you need also special converters for "O&" format in PyArg_ParseTuple. This issue is not as easy

[issue15569] Doc doc: incorrect description of some roles as format-only

2012-10-24 Thread Ezio Melotti
Changes by Ezio Melotti : -- type: -> enhancement versions: +Python 2.7, Python 3.2, Python 3.3, Python 3.4 ___ Python tracker ___ __

[issue16210] combine the two type() definitions in built-in function docs

2012-10-24 Thread Ezio Melotti
Ezio Melotti added the comment: Done, thanks for the patch! -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue16210] combine the two type() definitions in built-in function docs

2012-10-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6dde85f2e4af by Ezio Melotti in branch '2.7': #16210: combine the two type() docs. Patch by Pete Sevander. http://hg.python.org/cpython/rev/6dde85f2e4af New changeset 997ab4f1530f by Ezio Melotti in branch '3.2': #16210: combine the two type() docs

[issue16312] New command line option supported by unittest.main() for running initialization code before tests

2012-10-24 Thread Piotr Dobrogost
New submission from Piotr Dobrogost: When running tests bundled with a library it would be useful to be able to run some initialization code before tests are being run so that one can configure options pertaining to logging for example. For this reason it would be useful to have a new command

[issue16210] combine the two type() definitions in built-in function docs

2012-10-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: This patch looks good. Ezio, if you agree, please apply it. -- assignee: docs@python -> ezio.melotti nosy: +rhettinger ___ Python tracker __

[issue16311] Use _PyUnicodeWriter API in text decoders

2012-10-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Soon I'll post a patch, which speeds up unicode-escape and raw-unicode-escape decoders to 1.5-3x. Also there are not yet reviewed patches for UTF-32 (issue14625) and charmap (issue14850) decoders. Will be merge conflicts. But I will review the patch. --

[issue16307] multiprocess.pool.map_async callables not working

2012-10-24 Thread Richard Oudkerk
Changes by Richard Oudkerk : -- nosy: +sbt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue6975] symlinks incorrectly resolved on Linux

2012-10-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Previous patches contain redundant code, are not protected from all symlink loops (link -> link/x; dir/link -> ../dir/link) and when a loop is detected the returned result differs from the current one. The proposed patch solves this issue and some others. Ad

[issue16311] Use _PyUnicodeWriter API in text decoders

2012-10-24 Thread STINNER Victor
New submission from STINNER Victor: Attached patch modifies text decoders to use the _PyUnicodeWriter API to factorize the code. It removes unicode_widen() and unicode_putchar() functions. * Don't overallocate by default (except for "raw-unicode-escape" codec), enable overallocation on the f

[issue16311] Use _PyUnicodeWriter API in text decoders

2012-10-24 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +loewis, serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2005] posixmodule expects sizeof(pid_t/gid_t/uid_t) <= sizeof(long)

2012-10-24 Thread Petri Lehtinen
Petri Lehtinen added the comment: Yeah, it seems that uid_t and gid_t can be signed or unsigned, while pid_t is always signed. Serhiy: What do you suggest? -- nosy: +petri.lehtinen ___ Python tracker _

[issue16310] zipfile: allow surrogates in filenames

2012-10-24 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue16295] With VS2010 the select extension links against wsock32 instead of ws2_32

2012-10-24 Thread Richard Oudkerk
Changes by Richard Oudkerk : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue16284] concurrent.futures ThreadPoolExecutor keeps unnecessary references to worker functions.

2012-10-24 Thread Richard Oudkerk
Richard Oudkerk added the comment: LGTM -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue16310] zipfile: allow surrogates in filenames

2012-10-24 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue16278] os.rename documentation slightly inaccurate

2012-10-24 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue16308] Undocumented (?) behaviour change in argparse from 3.2.3 to 3.3.0

2012-10-24 Thread telmich
telmich added the comment: s/9523/9253/g in my previous post -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16308] Undocumented (?) behaviour change in argparse from 3.2.3 to 3.3.0

2012-10-24 Thread telmich
telmich added the comment: Interesting! The issue 9523 has now somehow become obsolete, as in 3.3.0 subcommands are de-facto optional, which is the problem I am facing. Regarding my last comment, here are the relations: - add a parameter to add_subparsers(): required This is a similar proposa

[issue16310] zipfile: allow surrogates in filenames

2012-10-24 Thread R. David Murray
R. David Murray added the comment: I'm guessing that is because (if you read the issue) there are no specified standards for the filenames in tar (other than PAX format). Although I would personally have preferred to need to specify a "yes really use these binary filenames" flag to tar, as we

[issue16308] Undocumented (?) behaviour change in argparse from 3.2.3 to 3.3.0

2012-10-24 Thread R. David Murray
R. David Murray added the comment: How does all of this relate to issue 9253? -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue16308] Undocumented (?) behaviour change in argparse from 3.2.3 to 3.3.0

2012-10-24 Thread telmich
telmich added the comment: Proposal / resume from the previous tests: - add a parameter to add_subparsers(): required If required=True, one of the subcommand names need to be present. If required=False (default), allow parse_args() to return successfully, if no subcommand is given. - Cha

[issue16310] zipfile: allow surrogates in filenames

2012-10-24 Thread Stefan Holek
Stefan Holek added the comment: A little more context perhaps: The use-case is building Python distributions containing non-ASCII filenames. These seemingly "invalid" filenames can occur in real-life when the files have been created by, say, a 'git clone' operation. So yes, I have Latin-1 byt

[issue16308] Undocumented (?) behaviour change in argparse from 3.2.3 to 3.3.0

2012-10-24 Thread telmich
telmich added the comment: Assuming 3.3.0 behaviour is correct (as in no subparser specified, args.func not setup), I'd expect to have setup a function on the main parser. Trying this, it prevents the subparsers function from being completly: [16:03] brief:~% python3 subparse3.py

[issue16308] Undocumented (?) behaviour change in argparse from 3.2.3 to 3.3.0

2012-10-24 Thread telmich
telmich added the comment: I've copy & pasted the example from the documentation and added the following lines to it (attached full file) args = parser.parse_args('') args.func(args) Following the style / way show in the documentation, I'd expect this block to work (3.2.2 behaviour). I do how

[issue8913] Document that datetime.__format__ is datetime.strftime

2012-10-24 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue16308] Undocumented (?) behaviour change in argparse from 3.2.3 to 3.3.0

2012-10-24 Thread telmich
telmich added the comment: Thanks a lot - let me know when I can help more. After re-reading the documentation, I think the behaviour for subparsers is not specified: It is not specified, whether a subparser is required to be present or not. Attached stripped down version of the cdist code to

[issue16262] srcdir != builddir builds fail, if hg is not installed

2012-10-24 Thread Ned Deily
Changes by Ned Deily : -- nosy: +ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue16308] Undocumented (?) behaviour change in argparse from 3.2.3 to 3.3.0

2012-10-24 Thread R. David Murray
R. David Murray added the comment: Thanks. I've put this on my todo list to look at this weekend during the bug day. -- ___ Python tracker ___ __

[issue16310] zipfile: allow surrogates in filenames

2012-10-24 Thread R. David Murray
R. David Murray added the comment: The problem you are reporting looks different than the problem addressed in issue 8390. There, the surrogates are being introduced when reading filenames from the archive file. Here, the surrogates presumably arose because the filename on your file system w

[issue16308] Undocumented (?) behaviour change in argparse from 3.2.3 to 3.3.0

2012-10-24 Thread telmich
telmich added the comment: Having a closer look at the changes using hg diff -r v3.2:v3.3.0 Lib/argparse.py, it seems the following removal could be related to the different behaviour: -# if we didn't use all the Positional objects, there were too few -# arg strings supplied.

[issue16305] possible segfault in math.factorial

2012-10-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue16262] srcdir != builddir builds fail, if hg is not installed

2012-10-24 Thread R. David Murray
R. David Murray added the comment: Wait, does that mean you are explicitly supporting older Python versions? In that case there's still a bug here (either fix the set, or don't accept versions older than 2.4). -- ___ Python tracker

[issue16310] zipfile: allow surrogates in filenames

2012-10-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +serhiy.storchaka type: -> enhancement versions: +Python 3.4 -Python 3.3 ___ Python tracker ___ __

[issue9556] Specifying the time a TimedRotatingFileHandler rotates

2012-10-24 Thread Vinay Sajip
Vinay Sajip added the comment: Thanks for the comments on Rietveld - patch updated. -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue9556] Specifying the time a TimedRotatingFileHandler rotates

2012-10-24 Thread Vinay Sajip
Changes by Vinay Sajip : Added file: http://bugs.python.org/file27693/b178bbafd564.diff ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue16262] srcdir != builddir builds fail, if hg is not installed

2012-10-24 Thread Matthias Klose
Matthias Klose added the comment: yes, the test checks with a recent version first, then the older ones. However you can configure with PYTHON=python2.4 configure ... to overwrite these defaults. -- ___ Python tracker

[issue16310] zipfile: allow surrogates in filenames

2012-10-24 Thread Stefan Holek
New submission from Stefan Holek: Please allow for surrogates in the zipfile module like it was done for tarfile in #8390. Currently zipfile breaks when encountering surrogates: Traceback (most recent call last): File "/usr/local/python3.3/lib/python3.3/zipfile.py", line 392, in _encodeFile

[issue16262] srcdir != builddir builds fail, if hg is not installed

2012-10-24 Thread Trent Nelson
Trent Nelson added the comment: On Sun, Oct 21, 2012 at 02:59:37PM -0700, R. David Murray wrote: > > R. David Murray added the comment: > > This change appears to have broken the dmg builders: > > http://buildbot.python.org/all/builders/bolen-dmg-3.x/builds/19 > http://buildbot.python.org/

[issue16262] srcdir != builddir builds fail, if hg is not installed

2012-10-24 Thread R. David Murray
R. David Murray added the comment: Ah, good point. From what I understand, that's entirely possible on that machine. Then the question becomes, do we want to support pre-2.4 for a rebuild? The answer is almost certainly no, but that leaves the DMG builders hosed. Re-closing issue, as this

[issue16307] multiprocess.pool.map_async callables not working

2012-10-24 Thread Hynek Schlawack
Hynek Schlawack added the comment: Could you add a test please? Thanks! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue16308] Undocumented (?) behaviour change in argparse from 3.2.3 to 3.3.0

2012-10-24 Thread R. David Murray
R. David Murray added the comment: There was bug fixing/enhancement activity around subparsers, one of them probably had an unexpected side effect for which there are currently no tests. If you can figure out which change set introduced the change, that might speed up resolution of the issue.

[issue8713] multiprocessing needs option to eschew fork() under Linux

2012-10-24 Thread Richard Oudkerk
Richard Oudkerk added the comment: > A use case for not using fork() is when your parent process opens some > system resources of some sort (for example a listening TCP socket). The > child will then inherit those resources, which can have all kinds of > unforeseen and troublesome consequences

[issue16274] test_asyncore failing on Solaris 10 2.7 (nitrogen/s10)

2012-10-24 Thread Trent Nelson
Trent Nelson added the comment: On Mon, Oct 22, 2012 at 05:51:23AM -0700, Giampaolo Rodola' wrote: > > Giampaolo Rodola' added the comment: > > This should do it: > > diff --git a/Lib/test/test_asyncore.py b/Lib/test/test_asyncore.py > --- a/Lib/test/test_asyncore.py > +++ b/Lib/test/test_asyn

[issue15111] Wrong ImportError message with importlib

2012-10-24 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue16307] multiprocess.pool.map_async callables not working

2012-10-24 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +hynek stage: -> patch review versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-list

[issue12886] datetime.strptime parses input wrong

2012-10-24 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue16309] "PYTHONPATH=" different from no PYTHONPATH at all

2012-10-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: Given how confusing it seems, perhaps we should change it to adopt a PATH-like behaviour. -- nosy: +pitrou ___ Python tracker ___ _

[issue15948] Unchecked return value of I/O functions

2012-10-24 Thread Marek Šuppa
Marek Šuppa added the comment: Appended is the patch for _cursesmodule.c Let me know if it's OK. -- keywords: +patch Added file: http://bugs.python.org/file27692/issue15948__cursesmodule.patch ___ Python tracker

[issue16136] Removal of VMS support

2012-10-24 Thread Trent Nelson
Trent Nelson added the comment: On Mon, Oct 22, 2012 at 11:18:03AM -0700, Christian Heimes wrote: > > Christian Heimes added the comment: > > We don't have any box that is capable of running VMS. Even Trent's > Snakebit setup doesn't have VMS although he has lots of exotic > hardware and OS, ev

  1   2   >