[issue6590] Py3K can't set the browser's character encoding! (CGI)

2009-07-28 Thread Hakan

New submission from Hakan physic...@gmail.com:

Hi,
I'm new to web programming with Python.
In Python2k, the special # -*- coding: cp1254 -*- code sets the
character encoding. It works in the internet browsers too and sets the
browser's character encoding. That was really good. But in Py3k, that
special comment doesn't work. Usually, the encoding is UTF-8 in my
browser. That time, non-ascii Turkish characters seems strange symbols.
The locale.setlocale method doesn't work too. The users must manualy set
the encoding from UTF-8 to Turkish(Windows-1254) or Turkish(ISO-8859-9).
Is there anyway to set browser's encoding with Python 3.1? 
I use IIS7 and Windows 7 x64.
BTW, the ASP don't identify Python. But I can use .py files. So, I did
these thing in CGI/.py

--
components: Unicode
messages: 91003
nosy: [PhysiC]
severity: normal
status: open
title: Py3K can't set the browser's character encoding! (CGI)
type: feature request
versions: Python 3.1

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



[issue6590] Py3K can't set the browser's character encoding! (CGI)

2009-07-28 Thread Hakan

Hakan physic...@gmail.com added the comment:

Thanks for your reply. I said, I'm new to web programming.
Now I add Content-type: text/html; charset=ISO-8859-9...
:)

--

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



[issue39815] functools.cached_property() not included in __all__

2020-03-01 Thread Hakan


Change by Hakan :


--
keywords: +patch
nosy: +hakancelik
nosy_count: 1.0 -> 2.0
pull_requests: +18083
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/18726

___
Python tracker 
<https://bugs.python.org/issue39815>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39828] json.tool should catch BrokenPipeError

2020-03-02 Thread Hakan


Hakan  added the comment:

I'd like to work on this issue but what should it do when it captures that 
error.

--
nosy: +hakancelik

___
Python tracker 
<https://bugs.python.org/issue39828>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39424] [easy] test_signal: test_pidfd_send_signal() uses deprecated assertRaisesRegexp() method

2020-01-27 Thread Hakan


Hakan  added the comment:

I want to work on this as my first contribution

--
nosy: +hakancelik

___
Python tracker 
<https://bugs.python.org/issue39424>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39654] pyclbr: remove old references to class browser & add explain readmodule

2020-02-16 Thread Hakan


Change by Hakan :


--
assignee: docs@python
components: Documentation
nosy: docs@python, hakancelik
priority: normal
severity: normal
status: open
title: pyclbr: remove old references to class browser & add explain readmodule
type: enhancement
versions: Python 3.9

___
Python tracker 
<https://bugs.python.org/issue39654>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39654] pyclbr: remove old references to class browser & add explain readmodule

2020-02-16 Thread Hakan


Change by Hakan :


--
keywords: +patch
pull_requests: +17904
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/18528

___
Python tracker 
<https://bugs.python.org/issue39654>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40209] read_pyfile function refactor in Lib/test/test_unparse.py

2020-04-06 Thread Hakan


Change by Hakan :


--
keywords: +patch
pull_requests: +18761
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/19399

___
Python tracker 
<https://bugs.python.org/issue40209>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40209] read_pyfile function refactor in Lib/test/test_unparse.py

2020-04-06 Thread Hakan


New submission from Hakan :

The read_pyfile function can be written more effectively with the open function 
in the tokenize module.

--
components: Tests
messages: 365875
nosy: hakancelik
priority: normal
severity: normal
status: open
title: read_pyfile function refactor in Lib/test/test_unparse.py
versions: Python 3.9

___
Python tracker 
<https://bugs.python.org/issue40209>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29418] inspect.isroutine does not return True for some bound builtin methods

2020-03-31 Thread Hakan


Change by Hakan :


--
keywords: +patch
nosy: +hakancelik
nosy_count: 3.0 -> 4.0
pull_requests: +18617
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/19261

___
Python tracker 
<https://bugs.python.org/issue29418>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40655] Fix a bad programming practice from 'from x import *', 'Lib / ctypes / test /'.

2020-05-17 Thread Hakan


Change by Hakan :


--
title: Fix from a bad programming practice 'from x import *', 'Lib / ctypes / 
test /'. -> Fix a bad programming practice from  'from x import *', 'Lib / 
ctypes / test /'.

___
Python tracker 
<https://bugs.python.org/issue40655>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40655] Fix 'from x import *' which is bad programming practice from 'Lib/ctypes/test/'.

2020-05-17 Thread Hakan


Change by Hakan :


--
title: Fix a bad programming practice from  'from x import *', 'Lib / ctypes / 
test /'. -> Fix 'from x import *' which is bad programming practice  from  
'Lib/ctypes/test/'.

___
Python tracker 
<https://bugs.python.org/issue40655>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40655] Fix 'from x import *' which is bad programming practice from 'Lib/ctypes/test/'.

2020-05-17 Thread Hakan


Change by Hakan :


--
keywords: +patch
pull_requests: +19452
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/20147

___
Python tracker 
<https://bugs.python.org/issue40655>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40655] Fix 'from x import *' which is bad programming practice from 'Lib/ctypes/test/'.

2020-05-17 Thread Hakan


Hakan  added the comment:

Are code quality enhancement contributions not accepted?

Since the 'from x import * `structure is used in the current code, it is not 
understood where the objects come from.

I thought it would be good to fix this.

--

___
Python tracker 
<https://bugs.python.org/issue40655>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40655] Fix from a bad programming practice 'from x import *', 'Lib / ctypes / test /'.

2020-05-17 Thread Hakan


New submission from Hakan :

When I use [unimport](https://github.com/hakancelik96/unimport), I saw this 
problem and I am sending a PR to fix it.

--
components: Tests
messages: 369097
nosy: hakancelik
priority: normal
severity: normal
status: open
title: Fix from a bad programming practice 'from x import *', 'Lib / ctypes / 
test /'.
versions: Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9

___
Python tracker 
<https://bugs.python.org/issue40655>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40563] Support pathlike objects on dbm/shelve

2020-05-08 Thread Hakan


Hakan  added the comment:

I work on this issue to fix it.

--
nosy: +hakancelik

___
Python tracker 
<https://bugs.python.org/issue40563>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40563] Support pathlike objects on dbm/shelve

2020-05-20 Thread Hakan Çelik

Hakan Çelik  added the comment:

Yes I will send pr soon.

--

___
Python tracker 
<https://bugs.python.org/issue40563>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40563] Support pathlike objects on dbm/shelve

2020-05-20 Thread Hakan Çelik

Change by Hakan Çelik :


--
keywords: +patch
pull_requests: +19554
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/20274

___
Python tracker 
<https://bugs.python.org/issue40563>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45133] Open functions in dbm submodule should support path-like objects

2021-09-08 Thread Hakan Çelik

Change by Hakan Çelik :


--
nosy: +hakancelik
nosy_count: 1.0 -> 2.0
pull_requests: +26668
pull_request: https://github.com/python/cpython/pull/20274

___
Python tracker 
<https://bugs.python.org/issue45133>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29418] inspect.isroutine does not return True for some bound builtin methods

2022-02-16 Thread Hakan Çelik

Change by Hakan Çelik :


--
pull_requests: +29527
pull_request: https://github.com/python/cpython/pull/31377

___
Python tracker 
<https://bugs.python.org/issue29418>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com