[issue11797] 2to3 does not correct "reload"

2012-11-23 Thread Berker Peksag
Berker Peksag added the comment: Here's a patch that adds tests and updates the documentation. -- nosy: +berker.peksag Added file: http://bugs.python.org/file28084/issue11797.diff ___ Python tracker <http://bugs.python.org/is

[issue16549] regression: -m json.tool module is broken

2012-11-25 Thread Berker Peksag
Berker Peksag added the comment: Lib/json/tool.py is triggering a ResourceWarning. Patch attached with a test. -- nosy: +berker.peksag Added file: http://bugs.python.org/file28114/issue16549.diff ___ Python tracker <http://bugs.python.

[issue6744] calling kevent repr raises a TypeError

2012-11-25 Thread Berker Peksag
Berker Peksag added the comment: The bug has been fixed in issue 7211. Related changeset: http://hg.python.org/cpython/rev/f89a93a778a8#l4.63 See the output of kevent-repr-test.py(tested in 3.2.3 and 3.3.0): I think this can be closed as out of date. -- nosy: +berker.peksag

[issue16555] Add es_cu to locale library.

2012-11-25 Thread Berker Peksag
New submission from Berker Peksag: Python 2.7 is in bugfix-only mode. -- nosy: +berker.peksag versions: +Python 3.4 -Python 2.7 ___ Python tracker <http://bugs.python.org/issue16

[issue11797] 2to3 does not correct "reload"

2012-12-06 Thread Berker Peksag
Berker Peksag added the comment: > Could you try to share could with fix_intern? Maybe by moving some > things to fixer_utils. Thanks for the suggestion. Here's a new patch. I'm not sure the name of the helper is correct. -- Added file: http://bugs.python.org/file282

[issue16555] Add es_cu to locale aliases

2012-12-07 Thread Berker Peksag
Changes by Berker Peksag : -- keywords: +patch Added file: http://bugs.python.org/file28234/issue16555.diff ___ Python tracker <http://bugs.python.org/issue16

[issue15701] AttributeError from HTTPError when using digest auth

2012-12-07 Thread Berker Peksag
Changes by Berker Peksag : -- keywords: +patch versions: +Python 3.3, Python 3.4 Added file: http://bugs.python.org/file28238/issue15701.diff ___ Python tracker <http://bugs.python.org/issue15

[issue16634] urllib.error.HTTPError.reason is not documented

2012-12-07 Thread Berker Peksag
New submission from Berker Peksag: The "reason" attribute has been added to urllib.error.HTTPError in issue 13211. Related changeset: http://hg.python.org/cpython/rev/deb60efd32eb -- assignee: docs@python components: Documentation files: httperror-reason.diff keywords: patc

[issue16490] "inspect.getargspec()" and "inspect.getcallargs()" don't work for builtins

2012-12-09 Thread Berker Peksag
Berker Peksag added the comment: This looks like a duplicate of issue 1748064. -- nosy: +berker.peksag ___ Python tracker <http://bugs.python.org/issue16

[issue1218234] inspect.getsource doesn't update when a module is reloaded

2012-12-10 Thread Berker Peksag
Changes by Berker Peksag : -- versions: +Python 3.3, Python 3.4 -Python 3.1 Added file: http://bugs.python.org/file28272/issue1218234.diff ___ Python tracker <http://bugs.python.org/issue1218

[issue1218234] inspect.getsource doesn't update when a module is reloaded

2012-12-10 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker <http://bugs.python.org/issue1218234> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12915] Add inspect.locate and inspect.resolve

2012-12-10 Thread Berker Peksag
Changes by Berker Peksag : -- keywords: +patch nosy: +berker.peksag versions: +Python 3.4 -Python 3.3 Added file: http://bugs.python.org/file28277/issue12915.diff ___ Python tracker <http://bugs.python.org/issue12

[issue3073] Cookie.Morsel breaks in parsing cookie values with whitespace

2012-12-10 Thread Berker Peksag
Berker Peksag added the comment: The bug has been fixed in issue 8826. Related changeset: - http://hg.python.org/cpython/rev/cb231b79693e/ - Backport: http://hg.python.org/cpython/rev/84363c747c21 In Python 2.7.3: >>> from Cookie import SimpleCookie >>> cook

