diff --git a/pefile.py b/pefile.py
index <HASH>..<HASH> 100644
--- a/pefile.py
+++ b/pefile.py
@@ -2279,7 +2279,7 @@ def is_valid_dos_filename(s):
 # charset we will assume the name is invalid.
 
 allowed_function_name = b(
-    string.ascii_lowercase + string.ascii_uppercase + string.digits + "_?@$()<>"
+    string.ascii_lowercase + string.ascii_uppercase + string.digits + "._?@$()<>"
 )
Allow dot in PE symbol name

When building with optimization flag enable, it is possible to generate
symbol names such as 'PyErr_CheckSignals.part<I>' which contain a dot.
Simply add '.' to the allowed_function_name list.