[issue14266] pyunit script as shorthand for python -m unittest

2012-12-12 Thread Berker Peksag
Changes by Berker Peksag : -- keywords: +patch nosy: +berker.peksag versions: +Python 3.4 -Python 3.3 Added file: http://bugs.python.org/file28292/issue14266.diff ___ Python tracker <http://bugs.python.org/issue14

[issue16667] timezone docs need "versionadded: 3.2"

2012-12-13 Thread Berker Peksag
Changes by Berker Peksag : -- keywords: +patch Added file: http://bugs.python.org/file28301/issue16667.diff ___ Python tracker <http://bugs.python.org/issue16

[issue16667] timezone docs need "versionadded: 3.2"

2012-12-13 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker <http://bugs.python.org/issue16667> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16679] Wrong URL path decoding

2012-12-14 Thread Berker Peksag
Changes by Berker Peksag : -- versions: +Python 3.4 -Python 3.5 ___ Python tracker <http://bugs.python.org/issue16679> ___ ___ Python-bugs-list mailing list Unsub

[issue16680] Line buffering in socket._fileobject is broken

2012-12-14 Thread Berker Peksag
Changes by Berker Peksag : -- title: Line buffering in socket._fileobject is borken -> Line buffering in socket._fileobject is broken ___ Python tracker <http://bugs.python.org/issu

[issue14266] pyunit script as shorthand for python -m unittest

2012-12-19 Thread Berker Peksag
Berker Peksag added the comment: Antoine and Éric: Thank you for the reviews and suggestions. > Why the "__unittest" variable? I added the "__unittest" variable after read issue 7815 and the related changeset: http://hg.python.org/cpython/rev/2858cae54

[issue6514] "python -m unittest " does not run any tests

2012-12-20 Thread Berker Peksag
Berker Peksag added the comment: > The documentation should be fixed then: > http://docs.python.org/2/library/unittest#command-line-interface The documentation already covers that "python -m unittest test_module" usage works only in 2.7+. "Changed in version 2.7: In ea

[issue16752] Missing import in modulefinder.py

2012-12-22 Thread Berker Peksag
Berker Peksag added the comment: Here is a patch with a test case. -- keywords: +patch nosy: +berker.peksag versions: +Python 3.4 Added file: http://bugs.python.org/file28401/issue16752.diff ___ Python tracker <http://bugs.python.org/issue16

[issue2350] 'exceptions' import fixer

2012-12-30 Thread Berker Peksag
Berker Peksag added the comment: I've converted Benjamin's patch to extended diff format, fixed some PEP 8 violations and typos, removed the {get, set}_prefix usage, added more tests and updated the documentation. -- nosy: +berker.peksag Added file: http://bugs.python.org

[issue12915] Add inspect.locate and inspect.resolve

2012-12-30 Thread Berker Peksag
Berker Peksag added the comment: Attaching new patch to address Vinay Sajip's suggestions on Rietveld. Thank you, Vinay. -- Added file: http://bugs.python.org/file28500/issue12915_v2.diff ___ Python tracker <http://bugs.python.org/is

[issue16830] Add skip_host and skip_accept_encoding to httplib/http.client

2012-12-31 Thread Berker Peksag
Changes by Berker Peksag : -- versions: -Python 2.7, Python 3.1, Python 3.5 ___ Python tracker <http://bugs.python.org/issue16830> ___ ___ Python-bugs-list mailin

[issue16905] Fix test discovery for test_warnings

2013-01-09 Thread Berker Peksag
Changes by Berker Peksag : -- components: Tests files: test_warnings_discovery.diff keywords: patch nosy: berker.peksag, brett.cannon, ezio.melotti, zach.ware priority: normal severity: normal status: open title: Fix test discovery for test_warnings type: behavior versions: Python 3.3

[issue16874] setup.py upload option repeated in docs

2013-01-10 Thread Berker Peksag
Berker Peksag added the comment: I think the problem is the usage of `:option:`. |:option:`--repository=` or :option:`--repository=`| should be written like |:option:`--repository=*url*` or :option:`--repository=*section*`| See: - http://hg.python.org/cpython/file/default/Doc/distutils

[issue17035] Use new style classes in {class, static}method examples

2013-01-25 Thread Berker Peksag
New submission from Berker Peksag: The examples in the built-in functions documentation[1] should be consistent and use new style classes. [1] http://docs.python.org/2.7/library/functions.html -- assignee: docs@python components: Documentation files: new-style-classes.diff keywords

[issue17040] Document context manager support for shelf objects

2013-01-26 Thread Berker Peksag
New submission from Berker Peksag: Context manager support for shelf objects was added in issue 13896, but not documented. -- assignee: docs@python components: Documentation files: shelve-context-manager-doc.diff keywords: patch messages: 180667 nosy: asvetlov, berker.peksag, docs

[issue4972] context management support in imaplib, smtplib, ftplib

2013-01-27 Thread Berker Peksag
Berker Peksag added the comment: The patch lacks documentation updates. -- nosy: +berker.peksag title: context managerment support in imaplib, smtplib, ftplib -> context management support in imaplib, smtplib, ftplib ___ Python tracker &l

[issue16163] Wrong name in Lib/pkgutil.py:iter_importers

2013-01-31 Thread Berker Peksag
Berker Peksag added the comment: Sorry for the delay and thanks for the suggestions Ezio and Nick. > Given the lack of proper tests for iter_importers, wouldn't adding a > proper test that returns something useful, rather than testing only > with a non-existent module be better (t

[issue16555] Add es_cu to locale aliases

2013-01-31 Thread Berker Peksag
Berker Peksag added the comment: > LGTM. Thanks for the review, Éric. Do you have time to commit the patch? -- ___ Python tracker <http://bugs.python.org/issu

[issue16555] Add es_cu to locale aliases

2013-02-04 Thread Berker Peksag
Berker Peksag added the comment: The es_CU locale has been added to GNU libc (in version 2.15)[1], but Tools/i18n/makelocalealias.py script uses the /usr/share/X11/locale/locale.alias file to generate the locale_alias dictionary. I think /usr/share/X11/locale/locale.alias needs to be updated

[issue17143] trace.py uses _warn without importing it

2013-02-06 Thread Berker Peksag
Berker Peksag added the comment: Patch attached with tests. -- keywords: +patch nosy: +berker.peksag Added file: http://bugs.python.org/file28979/issue17143.diff ___ Python tracker <http://bugs.python.org/issue17

[issue6478] time.tzset does not reset _strptime's locale time cache

2013-02-08 Thread Berker Peksag
Berker Peksag added the comment: > There is a long line in _strptime.py which I will fix before > committing. Ops, fixed. Also, I've found a better place for the test in Lib/test/test_strptime.py and moved it to the test_strptime.CacheTests. When I applied the patch, test_bad_ti

[issue17165] Use "except ImportError" instead of bare except in _strptime.py

2013-02-08 Thread Berker Peksag
New submission from Berker Peksag: See for the source: http://hg.python.org/cpython/file/default/Lib/_strptime.py#l24 and for the reference: http://docs.python.org/dev/library/_dummy_thread.html#module-_dummy_thread -- components: Library (Lib) files: _strptime_importerror.diff

[issue17166] Fix the suggested usage of _dummy_thread module

2013-02-09 Thread Berker Peksag
New submission from Berker Peksag: The "dummy_thread" module has been renamed to "_dummy_thread" in Python 3: >>> import dummy_thread Traceback (most recent call last): File "", line 1, in ImportError: No module named 'dum

[issue15873] datetime: add ability to parse RFC 3339 dates and times

2013-09-12 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker <http://bugs.python.org/issue15873> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19013] unittest's own test suite is not CLI-friendly

2013-09-13 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker <http://bugs.python.org/issue19013> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3173] external strftime for Python?

2013-09-16 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker <http://bugs.python.org/issue3173> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18790] incorrect text in argparse add_help example

2013-09-18 Thread Berker Peksag
Berker Peksag added the comment: This was reported a couple of times before on the docs list. - https://mail.python.org/pipermail/docs/2013-April/015145.html - https://mail.python.org/pipermail/docs/2013-June/015016.html - https://mail.python.org/pipermail/docs/2013-September/015505.html

[issue19076] Pdb.do_break calls error with obsolete file kwarg

2013-09-22 Thread Berker Peksag
Changes by Berker Peksag : -- components: +Library (Lib) nosy: +berker.peksag, georg.brandl stage: -> needs patch versions: +Python 3.4 ___ Python tracker <http://bugs.python.org/issu

[issue19083] IDNA prefix should be case insensitive

2013-09-25 Thread Berker Peksag
Changes by Berker Peksag : -- versions: +Python 3.4 -Python 3.5 ___ Python tracker <http://bugs.python.org/issue19083> ___ ___ Python-bugs-list mailing list Unsub

[issue19093] Spam

2013-09-25 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: -bjimnen resolution: -> invalid stage: -> committed/rejected status: open -> closed title: RE -> Spam ___ Python tracker <http://bugs.python

[issue19093] Spam

2013-09-25 Thread Berker Peksag
Changes by Berker Peksag : -- Removed message: http://bugs.python.org/msg198412 ___ Python tracker <http://bugs.python.org/issue19093> ___ ___ Python-bugs-list m

[issue19094] urljoin should raise a TypeError if URL is not a string

2013-09-26 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker <http://bugs.python.org/issue19094> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13477] tarfile module should have a command line

2013-09-26 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the rebase, Antoine. Here is an updated patch: - Adressed Serhiy's comments. I didn't add a directory parameter to the create command to keep the CLI simple. - Added a test for dotless files - Returned proper exit codes --

[issue17473] -m is not universally applicable

2013-09-26 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker <http://bugs.python.org/issue17473> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9325] Add an option to pdb/trace/profile to run library module as a script

2013-09-27 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag versions: +Python 3.4 -Python 3.3 ___ Python tracker <http://bugs.python.org/issue9325> ___ ___ Python-bug

[issue18864] Implementation for PEP 451 (importlib.machinery.ModuleSpec)

2013-09-27 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker <http://bugs.python.org/issue18864> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19102] Add tests for CLI of the tabnanny module

2013-09-27 Thread Berker Peksag
New submission from Berker Peksag: I was trying to use the argparse module instead of getopt and I couldn't find any tests for CLI of the tabnanny module. -- components: Tests files: test_tabnanny.diff keywords: patch messages: 198467 nosy: berker.peksag priority: low severity: n

[issue17326] Windows build docs still referring to VS 2008 in 3.3

2013-09-29 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> PCbuild/readme.txt not up-to-date ___ Python tracker <http://bugs.python

[issue19135] Spam

2013-10-01 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: -amdescombes resolution: -> invalid stage: -> committed/rejected status: open -> closed title: Check out my profile on LinkedIn -> Spam ___ Python tracker <http://bugs.python

[issue19135] Spam

2013-10-01 Thread Berker Peksag
Changes by Berker Peksag : -- Removed message: http://bugs.python.org/msg198751 ___ Python tracker <http://bugs.python.org/issue19135> ___ ___ Python-bugs-list m

[issue19152] ExtensionFileLoader missing get_filename()

2013-10-03 Thread Berker Peksag
Berker Peksag added the comment: It would be good to add a versionadded(or versionchanged) tag. -- nosy: +berker.peksag versions: -Python 3.3 ___ Python tracker <http://bugs.python.org/issue19

[issue19160] Inconsistent size for GIL release in hashlib

2013-10-03 Thread Berker Peksag
Berker Peksag added the comment: It looks like it is 2048: http://hg.python.org/cpython/rev/f9f5d9047a05/ See also issue 4751. -- nosy: +berker.peksag ___ Python tracker <http://bugs.python.org/issue19

[issue18790] incorrect text in argparse add_help example

2013-10-06 Thread Berker Peksag
Berker Peksag added the comment: This is fixed by changesets: - http://hg.python.org/cpython/rev/e2456381fa14 (3.4) - http://hg.python.org/cpython/rev/ee394a61dade (3.3) - http://hg.python.org/cpython/rev/c5f57a7fd4d8 (2.7) -- resolution: -> fixed stage: patch review -> com

[issue19178] Entries for "module" and "package" in glossary

2013-10-07 Thread Berker Peksag
Changes by Berker Peksag : Added file: http://bugs.python.org/file31995/issue19178_py2.diff ___ Python tracker <http://bugs.python.org/issue19178> ___ ___ Python-bug

[issue19178] Entries for "module" and "package" in glossary

2013-10-07 Thread Berker Peksag
Berker Peksag added the comment: For 3.x, I've added cross references between module and package entries. For 2.7, I've backported importing, module and package entries. -- keywords: +patch nosy: +berker.peksag stage: needs patch -> patch review Added file: http://bu

[issue19165] Change formatter warning to DeprecationWarning in 3.5

2013-10-08 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker <http://bugs.python.org/issue19165> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19200] grammar in forkserver docs

2013-10-08 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +sbt ___ Python tracker <http://bugs.python.org/issue19200> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13477] tarfile module should have a command line

2013-10-11 Thread Berker Peksag
Changes by Berker Peksag : -- keywords: +needs review ___ Python tracker <http://bugs.python.org/issue13477> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19257] Sub-optimal error message when importing a non-package

2013-10-14 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +brett.cannon, eric.snow versions: +Python 3.4 ___ Python tracker <http://bugs.python.org/issue19257> ___ ___ Python-bug

[issue8964] platform._sys_version does not parse correctly IronPython 2.x version

2013-10-16 Thread Berker Peksag
Changes by Berker Peksag : -- stage: needs patch -> patch review versions: +Python 3.4 -Python 3.2 ___ Python tracker <http://bugs.python.org/issue8964> ___ _

[issue19287] __contains__() of dbm.ndbm databases fails with str

2013-10-19 Thread Berker Peksag
Berker Peksag added the comment: > What about dbm.dumb? dbm.dumb works fine with str: $ python3.3 -c 'from dbm import dumb; db=dumb.open("/tmp/db2", "c"); db["key"]="value"; print(b"key" in db); print("key" in db)' Tr

[issue19316] devguide: compiler - wording

2013-10-20 Thread Berker Peksag
Berker Peksag added the comment: > - import.c > - Home of the magic number (named MAGIC) for bytecode versioning > > Probably out of date. I cannot find MAGIC being defined in this file. It's in importlib._bootstrap: http://hg.python.org/cpython/file/5dc65f8d29a2/Lib/import

[issue19382] tabnanny unit tests

2013-10-24 Thread Berker Peksag
Berker Peksag added the comment: See also issue 19102. -- components: +Tests nosy: +berker.peksag stage: -> patch review versions: +Python 3.4 ___ Python tracker <http://bugs.python.org/issu

[issue19383] nturl2path test coverage

2013-10-24 Thread Berker Peksag
Changes by Berker Peksag : -- components: +Tests versions: +Python 3.4 ___ Python tracker <http://bugs.python.org/issue19383> ___ ___ Python-bugs-list mailin

[issue11161] futures.ProcessPoolExecutor hangs

2013-10-26 Thread Berker Peksag
Changes by Berker Peksag : -- stage: -> committed/rejected versions: +Python 3.4 -Python 3.2 ___ Python tracker <http://bugs.python.org/issue11161> ___ ___ Py

[issue19172] selectors: add keys() method

2013-10-31 Thread Berker Peksag
Berker Peksag added the comment: + .. method:: get_map() + + Return a mapping of file objects to selector keys. I kind of feel like a walking linter though I think this needs a versionadded tag :) -- keywords: -needs review nosy: +berker.peksag

[issue12853] global name 'r' is not defined in upload.py

2013-11-15 Thread Berker Peksag
Berker Peksag added the comment: This is fixed in 3.3 and 3.4 by changeset http://hg.python.org/cpython/rev/5e98c4e9c909#l1.89. I can still reproduce the NameError in 2.7: http://hg.python.org/cpython/file/2.7/Lib/distutils/command/upload.py#l180 -- nosy: +berker.peksag, jason.coombs

[issue17354] TypeError when running setup.py upload --show-response

2013-11-15 Thread Berker Peksag
Berker Peksag added the comment: Oh, I was wrong. This is not a duplicate of issue 12853 (but they are related). Also, the patch in issue 19226 is looks better to me. -- nosy: +jason.coombs, labrat resolution: duplicate -> stage: committed/rejected -> patch review status:

[issue19610] TypeError in distutils.command.upload

2013-11-15 Thread Berker Peksag
Changes by Berker Peksag : -- keywords: +patch Added file: http://bugs.python.org/file32642/fix-upload-cmd.diff ___ Python tracker <http://bugs.python.org/issue19

[issue19610] TypeError in distutils.command.upload

2013-11-15 Thread Berker Peksag
New submission from Berker Peksag: Python 3.4: $ ../cpython/./python setup.py sdist upload -r test --show-response ... ... Traceback (most recent call last): File "setup.py", line 24, in 'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)', File &q

[issue19618] test_sysconfig_module fails on Ubuntu 12.04

2013-11-15 Thread Berker Peksag
New submission from Berker Peksag: This is probably related to issue 17679. == FAIL: test_sysconfig_module (distutils.tests.test_sysconfig.SysconfigTestCase

[issue19610] TypeError in distutils.command.upload

2013-11-17 Thread Berker Peksag
Berker Peksag added the comment: > [...] but the first bug (accept tuple for classifiers) should be fixed > before or you will get an unexpected behaviour (only send 1 > classifier?). Here is a new patch that accepts tuple for classifiers. Thanks for the revie

[issue19610] TypeError in distutils.command.upload

2013-11-17 Thread Berker Peksag
Changes by Berker Peksag : Added file: http://bugs.python.org/file32665/issue19610.diff ___ Python tracker <http://bugs.python.org/issue19610> ___ ___ Python-bugs-list m

[issue13477] tarfile module should have a command line

2013-11-20 Thread Berker Peksag
Berker Peksag added the comment: Attached an updated patch that addresses Serhiy's comments. Thanks! -- Added file: http://bugs.python.org/file32725/issue13477_v6.diff ___ Python tracker <http://bugs.python.org/is

[issue18864] Implementation for PEP 451 (importlib.machinery.ModuleSpec)

2013-11-22 Thread Berker Peksag
Berker Peksag added the comment: There is a commented-out line in Lib/importlib/_bootstrap.py: +#if hasattr(loader, 'get_data'): +if hasattr(loader, 'get_filename'): http://hg.python.org/cpython/rev/07229c6104b1#l6.369 -- __

[issue19897] Use python as executable instead of python3 in Python 2 docs

2013-12-05 Thread Berker Peksag
Changes by Berker Peksag : -- assignee: docs@python components: Documentation files: fix-example-site.diff keywords: patch nosy: berker.peksag, docs@python priority: normal severity: normal stage: patch review status: open title: Use python as executable instead of python3 in Python 2

[issue19920] TarFile.list() fails on some files

2013-12-07 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker <http://bugs.python.org/issue19920> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16099] robotparser doesn't support request rate and crawl delay parameters

2013-12-08 Thread Berker Peksag
Berker Peksag added the comment: I left a few comments on Rietveld. -- nosy: +berker.peksag versions: +Python 3.5 -Python 3.4 ___ Python tracker <http://bugs.python.org/issue16

[issue5800] make wsgiref.headers.Headers accept empty constructor

2014-06-22 Thread Berker Peksag
Berker Peksag added the comment: The patch is not committed yet. $ ./python Python 3.5.0a0 (default:979aaa08c067+, Jun 19 2014, 13:01:36) [GCC 4.6.3] on linux Type "help", "copyright", "credits" or "license" for more information. >>> fr

[issue6916] Remove deprecated items from asynchat

2014-06-22 Thread Berker Peksag
Berker Peksag added the comment: Would using assertWarns be more suitable here? Attached a patch. -- keywords: +patch nosy: +berker.peksag Added file: http://bugs.python.org/file35722/use-assertwarns.diff ___ Python tracker <http://bugs.python.

[issue11974] Class definition gotcha.. should this be documented somewhere?

2014-06-22 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker <http://bugs.python.org/issue11974> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21717] Exclusive mode for ZipFile and TarFile

2014-06-23 Thread Berker Peksag
Berker Peksag added the comment: Here's a patch for tarfile. -- keywords: +patch nosy: +berker.peksag, lars.gustaebel, serhiy.storchaka stage: -> patch review type: -> enhancement versions: -Python 3.4 Added file: http://bugs.python.org/file35740/issue21717_t

[issue17570] Improve devguide Windows instructions

2014-06-23 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +zach.ware stage: needs patch -> patch review ___ Python tracker <http://bugs.python.org/issue17570> ___ ___ Python-bugs-lis

[issue7982] extend captured_output to simulate different stdout.encoding

2014-06-23 Thread Berker Peksag
Berker Peksag added the comment: Here's a patch to add an optional encoding parameter to captured_stdout. -- keywords: +patch nosy: +berker.peksag stage: needs patch -> patch review Added file: http://bugs.python.org/file35741/issue7

[issue14013] tarfile should expose supported formats

2014-06-23 Thread Berker Peksag
Berker Peksag added the comment: I've updated Éric's patch. Minor changes: - Updated versionadded directive - A couple of cosmetic changes (e.g. removed brackets in the list comprehension) -- assignee: docs@python -> components: -Documentation nosy: +berker.peksag vers

[issue16382] Better warnings exception for bad category

2014-06-24 Thread Berker Peksag
Berker Peksag added the comment: Here's a new patch addressing Ezio's Rietveld comment. I've also used assertRaisesRegex instead of assertRaises in tests. -- nosy: +berker.peksag Added file: http://bugs.python.org/file35772/iss

[issue16845] warnings.simplefilter should validate input

2014-06-24 Thread Berker Peksag
Berker Peksag added the comment: Here's a patch that uses the same approach as in issue 16382. -- components: +Library (Lib) nosy: +berker.peksag stage: -> patch review versions: +Python 3.5 Added file: http://bugs.python.org/file35773/issue16

[issue21670] Add repr to shelve.Shelf

2014-06-24 Thread Berker Peksag
Changes by Berker Peksag : -- stage: patch review -> resolved ___ Python tracker <http://bugs.python.org/issue21670> ___ ___ Python-bugs-list mailing list Un

[issue21865] Improve invalid category exception for warnings.filterwarnings

2014-06-24 Thread Berker Peksag
New submission from Berker Peksag: This issue is similar to issue 16382 and issue 16845. -- components: Library (Lib) files: filterwarnings_category.diff keywords: patch messages: 221512 nosy: berker.peksag priority: normal severity: normal stage: patch review status: open title

[issue21864] Error in documentation of point 9.8 'Exceptions are classes too'

2014-06-26 Thread Berker Peksag
Changes by Berker Peksag : -- stage: -> needs patch type: -> enhancement versions: +Python 3.5 ___ Python tracker <http://bugs.python.org/issue21864> ___ __

[issue12613] itertools fixer fails

2014-06-26 Thread Berker Peksag
Changes by Berker Peksag : -- versions: +Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker <http://bugs.python.org/issue12613> ___ ___ Python-bugs-list mailin

[issue21391] shutil uses both os.path.abspath and an 'import from' of abspath

2014-06-26 Thread Berker Peksag
Changes by Berker Peksag : -- stage: patch review -> commit review ___ Python tracker <http://bugs.python.org/issue21391> ___ ___ Python-bugs-list mai

[issue20351] Add doc examples for DictReader and DictWriter

2014-06-26 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag versions: -Python 3.3 ___ Python tracker <http://bugs.python.org/issue20351> ___ ___ Python-bugs-list mailin

[issue21746] urlparse.BaseResult no longer exists

2014-06-26 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag, orsenthil ___ Python tracker <http://bugs.python.org/issue21746> ___ ___ Python-bugs-list mailing list Unsub

[issue19870] Backport Cookie fix to 2.7 (httponly / secure flag)

2014-06-26 Thread Berker Peksag
Changes by Berker Peksag : -- assignee: -> berker.peksag stage: patch review -> commit review ___ Python tracker <http://bugs.python.org/issue19870> ___ ___

[issue21578] Misleading error message when ImportError called with invalid keyword args

2014-06-26 Thread Berker Peksag
Berker Peksag added the comment: Eric, do you want me to commit the patch? Should this also be committed to the 3.4 branch? -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue21

[issue19897] Use python as executable instead of python3 in Python 2 docs

2014-06-26 Thread Berker Peksag
Changes by Berker Peksag : -- assignee: docs@python -> berker.peksag nosy: +r.david.murray resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> enhancement ___ Python tracker <http://bugs.pyt

<    9   10   11   12   13   14   15   16   17   18   >